CN110267053A - Live broadcasting method, apparatus and system - Google Patents

Live broadcasting method, apparatus and system Download PDF

Info

Publication number
CN110267053A
CN110267053A CN201910570419.3A CN201910570419A CN110267053A CN 110267053 A CN110267053 A CN 110267053A CN 201910570419 A CN201910570419 A CN 201910570419A CN 110267053 A CN110267053 A CN 110267053A
Authority
CN
China
Prior art keywords
direct broadcasting
broadcasting room
room
live
access server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910570419.3A
Other languages
Chinese (zh)
Inventor
谢导
洪锐堉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201910570419.3A priority Critical patent/CN110267053A/en
Publication of CN110267053A publication Critical patent/CN110267053A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/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/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/64Addressing
    • 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/64Addressing
    • H04N21/6402Address allocation for clients

Abstract

This application discloses a kind of live broadcasting methods, apparatus and system, are related to network technique field.Live streaming client in live broadcast system sends the mark of at least one direct broadcasting room to access server, access server is according to the mark of each direct broadcasting room, drawing stream address and the room status information of each direct broadcasting room are obtained, and sends it to client, for live streaming client storage.Client is broadcast live in the play instruction for detecting target direct broadcasting room, drawing stream address and the room status information of target direct broadcasting room can be obtained from the drawing stream address of storage and room status information.Without requesting to draw stream address again to access server, the acquisition efficiency of the drawing stream address and room status information is which thereby enhanced, and then improve the acquisition efficiency of live data, improve user experience.

Description

Live broadcasting method, apparatus and system
Technical field
This application involves network technique field, in particular to a kind of live broadcasting method, apparatus and system.
Background technique
Live broadcast system generally includes: streaming media server, and the multiple client connecting with the streaming media server.It should The live data of recording can be transmitted to streaming media server by main broadcaster's client in multiple client, and spectator client can be with The live data is obtained from the streaming media server.
In the related technology, if desired spectator client enters the direct broadcasting room viewing live streaming of some main broadcaster's client, then needs elder generation The drawing stream address of the direct broadcasting room is obtained from access server, and the live streaming is obtained from streaming media server according to the drawing stream address later Between live data.
But the efficiency that spectator client obtains live data is lower, time delay is larger.
Summary of the invention
This application provides a kind of live broadcasting method, apparatus and system, the spectator client that can solve the relevant technologies is obtained The efficiency of live data is lower, the larger problem of time delay.The technical solution is as follows:
On the one hand, a kind of live broadcasting method is provided, live streaming client is applied to, which comprises
The mark of at least one direct broadcasting room is sent to the first access server;
Receive and store the drawing stream address of each of the first access server transmission direct broadcasting room;
In response to being directed to the play instruction of target direct broadcasting room, the target direct broadcasting room is obtained from the drawing of storage stream address Draw stream address;
The live data of the target direct broadcasting room is obtained according to the drawing stream address of the target direct broadcasting room.
Optionally, the mark that at least one direct broadcasting room is sent to the first access server, comprising:
At least one currently shown in the direct broadcasting room selection page for sending the live streaming client to the first access server The mark of a direct broadcasting room.
Optionally, the mark that at least one direct broadcasting room is sent to the first access server, comprising:
It is sent to the first access server and logs in the user account that client is broadcast live at least one live streaming of interest Between mark.
Optionally, the method also includes:
It receives at least one described direct broadcasting room that first access server is sent after the variation of any direct broadcasting room Draw stream address;
According to the drawing stream address after the variation, the drawing stream address of any direct broadcasting room updated storage.
Optionally, the method also includes:
Every polling cycle, the mark of at least one direct broadcasting room is sent to the second access server;
Receive and store the drawing stream address of each of the second access server transmission direct broadcasting room.
Optionally, it is described send the mark of at least one direct broadcasting room to the first access server after, the method is also Include:
Receive and store the room status information of each of the first access server transmission direct broadcasting room;
In response to being directed to the play instruction of the target direct broadcasting room, the target is obtained from the room status information of storage The room status information of direct broadcasting room;
According to the room status information of the target direct broadcasting room, the room interface of the target direct broadcasting room is shown.
Optionally, the method also includes:
It receives at least one described direct broadcasting room that first access server is sent after the variation of any direct broadcasting room Room status information;
According to the room status information after the variation, the room status information of any direct broadcasting room updated storage.
On the other hand, a kind of live broadcasting method is provided, access server is applied to;The described method includes:
Receive the mark at least one direct broadcasting room that live streaming client is sent;
According to the mark of at least one direct broadcasting room, the drawing stream address of at least one direct broadcasting room is obtained;
The drawing stream address of at least one direct broadcasting room is sent to the live streaming client, at least one described direct broadcasting room Drawing stream address be used to store for the live streaming client so that the live streaming client is directed to target direct broadcasting room detecting When play instruction, the drawing stream address of the target direct broadcasting room is obtained from the drawing stream address of storage, and be broadcast live according to the target Between drawing stream address obtain the live data of the target direct broadcasting room.
Optionally, described after the drawing stream address of at least one direct broadcasting room is sent to the live streaming client Method further include:
When the drawing stream address for detecting any direct broadcasting room at least one described direct broadcasting room changes, after variation Stream address is drawn to be sent to the live streaming client.
Optionally, after the mark for receiving at least one direct broadcasting room that live streaming client is sent, the method also includes:
According to the mark of at least one direct broadcasting room, the room status information of at least one direct broadcasting room is obtained;
The room status information of at least one direct broadcasting room is occurred to the live streaming client.
Optionally, the room status information of at least one direct broadcasting room is being occurred to the live streaming client, The method also includes:
When the room status information for detecting any direct broadcasting room at least one described direct broadcasting room changes, will change Room status information afterwards is sent to the live streaming client.
Another aspect provides a kind of live broadcast device, is applied to live streaming client, and described device includes:
Sending module, for sending the mark of at least one direct broadcasting room to the first access server;
Receiving module each of sends the drawing stream of the direct broadcasting room for receiving and storing first access server Location;
First obtains module, for the play instruction in response to being directed to target direct broadcasting room, obtains from the drawing stream address of storage Take the drawing stream address of the target direct broadcasting room;
Second obtains module, and the live streaming of the target direct broadcasting room is obtained for the drawing stream address according to the target direct broadcasting room Data
Optionally, the sending module is used for:
At least one currently shown in the direct broadcasting room selection page for sending the live streaming client to the first access server The mark of a direct broadcasting room.
Optionally, the sending module is used for:
It is sent to the first access server and logs in the user account that client is broadcast live at least one live streaming of interest Between mark.
Optionally, the receiving module is also used to:
It receives at least one described direct broadcasting room that first access server is sent after the variation of any direct broadcasting room Draw stream address;
According to the drawing stream address after the variation, the drawing stream address of any direct broadcasting room updated storage.
Optionally, the sending module is also used to:
Every polling cycle, the mark of at least one direct broadcasting room is sent to the second access server;
The receiving module is also used to: receiving and storing each of the second access server transmission direct broadcasting room Draw stream address.
Optionally, the receiving module is also used to:
Receive and store the room status information of each of the first access server transmission direct broadcasting room;
The first acquisition module is also used to: the play instruction in response to being directed to the target direct broadcasting room, from the room of storage Between the room status information of the target direct broadcasting room is obtained in status information;
Described device further include:
Display module shows the room of the target direct broadcasting room for the room status information according to the target direct broadcasting room Between interface.
Optionally, the receiving module is also used to:
It receives at least one described direct broadcasting room that first access server is sent after the variation of any direct broadcasting room Room status information;
According to the room status information after the variation, the room status information of any direct broadcasting room updated storage.
In another aspect, additionally providing a kind of live broadcast device, it is applied to access server;Described device includes:
Receiving module, for receiving the mark at least one direct broadcasting room that live streaming client is sent;
Module is obtained, for the mark according at least one direct broadcasting room, obtains the drawing of at least one direct broadcasting room Flow address;
Sending module, it is described for the drawing stream address of at least one direct broadcasting room to be sent to the live streaming client The drawing stream address of at least one direct broadcasting room is used to store for the live streaming client, so that the live streaming client is detecting needle When to the play instruction of target direct broadcasting room, the drawing stream address of the target direct broadcasting room, and root are obtained from the drawing stream address of storage The live data of the target direct broadcasting room is obtained according to the drawing stream address of the target direct broadcasting room.
Optionally, the sending module is also used to:
When the drawing stream address for detecting any direct broadcasting room at least one described direct broadcasting room changes, after variation Stream address is drawn to be sent to the live streaming client.
Optionally, the acquisition module is also used to:
According to the mark of at least one direct broadcasting room, the room status information of at least one direct broadcasting room is obtained;
The sending module is also used to occur the room status information of at least one direct broadcasting room to the live streaming visitor Family end.
Optionally, the sending module is also used to:
When the room status information for detecting any direct broadcasting room at least one described direct broadcasting room changes, will change Room status information afterwards is sent to the live streaming client.
In another aspect, additionally providing a kind of live broadcast device, described device includes: memory and processor;
The memory is stored with computer program, when the computer program is executed by the processor, so that described Processor executes the live broadcasting method as described in terms of above-mentioned.
In another aspect, providing a kind of computer storage medium, instruction is stored in the computer readable storage medium, When the computer readable storage medium is run on computers so that the computer execute it is straight as described in terms of above-mentioned Broadcasting method.
In another aspect, providing a kind of live broadcast system, the live broadcast system includes: at least one live streaming client and connects Enter server;
Each live streaming client includes the live broadcast device for being applied to live streaming client as described in terms of above-mentioned;
The access server includes the live broadcast device applied to access server as described in terms of above-mentioned.
Technical solution bring beneficial effect provided by the present application includes at least:
This application provides a kind of live broadcasting methods, apparatus and system, and client is broadcast live to access server and sends at least one The mark of a direct broadcasting room, access server obtain the drawing stream address and room of each direct broadcasting room according to the mark of each direct broadcasting room Status information, and client is sent it to, for live streaming client storage.Live streaming client is detecting target direct broadcasting room Play instruction can obtain drawing stream address and the room shape of target direct broadcasting room from the drawing stream address of storage and room status information State information.Without requesting to draw stream address again to access server, the drawing stream address and room status information are which thereby enhanced Efficiency is obtained, and then improves the acquisition efficiency of live data, improves user experience.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the flow diagram of one of the relevant technologies live broadcasting method;
Fig. 2 is a kind of structural schematic diagram of live broadcast system provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of live broadcasting method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another live broadcasting method provided in an embodiment of the present invention;
Fig. 5 is the flow chart of another live broadcasting method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of live broadcast device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another live broadcast device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another live broadcast device provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another live broadcast device provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is the flow diagram of one of the relevant technologies live broadcasting method.From figure 1 it appears that spectator client When needing to enter the viewing live streaming of some direct broadcasting room, step a can be first carried out, that is, is clicked into room.Spectators user clicks into room institute The time needed is usually 600 milliseconds (ms).Step b can be executed later to obtain room status information.The spectator client obtains Time needed for getting room status information is usually 400ms.Step c can be executed later with obtaining the drawing stream of direct broadcasting room Location, obtaining the time needed for drawing stream address is usually 400ms.After obtaining the drawing stream address, step d can be executed, to obtain The live data that streaming media server is sent, time needed for the acquisition live data are generally 200ms.It further, can be with Step e is executed, to be decoded to obtain each frame image to the live data got, is generally 200ms the time required to decoding. Later, step f can be executed, the available first frame image of spectator client (i.e. key frame images) obtains needed for first frame image Time be usually 200ms.In turn, step g and step h is executed, i.e., each frame image obtained to decoding is opened from first frame image Beginning is rendered frame by frame, and the time needed for rendering a frame image is usually 100ms.Finally, spectator client can play frame by frame Image realizes the broadcasting to live data.According to above-mentioned process it is found that spectator client obtain live data and to its into Row takes a long time when playing, and user experience is poor.
Fig. 2 is a kind of structural schematic diagram of live broadcast system provided in an embodiment of the present invention.Referring to FIG. 2, the live broadcast system It may include: multiple terminals 110, access server 120 and streaming media server 130.Each terminal 110 can respectively with access Server 120 and streaming media server 130 are established by cable network or wireless network to be communicated to connect.
Wherein, each terminal 110 can be smart phone, tablet computer, MP4 (moving picture experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, pocket computer on knee and Desktop computer etc..Each server in the access server 120 and streaming media server 130 can be a service Device, or the server cluster consisted of several servers or a cloud computing service center.
In embodiments of the present invention, live streaming client can be installed in each terminal 110.Main broadcaster user can pass through The live streaming client uploads live data to streaming media server 130, and spectators user can watch the master by the way that client is broadcast live The live data of broadcasting user.Wherein, the live streaming client for uploading live data is referred to as main broadcaster's client, correspondingly, connecing The live streaming client for receiving live data is referred to as spectator client.
In embodiments of the present invention, the creation of direct broadcasting room and adition process can be such that
Firstly, main broadcaster's client can send direct broadcasting room request to create, the direct broadcasting room request to create to access server 120 For registering and establishing one for carrying out the direct broadcasting room of multi-person interactive.Access server 120 is receiving direct broadcasting room creation After request, corresponding plug-flow address can be sent to main broadcaster's client, so far main broadcaster's client is to complete the wound of direct broadcasting room It builds.Later, the live data of recording can be packaged volume according to the plug-flow address when being broadcast live by main broadcaster's client Streaming media server 130 is pushed to after code.The live data may include audio data and video data etc..
Access server 120 can recorde the straight of main broadcaster's client creation after sending out plug-flow address to main broadcaster's client Relevant information between broadcasting, mark, drawing stream address and room status information etc. including direct broadcasting room.Wherein, which can be with It is determined according to the plug-flow address of direct broadcasting room.
Later, spectator client can send the addition request for the mark for carrying the direct broadcasting room to access server 120, The drawing stream address for obtaining the direct broadcasting room is requested in the addition.Access server 120 can incite somebody to action after receiving addition request The drawing stream address is sent to spectator client.Spectator client can be obtained from streaming media server 130 according to the drawing stream address The live data of the direct broadcasting room is taken, that is, the direct broadcasting room is added.
Optionally, referring to Fig. 1, which may include the first access server 1201 and the second access clothes Business device 1202.When being communicated with live streaming client, 1202 institute of first access server 1201 and the second access server The communication protocol of use is different.Correspondingly, live streaming client and first access server 1201 and the second access server 1202 communication mode is different.Wherein, can also lead between first access server 1201 and the second access server 1202 It crosses cable network or wireless network establishes communication connection.
Exemplary, communication protocol used by first access server 1201 can be transmission control protocol (transmission control protocol, TCP), i.e. first access server 1201 can be TCP server.The Communication protocol used by two access servers 1202 can be hypertext transfer protocol (hyper text transport Protocol, HTTP) agreement, i.e. second access server 1202 can be HTTP server.
During creating direct broadcasting room, main broadcaster's client can send direct broadcasting room creation to the second access server 1202 Request, the second access server 1202 can send to main broadcaster's client and correspond to after receiving the direct broadcasting room request to create Plug-flow address.Later, the first access server 1201 can send information acquisition request to the second access server 1202, with The relevant information of the direct broadcasting room of main broadcaster's client creation of the second access server 1202 record is obtained, to realize two accesses The synchronization of the relevant information of the direct broadcasting room recorded in server.
The embodiment of the invention provides a kind of live broadcasting method, this method be can be applied in live broadcast system shown in Fig. 2 It is broadcast live in client, and the live streaming client can be spectator client.Referring to Fig. 3, this method may include:
Step 101, the mark that at least one direct broadcasting room is sent to the first access server.
Wherein, the mark of the direct broadcasting room can be the user account of the main broadcaster user of the direct broadcasting room.Alternatively, the direct broadcasting room When creating direct broadcasting room, the first access server is direct broadcasting room distribution for uniquely marking by mark or the main broadcaster user Know the character string of the direct broadcasting room.This at least one refer to one or more.
Step 102, the drawing stream address for receiving and storing each direct broadcasting room that first access server is sent.
Wherein, it is direct broadcasting room distribution which, which can be the first access server, for visiting for live streaming client It asks to obtain the address of the live data of the direct broadcasting room.
It, can be according to the mark of the direct broadcasting room of storage after first access server receives the mark of at least one direct broadcasting room The corresponding relationship known and draw stream address, obtains the drawing stream address of each direct broadcasting room at least one direct broadcasting room, and to the live streaming Client sends the drawing stream address of at least one direct broadcasting room.Live streaming client is with receiving the drawing stream of at least one direct broadcasting room Behind location, the drawing stream address of each direct broadcasting room at least one direct broadcasting room can store.
Step 103, the play instruction in response to being directed to target direct broadcasting room, obtain the drawing stream address of the target direct broadcasting room.
Live streaming client detect user triggering for target direct broadcasting room play instruction when, can be from the straight of storage The drawing stream address of target direct broadcasting room is obtained in drawing stream address between broadcasting.
Step 104, the live data that the target direct broadcasting room is obtained according to the drawing stream address of the target direct broadcasting room.
The drawing stream address of the target direct broadcasting room can be sent to streaming media server, later, Streaming Media by live streaming client Server can obtain the live data of target direct broadcasting room and be issued to live streaming client according to the drawing stream address of the target direct broadcasting room End.
Wherein, which is main broadcaster's client push into streaming media server, and the live data can wrap Include video data and audio data.
In conclusion live streaming client can be in advance to the first access the embodiment of the invention provides a kind of live broadcasting method Server sends the mark of at least one direct broadcasting room, and can store the drawing stream of each direct broadcasting room of the first access server transmission Address, therefore the live streaming client is in the play instruction for detecting target direct broadcasting room, it can be directly from the drawing stream address of storage The middle drawing stream address for obtaining target direct broadcasting room draws stream address without requesting again to access server, which thereby enhances the drawing stream The acquisition efficiency of address, and then the efficiency for obtaining live data is improved, improve user experience.
The embodiment of the invention provides a kind of live broadcasting method, this method be can be applied in live broadcast system shown in Fig. 2 Access server.Referring to fig. 4, this method may include:
Step 201, the mark for receiving at least one direct broadcasting room that live streaming client is sent.
Wherein, the mark of the direct broadcasting room can be the user account of the main broadcaster user of the direct broadcasting room.Or, or it should For main broadcaster user when creating direct broadcasting room, access server is the character for the unique identification direct broadcasting room of direct broadcasting room distribution String.
Step 202, the mark according at least one direct broadcasting room obtain the drawing stream address of at least one direct broadcasting room.
Wherein, which is that access server distributes for direct broadcasting room, and it is straight to obtain this for the access of live streaming client The address of live data between broadcasting.The access server can be the first access server, be also possible to the second access server.
It is previously stored with the mark of each direct broadcasting room in the access server and draws the corresponding relationship of stream address, access service Device can be obtained from the corresponding relationship after receiving the mark of at least one direct broadcasting room according to the mark of each direct broadcasting room Take drawing stream address corresponding to the mark.
The drawing stream address of at least one direct broadcasting room is sent to the live streaming client by step 203.
The drawing stream address can be sent to live streaming visitor after getting the drawing stream address of each direct broadcasting room by access server Family end.Wherein, the drawing stream address of at least one direct broadcasting room is used to store for the live streaming client, so that the live streaming client exists When detecting the play instruction for target direct broadcasting room, the drawing stream of the target direct broadcasting room is obtained from the drawing stream address of storage Location, and the live data that address obtains the target direct broadcasting room is flowed according to the drawing of the target direct broadcasting room.
In conclusion access server can receive live streaming client the embodiment of the invention provides a kind of live broadcasting method The mark of at least one direct broadcasting room sent, and according to the drawing stream address of mark acquisition direct broadcasting room.Later, by the drawing stream address It is sent to live streaming client, for live streaming client storage.When the live streaming client detects the broadcasting for target direct broadcasting room When instruction, the drawing stream address of target direct broadcasting room directly can be obtained from the drawing stream address of storage, and then obtain live data.And It no longer needs to request to draw stream address to access server, which thereby enhances the acquisition efficiency of the drawing stream address, and then improve live streaming The acquisition efficiency of data, improves user experience.
The embodiment of the invention provides a kind of live broadcasting method, this method can be applied to live broadcast system shown in Fig. 2.Referring to Fig. 5, this method may include:
Step 301, live streaming client send the mark of at least one direct broadcasting room to the first access server.
The live streaming client can be spectator client.The mark (identity, ID) of the direct broadcasting room can be the live streaming Between main broadcaster user user account.Or, or for the main broadcaster user when creating direct broadcasting room, access server is that this is straight The character string for the unique identification direct broadcasting room distributed between broadcasting.First access server can be TCP server.
In an optional implementation manner, live streaming client can send direct broadcasting room to the first access server and select page The mark of at least one direct broadcasting room currently shown in face.
Live streaming client can be after starting every time and showing the direct broadcasting room selection page, and sending to the first access server should The mark of at least one direct broadcasting room currently shown in the direct broadcasting room selection page.Wherein, it is currently shown in the direct broadcasting room selection page At least one direct broadcasting room can refer to: the direct broadcasting room selects included by the page in multiple direct broadcasting rooms, is located at current display circle The direct broadcasting room in face.The direct broadcasting room, which selects the page, to be the homepage of the live streaming client.Also, client is broadcast live can also be at this After the direct broadcasting room selection page changes, i.e., at least one direct broadcasting room currently shown in the direct broadcasting room selection page changes Afterwards, the mark of at least one direct broadcasting room after the variation currently shown in the direct broadcasting room selection page is sent to the first access server Know.
Exemplary, live streaming client can scroll the direct broadcasting room selection page after detecting scrolling display instruction. Correspondingly, the direct broadcasting room shown on the direct broadcasting room selection page can change, which can be by the current direct broadcasting room The mark of at least one direct broadcasting room shown in the selection page is sent to the first access server.For example, it is assumed that live streaming client The direct broadcasting room selection page in the mark of direct broadcasting room that currently shows include mark A and mark B, then client is broadcast live can should Mark A and mark B are sent to the first access server.
In another optional implementation, which can determine after each starting and log in the live streaming The mark of the user account of client at least one direct broadcasting room of interest.Can send later to first access server should The mark of at least one direct broadcasting room of user account concern.
Optionally, live streaming client can be obtained from the caching of terminal login the live streaming client user account closed The mark of at least one direct broadcasting room of note.Alternatively, if the user account for logging in the live streaming client is to step in the terminal for the first time The account of record, then client is broadcast live can obtain the user account at least one live streaming of interest from the first access server Between mark.
It is exemplary, it is assumed that the mark that the user account direct broadcasting room of interest of client is broadcast live includes: mark B, then is broadcast live Mark B can be sent to the first access server by client.
It should be noted that in embodiments of the present invention, live streaming client needs first to take with the first access after each starting Business device establishes socket connection.Before the mark for sending direct broadcasting room to the first access server, socket can be first created (Socket), connection is established further according to the socket and the first access server later, and is sent to first access server The mark of at least one direct broadcasting room.Wherein, which may include: the agreement that communication uses, local host (i.e. live streaming client Hold where terminal) Internet protocol address (internet protocol address, IP address), the association of local process Discuss port, the IP address of remote ground host (connect first and enter server) and the protocol port of remote ground process.
Step 302, live streaming client send the mark of at least one direct broadcasting room to the second access server.
The type of communication protocol used by second access server is different from first access server.For example, should Second access server can be HTTP server.Live streaming client can be sent every polling cycle to the second access server The mark of at least one primary direct broadcasting room.That is, live streaming client can periodically be sent at least to the second access server The mark of one direct broadcasting room.Wherein, which can be pre-stored in live streaming client.It is exemplary, poll week Phase can be 1 minute.
Wherein, live streaming client and the second access server establish connection, and send at least to the second access server The process of the mark of one direct broadcasting room, is referred to the associated description of above-mentioned steps 301, and the embodiment of the present invention is no longer superfluous herein It states.
If the direct broadcasting room selection page of live streaming client currently shows multiple direct broadcasting rooms, or logs in the live streaming client User account concern have multiple direct broadcasting rooms, then the live streaming client can send multiple live streamings to the second access server every time Between mark, it is thus achieved that draw stream address and room status information batch request, improve obtaining for direct broadcasting room relevant information Take efficiency.
It should be noted that above-mentioned steps 301 synchronous can be executed with step 302.It that is to say, live streaming client can be same When the mark of at least one direct broadcasting room is sent to the first access server and the second access server.Or step 302 can also be with It is executed before step 301, it is not limited in the embodiment of the present invention.
Step 303, the first access server obtain at least one direct broadcasting room according to the mark of at least one direct broadcasting room Draw stream address and room status information.
Wherein, which is used to indicate storage address of the live data of direct broadcasting room in streaming media server.It should Room status information is used to indicate the related status information of direct broadcasting room.For example, the room status information may include: challenge (playerkilling, PK) state, the state that starts broadcasting and broadcasting content type etc..
Optionally, it can be previously stored with the mark of direct broadcasting room in the first access server, draw stream address and room shape The corresponding relationship of state information.First access server, can basis after the mark for receiving at least one direct broadcasting room every time The mark of each direct broadcasting room inquires the corresponding relationship, to obtain drawing stream address and the room state letter of the direct broadcasting room of each direct broadcasting room Breath.
It is exemplary, it is assumed that the mark of the direct broadcasting room stored in the first access server draws stream address and room state letter The corresponding relationship of breath is as shown in table 1, and the first access server receives the mark at least one direct broadcasting room that live streaming client is sent Know includes mark A and mark B.Then the first access server draws stream address according to the direct broadcasting room for being identified as A that mark A is got It can be A1, room status information may include: that main broadcaster starts broadcasting, without PK and video.Also, the first access server is according to the mark Knowing the direct broadcasting room for being identified as B that B is got to draw stream address is B1, and room status information can be with are as follows: main broadcaster does not start broadcasting.
Table 1
The mark of direct broadcasting room The drawing stream address of direct broadcasting room The room status information of direct broadcasting room
A A1 Main broadcaster starts broadcasting, without PK, video
B B1 Main broadcaster does not start broadcasting
C C1 Main broadcaster starts broadcasting, has PK, video
D D1 Main broadcaster starts broadcasting, without PK, audio
Step 304, the first access server send the drawing stream address and room of at least one direct broadcasting room to live streaming client Between status information.
First access server can send the drawing stream address of at least one direct broadcasting room obtained to live streaming client simultaneously And room status information.Or the drawing stream address of at least one direct broadcasting room obtained can also be sent to the live streaming client respectively And room status information.
It is exemplary, the first access server the corresponding relationship according to shown in table 1 can be got this be identified as A and B Direct broadcasting room drawing stream address and room status information be sent to live streaming client.
Step 305, the second access server obtain at least one direct broadcasting room according to the mark of at least one direct broadcasting room Draw stream address and room status information.
Step 306, the second access server send the drawing stream address and room of at least one direct broadcasting room to live streaming client Between status information.
The realization process of step 305 and step 306 can refer to the associated description of above-mentioned steps 303 and 304, and the present invention is real Applying example, details are not described herein.
It should be noted that in embodiments of the present invention, step 305 and step 306 can be synchronous with step 303 and 304 It executes, or can also execute after both steps 303 and 304.
The drawing stream address for each direct broadcasting room that step 307, live streaming client storage receive and room status information.
Live streaming client is with receiving the drawing stream for each direct broadcasting room that the first access server and second server are sent Behind location and room status information, it may store the received the mark of each direct broadcasting room, draw stream address and room status information.Example Such as, the corresponding relationship of the mark of each direct broadcasting room, drawing stream address and room status information can be stored in the slow of terminal In depositing.
Exemplary, the drawing stream address that live streaming client receives the direct broadcasting room for being identified as A is A1, and room status information is Main broadcaster starts broadcasting, without PK, video.It is B1 that the direct broadcasting room for being identified as B received, which draws stream address, and room status information is that main broadcaster does not open It broadcasts.Client is then broadcast live can store corresponding relationship as shown in Table 2 according to the data received in the caching of terminal.
Table 2
The mark of direct broadcasting room The drawing stream address of direct broadcasting room The room status information of direct broadcasting room
A A1 Main broadcaster starts broadcasting, without PK, video
B B1 Main broadcaster does not start broadcasting
It should be noted that due in embodiments of the present invention, the second access server can be every polling cycle to straight Drawing stream address and room status information that client sends at least one direct broadcasting room are broadcast, therefore client is broadcast live can be every poll Period, the drawing stream address of the direct broadcasting room updated storage and room status information.Even if as a result, when event occurs in the first access server When barrier, live streaming client can continue to the drawing stream that target direct broadcasting room is obtained from the drawing stream address of storage and room status information Address and room status information, it is ensured that the reliability of drawing the stream address and room status information of the target direct broadcasting room of acquisition.
Step 308, the first access server detect the drawing stream address and room of any direct broadcasting room at least one direct broadcasting room Whether status information changes.
In embodiments of the present invention, the first access server is at least one direct broadcasting room for receiving live streaming client transmission Mark after, can also store at least one direct broadcasting room mark.Also, the first access server is sent to live streaming client It, can be according to the mark of at least one direct broadcasting room of storage behind drawing stream address and room status information at least one direct broadcasting room Know, whether the drawing stream address and room status information for monitoring any direct broadcasting room at least one direct broadcasting room in real time change. It that is to say, live streaming client can subscribe to drawing stream address and the room state letter of at least one direct broadcasting room to the first access server Breath.
When the room state and room status information for detecting each direct broadcasting room at least one direct broadcasting room in the direct broadcasting room When not changing, live streaming client may not need other operations of execution, and can continue to execute step 308.
When the drawing stream address of any direct broadcasting room and room status information at least one direct broadcasting room in the detection direct broadcasting room In any information when changing, the information after the variation of the available any direct broadcasting room of first access server, and Execute step 304.It that is to say, after the first access server can send the variation of any direct broadcasting room to live streaming client again Information, information after the variation can be at least one in the drawing stream address after variation and the room status information after variation It is a.Also, the first access server according to the information after the variation, can also update the mark of pre-stored direct broadcasting room, draw Flow the corresponding relationship of address and room status information.Thus, it is ensured that the drawing stream address that is stored in the first access server and The real-time of room status information.
In the embodiment of the present invention, since the first access server can be in the drawing stream address and room shape for detecting direct broadcasting room After any information in state information changes, live streaming client is sent to when by information after the variation of the direct broadcasting room.Live streaming Client can be according to the information after variation, the information of the direct broadcasting room of the storage that timely updates.Thus, it is ensured that live streaming client The real-time and accuracy of drawing the stream address and room status information of acquisition.
It is exemplary, it is assumed that the drawing stream address of at least one direct broadcasting room stored before live streaming client and room status information As shown in table 2, the first access server detects that the drawing stream address change for being identified as the direct broadcasting room of A is A2, then can be by the change Drawing stream address A2 after change is sent to live streaming client.The drawing for the direct broadcasting room for being identified as A that live streaming client can update storage Address is flowed, updated drawing stream address can be as shown in table 3.
Table 3
The mark of direct broadcasting room The drawing stream address of direct broadcasting room The room status information of direct broadcasting room
A A2 Main broadcaster starts broadcasting, without PK, video
B B1 Main broadcaster does not start broadcasting
It should be noted that due to whenever at least one currently shown in the direct broadcasting room selection page of live streaming client it is straight When changing between broadcasting, live streaming client can send to the first access server current in the live streaming selection page after variation again The mark of at least one direct broadcasting room of display.Then the first access server is receiving at least the one of live streaming client transmission every time After the mark of a direct broadcasting room, the mark of at least one direct broadcasting room stored before can first updating.It that is to say, the first access service Device can update the mark of at least one direct broadcasting room of live streaming client subscription.
Step 309, live streaming client end response are in the play instruction for being directed to target direct broadcasting room, from the drawing stream address of storage and room Between drawing stream address and the room status information of the target direct broadcasting room are obtained in status information.
In embodiments of the present invention, when live streaming client detects the play instruction for target direct broadcasting room, Ke Yicong In pre-stored drawing stream address and room status information, drawing stream address and the room state letter of target direct broadcasting room are directly acquired Breath.
Thus when entering direct broadcasting room (the clicking into room), live streaming client is no longer needed to send to access server and be asked It asks, so that access server successively issues the room status information of the direct broadcasting room and draws stream address, with effectively increasing the drawing stream The acquisition efficiency of location and room status information.Also, since live streaming client can obtain the drawing stream address and room shape parallel State information further improves the acquisition efficiency of the drawing stream address and room status information.
Optionally, the cover of direct broadcasting room can be shown in the direct broadcasting room selection page of client and play choosing by being broadcast live ?.Spectators user can be directed to the play instruction of the target direct broadcasting room by clicking the play options triggering of target direct broadcasting room.Directly It broadcasts client i.e. and may be in response to the play instruction, the target direct broadcasting room is obtained from the drawing stream address of storage and room status information Drawing stream address and room status information.
It is exemplary, it is assumed that the drawing stream address of at least one direct broadcasting room of live streaming client storage and room status information such as table Shown in 3, spectators user clicks the play options for being identified as the direct broadcasting room of A, then client is broadcast live can be from the drawing stream address of storage It is A2 with the drawing stream address got in room status information, room status information is that main broadcaster starts broadcasting, without PK and video.
It should be noted that if the drawing stream address of not stored target direct broadcasting room and room status information in live streaming client, I.e. live streaming client does not hit caching, then visitor is broadcast live in drawing stream address and the room status information for obtaining target direct broadcasting room Family end can send drawing stream address and the room state of the target direct broadcasting room to the first access server or the second access server The acquisition request of information, the acquisition request carry the mark of target direct broadcasting room.First access server or the second access service Device can be sent and the drawing stream address of the target direct broadcasting room and room shape after receiving the acquisition request to the live streaming client State information.
Step 310, live streaming client show the room of the target direct broadcasting room according to the room status information of target direct broadcasting room Interface.
Client is broadcast live can be after getting the room status information of target direct broadcasting room, can be according to the room state Information shows the room interface of the target direct broadcasting room in the display interface of live streaming client.Wherein, which can show It is shown with pause option and barrage option etc..
Step 311, live streaming client send the drawing stream address of target direct broadcasting room to streaming media server.
Client is broadcast live after getting the drawing stream address of target direct broadcasting room, connection can be established with streaming media server. Later, which can be sent to streaming media server, to obtain the straight of target direct broadcasting room from streaming media server Multicast data.
Step 312, streaming media server obtain the live streaming of the target direct broadcasting room according to the drawing stream address of the target direct broadcasting room Data.
The corresponding relationship for drawing the live data of stream address and direct broadcasting room can be previously stored in streaming media server.Flow matchmaker Body server can flow address according to the drawing of the target direct broadcasting room and obtain the target direct broadcasting room after receiving the drawing stream address Live data.
Step 313, streaming media server to will be broadcast live client send target direct broadcasting room live data.
The live data can be sent to live streaming client after getting the live data by streaming media server.By In storing and transmitting for live data, after main broadcaster's client would generally encode the video data of admission, just it sends To streaming media server.Correspondingly, live streaming client after getting the live data, can to the live data got into Row decoding, to obtain each frame image in live data, available first frame image later, and since first frame image successively Each frame image is rendered, and shows image frame by frame in the room interface, is achieved in the broadcasting of the live data.
Since the efficiency that address and room status information are flowed in the drawing that the live streaming client obtains the target direct broadcasting room is higher, because This may insure the efficiency for pulling live data, to effectively improve the experience of spectators user.
In conclusion live streaming client is sent to access server the embodiment of the invention provides a kind of live broadcasting method The mark of a few direct broadcasting room, access server according to the mark of each direct broadcasting room, obtain each direct broadcasting room drawing stream address and Room status information, and client is sent it to, for live streaming client storage.Live streaming client is detecting target live streaming Between play instruction, can from storage drawing stream address and room status information in obtain target direct broadcasting room drawing stream address and room Between status information.Without requesting to draw stream address again to access server, the drawing stream address and room state letter are which thereby enhanced The acquisition efficiency of breath, and then the acquisition efficiency of live data is improved, improve user experience.
Fig. 6 is a kind of structural schematic diagram of live broadcast device provided in an embodiment of the present invention.The live broadcast device can be applied to Client is broadcast live, such as the live streaming client installed in the terminal 110 that can be applied in live broadcast system shown in Fig. 2.Referring to Fig. 6, the apparatus may include:
Sending module 401, for sending the mark of at least one direct broadcasting room to the first access server.
Receiving module 402, the drawing stream address of each direct broadcasting room for receiving and storing first access server transmission.
First obtains module 403, for the play instruction in response to being directed to target direct broadcasting room, from the drawing stream address of storage Obtain the drawing stream address of the target direct broadcasting room.
Second obtains module 404, and the live streaming of the target direct broadcasting room is obtained for the drawing stream address according to the target direct broadcasting room Data.
Optionally, which is used for:
At least one currently shown in the direct broadcasting room selection page for sending the live streaming client to the first access server The mark of direct broadcasting room.
Optionally, which is used for:
The user account for logging in the live streaming client to the transmission of the first access server at least one direct broadcasting room of interest Mark.
Optionally, which is also used to:
Receive the drawing stream at least one direct broadcasting room of first access server transmission after the variation of any direct broadcasting room Address, and according to the drawing stream address after variation, the drawing stream address of any direct broadcasting room updated storage.
Optionally, which is also used to:
Every polling cycle, the mark of at least one direct broadcasting room is sent to the second access server.
The receiving module 402 is also used to: receiving and storing the drawing stream of each direct broadcasting room of second access server transmission Address.
Optionally, which is also used to:
Receive and store the room status information of each of first access server transmission direct broadcasting room.
The first acquisition module 403 is also used to: the play instruction in response to being directed to the target direct broadcasting room, from the room of storage The room status information of the target direct broadcasting room is obtained in status information.
Fig. 7 is the structural schematic diagram of another live broadcast device provided in an embodiment of the present invention, and referring to Fig. 7, which may be used also To include:
Display module 405 shows the room of the target direct broadcasting room for the room status information according to the target direct broadcasting room Interface.
Optionally, which is also used to:
Receive the room shape at least one direct broadcasting room of first access server transmission after the variation of any direct broadcasting room State information, and according to the room status information after the variation, the room status information of any direct broadcasting room updated storage.
In conclusion can be applied to live streaming client the embodiment of the invention provides a kind of live broadcast device.The device can To send the mark of at least one direct broadcasting room to the first access server in advance, and it can store the transmission of the first access server The drawing stream address of each direct broadcasting room, therefore the live streaming client is in the play instruction for detecting target direct broadcasting room, it can be direct Stream address is drawn without requesting again to access server in the drawing stream address that target direct broadcasting room is obtained from the drawing stream address of storage, The acquisition efficiency of the drawing stream address is which thereby enhanced, and then improves the efficiency for obtaining live data, improves user experience.
Fig. 8 is the structural schematic diagram of another live broadcast device provided in an embodiment of the present invention.The live broadcast device can be applied In access server, such as it can be applied to the access server 120 in live broadcast system shown in Fig. 2.Referring to Fig. 8, the device May include:
Receiving module 501, for receiving the mark at least one direct broadcasting room that live streaming client is sent.
It obtains module 502 and obtains the drawing stream of at least one direct broadcasting room for the mark according at least one direct broadcasting room Address.
Sending module 503, for the drawing stream address of at least one direct broadcasting room to be sent to the live streaming client, this is at least The drawing stream address of one direct broadcasting room be used for for the live streaming client store so that the live streaming client detect for target it is straight When play instruction between broadcasting, the drawing stream address of the target direct broadcasting room is obtained from the drawing stream address of storage, and straight according to the target Drawing stream address between broadcasting obtains the live data of the target direct broadcasting room.
Optionally, which is also used to:
When the drawing stream address for detecting any direct broadcasting room at least one direct broadcasting room changes, by the drawing after variation Stream address is sent to the live streaming client.
Optionally, which is also used to: according to the mark of at least one direct broadcasting room, it is straight to obtain at least one Room status information between broadcasting.
The sending module 503 is also used to the room status information of at least one direct broadcasting room occur to live streaming client End.
Optionally, which is also used to:
When the room status information for detecting any direct broadcasting room at least one described direct broadcasting room changes, will change Room status information afterwards is sent to the live streaming client.
In conclusion can be applied to access server the embodiment of the invention provides a kind of live broadcast device.The device can To receive the mark at least one direct broadcasting room that live streaming client is sent, and according to the drawing stream address of mark acquisition direct broadcasting room. Later, which is sent to live streaming client, for live streaming client storage.It is directed to when the live streaming client detects When the play instruction of target direct broadcasting room, the drawing stream address of target direct broadcasting room can be directly obtained from the drawing stream address of storage, into And obtain live data.Without requesting to draw stream address again to access server, the acquisition effect of the drawing stream address is which thereby enhanced Rate, and then the acquisition efficiency of live data is improved, improve user experience.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description With each module specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Fig. 9 is the structural schematic diagram of another live broadcast device provided in an embodiment of the present invention.Referring to Fig. 9, which can To include: memory 601 and processor 602.The memory 601 is stored with computer program, and the computer program is by the processing When device 602 executes, so that the processor 602 executes the live broadcasting method such as provided by the above embodiment for being applied to live streaming client, Or execute such as the live broadcasting method provided by the above embodiment applied to access server.
The embodiment of the invention also provides a kind of computer storage medium, finger is stored in the computer readable storage medium It enables, when the computer readable storage medium is run on computers, so that computer is executed as provided by the above embodiment straight Broadcasting method.
The embodiment of the invention also provides a kind of live broadcast systems, as shown in Fig. 2, the live broadcast system may include: at least one A live streaming client and access server 120.The live streaming client may be mounted in terminal 110.
Wherein, each live streaming client may include such as the live streaming dress provided by the above embodiment for being applied to live streaming client It sets, such as may include Fig. 6, Fig. 7 or live broadcast device shown in Fig. 9.The access server may include that above-described embodiment such as mentions The live broadcast device applied to access server supplied, such as may include Fig. 8 or live broadcast device shown in Fig. 9.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the exemplary embodiments of the application, all in spirit herein not to limit the application Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (16)

1. a kind of live broadcasting method, which is characterized in that be applied to live streaming client, which comprises
The mark of at least one direct broadcasting room is sent to the first access server;
Receive and store the drawing stream address of each of the first access server transmission direct broadcasting room;
In response to being directed to the play instruction of target direct broadcasting room, the drawing stream of the target direct broadcasting room is obtained from the drawing stream address of storage Address;
The live data of the target direct broadcasting room is obtained according to the drawing stream address of the target direct broadcasting room.
2. the method according to claim 1, wherein described send at least one live streaming to the first access server Between mark, comprising:
At least one currently shown in the direct broadcasting room selection page for sending the live streaming client to the first access server is straight Mark between broadcasting.
3. the method according to claim 1, wherein described send at least one live streaming to the first access server Between mark, comprising:
It is sent to the first access server and logs in the user account that client is broadcast live at least one direct broadcasting room of interest Mark.
4. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
Receive the drawing stream at least one described direct broadcasting room that first access server is sent after the variation of any direct broadcasting room Address;
According to the drawing stream address after the variation, the drawing stream address of any direct broadcasting room updated storage.
5. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
Every polling cycle, the mark of at least one direct broadcasting room is sent to the second access server;
Receive and store the drawing stream address of each of the second access server transmission direct broadcasting room.
6. method according to any one of claims 1 to 3, which is characterized in that be sent to described to the first access server After the mark of a few direct broadcasting room, the method also includes:
Receive and store the room status information of each of the first access server transmission direct broadcasting room;
In response to being directed to the play instruction of the target direct broadcasting room, the target live streaming is obtained from the room status information of storage Between room status information;
According to the room status information of the target direct broadcasting room, the room interface of the target direct broadcasting room is shown.
7. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
Receive the room at least one described direct broadcasting room that first access server is sent after the variation of any direct broadcasting room Status information;
According to the room status information after the variation, the room status information of any direct broadcasting room updated storage.
8. a kind of live broadcasting method, which is characterized in that be applied to access server;The described method includes:
Receive the mark at least one direct broadcasting room that live streaming client is sent;
According to the mark of at least one direct broadcasting room, the drawing stream address of at least one direct broadcasting room is obtained;
The drawing stream address of at least one direct broadcasting room is sent to the live streaming client, the drawing of at least one direct broadcasting room It flows address to be used to store for the live streaming client, so that the live streaming client is detecting the broadcasting for target direct broadcasting room When instruction, the drawing stream address of the target direct broadcasting room is obtained from the drawing stream address of storage, and according to the target direct broadcasting room Stream address is drawn to obtain the live data of the target direct broadcasting room.
9. according to the method described in claim 8, it is characterized in that, being sent by the drawing stream address of at least one direct broadcasting room After to the live streaming client, the method also includes:
When the drawing stream address for detecting any direct broadcasting room at least one described direct broadcasting room changes, by the drawing stream after variation Address is sent to the live streaming client.
10. according to the method described in claim 8, it is characterized in that, being broadcast live receiving at least one that live streaming client is sent Between mark after, the method also includes:
According to the mark of at least one direct broadcasting room, the room status information of at least one direct broadcasting room is obtained;
The room status information of at least one direct broadcasting room is occurred to the live streaming client.
11. according to the method described in claim 8, it is characterized in that, believing by the room state of at least one direct broadcasting room Breath occurs to the live streaming client, the method also includes:
When the room status information for detecting any direct broadcasting room at least one described direct broadcasting room changes, after variation Room status information is sent to the live streaming client.
12. a kind of live broadcast device, which is characterized in that be applied to live streaming client, described device includes:
Sending module, for sending the mark of at least one direct broadcasting room to the first access server;
Receiving module, for receiving and storing the drawing stream address of each of the first access server transmission direct broadcasting room;
First obtains module, for the play instruction in response to being directed to target direct broadcasting room, obtains institute from the drawing stream address of storage State the drawing stream address of target direct broadcasting room;
Second obtains module, and the live streaming number of the target direct broadcasting room is obtained for the drawing stream address according to the target direct broadcasting room According to.
13. a kind of live broadcast device, which is characterized in that be applied to the first access server;Described device includes:
Receiving module, for receiving the mark at least one direct broadcasting room that live streaming client is sent;
Module is obtained, for the mark according at least one direct broadcasting room, with obtaining the drawing stream of at least one direct broadcasting room Location;
Sending module, for the drawing stream address of at least one direct broadcasting room to be sent to the live streaming client, it is described at least The drawing stream address of one direct broadcasting room is used to store for the live streaming client, so that the live streaming client is being detected for mesh When marking the play instruction of direct broadcasting room, the drawing stream address of the target direct broadcasting room is obtained from the drawing stream address of storage, and according to institute The drawing stream address for stating target direct broadcasting room obtains the live data of the target direct broadcasting room.
14. a kind of live broadcast device, which is characterized in that described device includes: memory and processor;
The memory is stored with computer program, when the computer program is executed by the processor, so that the processing Device executes the live broadcasting method as described in claim 1 to 7 is any, or the live broadcasting method as described in claim 8 to 11 is any.
15. a kind of computer storage medium, which is characterized in that be stored with instruction in the computer readable storage medium, work as institute When stating computer readable storage medium and running on computers, so that the computer is executed as described in claim 1 to 7 is any Live broadcasting method, or the live broadcasting method as described in claim 8 to 11 is any.
16. a kind of live broadcast system, which is characterized in that the live broadcast system includes: at least one live streaming client and access clothes Business device;
Each live streaming client includes live broadcast device as claimed in claim 12;
The access server includes live broadcast device as claimed in claim 13.
CN201910570419.3A 2019-06-27 2019-06-27 Live broadcasting method, apparatus and system Pending CN110267053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910570419.3A CN110267053A (en) 2019-06-27 2019-06-27 Live broadcasting method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910570419.3A CN110267053A (en) 2019-06-27 2019-06-27 Live broadcasting method, apparatus and system

Publications (1)

Publication Number Publication Date
CN110267053A true CN110267053A (en) 2019-09-20

Family

ID=67922627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910570419.3A Pending CN110267053A (en) 2019-06-27 2019-06-27 Live broadcasting method, apparatus and system

Country Status (1)

Country Link
CN (1) CN110267053A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769275A (en) * 2019-10-09 2020-02-07 北京达佳互联信息技术有限公司 Method, device and system for processing live data stream
CN110795632A (en) * 2019-10-30 2020-02-14 北京达佳互联信息技术有限公司 State query method and device and electronic equipment
CN110830460A (en) * 2019-10-25 2020-02-21 香港乐蜜有限公司 Connection establishing method and device, electronic equipment and storage medium
CN111163330A (en) * 2020-01-13 2020-05-15 广州虎牙科技有限公司 Live video rendering method, device, system, equipment and storage medium
CN111400598A (en) * 2020-03-17 2020-07-10 聚好看科技股份有限公司 Information push method, server, multi-port repeater and storage medium
CN112911327A (en) * 2021-02-01 2021-06-04 深圳市茅庐信息科技有限公司 Automatic configuration method, system and storage medium for live broadcast software
CN113141513A (en) * 2020-01-17 2021-07-20 北京达佳互联信息技术有限公司 Live stream pulling method and device, electronic equipment and storage medium
CN113766277A (en) * 2021-11-10 2021-12-07 北京微吼时代科技有限公司 Multi-channel live stream switching device, method and system
CN113766259A (en) * 2021-08-17 2021-12-07 北京达佳互联信息技术有限公司 Information synchronization system, method, device, equipment and storage medium
CN114079828A (en) * 2020-08-21 2022-02-22 京东方科技集团股份有限公司 Method and device for processing streaming media data
CN114245161A (en) * 2021-12-13 2022-03-25 中国农业银行股份有限公司 Live broadcast stream pushing method and device, storage medium and electronic equipment
CN114339296A (en) * 2022-03-02 2022-04-12 阿里巴巴(中国)有限公司 Method and device for transmitting media stream and media system
CN114501044A (en) * 2021-12-23 2022-05-13 百果园技术(新加坡)有限公司 Live broadcast data processing method, device, equipment and storage medium
WO2022111401A1 (en) * 2020-11-25 2022-06-02 北京字节跳动网络技术有限公司 Real-time chat system and apparatus, device, and storage medium
CN114679599A (en) * 2022-03-24 2022-06-28 上海哔哩哔哩科技有限公司 Live broadcast watching method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006054590A1 (en) * 2004-11-16 2006-05-26 Matsushita Electric Industrial Co., Ltd. Data processing apparatus
CN105471869A (en) * 2015-11-23 2016-04-06 珠海全志科技股份有限公司 Internet television content request connection reuse method and system thereof
CN106921873A (en) * 2017-02-28 2017-07-04 北京小米移动软件有限公司 Live-broadcast control method and device
CN108012159A (en) * 2017-12-05 2018-05-08 广州华多网络科技有限公司 live video push control method, device and corresponding terminal
CN108769727A (en) * 2018-06-15 2018-11-06 北京奇艺世纪科技有限公司 A kind of live video preloading method and device
CN109309842A (en) * 2017-07-28 2019-02-05 腾讯科技(深圳)有限公司 Live data treating method and apparatus, computer equipment and storage medium
CN109413453A (en) * 2018-10-19 2019-03-01 广州酷狗计算机科技有限公司 Video broadcasting method, device, terminal and storage medium
CN109819285A (en) * 2017-11-21 2019-05-28 乐蜜有限公司 A kind of live broadcasting method, device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006054590A1 (en) * 2004-11-16 2006-05-26 Matsushita Electric Industrial Co., Ltd. Data processing apparatus
CN105471869A (en) * 2015-11-23 2016-04-06 珠海全志科技股份有限公司 Internet television content request connection reuse method and system thereof
CN106921873A (en) * 2017-02-28 2017-07-04 北京小米移动软件有限公司 Live-broadcast control method and device
CN109309842A (en) * 2017-07-28 2019-02-05 腾讯科技(深圳)有限公司 Live data treating method and apparatus, computer equipment and storage medium
CN109819285A (en) * 2017-11-21 2019-05-28 乐蜜有限公司 A kind of live broadcasting method, device, electronic equipment and storage medium
CN108012159A (en) * 2017-12-05 2018-05-08 广州华多网络科技有限公司 live video push control method, device and corresponding terminal
CN108769727A (en) * 2018-06-15 2018-11-06 北京奇艺世纪科技有限公司 A kind of live video preloading method and device
CN109413453A (en) * 2018-10-19 2019-03-01 广州酷狗计算机科技有限公司 Video broadcasting method, device, terminal and storage medium

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769275B (en) * 2019-10-09 2022-04-08 北京达佳互联信息技术有限公司 Method, device and system for processing live data stream
CN110769275A (en) * 2019-10-09 2020-02-07 北京达佳互联信息技术有限公司 Method, device and system for processing live data stream
CN110830460A (en) * 2019-10-25 2020-02-21 香港乐蜜有限公司 Connection establishing method and device, electronic equipment and storage medium
CN110830460B (en) * 2019-10-25 2022-09-20 卓米私人有限公司 Connection establishing method and device, electronic equipment and storage medium
CN110795632A (en) * 2019-10-30 2020-02-14 北京达佳互联信息技术有限公司 State query method and device and electronic equipment
CN111163330A (en) * 2020-01-13 2020-05-15 广州虎牙科技有限公司 Live video rendering method, device, system, equipment and storage medium
CN113141513A (en) * 2020-01-17 2021-07-20 北京达佳互联信息技术有限公司 Live stream pulling method and device, electronic equipment and storage medium
CN113141513B (en) * 2020-01-17 2022-05-13 北京达佳互联信息技术有限公司 Live stream pulling method and device, electronic equipment and storage medium
CN111400598A (en) * 2020-03-17 2020-07-10 聚好看科技股份有限公司 Information push method, server, multi-port repeater and storage medium
CN114079828A (en) * 2020-08-21 2022-02-22 京东方科技集团股份有限公司 Method and device for processing streaming media data
WO2022111401A1 (en) * 2020-11-25 2022-06-02 北京字节跳动网络技术有限公司 Real-time chat system and apparatus, device, and storage medium
CN112911327A (en) * 2021-02-01 2021-06-04 深圳市茅庐信息科技有限公司 Automatic configuration method, system and storage medium for live broadcast software
CN113766259A (en) * 2021-08-17 2021-12-07 北京达佳互联信息技术有限公司 Information synchronization system, method, device, equipment and storage medium
WO2023019930A1 (en) * 2021-08-17 2023-02-23 北京达佳互联信息技术有限公司 Information synchronization system and method, and device
CN113766277A (en) * 2021-11-10 2021-12-07 北京微吼时代科技有限公司 Multi-channel live stream switching device, method and system
CN114245161A (en) * 2021-12-13 2022-03-25 中国农业银行股份有限公司 Live broadcast stream pushing method and device, storage medium and electronic equipment
CN114245161B (en) * 2021-12-13 2024-02-02 中国农业银行股份有限公司 Live broadcast push method and device, storage medium and electronic equipment
CN114501044A (en) * 2021-12-23 2022-05-13 百果园技术(新加坡)有限公司 Live broadcast data processing method, device, equipment and storage medium
CN114501044B (en) * 2021-12-23 2023-12-08 百果园技术(新加坡)有限公司 Live broadcast data processing method, device, equipment and storage medium
CN114339296A (en) * 2022-03-02 2022-04-12 阿里巴巴(中国)有限公司 Method and device for transmitting media stream and media system
CN114679599A (en) * 2022-03-24 2022-06-28 上海哔哩哔哩科技有限公司 Live broadcast watching method and device

Similar Documents

Publication Publication Date Title
CN110267053A (en) Live broadcasting method, apparatus and system
CN110678239B (en) Distributed sample-based game profiling with game metadata and metrics and game API platform supporting third party content
CN111901674B (en) Video playing control method and device
US10313726B2 (en) Distributing media content via media channels based on associated content being provided over other media channels
CN104769956B (en) Information processing unit, information processing method
US7263712B2 (en) Enabling a PC-DTV receiver to share the resource cache with multiple clients
CN100385424C (en) Information processing apparatus and content information processing method
CN104394126B (en) Information recommendation method, server, client and system
CN110830735B (en) Video generation method and device, computer equipment and storage medium
CN108391179A (en) live data processing method, device, server, terminal and storage medium
US9621958B2 (en) Deferred, on-demand loading of user presence within a real-time collaborative service
US20100095317A1 (en) Determining User Attention Level During Video Presentation by Monitoring User Inputs at User Premises
CN101969546A (en) Method and device for providing electric program, publishing and presenting advertisement
CN103763626A (en) Method, device and system for pushing information
CN108668158A (en) A kind of barrage synchronous method, client and barrage server
CN108462883A (en) A kind of living broadcast interactive method, apparatus, terminal device and storage medium
CN108769816B (en) Video playing method, device and storage medium
CN109120954B (en) Video message pushing method and device, computer equipment and storage medium
CN113518247A (en) Video playing method, related equipment and computer readable storage medium
CN109660858A (en) Transmission method, device, terminal and the server of direct broadcasting room interaction data
CN112019905A (en) Live broadcast playback method, computer equipment and readable storage medium
US20210125231A1 (en) Targeted user digital embedded advertising
CN104270647B (en) A kind of media content recommendations method and apparatus
CN106797327A (en) Performed using the message being associated with adaptive bitrate streaming and the media of mobile platform are monitored
CN111444415A (en) Barrage processing method, server, client, electronic device and storage medium

Legal Events

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

Application publication date: 20190920

RJ01 Rejection of invention patent application after publication