CN107071503B - The method, apparatus of net cast and live streaming connect streaming server - Google Patents

The method, apparatus of net cast and live streaming connect streaming server Download PDF

Info

Publication number
CN107071503B
CN107071503B CN201710077128.1A CN201710077128A CN107071503B CN 107071503 B CN107071503 B CN 107071503B CN 201710077128 A CN201710077128 A CN 201710077128A CN 107071503 B CN107071503 B CN 107071503B
Authority
CN
China
Prior art keywords
live
data
streaming
prompt
live streaming
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710077128.1A
Other languages
Chinese (zh)
Other versions
CN107071503A (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 CN201710077128.1A priority Critical patent/CN107071503B/en
Publication of CN107071503A publication Critical patent/CN107071503A/en
Priority to PCT/CN2018/074786 priority patent/WO2018145594A1/en
Application granted granted Critical
Publication of CN107071503B publication Critical patent/CN107071503B/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/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/2404Monitoring of server processing errors or hardware failure
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47214End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market
    • 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/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders

Abstract

The invention discloses a kind of method, apparatus of net cast and live streaming to connect streaming server.Wherein, this method comprises: net cast, which is applied to live streaming, connects streaming server transmission live data and prompt data, wherein, prompt data are sent to the live streaming before current live is abnormal and connect in streaming server, and data is prompted to be used to indicate the type of live streaming anomalous event;Whether net cast application detection current live is abnormal;Net cast is applied when detecting that current live is abnormal, net cast applies to live streaming and connects streaming server transmission live streaming anomalous event, wherein, live streaming anomalous event is used to indicate live streaming and connects streaming server to terminal transmission prompt data associated with live streaming anomalous event, and terminal is for playing live data and prompt data.The present invention solves existing prompt logic and needs the technical issues of carrying out terminal adaptation.

Description

The method, apparatus of net cast and live streaming connect streaming server
Technical field
The present invention relates to MultiMedia Fields, and the method, apparatus and live streaming in particular to a kind of net cast connect stream clothes Business device.
Background technique
Net cast main broadcaster network (4G/WIFI) is poor, program cuts backstage, when main broadcaster shares, will lead to straight It broadcasts stream to interrupt, user, which plays, can buffer or fail, and influence user experience.Existing is that net cast is applied and led there is above situation When live stream being caused to interrupt, process flow is as shown in Figure 1:
As shown in Figure 1, firstly, terminal starts live play.Terminal is during playing live data, after real-time reception Platform signaling detects current broadcast state.When terminal, which receives live stream, interrupts signaling or play failure, detection is current Live state, that is, judge whether live streaming suspends or stop.When judging live pause or stopping, stopping playing plus record The mutually prompt information of live streaming cutout.Then, terminal, which plays out, retries, and continues to play live data if retrying successfully, such as Fruit retries failure and then stops being broadcast live, and load live streaming terminates prompt.
It follows that the prior art is the disadvantage is that need to realize that a set of cutout prompts logic, this work in each terminal Work amount and cost are very high, and some using system plays device terminal (such as: cannot be achieved at all on H5), only It can be realized using other modes, each terminal shows also can be inconsistent, causes user experience also different.But existing end End system multiplicity can not realize prompt logic in a variety of different terminals.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of method, apparatus of net cast and live streaming to connect streaming server, at least to solve Existing prompt logic needs the technical issues of carrying out terminal adaptation.
According to an aspect of an embodiment of the present invention, a kind of method of net cast is provided, comprising: net cast application Streaming server is connect to live streaming and sends live data and prompt data, wherein the prompt data are abnormal it in current live Before be sent to it is described live streaming connect in streaming server, it is described prompt data be used for indicates be broadcast live anomalous event type;The view Whether frequency live streaming application detection current live is abnormal;The net cast, which is applied, is detecting that current live is abnormal When, the net cast applies to the live streaming and connects streaming server transmission live streaming anomalous event, wherein the live streaming anomalous event It is used to indicate the live streaming and connects streaming server to the terminal transmission prompt data associated with the live streaming anomalous event.
According to an aspect of an embodiment of the present invention, a kind of method of net cast is provided, comprising: live streaming connects stream service Device receives the live data that net cast application is sent and prompt data, wherein the prompt data occur different in current live It is sent to the live streaming before often to connect in streaming server, the prompt data are used to indicate the type of live streaming anomalous event;Institute It states live streaming and connects streaming server and detect whether to receive the live streaming anomalous event that the net cast application is sent;If detecting institute State live streaming anomalous event, then it is described live streaming connect streaming server to terminal send it is associated with the live streaming anomalous event described in mention Registration evidence, so that the terminal is for playing the prompt data;It is described straight if the live streaming anomalous event is not detected It broadcasts and connects streaming server to the terminal transmission live data.
According to an aspect of an embodiment of the present invention, a kind of device of net cast is provided, comprising: first sends list Member sends live data and prompt data for connecing streaming server to live streaming, wherein the prompt data occur in current live It is sent to the live streaming before abnormal to connect in streaming server, the prompt data are used to indicate the type of live streaming anomalous event; Whether detection unit is abnormal for application detection current live;Second transmission unit, for detecting current live hair When raw abnormal, streaming server is connect to the live streaming and sends live streaming anomalous event, wherein the live streaming anomalous event is used to indicate institute It states live streaming and connects streaming server to the terminal transmission prompt data associated with the live streaming anomalous event.
According to an aspect of an embodiment of the present invention, it provides a kind of be broadcast live and connects streaming server, comprising: receiving unit is used In the live data and prompt data that receive net cast application transmission, wherein the prompt data occur different in current live It is sent to the live streaming before often to connect in streaming server, the prompt data are used to indicate the type of live streaming anomalous event;Thing Part detection unit, for detecting whether receiving the live streaming anomalous event that the net cast application is sent;First data are sent Unit, for being sent to terminal associated with the live streaming anomalous event described when detecting the live streaming anomalous event Data are prompted, so that the terminal is for playing the prompt data;Second data transmission unit, for be not detected it is described When anomalous event is broadcast live, the live data is sent to the terminal.
In embodiments of the present invention, live data and prompt data are provided by net cast application, and indicates that video is straight It broadcasts using the live streaming anomalous event that is abnormal, live streaming connects after streaming server receives live streaming anomalous event, different according to being broadcast live Ordinary affair part selects to prompt data to be sent to terminal accordingly from stored prompt data, to prompt net cast application to occur It is abnormal.In this process, it does not need terminal and prompt logic, terminal energy as long as playing live data and prompt data is provided Realize abnormal prompt, it is not necessary to which each terminal designs a set of prompt logic, so that the abnormal prompt of the present embodiment can be applied to In the terminal of a variety of not homologous rays, the prompt logic for solving the prior art needs terminal adaptation and the scope of application is narrow asks Topic has reached the technical effect for expanding the use scope of prompt logic.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart for prompting logic according to prior art;
Fig. 2 is the schematic diagram of hardware structure according to an embodiment of the present invention;
Fig. 3 is the flow chart of the method for net cast according to an embodiment of the present invention;
Fig. 4 is the flow chart of the method for net cast according to the preferred embodiment of the invention;
Fig. 5 is the flow chart of the method for the net cast of another embodiment according to the present invention;
Fig. 6 is the schematic diagram of the device of net cast according to an embodiment of the present invention;
Fig. 7 is the schematic diagram according to an embodiment of the present invention for being broadcast live and connecing streaming server;
Fig. 8 is the schematic diagram of terminal according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method that can be executed by the application Installation practice is provided, It should be noted that step shown in the flowchart of the accompanying drawings can be in the department of computer science of such as a group of computer-executable instructions It is executed in system, although also, logical order is shown in flow charts, and it in some cases, can be to be different from herein Sequence execute shown or described step.
According to embodiments of the present invention, a kind of method of net cast is provided.The net cast method can be straight by video Broadcast application execution.
Optionally, in the present embodiment, the method for above-mentioned net cast can be applied to first terminal as shown in Figure 2 102, in the hardware environment that second terminal 106 and server 104 are constituted.As shown in Fig. 2, first terminal 102 by network with Server 104 is attached, and above-mentioned network includes but is not limited to: mobile communications network, wide area network, Metropolitan Area Network (MAN) or local area network, the One terminal 102 and second terminal 106 can be mobile phone terminal, be also possible to PC terminal, notebook terminal or tablet computer terminal. First terminal 102 is equipped with net cast application, is transferred to server 104 for recording live video, and by live data.Clothes Live data is sent to second terminal 106 by business device 104, plays live data in second terminal 106.
The main operational principle of hardware environment system shown in Figure 2 is:
It is that net cast applies live data and data is prompted to be sent to server 104, server on first terminal 102 104, which can be used as live streaming, connects streaming server, and live data is respectively stored in two different cachings with prompt data.Together When, when the network of net cast application or net cast occur abnormal using itself, net cast applies to live streaming and connects stream Server is sent in live streaming anomalous event, and live streaming connects streaming server and sent accordingly according to live streaming anomalous event to second terminal 106 Prompt data.In this process, it as the second terminal 106 for playing live data is not necessarily to that logic is prompted also to be able to achieve live streaming Abnormal prompt, can realize multiple second terminals 106 above-mentioned prompt logic, so that the prompt of this live streaming exception is patrolled The scope of application collected is wider, and prompts logic stabilization, and different second terminals 106 can also be patrolled using identical prompt Volume, improve user experience.
Fig. 3 is the flow chart of the method for net cast according to an embodiment of the present invention, is implemented below in conjunction with Fig. 3 to the present invention The method of net cast provided by example does specific introduction, as shown in figure 3, the method for the net cast mainly includes walking as follows It is rapid:
Step S202, net cast apply to live streaming and connect streaming server transmission live data and prompt data, wherein prompt Data are sent to the live streaming before current live is abnormal and connect in streaming server, and the prompt data are for indicating straight Broadcast the type of anomalous event.
Net cast application can record live video to obtain live data, prompt data to can be net cast and answer The data of net cast application are handed down on backstage, and prompting data may include prompting data for different abnormal prompts Net cast application can be prompted to be abnormal, and the type being abnormal.The prompt data can occur in current live Live streaming is sent to before abnormal and connects streaming server, for example, sending prompt data, just when live streaming just starts to avoid current Live streaming is abnormal and leads to not connect streaming server transmission prompt data to live streaming.Live data and prompt data are sent to After live streaming connects streaming server, streaming server is connect by live streaming and is stored.
Whether step S204, net cast application detection current live are abnormal.
Net cast application detection current live whether be abnormal predominantly detect net cast application end whether occur it is different Often, abnormal includes at least one of: the Network Abnormal and view that the live signal of net cast application is abnormal, net cast is applied The program exception of frequency live streaming application.
The live signal of net cast application includes whether net cast application occurs acquiring vision signal exception extremely, such as Signal, acquisition signal error, acquisition dropout or acquisition signal delay etc. can not be acquired.
The Network Abnormal of net cast application includes network interruption, slow, the data transmission frame losing of network transfer speeds etc..
Net cast application program exception include net cast application program be switched to backstage share with main broadcaster.Its In, program the case where being switched to backstage of net cast application include install net cast application terminal open other application and Apply net cast in running background.It includes that main broadcaster shares current video live streaming to current video live streaming application that main broadcaster, which shares, Lead to signal suspension or the end of current video live streaming application in other application (such as microblogging, wechat social platform) in addition End.
Above a plurality of types of exceptions can be monitored by net cast application and judge it is which type of exception.
Step S206, net cast are applied when detecting that current live is abnormal, and net cast is applied and connect to live streaming Streaming server send live streaming anomalous event, wherein live streaming anomalous event be used to indicate live streaming connect streaming server to terminal send with The associated prompt data of anomalous event are broadcast live.
Since the exception that current live occurs can be monitored that net cast application can be direct by net cast application Streaming server is connect to live streaming and sends live streaming anomalous event, and live streaming anomalous event is used to that live streaming is prompted to connect streaming server to send to terminal Relevant prompt data.Since prompt data have been stored in live streaming in advance and connect in streaming server, live streaming connects streaming server can be with Terminal is sent to according to the corresponding prompt data of live streaming anomalous event selection.
In the present embodiment, live data and prompt data are provided by net cast application, and instruction net cast is answered With the live streaming anomalous event being abnormal, live streaming is connect after streaming server receives live streaming anomalous event, according to abnormal thing is broadcast live Part selects to prompt data to be sent to terminal accordingly from stored prompt data, different to prompt net cast application to occur Often.In this process, it does not need terminal and prompt logic is provided, terminal can be real as long as playing live data and prompt data Existing abnormal prompt, it is not necessary to each terminal designs a set of prompt logic so that the abnormal prompt of the present embodiment can be applied to it is more Kind in the terminal of homologous ray, does not solve the problems, such as that the prompt logic scope of application of the prior art is narrow, has reached expansion prompt The technical effect of the use scope of logic.Simultaneously as identical exception shows identical prompt data in different terminals, Improve user experience.
Optionally, it includes: that video is straight that net cast, which applies and connects streaming server transmission live data and prompt data to live streaming, It broadcasts using acquisition prompt material;Net cast application will be prompted to material and be encoded to multi-medium data;Net cast is applied more matchmakers Volume data is sent to live streaming as prompt data and connects streaming server.
The prompt material that net cast application obtains can be the backstage that net cast is applied and directly issue, can also be by Main broadcaster is directly configured in net cast application.Prompt material can be abnormal text prompt, picture prompting etc..For Different exceptions can use different text prompts.For example, when net cast application switching is to backstage, corresponding text prompt For " main broadcaster is away from keyboard " or " temporarily away from just a moment,please " etc..When the network of net cast application occurs abnormal, corresponding text Word prompt can be " network blocks a little, please bear with ".The above prompt by way of example only, can also be using other forms Text prompt.
Net cast is applied by above-mentioned prompt material converting multimedia data, for example, will be prompted to material is encoded to video The combination of data, image data, audio data or above-mentioned a variety of data modes.It will be prompted to material and be encoded to prompt data transmission Streaming server is connect to live streaming.
Optionally, net cast is applied while connecing streaming server transmission live data to live streaming, sends multimedia number According to.Multi-medium data and live data are respectively stored in live streaming and connect in two different cachings of streaming server, connect to be broadcast live Streaming server directly connects the corresponding prompt data of streaming server selection from live streaming when needing to send prompt data and is sent to terminal.
The present embodiment is illustrated below in conjunction with Fig. 4.
S311, net cast application carry out audio-video collection.For example, acquiring network when network main broadcaster carries out network direct broadcasting The audio and video of main broadcaster.
S312, net cast generate live data using encoding to the audio, video data of acquisition.
S313, net cast apply to live streaming and connect streaming server transmission live data.
S314, live streaming connect streaming server caching live data.For example, live streaming connects audio number of the streaming server by network main broadcaster It is cached according to video data.
S321, net cast application obtain cutout prompt material.Wherein, cutout prompt material includes net cast application net The extremely caused video breaks of network, the extremely caused video breaks of net cast application audio-video collection and net cast application are cut Change to the prompt material of video terminal caused by backstage or other application etc..
S322, net cast application coding generate cutout prompt data.Cutout prompt material can be text or picture, Prompt data are generated after net cast application is encoded.
S323, net cast application send cutout prompt data.
S324, live streaming connect streaming server caching prompt data.The caching of storage prompt data is slow with storage live data Difference is deposited, to improve inquiry and extract the speed of corresponding data.
S331, net cast application send live streaming anomalous event.
S332, live streaming connect streaming server processing live streaming anomalous event.
S301, live streaming connect streaming server and are judged whether to send prompt data to terminal according to live streaming anomalous event.
S302, live streaming connect streaming server and judge then to send live data no need to send prompt data.
S303, live streaming connect streaming server and judge to need to send prompt data, then send prompt data.Wherein, number is prompted According to the audio, video data that can be after net cast application coding.
S304, data distributing server receive the live data and/or prompt data that streaming server is connect from live streaming.
S305, data distributing server distribute live data and/or prompt data, terminal plays to one or more terminals The live data or prompt data received.
In conjunction with Fig. 4 it is found that such as the net cast AA live streaming using upper, live streaming not only can be played inside AA live streaming Data, can also Video Applications, news application, social platform (wechat, microblogging and QQ) and third party for sharing etc. eventually End platform can play, and use the prompting mode of the application not need to allow all terminals all to design a set of cutout and prompt to patrol Volume, it is only necessary to the live data or prompt data that terminal plays receive.
The present embodiment will prompt material (such as: main broadcaster is away from keyboard, main broadcaster's network difference etc.) to compile accordingly when main broadcaster is broadcast live Code is corresponding prompt audio, video data, is sent collectively to live streaming with the audio, video data of live streaming and connects streaming server, in main broadcaster's net Network is abnormal, net cast application program cuts backstage, logical by different type signaling (live streaming anomalous event) whens main broadcaster shares etc. Know that live streaming connects stream service and sends corresponding prompt audio, video data, guarantees that the continuity of entire live stream, terminal plays can be normal It carries out, and gives friendly prompt, can be good at being compatible with various from grinding player, system plays device and third party contents point The scenes such as enjoy, in the case where not increasing terminal additional workload, solve live streaming cutout user play experience is poor, prompt process and The problem for prompting effect inconsistent.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
The present embodiment additionally provides a kind of method of net cast, and the method for the net cast can be connect stream service by live streaming Device executes.
Fig. 5 is the flow chart of the method for the net cast of another embodiment according to the present invention, below in conjunction with Fig. 5 to the present invention The method of net cast provided by embodiment does specific introduction, as shown in figure 5, the method for the net cast mainly includes as follows Step:
Step S401, live streaming connect streaming server and receive the live data and prompt data that net cast application is sent, wherein Prompt data are sent to the live streaming before current live is abnormal and connect in streaming server, prompt data for indicating straight Broadcast the type of anomalous event.
Net cast application can record live video to obtain live data, prompt data to can be net cast and answer The data of net cast application are handed down on backstage, and prompting data may include prompting data for different abnormal prompts Net cast application can be prompted to be abnormal, and the type being abnormal.Prompt data that can occur in current live different Live streaming is sent to before often and connects streaming server, that is to say, that can send prompt number in advance when there is no exception According to, can prompt live streaming anomalous event type.Live data and prompt data are sent to after live streaming connects streaming server, by Live streaming connects streaming server and is stored.
Live streaming connects streaming server and receives live data with after prompt data, stores live data in two cachings respectively With prompt data.When needing live streaming to connect streaming server transmission prompt data, live streaming connects streaming server and directly mentions from its caching It takes prompt data to be sent to terminal, improves the speed of data search and transmission.
Step S402, live streaming connect streaming server and detect whether to receive the live streaming anomalous event that net cast application is sent.
The live streaming that prompt data are used to that net cast is prompted to apply is abnormal, and is not that live streaming connects streaming server still It receives prompt data to be just immediately sent to terminal and shown, but live streaming throttling server is waited to receive the abnormal thing of live streaming Part just sends corresponding prompt data to terminal.The live signal of net cast application includes whether net cast application goes out extremely Now acquisition vision signal is abnormal, such as can not acquire signal, acquisition signal error, acquisition dropout or acquisition signal delay.
The Network Abnormal of net cast application includes network interruption, slow, the data transmission frame losing of network transfer speeds etc..
Net cast application program exception include net cast application program be switched to backstage share with main broadcaster.Its In, program the case where being switched to backstage of net cast application include install net cast application terminal open other application and Apply net cast in running background.It includes that main broadcaster shares current video live streaming to current video live streaming application that main broadcaster, which shares, Lead to signal suspension or the end of current video live streaming application in other application (such as microblogging, wechat social platform) in addition End.
Step S403, if detecting live streaming anomalous event, live streaming connects streaming server and sends to terminal and exception is broadcast live The associated prompt data of event, so that terminal plays and prompt data.
Live streaming connects streaming server and detects that live streaming anomalous event sends prompt data with regard to phase terminal, since prompt data are sounds Video data, therefore, terminal can such as play one section of suggestion voice or prompt to the same play cuing data of live data are played The picture of video.
Step S404, if live streaming anomalous event is not detected, live streaming connects streaming server and sends live data to terminal.
Live streaming connects streaming server in the case where live streaming anomalous event is not detected, and only can send live streaming number to terminal According to displaying live data carries out normal live streaming viewing in terminal.
In the present embodiment, live streaming connects streaming server and obtains live data and prompt data, is receiving live streaming anomalous event Prompt data are sent to terminal afterwards, terminal can show prompt data, so which occurs is different for user's timely learning current live Often.Since prompt data and live streaming anomalous event are provided by net cast application, which can apply in a variety of differences Terminal on, expand the scope of application of live streaming prompt logic, the prompt logic scope of application for solving the prior art is narrow The problem of, reach the technical effect for expanding the use scope of prompt logic.Simultaneously as identical exception is in different terminals It is upper to show identical prompt data, improve user experience.
Optionally, it includes: straight that live streaming, which connects streaming server and sends prompt data associated with live streaming anomalous event to terminal, Broadcast the type for connecing streaming server detection live streaming anomalous event;Live streaming connects streaming server and searches from prompt data to match with type Data;Live streaming connects streaming server and sends the data found to terminal.
The type of live streaming anomalous event includes that the live signal of net cast application is abnormal, the network of net cast application is different Often and the program exception of net cast application, the abnormal all corresponding one or more kinds of prompt data of every kind of live streaming, live streaming connect stream clothes Device be engaged according to the corresponding prompt data of type selection that anomalous event is broadcast live.For example, the Network Abnormal of net cast application occurs When, prompt data to correspond to " Network Abnormal of net cast application ".When the program exception of net cast application occurs, such as video Live streaming application, which is shared, arrives third-party platform, and data is prompted to correspond to " walk third-party platform is asked to continue viewing live streaming ".Live streaming connects Corresponding prompt data are sent to terminal by streaming server, and terminal shows that corresponding prompt data prompt user.
Optionally, it includes: that live streaming connects streaming server and passes through data point that live streaming, which connects streaming server and sends live data to terminal, It sends out server and sends live data to one or more terminals.
Optionally, it includes: straight that live streaming, which connects streaming server and sends prompt data associated with live streaming anomalous event to terminal, It broadcasts and connects streaming server and sent by data distributing server to one or more terminals and the associated prompt of anomalous event is broadcast live Data.
The terminal for watching live streaming simultaneously has multiple, and live streaming connects streaming server can be by data distributing server to multiple ends End sends live data and prompt data, so as to play cuing data and live data in multiple terminals.Abnormal thing is broadcast live Part is the exception that net cast application occurs, and will affect all terminals for watching live streaming, and prompt information connects stream by live streaming Server is sent to all terminals for watching live streaming, and terminal only needs play cuing data that the exhibition for prompting data can be realized Show.And the pattern of the prompt data of multiple terminal displays is identical, can obtain watching live streaming in multiple and different terminals even if user Obtain identical user experience.
Optionally, after the live data and prompt data that live streaming connects that streaming server reception net cast application is sent, Method further include: live streaming connects streaming server and detects whether current live is abnormal according to the live data of caching;If detection Current live is abnormal out, and live streaming connects streaming server and issues prompt data to terminal.
Live streaming, which connects streaming server, to judge whether current live has exception according to the live data of caching, if there is different Often, then supplement prompt data are issued.When net cast application does not issue live streaming anomalous event and it is broadcast live and connects streaming server and detect When live streaming is abnormal, streaming server is connect by live streaming and directly issues prompt.Since the prompt is also to connect streaming server hair by live streaming Out, abnormal to connect streaming server detection for live streaming, so not needing to be adapted to terminal, so that the use of the method for the present embodiment Range is wider.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 3
According to embodiments of the present invention, it additionally provides a kind of for implementing the dress of the net cast of the method for above-mentioned net cast It sets, the device of the net cast is mainly used for the method for executing net cast provided by above content of the embodiment of the present invention, with Under be provided for the embodiments of the invention the device of net cast and do specific introduction:
Fig. 6 is the schematic diagram of the device of net cast according to an embodiment of the present invention, as shown in fig. 6, the net cast Device specifically includes that the first transmission unit 50, detection unit 52 and the second transmission unit 54.
First transmission unit 50 is used to connect streaming server to live streaming and sends live data and prompt data, wherein prompt number It is connect in streaming server according to the live streaming is sent to before current live is abnormal, prompts data for indicating that live streaming is abnormal The type of event.
Net cast application can record live video to obtain live data, prompt data to can be net cast and answer The data of net cast application are handed down on backstage, and prompting data may include prompting data for different abnormal prompts Net cast application can be prompted to be abnormal, and the type of the anomalous event occurred.The exception that net cast application occurs It is corresponding with live streaming anomalous event.Live data and prompt data are sent to after live streaming connects streaming server, connect stream by live streaming Server is stored.
Detection unit 52 is for detecting whether current live is abnormal.
Net cast application detection current live whether be abnormal predominantly detect net cast application end whether occur it is different Often, abnormal includes at least one of: the Network Abnormal and view that the live signal of net cast application is abnormal, net cast is applied The program exception of frequency live streaming application.
The live signal of net cast application includes whether net cast application occurs acquiring vision signal exception extremely, such as Signal, acquisition signal error, acquisition dropout or acquisition signal delay etc. can not be acquired.
The Network Abnormal of net cast application includes network interruption, slow, the data transmission frame losing of network transfer speeds etc..
Net cast application program exception include net cast application program be switched to backstage share with main broadcaster.Its In, program the case where being switched to backstage of net cast application include install net cast application terminal open other application and Apply net cast in running background.It includes that main broadcaster shares current video live streaming to current video live streaming application that main broadcaster, which shares, Lead to signal suspension or the end of current video live streaming application in other application (such as microblogging, wechat social platform) in addition End.
Above a plurality of types of exceptions can be monitored by net cast application and judge it is which type of exception, that is, be regarded Frequency live streaming application can detecte the type of live streaming anomalous event.
Second transmission unit 54 is used for when detecting that current live is abnormal, and is connect streaming server to live streaming and is sent live streaming Anomalous event, wherein live streaming anomalous event be used to indicate live streaming connect streaming server to terminal send be broadcast live anomalous event it is related The prompt data of connection.
Since the exception that current live occurs can be monitored that net cast application can be direct by net cast application Streaming server is connect to live streaming and sends live streaming anomalous event, and live streaming anomalous event is used to that live streaming is prompted to connect streaming server to send to terminal Relevant prompt data.Since prompt data have been stored in live streaming in advance and connect in streaming server, live streaming connects streaming server can be with Terminal is sent to according to the corresponding prompt data of live streaming anomalous event selection.
In the present embodiment, live data and prompt data are provided by net cast application, and instruction net cast is answered With the live streaming anomalous event being abnormal, live streaming is connect after streaming server receives live streaming anomalous event, according to abnormal thing is broadcast live Part selects to prompt data to be sent to terminal accordingly from stored prompt data, different to prompt net cast application to occur Often.In this process, it does not need terminal and prompt logic is provided, terminal can be real as long as playing live data and prompt data Existing abnormal prompt, it is not necessary to each terminal designs a set of prompt logic so that the abnormal prompt of the present embodiment can be applied to it is more Kind in the terminal of homologous ray, does not solve the problems, such as that the prompt logic scope of application of the prior art is narrow, has reached expansion prompt The technical effect of the use scope of logic.Simultaneously as identical exception shows identical prompt data in different terminals, Improve user experience.
Optionally, the first transmission unit includes: acquisition module, for obtaining prompt material;Coding module, for will be prompted to Material is encoded to multi-medium data;Sending module connects stream service for multi-medium data to be sent to live streaming as prompt data Device.
The prompt material that net cast application obtains can be the backstage that net cast is applied and directly issue, can also be by Main broadcaster is directly configured in net cast application.Prompt material can be abnormal text prompt, picture prompting etc..For Different exceptions can use different text prompts.For example, when net cast application switching is to backstage, corresponding text prompt For " main broadcaster is away from keyboard " or " temporarily away from just a moment,please " etc..When the network of net cast application occurs abnormal, corresponding text Word prompt can be " network blocks a little, please bear with ".The above prompt by way of example only, can also be using other forms Text prompt.
Net cast is applied by above-mentioned prompt material converting multimedia data, for example, will be prompted to material is encoded to video The combination of data, image data, audio data or above-mentioned a variety of data modes.It will be prompted to material and be encoded to prompt data transmission Streaming server is connect to live streaming.
Optionally, sending module is also used to send multimedia while connecing streaming server transmission live data to live streaming Data.
Multi-medium data and live data are respectively stored in live streaming and connect in two different cachings of streaming server, so as to straight It broadcasts to connect streaming server and directly connect the corresponding prompt data of streaming server selection from live streaming when needing to send prompt data and be sent to Terminal.
Embodiment 4
According to embodiments of the present invention, it additionally provides a kind of live streaming for implementing the method for above-mentioned net cast and connects stream service Device, the live streaming connect streaming server and are mainly used for the method for executing net cast provided by above content of the embodiment of the present invention, with Under be provided for the embodiments of the invention live streaming and connect streaming server and do specific introduction:
Fig. 7 is the schematic diagram according to an embodiment of the present invention for being broadcast live and connecing streaming server, as shown in fig. 7, the live streaming connects stream clothes Business device specifically includes that receiving unit 60, event detection unit 62, the first data transmission unit 64 and the second data transmission unit 66。
Receiving unit 60 is used to receive the live data that net cast application is sent and prompt data, wherein prompt data It is sent to live streaming before current live is abnormal to connect in streaming server, data is prompted to be used to indicate live streaming anomalous event Type.
Net cast application can record live video to obtain live data, prompt data to can be net cast and answer The data of net cast application are handed down on backstage, and prompting data may include prompting data for different abnormal prompts Net cast application can be prompted to be abnormal, and the type being abnormal.Live data and prompt data are sent to directly It broadcasts after connecing streaming server, streaming server is connect by live streaming and is stored.
Optionally, live streaming connects streaming server further include: cache unit receives net cast for connecing streaming server in live streaming After the live data and prompt data of transmission, by live data and the data caching that be respectively stored in two different is prompted In.Live streaming connects streaming server and receives live data and after prompt data, store live data in two cachings respectively and mention Registration evidence.When needing live streaming to connect streaming server transmission prompt data, live streaming connects streaming server and directly mentions from its caching Registration improves the speed of data search and transmission according to terminal is sent to.
Event detection unit 62 is for detecting whether receive the live streaming anomalous event that net cast application is sent.
The live streaming that prompt data are used to that net cast is prompted to apply is abnormal, and is not that live streaming connects streaming server still It receives prompt data to be just immediately sent to terminal and shown, but live streaming throttling server is waited to receive the abnormal thing of live streaming Part just sends corresponding prompt data to terminal.The live signal of net cast application includes whether net cast application goes out extremely Now acquisition vision signal is abnormal, such as can not acquire signal, acquisition signal error, acquisition dropout or acquisition signal delay.
The Network Abnormal of net cast application includes network interruption, slow, the data transmission frame losing of network transfer speeds etc..
Net cast application program exception include net cast application program be switched to backstage share with main broadcaster.Its In, program the case where being switched to backstage of net cast application include install net cast application terminal open other application and Apply net cast in running background.It includes that main broadcaster shares current video live streaming to current video live streaming application that main broadcaster, which shares, Lead to signal suspension or the end of current video live streaming application in other application (such as microblogging, wechat social platform) in addition End.
First data transmission unit 64 is used for when detecting live streaming anomalous event, and live streaming connects streaming server and sends to terminal Prompt data associated with live streaming anomalous event, so that terminal plays prompt data.
Live streaming connects streaming server and detects that live streaming anomalous event sends prompt data with regard to phase terminal, since prompt data are sounds Video data, therefore, terminal can such as play one section of suggestion voice or prompt to the same play cuing data of live data are played The picture of video.
Second data transmission unit 66 is used to send live data to terminal when live streaming anomalous event is not detected.
Live streaming connects streaming server in the case where live streaming anomalous event is not detected, and only can send live streaming number to terminal According to displaying live data carries out normal live streaming viewing in terminal.
In the present embodiment, live streaming connects streaming server and obtains live data and prompt data, is receiving live streaming anomalous event Prompt data are sent to terminal afterwards, terminal can show prompt data, so which occurs is different for user's timely learning current live Often.Since prompt data and live streaming anomalous event are provided by net cast application, which can apply in a variety of differences Terminal on, expand the scope of application of live streaming prompt logic, the prompt logic scope of application for solving the prior art is narrow The problem of, reach the technical effect for expanding the use scope of prompt logic.Simultaneously as identical exception is in different terminals It is upper to show identical prompt data, improve user experience.
Optionally, the first data transmission unit includes: detection module, for detecting the type of live streaming anomalous event;It searches Module, for searching the data to match with type from prompt data;Sending module, for sending the number found to terminal According to.
The type of live streaming anomalous event includes that the live signal of net cast application is abnormal, the network of net cast application is different Often and the program exception of net cast application, the abnormal all corresponding one or more kinds of prompt data of every kind of live streaming, live streaming connect stream clothes Device be engaged according to the corresponding prompt data of type selection that anomalous event is broadcast live.For example, the Network Abnormal of net cast application occurs When, prompt data to correspond to " Network Abnormal of net cast application ".When the program exception of net cast application occurs, such as video Live streaming application, which is shared, arrives third-party platform, and data is prompted to correspond to " walk third-party platform is asked to continue viewing live streaming ".Live streaming connects Corresponding prompt data are sent to terminal by streaming server, and terminal shows that corresponding prompt data prompt user.
Optionally, the live streaming connects streaming server further include: abnormality detecting unit, for receiving net cast application hair After the live data and prompt data sent, detect whether current live is abnormal according to the live data of caching;It mentions Show unit, for issuing the prompt data to the terminal when detecting that current live is abnormal.
Live streaming, which connects streaming server, to judge whether current live has exception according to the live data of caching, if there is different Often, then supplement prompt data are issued.When net cast application does not issue live streaming anomalous event and it is broadcast live and connects streaming server and detect When live streaming is abnormal, streaming server is connect by live streaming and directly issues prompt.Since the prompt is also to connect streaming server hair by live streaming Out, abnormal to connect streaming server detection for live streaming, so not needing to be adapted to terminal, so that the use of the method for the present embodiment Range is wider.
Embodiment 5
According to embodiments of the present invention, additionally provide it is a kind of for implementing the terminal of the method for above-mentioned net cast, such as Fig. 8 institute Show, which mainly includes that processor 701, camera 702, display 703, data-interface 704, memory 705 and network connect Mouth 706, in which:
Camera 702 is mainly used for recorded video live streaming and applies required live data.
The live data that third party's tool takes then mainly is transferred in such a way that data are transmitted by data-interface 704 Processor 701.
Memory 705 is mainly used for storing live data and prompts data.
Network interface 706 is mainly used for connecing streaming server progress network communication with live streaming, and live data is then prompted number Streaming server is connect according to live streaming is sent to.
Display 703 is mainly used for the live data that display is recorded.
Processor 701 is mainly used for performing the following operations:
Net cast applies to live streaming and connects streaming server transmission live data and prompt data, wherein the prompt data It is sent to live streaming before current live is abnormal to connect in streaming server, data is prompted to be used to indicate live streaming anomalous event Type;Whether the net cast application detection current live is abnormal;The net cast, which is applied, to be detected currently directly It broadcasts when being abnormal, the net cast, which is applied, to be connect streaming server to the live streaming and send live streaming anomalous event, wherein described straight Broadcast anomalous event be used to indicate it is described live streaming connect streaming server to terminal send it is associated with the live streaming anomalous event described in Prompt data.
Processor 701 is mainly used for performing the following operations: the net cast application obtains prompt material;The video is straight It broadcasts and is encoded to multi-medium data using by the prompt material;The net cast is applied the multi-medium data as described in Prompt data are sent to the live streaming and connect streaming server.
Processor 701 is mainly used for performing the following operations: the net cast, which is applied, is connecing streaming server to the live streaming While sending the live data, the multi-medium data is sent.
Processor 701 is mainly used for performing the following operations: the video of the net cast application detection current live Whether live streaming application is abnormal, wherein the exception includes at least one of: the live signal of the net cast application The Network Abnormal of abnormal, the described net cast application and the program exception of net cast application.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
Embodiment 6
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can The program code of the method for the net cast of the embodiment of the present invention for storage.
Optionally, in the present embodiment, above-mentioned storage medium can be located at mobile communications network, wide area network, Metropolitan Area Network (MAN) or At least one network equipment in multiple network equipments in the network of local area network.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
S1, net cast apply to live streaming and connect streaming server transmission live data and prompt data, wherein the prompt number It is connect in streaming server according to live streaming is sent to before current live is abnormal, prompts data for indicating live streaming anomalous event Type;
Whether S2, the net cast application detection current live are abnormal;
S3, the net cast are applied when detecting that current live is abnormal, and the net cast is applied to described Live streaming connects streaming server and sends live streaming anomalous event, wherein the live streaming anomalous event is used to indicate the live streaming and connects stream service Device sends the prompt data associated with the live streaming anomalous event to terminal.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or The various media that can store program code such as CD.
Optionally, in the present embodiment, processor is executed according to program code stored in storage medium: the video Live streaming application obtains prompt material;The net cast, which is applied, is encoded to multi-medium data for the prompt material;The video The multi-medium data is sent to the live streaming as the prompt data and connects streaming server by live streaming application.
Optionally, in the present embodiment, processor is executed according to program code stored in storage medium: the video Live streaming is applied while connecing the streaming server transmission live data to the live streaming, and the multi-medium data is sent.
Optionally, in the present embodiment, processor is executed according to program code stored in storage medium: the video Live streaming application detection current live the net cast application whether be abnormal, wherein the exception include it is following at least One of: the Network Abnormal of abnormal, the described net cast application of the live signal of the net cast application and the net cast The program exception of application.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (18)

1. a kind of method of net cast characterized by comprising
Net cast applies to live streaming and connects streaming server transmission live data and prompt data, wherein the prompt data are being worked as Preceding live streaming is sent to the live streaming and connects in streaming server before being abnormal, abnormal thing is broadcast live for indicating in the prompt data The type of part;
Whether the net cast application detection current live is abnormal;
The net cast is applied when detecting that current live is abnormal, and the net cast applies to the live streaming and connects stream Server sends live streaming anomalous event, wherein the live streaming anomalous event is used to indicate the live streaming and connects streaming server to terminal Send the prompt data associated with the live streaming anomalous event.
2. the method according to claim 1, wherein the net cast, which is applied to the live streaming, connects streaming server It sends live data and prompt data includes:
The net cast application obtains prompt material;
The net cast, which is applied, is encoded to multi-medium data for the prompt material;
The net cast apply using the multi-medium data as the prompt data be sent to it is described be broadcast live connect streaming server.
3. according to the method described in claim 2, it is characterized in that, the net cast apply using the multi-medium data as The prompt data are sent to the live streaming and connect streaming server and include:
The net cast is applied while connecing the streaming server transmission live data to the live streaming, and more matchmakers are sent Volume data.
4. the method according to claim 1, wherein whether net cast application detection current live occurs Extremely include:
Whether the net cast application of the net cast application detection current live is abnormal, wherein the exception Including at least one of:
The Network Abnormal of abnormal, the described net cast application of the live signal of the net cast application and the net cast are answered Program exception.
5. a kind of method of net cast characterized by comprising
Live streaming connects streaming server and receives the live data and prompt data that net cast application is sent, wherein the prompt data It is sent to the live streaming before current live is abnormal to connect in streaming server, the prompt data are different for indicating live streaming The type of ordinary affair part;
The live streaming connects streaming server and detects whether to receive the live streaming anomalous event that the net cast application is sent;
If detecting the live streaming anomalous event, the live streaming connects streaming server and sends and the abnormal thing of the live streaming to terminal The associated prompt data of part, to indicate to prompt data described in the terminal plays;
If the live streaming anomalous event is not detected, the live streaming connects streaming server and sends the live streaming number to the terminal According to.
6. according to the method described in claim 5, it is characterized in that, the live streaming connect streaming server to terminal send with it is described straight Broadcasting the associated prompt data of anomalous event includes:
The live streaming connects the type that streaming server detects the live streaming anomalous event;
The live streaming connects streaming server and searches the data to match with the type from the prompt data;
The live streaming connects streaming server and sends the data found to the terminal.
7. according to the method described in claim 5, it is characterized in that, connecing streaming server in the live streaming receives net cast application After the live data and prompt data of transmission, the method also includes:
The live streaming connects streaming server and the live data and the prompt data is respectively stored in two different cachings.
8. according to the method described in claim 5, it is characterized in that, the live streaming connects streaming server to described in terminal transmission Live data includes:
The live streaming connects streaming server and sends the live data to one or more terminals by data distributing server.
9. according to the method described in claim 5, it is characterized in that, the live streaming connect streaming server to terminal send with it is described straight Broadcasting the associated prompt data of anomalous event includes:
It is different to one or more terminals transmissions and the live streaming by data distributing server that the live streaming connects streaming server The associated prompt data of ordinary affair part.
10. according to the method described in claim 5, it is characterized in that, connecing streaming server in live streaming receives net cast application hair After the live data and prompt data sent, the method also includes:
The live streaming connects streaming server and detects whether current live is abnormal according to the live data of caching;
If detecting that current live is abnormal, the live streaming connects streaming server and issues the prompt data to the terminal.
11. a kind of device of net cast characterized by comprising
First transmission unit sends live data and prompt data for connecing streaming server to live streaming, wherein the prompt data It is sent to the live streaming before current live is abnormal to connect in streaming server, the prompt data are different for indicating live streaming The type of ordinary affair part;
Whether detection unit is abnormal for application detection current live;
Second transmission unit, for connecing streaming server to the live streaming and sending live streaming when detecting that current live is abnormal Anomalous event, wherein the live streaming anomalous event is used to indicate the live streaming and connects streaming server to terminal transmission and the live streaming The associated prompt data of anomalous event.
12. device according to claim 11, which is characterized in that first transmission unit includes:
Module is obtained, for obtaining prompt material;
Coding module, for the prompt material to be encoded to multi-medium data;
Sending module connects streaming server for the multi-medium data to be sent to the live streaming as the prompt data.
13. device according to claim 12, which is characterized in that the sending module is also used to connecing stream to the live streaming While server sends the live data, the multi-medium data is sent.
14. device according to claim 11, which is characterized in that the detection unit is for detecting the described of current live Whether net cast application is abnormal, wherein the exception includes at least one of:
The Network Abnormal of abnormal, the described net cast application of the live signal of the net cast application and the net cast are answered Program exception.
15. a kind of live streaming connects streaming server characterized by comprising
Receiving unit, for receiving the live data and prompt data that net cast application is sent, wherein the prompt data exist Current live is sent to the live streaming and connects in streaming server before being abnormal, the prompt data are for indicating that live streaming is abnormal The type of event;
Event detection unit, for detecting whether receiving the live streaming anomalous event that the net cast application is sent;
First data transmission unit, for being sent to terminal abnormal with the live streaming when detecting the live streaming anomalous event The associated prompt data of event, to indicate the terminal for playing the prompt data;
Second data transmission unit, for sending the live streaming to the terminal when the live streaming anomalous event is not detected Data.
16. live streaming according to claim 15 connects streaming server, which is characterized in that the first data transmission unit packet It includes:
Detection module, for detecting the type of the live streaming anomalous event;
Searching module, for searching the data to match with the type from the prompt data;
Sending module, for sending the data found to the terminal.
17. live streaming according to claim 15 connects streaming server, which is characterized in that the live streaming connects streaming server and also wraps It includes:
Cache unit, after receiving the live data of net cast application transmission in the receiving unit and prompting data, The live data and the prompt data are respectively stored in two different cachings.
18. live streaming according to claim 15 connects streaming server, which is characterized in that the live streaming connects streaming server and also wraps It includes:
Abnormality detecting unit, for the receiving unit receive net cast application send live data and prompt data it Afterwards, detect whether current live is abnormal according to the live data of caching;
Prompt unit, for issuing the prompt data to the terminal when detecting that current live is abnormal.
CN201710077128.1A 2017-02-09 2017-02-09 The method, apparatus of net cast and live streaming connect streaming server Active CN107071503B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710077128.1A CN107071503B (en) 2017-02-09 2017-02-09 The method, apparatus of net cast and live streaming connect streaming server
PCT/CN2018/074786 WO2018145594A1 (en) 2017-02-09 2018-01-31 Live video broadcast method and apparatus, and live streaming server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710077128.1A CN107071503B (en) 2017-02-09 2017-02-09 The method, apparatus of net cast and live streaming connect streaming server

Publications (2)

Publication Number Publication Date
CN107071503A CN107071503A (en) 2017-08-18
CN107071503B true CN107071503B (en) 2019-01-08

Family

ID=59598101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710077128.1A Active CN107071503B (en) 2017-02-09 2017-02-09 The method, apparatus of net cast and live streaming connect streaming server

Country Status (2)

Country Link
CN (1) CN107071503B (en)
WO (1) WO2018145594A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071503B (en) * 2017-02-09 2019-01-08 腾讯科技(深圳)有限公司 The method, apparatus of net cast and live streaming connect streaming server
CN107743244B (en) * 2017-10-27 2021-04-27 北京小米移动软件有限公司 Video live broadcasting method and device
CN108055245A (en) * 2017-11-28 2018-05-18 北京潘达互娱科技有限公司 Internet video live broadcasting method, device, electronic equipment and computer storage media
CN108111879A (en) * 2017-12-12 2018-06-01 福建中金在线信息科技有限公司 A kind of method, apparatus and electronic equipment of net cast abnormality processing
CN108040261B (en) * 2017-12-22 2020-06-30 广州酷狗计算机科技有限公司 Network live broadcast management method and device and storage medium
CN108174295B (en) * 2017-12-29 2021-05-25 北京奇虎科技有限公司 Method and device for notifying anchor state and method and device for prompting anchor state
EP3756375B1 (en) * 2018-02-25 2023-10-25 Nokia Solutions and Networks Oy Method and system for automated dynamic network slice deployment using artificial intelligence
CN111385591A (en) * 2018-12-28 2020-07-07 阿里巴巴集团控股有限公司 Network live broadcast method, live broadcast processing method and device, live broadcast server and terminal equipment
WO2021146875A1 (en) * 2020-01-20 2021-07-29 深圳市大疆创新科技有限公司 Device control method, image display method, device, and storage medium
CN111918074A (en) * 2020-07-06 2020-11-10 深圳市鸿合创新信息技术有限责任公司 Live video fault early warning method and related equipment
CN114257572B (en) * 2020-09-11 2023-11-24 腾讯科技(深圳)有限公司 Data processing method, device, computer readable medium and electronic equipment
CN113014946A (en) * 2021-03-05 2021-06-22 广州市网星信息技术有限公司 Emergency processing method and emergency processing device for live broadcast drop of live broadcast platform
CN113296984A (en) * 2021-06-15 2021-08-24 杭州朗和科技有限公司 Compatibility parameter determining method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007527A (en) * 2015-08-05 2015-10-28 腾讯科技(深圳)有限公司 Data live-broadcast method and data live-broadcast device
CN105323144A (en) * 2014-07-16 2016-02-10 腾讯科技(深圳)有限公司 Method and system for prompting message abnormity in instant messenger
CN105897672A (en) * 2015-11-16 2016-08-24 乐视云计算有限公司 Network broadcast method, device and system
CN106331767A (en) * 2016-09-09 2017-01-11 腾讯科技(深圳)有限公司 Data error correcting processing method, terminal, server, and system
CN106341698A (en) * 2015-07-07 2017-01-18 腾讯科技(深圳)有限公司 Video live broadcast processing method and device
CN106375859A (en) * 2016-09-26 2017-02-01 腾讯科技(深圳)有限公司 Media processing method and apparatus, and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014041547A1 (en) * 2012-09-13 2014-03-20 Yevvo Entertainment Inc. Live video broadcasting from a mobile device
US9178631B2 (en) * 2013-04-19 2015-11-03 Spacebar, Inc. Asynchronously streaming high quality audio of a live event from a handheld device
US20160057457A1 (en) * 2014-08-25 2016-02-25 LiveFromMe Live video broadcasting mobile application for social sharing
CN104468623B (en) * 2014-12-27 2017-12-29 广州华多网络科技有限公司 It is a kind of based on online live information displaying method, relevant apparatus and system
CN105933774A (en) * 2016-05-18 2016-09-07 北京奇虎科技有限公司 Video live processing method and server
CN107071503B (en) * 2017-02-09 2019-01-08 腾讯科技(深圳)有限公司 The method, apparatus of net cast and live streaming connect streaming server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323144A (en) * 2014-07-16 2016-02-10 腾讯科技(深圳)有限公司 Method and system for prompting message abnormity in instant messenger
CN106341698A (en) * 2015-07-07 2017-01-18 腾讯科技(深圳)有限公司 Video live broadcast processing method and device
CN105007527A (en) * 2015-08-05 2015-10-28 腾讯科技(深圳)有限公司 Data live-broadcast method and data live-broadcast device
CN105897672A (en) * 2015-11-16 2016-08-24 乐视云计算有限公司 Network broadcast method, device and system
CN106331767A (en) * 2016-09-09 2017-01-11 腾讯科技(深圳)有限公司 Data error correcting processing method, terminal, server, and system
CN106375859A (en) * 2016-09-26 2017-02-01 腾讯科技(深圳)有限公司 Media processing method and apparatus, and terminal

Also Published As

Publication number Publication date
WO2018145594A1 (en) 2018-08-16
CN107071503A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
CN107071503B (en) The method, apparatus of net cast and live streaming connect streaming server
CN105308673B (en) For managing the method for the output in HDMI sources, system and medium
CN110430461A (en) A kind of method, apparatus and video playback apparatus controlling video playing
CN109819493A (en) Control method and throwing screen method and device, storage medium, electronic equipment
CN108933948A (en) A kind of video playing progress synchronous method and device
CN103514220B (en) Video pictures search method based on multi-screen interaction scene, apparatus and system
CN106686446B (en) Content projection method and mobile terminal
CN109561320B (en) Server switching method, device, equipment and medium
KR101629813B1 (en) Digital broadcasting reception apparatus and method for providing zapping advertisement using the same
CN110109735A (en) Mobile communication terminal and its method
CN103888832B (en) A kind of playback terminal accesses the treating method and apparatus of data source switching
CN104185075B (en) Information display method and device
CN105357562A (en) Information processing method and terminal
CN108810578A (en) Advertisement cut-in method and system applied to user terminal
CN102006511A (en) Method and device for looking back live program and terminal
CN106658111A (en) Screen projection method and device
US20180316449A1 (en) Method and device for triggering interactive application
CN106330967A (en) Processing method and device of live broadcast data processing
CN105898538A (en) Play method and device and mobile terminal equipment based on Android platform
CN113741762A (en) Multimedia playing method, device, electronic equipment and storage medium
CN105657612A (en) Audio and video play method and system, headset and mobile terminal
WO2017088426A1 (en) Multimedia data synchronization processing method, apparatus and terminal
CN106791903B (en) Processing system, unit and method is broadcast live
CN105791987A (en) Media data playing method and terminal
CN102970251A (en) Networking method and networking device

Legal Events

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