CN106210755B - A kind of methods, devices and systems playing live video - Google Patents
A kind of methods, devices and systems playing live video Download PDFInfo
- Publication number
- CN106210755B CN106210755B CN201610574335.3A CN201610574335A CN106210755B CN 106210755 B CN106210755 B CN 106210755B CN 201610574335 A CN201610574335 A CN 201610574335A CN 106210755 B CN106210755 B CN 106210755B
- Authority
- CN
- China
- Prior art keywords
- song
- direct broadcasting
- broadcasting room
- identity
- link
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/65—Transmission of management data between client and server
- H04N21/658—Transmission by the client directed to the server
Abstract
The invention discloses a kind of methods, devices and systems for playing live video, belong to field of computer technology.The described method includes: obtaining the song identity that user sings the selected target song of function by K;Direct broadcasting room acquisition request is sent to server, wherein the song identity of the target song is carried in the direct broadcasting room acquisition request;Receive the direct broadcasting room link that the live video that the server is sent is related to the direct broadcasting room of the target song;It is linked based on the direct broadcasting room, plays the live video of the direct broadcasting room.Using the present invention, the promotion of direct broadcasting room rating degree can contribute to.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of methods, devices and systems for playing live video.
Background technique
With the development of computer technology, the terminals such as mobile phone, computer are widely used, in corresponding terminal
The type of application program is more and more, function is more and more abundant.Network direct broadcasting function is a kind of function being in daily use.
Spectators can watch the live video of certain main broadcaster by network direct broadcasting function, currently, spectators want to watch certain main broadcaster
Live video when, often by the direct broadcasting room identification list in network direct broadcasting function, obtain the corresponding live streaming to server
Between live video, and watched.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Based on above-mentioned treatment process, user only passes through network direct broadcasting function and watches the corresponding live video of certain direct broadcasting room,
When user does not know the network direct broadcasting function, i.e., the live video of certain direct broadcasting room can not be watched, thus, lead to direct broadcasting room rating
The promotion of degree is subject to certain restrictions.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of method, apparatus for playing live video
And system.The technical solution is as follows:
In a first aspect, providing a kind of method for playing live video, which comprises
Obtain the song identity that user sings the selected target song of function by K;
Direct broadcasting room acquisition request is sent to server, wherein the target song is carried in the direct broadcasting room acquisition request
Bent song identity;
Receive the direct broadcasting room link that the live video that the server is sent is related to the direct broadcasting room of the target song;
It is linked based on the direct broadcasting room, plays the live video of the direct broadcasting room.
Optionally, the song identity for obtaining user and singing the selected target song of function by K, comprising:
The period is obtained based on preset direct broadcasting room, obtains the target song for including in the K song list of songs of user setting
Song identity;Alternatively,
The period is obtained based on preset direct broadcasting room, obtains the target song for including in history K song list of songs and current
The song identity for the target song sung;Alternatively,
At the end of user is sung by the target song that K song function is currently sung, the song of the target song is obtained
Mark.
Optionally, described to be linked based on the direct broadcasting room, play the live video of the direct broadcasting room, comprising:
It after the song currently sung is sung, is linked based on the direct broadcasting room, plays the live streaming view of the direct broadcasting room
Frequently.
In this way, will not influence user carries out K song, it is thus possible to enhance user experience.
Second aspect provides a kind of method for playing live video, which comprises
Receive the direct broadcasting room acquisition request that terminal is sent, wherein carry target song in the direct broadcasting room acquisition request
Song identity;
The direct broadcasting room link of direct broadcasting room according to the pre-stored data is related to the corresponding pass of the song identity of song with live video
The song identity of system and the target song, determines that live video is related to the direct broadcasting room chain of the direct broadcasting room of the target song
It connects;
The direct broadcasting room link for the direct broadcasting room determined is sent to the terminal.
Optionally, the direct broadcasting room link of the direct broadcasting room according to the pre-stored data is related to the song mark of song with live video
The song identity of the corresponding relationship of knowledge and the target song determines that live video is related to the direct broadcasting room of the target song
Direct broadcasting room link, comprising:
The corresponding pass of the song identity of song is currently sung in the direct broadcasting room link of direct broadcasting room according to the pre-stored data with main broadcaster
The song identity of system and the target song determines that main broadcaster currently sings the straight of the direct broadcasting room that song is the target song
It is linked between broadcasting.
Optionally, the method also includes:
Based on preset detection cycle, determine main broadcaster currently in the direct broadcasting room for singing song;
By the direct broadcasting room link of the direct broadcasting room with main broadcaster currently in the song identity for the song sung, institute is arrived in corresponding storage
In the corresponding relationship for the song identity that the direct broadcasting room link for stating direct broadcasting room currently sings song with main broadcaster.
Optionally, the direct broadcasting room link of the direct broadcasting room according to the pre-stored data is related to the song mark of song with live video
The song identity of the corresponding relationship of knowledge and the target song determines that live video is related to the direct broadcasting room of the target song
Direct broadcasting room link, comprising:
The direct broadcasting room link of direct broadcasting room according to the pre-stored data waits for the corresponding pass of the bent song identity list of singing with main broadcaster
The song identity of system and the target song determines that main broadcaster waits for the live streaming of the bent direct broadcasting room including the target song of singing
Between link.
Optionally, the song identity column that the direct broadcasting room link of the direct broadcasting room according to the pre-stored data waits singing bent with main broadcaster
The song identity of the corresponding relationship of table and the target song, determining that main broadcaster waits singing bent includes the straight of the target song
Direct broadcasting room link between broadcasting, comprising:
The direct broadcasting room link of direct broadcasting room according to the pre-stored data, main broadcaster wait for the bent song identity list of singing, sing the moment
Corresponding relationship and the target song song identity, determining that main broadcaster waits singing bent includes each straight of the target song
Direct broadcasting room between broadcasting, which links, and the target song is corresponding in each direct broadcasting room sings the moment;
In the direct broadcasting room link for each direct broadcasting room determined, determine that corresponding to sing the moment nearest apart from current time
The direct broadcasting room of direct broadcasting room links.
The third aspect, provides a kind of terminal, and the terminal includes:
Module is obtained, for obtaining the song identity for the target song that user is selected by K song function;
Sending module, for sending direct broadcasting room acquisition request to server, wherein carried in the direct broadcasting room acquisition request
There is the song identity of the target song;
Receiving module, the live video for receiving the server transmission are related to the straight of the direct broadcasting room of the target song
It is linked between broadcasting;
Playing module plays the live video of the direct broadcasting room for linking based on the direct broadcasting room.
Optionally, the acquisition module, is used for:
The period is obtained based on preset direct broadcasting room, obtains the target song for including in the K song list of songs of user setting
Song identity;Alternatively,
The period is obtained based on preset direct broadcasting room, obtains the target song for including in history K song list of songs and current
The song identity for the target song sung;Alternatively,
At the end of user is sung by the target song that K song function is currently sung, the song of the target song is obtained
Mark.
Optionally, the playing module, is used for:
It after the song currently sung is sung, is linked based on the direct broadcasting room, plays the live streaming view of the direct broadcasting room
Frequently.
Fourth aspect, provides a kind of server, and the server includes:
Receiving module, for receiving the direct broadcasting room acquisition request of terminal transmission, wherein taken in the direct broadcasting room acquisition request
Song identity with target song;
First determining module, the direct broadcasting room link for direct broadcasting room according to the pre-stored data are related to song with live video
The song identity of the corresponding relationship of song identity and the target song determines that live video is related to the target song
The direct broadcasting room of direct broadcasting room links;
Sending module, for sending the direct broadcasting room link for the direct broadcasting room determined to the terminal.
Optionally, first determining module, is used for:
The corresponding pass of the song identity of song is currently sung in the direct broadcasting room link of direct broadcasting room according to the pre-stored data with main broadcaster
The song identity of system and the target song determines that main broadcaster currently sings the straight of the direct broadcasting room that song is the target song
It is linked between broadcasting.
Optionally, the server further include:
Second determining module determines main broadcaster currently in the direct broadcasting room for singing song for being based on preset detection cycle;
Memory module, for linking the direct broadcasting room of the direct broadcasting room with main broadcaster currently in the song mark for the song sung
Know, in the corresponding relationship for the song identity that the direct broadcasting room link of corresponding storage to the direct broadcasting room currently sings song with main broadcaster.
Optionally, first determining module, is used for:
The direct broadcasting room link of direct broadcasting room according to the pre-stored data waits for the corresponding pass of the bent song identity list of singing with main broadcaster
The song identity of system and the target song determines that main broadcaster waits for the live streaming of the bent direct broadcasting room including the target song of singing
Between link.
Optionally, first determining module, is used for:
The direct broadcasting room link of direct broadcasting room according to the pre-stored data, main broadcaster wait for the bent song identity list of singing, sing the moment
Corresponding relationship and the target song song identity, determining that main broadcaster waits singing bent includes each straight of the target song
Direct broadcasting room between broadcasting, which links, and the target song is corresponding in each direct broadcasting room sings the moment;
In the direct broadcasting room link for each direct broadcasting room determined, determine that corresponding to sing the moment nearest apart from current time
The direct broadcasting room of direct broadcasting room links.
5th aspect provides a kind of system for playing live video, and the system comprises terminal and servers, in which:
The terminal, for obtaining the song identity for the target song that user is selected by K song function, Xiang Suoshu server
Send direct broadcasting room acquisition request, wherein carry the song identity of the target song in the direct broadcasting room acquisition request, receive
The live video that the server is sent is related to the direct broadcasting room link of the direct broadcasting room of the target song, is based on the direct broadcasting room chain
It connects, plays the live video of the direct broadcasting room;
The server, the direct broadcasting room acquisition request sent for receiving the terminal, direct broadcasting room according to the pre-stored data
Direct broadcasting room link with live video be related to song song identity corresponding relationship and the target song song mark
Know, determines that live video is related to the direct broadcasting room link of the direct broadcasting room of the target song, the transmission of Xiang Suoshu terminal is determined straight
Direct broadcasting room link between broadcasting.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, when user sings function progress K song by the K in terminal, the available user of terminal passes through K
The song identity of the selected target song of function is sung, and then the song identity for carrying target song can be sent to server
Direct broadcasting room acquisition request can determine that live video is related to mesh after server receives the direct broadcasting room acquisition request of terminal transmission
The direct broadcasting room link of the direct broadcasting room of song is marked, and sends it to terminal, terminal receives the direct broadcasting room link of server transmission
Afterwards, it can be linked based on direct broadcasting room, play the live video of direct broadcasting room.In this way, when user sings function progress K song by K,
Available live video is related to the live video of the direct broadcasting room of K song song, and is watched, and being not can only be straight by network
The corresponding direct broadcasting room identification list of multicast function, could obtain the live video of certain direct broadcasting room, it is thus possible to facilitate direct broadcasting room receipts
The promotion of diopter.
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 a kind of method flow diagram for playing live video provided in an embodiment of the present invention;
Fig. 2 is a kind of interface schematic diagram figure provided in an embodiment of the present invention;
Fig. 3 is a kind of interface schematic diagram figure provided in an embodiment of the present invention;
Fig. 4 is a kind of terminal structure schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of server architecture schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of server architecture schematic diagram provided in an embodiment of the present invention;
Fig. 7 is a kind of terminal structure schematic diagram provided in an embodiment of the present invention;
Fig. 8 is a kind of server architecture schematic diagram 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.
The embodiment of the invention provides a kind of methods for playing live video, and this method can be common by terminal and server
It realizes.Wherein, terminal can be any terminal with K song function, can be the mobile terminals such as mobile phone, tablet computer, can also
To be PC (Personal Computer, PC) (for example, can be the terminal for K song in the shop entity KTV), clothes
Business device can be the background server of K song function, can be a server, is also possible to the service being made of multiple servers
Device group, for example can be and be made of the corresponding background server of K song function and the corresponding background server of network direct broadcasting function
Server group.Processor, transceiver, audio output part and display unit can be set in the terminal, processor can be used
In the relevant treatment for the live video for obtaining the corresponding direct broadcasting room of target song, transceiver can be used for sending and receiving data,
Audio output part can be used for playing audio-fequency data, and display unit can be used for the display of video image, can be screen.Also
Memory can be set, memory can be used for storing the data for needing and generating in following treatment processes.In the server
Processor, memory and transceiver can be set, processor is determined for live video and is related to the live streaming of target song
Between direct broadcasting room link relevant treatment, memory can be used for storing the data for needing and generating in following treatment processes, receipts
Hair device can be used for sending and receiving data.
Below in conjunction with specific embodiment, process flow shown in FIG. 1 is described in detail, content can be as
Under:
Step 101, terminal obtains the song identity that user sings the selected target song of function by K.
Wherein, song identity can be the information for identifying song, can be song title, can be the accompaniment of song
The characteristic value (such as cryptographic Hash) of audio data.
In an implementation, the application program (can be described as K song application program) with K song function can be installed in terminal, used
Family can sing application program by K and carry out K song, wherein terminal can also carry out song recordings during K is sung.Specifically,
User K song before, can select first will K sing song, in turn, terminal can play the accompaniment for the song that user selectes,
So that user can carry out K song according to accompanying song.The available user of terminal sings the selected song of application program (i.e. by K
Target song) song identity.
Optionally, the selection mode based on target song is different, and the treatment process of step 101 can be varied, below
Give several feasible processing modes:
K is sung the song in list of songs as target song by mode one, correspondingly, the treatment process of step 101 can be with
It is as follows: the period being obtained based on preset direct broadcasting room, obtains the song for the target song for including in the K song list of songs of user setting
Mark.
In an implementation, user is sung before function carries out K song by the K in terminal, and can select first some will carry out K
Song, storage is into K song list of songs, for example, user can be requested a song first when the shop entity KTV carries out K song and (select one
The song of K song will be carried out a bit), the song of user's point, which can be stored in, have been put in list of songs, and terminal can play in order point
The accompaniment of song in list of songs.In such cases, when every preset direct broadcasting room obtains the period, terminal can be set user
The song for including in the K song list of songs set obtains the song identity of target song as target song.
History K is sung the song sung that include in list of songs and current as target song, accordingly by mode two
, the treatment process of step 101, which can be such that, obtains the period based on preset direct broadcasting room, obtains and wraps in history K song list of songs
The song identity of the target song included and the target song currently sung.
In an implementation, before user sings function progress K song by the K in terminal, the first song in network can directly be chosen
The song can be added in history K song list of songs, at the end of the song is sung for example, KuGoo K by Qu Jinhang K song
Application program is sung, user sings application program by KuGoo K and carries out K song, the song of a progress K song can be directly selected, in turn,
Terminal will download the accompaniment of the song, and play out, and after the playback of songs, terminal can be added and requested a song
In Qu Liebiao.In such cases, when every preset direct broadcasting room obtains the period, history K can be sung in list of songs and be wrapped by terminal
The song sung include and current obtains the song identity of target song as target song.
Mode three, only using the song currently sung as target song, correspondingly, the treatment process of step 101 can be as
Under: at the end of user is sung by the target song that K song function is currently sung, obtain the song identity of target song.
In an implementation, terminal can also obtain the song that user currently sings, and the song that user is currently sung is as mesh
Song is marked, and at the end of user is sung by the target song that K song function is currently sung, obtains the song mark of target song
Know, i.e., at the end of the accompaniment for the target song currently sung plays, the song identity of the available target song of terminal.
Step 102, terminal to server sends direct broadcasting room acquisition request, wherein carries mesh in direct broadcasting room acquisition request
Mark the song identity of song.
In an implementation, after terminal gets the song identity of target song, direct broadcasting room acquisition can be sent to server and is asked
It asks, wherein the song identity of target song can be carried in direct broadcasting room acquisition request.
Step 103, the direct broadcasting room acquisition request that server receiving terminal is sent, wherein carried in direct broadcasting room acquisition request
There is the song identity of target song.
In an implementation, after terminal sends direct broadcasting room acquisition request, the direct broadcasting room that server can receive terminal transmission is obtained
Request, and it is parsed, obtain the song identity of the target song wherein carried.
When server is by the corresponding background server (can be described as first server) of K song function and network direct broadcasting function pair
When the server group for background server (the can be described as second server) composition answered, terminal can send to first server and carry
There is the direct broadcasting room acquisition request of the song identity of target song, the direct broadcasting room acquisition that first server can receive terminal transmission is asked
It asks, and sends it to second server.
Step 104, the direct broadcasting room link of server direct broadcasting room according to the pre-stored data is related to the song of song with live video
The corresponding relationship of song mark and the song identity of target song, determine that live video is related to the straight of the direct broadcasting room of target song
It is linked between broadcasting.
Wherein, live video, which is related to song, can be the song that the main broadcaster of the corresponding direct broadcasting room of the live video currently sings
Or song to be sung, the quantity that the live video of direct broadcasting room is related to song can be one, be also possible to multiple.
In an implementation, the direct broadcasting room link and the live streaming of the direct broadcasting room of each direct broadcasting room can be previously stored in server
Video is related to the corresponding relationship of the song identity of song, after the direct broadcasting room acquisition request that terminal transmission is received so as to server,
It can determine that live video is related to the direct broadcasting room link for the direct broadcasting room that song includes target song.Server receives terminal transmission
Direct broadcasting room acquisition request after, can be in the pre-stored corresponding relationship, determining that live video is related to song includes target
The direct broadcasting room of the direct broadcasting room of song links, that is, determines that current live video is the straight of the direct broadcasting room that main broadcaster is singing target song
It is linked between broadcasting, or determining main broadcaster during next live streaming will sing the direct broadcasting room chain of the direct broadcasting room of target song
It connects.
The case where for server being server group, first server send direct broadcasting room acquisition request to second server
Afterwards, second server can receive the direct broadcasting room acquisition request of first server transmission, and according to depositing in advance in second server
The above-mentioned corresponding relationship of storage determines that live video is related to the direct broadcasting room link of the direct broadcasting room of target song.
Optionally, direct broadcasting room, which is related to song, can be the song that main broadcaster currently sings, correspondingly, step 104 is processed
Journey can be such that the corresponding of the song identity of song is currently sung in the direct broadcasting room link of direct broadcasting room according to the pre-stored data with main broadcaster
The song identity of relationship and target song determines that main broadcaster currently sings the direct broadcasting room chain for the direct broadcasting room that song is target song
It connects.
In an implementation, server can detect the live video of each direct broadcasting room, when the current live of certain direct broadcasting room
Video is main broadcaster in the video for singing song, and the direct broadcasting room of the direct broadcasting room can be linked and currently be sung with main broadcaster by server
Bent song identity carries out corresponding storage, and server can be stored with the direct broadcasting room link of direct broadcasting room in this way, in local
The corresponding relationship of the song identity of song is currently sung with main broadcaster.Server receives the direct broadcasting room acquisition request of terminal transmission
Afterwards, it can determine that target song identifies the direct broadcasting room link of corresponding direct broadcasting room, at this point, server in the above correspondence relationship
Define the direct broadcasting room link that main broadcaster currently sings the direct broadcasting room that song is target song.In this way, when user sings function by K
When can be carried out K song, main broadcaster can be recommended to sing the direct broadcasting room for the target song that user selectes to user, it is thus possible to have
Help the promotion of direct broadcasting room rating degree.
Optionally, server can be based on preset detection cycle, and whether the live video for detecting each direct broadcasting room is main broadcaster
The video of song is sung, correspondingly, treatment process can be such that based on preset detection cycle, determines that main broadcaster is currently singing
The direct broadcasting room of song;By the direct broadcasting room link of direct broadcasting room with main broadcaster currently in the song identity for the song sung, corresponding storage is arrived
In the corresponding relationship for the song identity that the direct broadcasting room link of direct broadcasting room currently sings song with main broadcaster.
In an implementation, the detection cycle of the live video for detecting each direct broadcasting room can be previously stored in server.
When every preset detection cycle, server can detecte the live video of each direct broadcasting room, determine that main broadcaster is currently singing song
Direct broadcasting room, and obtain the song identity of song currently sung.Specifically, when main broadcaster sings song during live streaming,
Main broadcaster can sing song by accompanying song, and in such cases, live streaming terminal can will be sung when starting to play accompanying song
The corresponding song identity of song accompaniment is sent to server, and in turn, server can receive the song identity that live streaming terminal is sent, will
Direct broadcasting room link and the song identity of the direct broadcasting room carry out corresponding record to first database, wherein when certain main broadcaster has sung song
Qu Shi, server can be by corresponding relationship entry deletions corresponding in first database, in addition, main broadcaster can also be sung opera arias (i.e.
Without using accompanying song), in such cases (in the case that i.e. server does not receive the song identity that live streaming terminal is sent), clothes
Business device can the live video to each direct broadcasting room listen song to know bent processing, determine main broadcaster currently in the direct broadcasting room for singing song,
And obtain the song identity for the song currently sung.For the above-mentioned two situations that may will appear during live streaming, clothes
Being engaged in device can be with every preset detection cycle, and the direct broadcasting room link of acquisition first database record is corresponding with song identity to close
System, and the live video of the direct broadcasting room in addition to above-mentioned direct broadcasting room is carried out song is listened to know bent processing, determine that main broadcaster is currently singing
The direct broadcasting room of song, and obtain the song identity for the song currently sung, i.e., the detection can be determined by the above method
Period corresponding main broadcaster is currently in the direct broadcasting room for singing song.Determine main broadcaster currently in the direct broadcasting room of singing song and right
After the main broadcaster answered currently sings the song identity of song, the direct broadcasting room that can be corresponded to storage to direct broadcasting room is linked works as with main broadcaster
Before sing song song identity corresponding relationship in, wherein the corresponding relationship is possibly stored in the second database.
Optionally, direct broadcasting room, which is related to song, can be main broadcaster main broadcaster's song to be sung, correspondingly, the processing of step 104
Process can be such that the direct broadcasting room link of direct broadcasting room according to the pre-stored data waits for pair of the bent song identity list of singing with main broadcaster
It should be related to and the song identity of target song, determine that main broadcaster waits singing the direct broadcasting room chain of the bent direct broadcasting room for including target song
It connects.
In an implementation, main broadcaster can first select some songs (i.e. main broadcaster waits singing bent) that will be sung before live streaming, and
Successively selected song is sung, can store the song identity column that the main broadcaster that main broadcaster selectes waits singing bent in server
Table.Server can wait bent song identity list of singing based on the main broadcaster of each direct broadcasting room, be previously stored with the live streaming of direct broadcasting room
Between direct broadcasting room link and main broadcaster wait singing the corresponding relationship of bent song identity list.When server receives terminal transmission
After direct broadcasting room acquisition request, it can determine that main broadcaster waits for that the bent song identity list of singing includes target in the above correspondence relationship
The direct broadcasting room of the direct broadcasting room of the song identity of song links.
Optionally, server can also determine main broadcaster earliest and will sing the direct broadcasting room link of the direct broadcasting room of target song,
Correspondingly, treatment process can be such that the direct broadcasting room link of direct broadcasting room according to the pre-stored data, main broadcaster wait bent song mark of singing
Know list, sing the corresponding relationship at moment and the song identity of target song, determining that main broadcaster waits singing bent includes target song
Each direct broadcasting room direct broadcasting room link and target song is corresponding in each direct broadcasting room sings the moment;It is each straight what is determined
In direct broadcasting room link between broadcasting, the corresponding direct broadcasting room link for singing the moment apart from current time nearest direct broadcasting room is determined.
In an implementation, it can store the main broadcaster that main broadcaster selectes in server and wait bent song identity list of singing, in addition,
The each song that can also be stored in song identity list in server is corresponding to be sung the moment, i.e., can be preparatory in server
It is stored with the direct broadcasting room link of direct broadcasting room, the corresponding relationship that main broadcaster waits for the bent song identity list of singing, sings the moment.Work as service
, can be in the corresponding relationship after device receives the direct broadcasting room acquisition request of terminal transmission, determining that main broadcaster waits singing bent includes mesh
The direct broadcasting room for marking each direct broadcasting room of song, which links, and target song is corresponding in each direct broadcasting room determined sings the moment,
Each time difference for singing moment and current time is calculated, in the direct broadcasting room link for each direct broadcasting room determined, determining pair
The direct broadcasting room of the smallest direct broadcasting room of the time difference answered links.
Step 105, server sends the direct broadcasting room link for the direct broadcasting room determined to terminal.
It in an implementation, can be with after server determines that live video is related to the direct broadcasting room link of the direct broadcasting room of target song
Send it to terminal.
The case where for server being server group, second server determines that live video is related to the live streaming of target song
Between direct broadcasting room link after, first server can be sent it to, first server can receive second server transmission
Live video is related to the video link of the direct broadcasting room of target song, in turn, can send it to terminal.
In addition, main broadcaster's poster can also be previously stored in server, when the direct broadcasting room acquisition for receiving terminal transmission is asked
After asking, live video can also be obtained and be related to the corresponding main broadcaster's poster of direct broadcasting room of target song, and send it to terminal.
Step 106, the live video that terminal receives that server is sent is related to the direct broadcasting room link of the direct broadcasting room of target song.
In an implementation, after server sends the direct broadcasting room link for the direct broadcasting room that live video is related to target song to terminal,
The live video that terminal can receive server transmission is related to the direct broadcasting room link of the direct broadcasting room of target song.
In addition, the live video that terminal receives server transmission is related to the direct broadcasting room link of the direct broadcasting room of target song
Afterwards, prompt window can be popped up, direct broadcasting room link can be shown in the prompt window, wherein can show for illustrating
The text information of the live video of the direct broadcasting room, and when pre-set text information therein can be used for being triggered, jumps to the live streaming
Between live video, for example, as shown in figure 3, can show " A main broadcaster is singing song B, ifBefore go to watch", wherein it is pre-
Viewing is gone to jump to the live video of the direct broadcasting room when can be used for being triggered before if, in addition, can also show in prompt window
Viewing key is removed before being shown with, and viewing key is gone to jump to the live video of the direct broadcasting room when can be used for being triggered before this.In addition,
The case where corresponding direct broadcasting room for singing the moment apart from current time nearest direct broadcasting room links is sent to terminal for server,
After terminal receives the direct broadcasting room link of direct broadcasting room, can show " A main broadcaster will sing song B after 3 minutes, ifBefore go to see It sees”。
The case where sending main broadcaster's poster to terminal for server, it is corresponding that direct broadcasting room can also be shown in the prompt window
Main broadcaster's poster.
Step 107, terminal is linked based on direct broadcasting room, plays the live video of direct broadcasting room.
In an implementation, after the direct broadcasting room that terminal receives the direct broadcasting room that live video is related to target song links, Yong Huke
With by operation, triggering terminal is linked based on direct broadcasting room, show that the direct broadcasting room links corresponding live streaming interface, and play the live streaming
Between live video.
Optionally, terminal can play live video, correspondingly, the place of step 107 when currently without the song sung
Reason process can be such that after the song currently sung is sung, and be linked based on direct broadcasting room, play the live streaming view of direct broadcasting room
Frequently.
In an implementation, when terminal receives the direct broadcasting room link for the direct broadcasting room that live video is related to target song, user
If singing song, terminal can sing end in the song currently sung (i.e. currently playing playback of songs terminates)
Afterwards, it is linked based on direct broadcasting room, plays the live video of direct broadcasting room.
In addition, user can according to need decision after terminal is as shown in figure 3, show that main broadcaster sings the video link of video
Whether before go to watch, when user wants viewing, go to watch before can clicking, at this point, terminal will be linked based on direct broadcasting room, broadcasts
Put the live video of direct broadcasting room.
In the embodiment of the present invention, when user sings function progress K song by the K in terminal, the available user of terminal passes through K
The song identity of the selected target song of function is sung, and then the song identity for carrying target song can be sent to server
Direct broadcasting room acquisition request can determine that live video is related to mesh after server receives the direct broadcasting room acquisition request of terminal transmission
The direct broadcasting room link of the direct broadcasting room of song is marked, and sends it to terminal, terminal receives the direct broadcasting room link of server transmission
Afterwards, it can be linked based on direct broadcasting room, play the live video of direct broadcasting room.In this way, when user sings function progress K song by K,
Available live video is related to the live video of the direct broadcasting room of K song song, and is watched, and being not can only be straight by network
The corresponding direct broadcasting room identification list of multicast function, could obtain the live video of certain direct broadcasting room, it is thus possible to facilitate direct broadcasting room receipts
The promotion of diopter.
Based on the same technical idea, the embodiment of the invention also provides a kind of terminals, as shown in figure 4, the terminal includes:
Module 410 is obtained, for obtaining the song identity for the target song that user is selected by K song function;
Sending module 420, for sending direct broadcasting room acquisition request to server, wherein in the direct broadcasting room acquisition request
Carry the song identity of the target song;
Receiving module 430 is related to the direct broadcasting room of the target song for receiving the live video that the server is sent
Direct broadcasting room link;
Playing module 440 plays the live video of the direct broadcasting room for linking based on the direct broadcasting room.
Optionally, the acquisition module 410, is used for:
The period is obtained based on preset direct broadcasting room, obtains the target song for including in the K song list of songs of user setting
Song identity;Alternatively,
The period is obtained based on preset direct broadcasting room, obtains the target song for including in history K song list of songs and current
The song identity for the target song sung;Alternatively,
At the end of user is sung by the target song that K song function is currently sung, the song of the target song is obtained
Mark.
Optionally, the playing module 440, is used for:
It after the song currently sung is sung, is linked based on the direct broadcasting room, plays the live streaming view of the direct broadcasting room
Frequently.
Based on the same technical idea, the embodiment of the invention also provides a kind of servers, as shown in figure 5, the server
Include:
Receiving module 510, for receiving the direct broadcasting room acquisition request of terminal transmission, wherein the direct broadcasting room acquisition request
In carry the song identity of target song;
First determining module 520, the direct broadcasting room for direct broadcasting room according to the pre-stored data is linked to be related to singing with live video
The corresponding relationship of bent song identity and the song identity of the target song determine that live video is related to the target song
The direct broadcasting room link of bent direct broadcasting room;
Sending module 530, for sending the direct broadcasting room link for the direct broadcasting room determined to the terminal.
Optionally, first determining module 520, is used for:
The corresponding pass of the song identity of song is currently sung in the direct broadcasting room link of direct broadcasting room according to the pre-stored data with main broadcaster
The song identity of system and the target song determines that main broadcaster currently sings the straight of the direct broadcasting room that song is the target song
It is linked between broadcasting.
Optionally, as shown in fig. 6, the server further include:
Second determining module 540 determines main broadcaster currently in the live streaming for singing song for being based on preset detection cycle
Between;
Memory module 550, for linking the direct broadcasting room of the direct broadcasting room with main broadcaster currently in the song for the song sung
The corresponding relationship of the song identity of song is currently sung in mark, the direct broadcasting room link of corresponding storage to the direct broadcasting room with main broadcaster
In.
Optionally, first determining module 520, is used for:
The direct broadcasting room link of direct broadcasting room according to the pre-stored data waits for the corresponding pass of the bent song identity list of singing with main broadcaster
The song identity of system and the target song determines that main broadcaster waits for the live streaming of the bent direct broadcasting room including the target song of singing
Between link.
Optionally, first determining module 520, is used for:
The direct broadcasting room link of direct broadcasting room according to the pre-stored data, main broadcaster wait for the bent song identity list of singing, sing the moment
Corresponding relationship and the target song song identity, determining that main broadcaster waits singing bent includes each straight of the target song
Direct broadcasting room between broadcasting, which links, and the target song is corresponding in each direct broadcasting room sings the moment;
In the direct broadcasting room link for each direct broadcasting room determined, determine that corresponding to sing the moment nearest apart from current time
The direct broadcasting room of direct broadcasting room links.
In the embodiment of the present invention, when user sings function progress K song by the K in terminal, the available user of terminal passes through K
The song identity of the selected target song of function is sung, and then the song identity for carrying target song can be sent to server
Direct broadcasting room acquisition request can determine that live video is related to mesh after server receives the direct broadcasting room acquisition request of terminal transmission
The direct broadcasting room link of the direct broadcasting room of song is marked, and sends it to terminal, terminal receives the direct broadcasting room link of server transmission
Afterwards, it can be linked based on direct broadcasting room, play the live video of direct broadcasting room.In this way, when user sings function progress K song by K,
Available live video is related to the live video of the direct broadcasting room of K song song, and is watched, and being not can only be straight by network
The corresponding direct broadcasting room identification list of multicast function, could obtain the live video of certain direct broadcasting room, it is thus possible to facilitate direct broadcasting room receipts
The promotion of diopter.
Based on the same technical idea, the embodiment of the invention also provides a kind of system for playing live video, the systems
System includes terminal and server, in which:
The terminal, for obtaining the song identity for the target song that user is selected by K song function, Xiang Suoshu server
Send direct broadcasting room acquisition request, wherein carry the song identity of the target song in the direct broadcasting room acquisition request, receive
The live video that the server is sent is related to the direct broadcasting room link of the direct broadcasting room of the target song, is based on the direct broadcasting room chain
It connects, plays the live video of the direct broadcasting room;
The server, the direct broadcasting room acquisition request sent for receiving the terminal, direct broadcasting room according to the pre-stored data
Direct broadcasting room link with live video be related to song song identity corresponding relationship and the target song song mark
Know, determines that live video is related to the direct broadcasting room link of the direct broadcasting room of the target song, the transmission of Xiang Suoshu terminal is determined straight
Direct broadcasting room link between broadcasting.
In the embodiment of the present invention, when user sings function progress K song by the K in terminal, the available user of terminal passes through K
The song identity of the selected target song of function is sung, and then the song identity for carrying target song can be sent to server
Direct broadcasting room acquisition request can determine that live video is related to mesh after server receives the direct broadcasting room acquisition request of terminal transmission
The direct broadcasting room link of the direct broadcasting room of song is marked, and sends it to terminal, terminal receives the direct broadcasting room link of server transmission
Afterwards, it can be linked based on direct broadcasting room, play the live video of direct broadcasting room.In this way, when user sings function progress K song by K,
Available live video is related to the live video of the direct broadcasting room of K song song, and is watched, and being not can only be straight by network
The corresponding direct broadcasting room identification list of multicast function, could obtain the live video of certain direct broadcasting room, it is thus possible to facilitate direct broadcasting room receipts
The promotion of diopter.
It should be understood that it is provided by the above embodiment play live video device when playing live video, only with
The division progress of above-mentioned each functional module can according to need and for example, in practical application by above-mentioned function distribution by not
Same functional module is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete whole described above
Or partial function.In addition, the device provided by the above embodiment for playing live video and the method for playing live video are implemented
Example belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Referring to FIG. 7, the terminal can be used for it illustrates the structural schematic diagram of terminal involved in the embodiment of the present invention
The method of broadcasting live video provided in above-described embodiment is provided.Specifically:
Terminal 700 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meter
The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160,
WiFi (wireless fidelity, Wireless Fidelity) module 170, the processing for including one or more than one processing core
The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 7 is not constituted pair
The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components
It sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses
Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex
Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can make
With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely
Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code
Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple
Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short
Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation
Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 700
According to (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, can also wrap
Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory
120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used
Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table
Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically,
Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 700 that are supplied to user
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.
Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal
Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel
141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby
After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event
Corresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Fig. 7
Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display
Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 700 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 700 is moved in one's ear
Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally
Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely
In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 700 can also configure, herein
It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 700.Audio
Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160
Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160
Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110
End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack,
To provide the communication of peripheral hardware earphone Yu terminal 700.
WiFi belongs to short range wireless transmission technology, and terminal 700 can help user's transceiver electronics by WiFi module 170
Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 7 is shown
WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 700, it can according to need completely
Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 700, utilizes each portion of various interfaces and connection whole mobile phone
Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120
Interior data execute the various functions and processing data of terminal 700, to carry out integral monitoring to mobile phone.Optionally, processor
180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor,
Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing
Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 700 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event
Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 700 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality
It applies in example, the display unit of terminal 700 is touch-screen display, and terminal 700 further includes having memory and one or one
Above program, one of them perhaps more than one program be stored in memory and be configured to by one or one with
Upper processor execution states one or more than one program includes the instruction for performing the following operation:
Obtain the song identity that user sings the selected target song of function by K;
Direct broadcasting room acquisition request is sent to server, wherein the target song is carried in the direct broadcasting room acquisition request
Bent song identity;
Receive the direct broadcasting room link that the live video that the server is sent is related to the direct broadcasting room of the target song;
It is linked based on the direct broadcasting room, plays the live video of the direct broadcasting room.
Optionally, the song identity for obtaining user and singing the selected target song of function by K, comprising:
The period is obtained based on preset direct broadcasting room, obtains the target song for including in the K song list of songs of user setting
Song identity;Alternatively,
The period is obtained based on preset direct broadcasting room, obtains the target song for including in history K song list of songs and current
The song identity for the target song sung;Alternatively,
At the end of user is sung by the target song that K song function is currently sung, the song of the target song is obtained
Mark.
Optionally, described to be linked based on the direct broadcasting room, play the live video of the direct broadcasting room, comprising:
It after the song currently sung is sung, is linked based on the direct broadcasting room, plays the live streaming view of the direct broadcasting room
Frequently.
In the embodiment of the present invention, when user sings function progress K song by the K in terminal, the available user of terminal passes through K
The song identity of the selected target song of function is sung, and then the song identity for carrying target song can be sent to server
Direct broadcasting room acquisition request can determine that live video is related to mesh after server receives the direct broadcasting room acquisition request of terminal transmission
The direct broadcasting room link of the direct broadcasting room of song is marked, and sends it to terminal, terminal receives the direct broadcasting room link of server transmission
Afterwards, it can be linked based on direct broadcasting room, play the live video of direct broadcasting room.In this way, when user sings function progress K song by K,
Available live video is related to the live video of the direct broadcasting room of K song song, and is watched, and being not can only be straight by network
The corresponding direct broadcasting room identification list of multicast function, could obtain the live video of certain direct broadcasting room, it is thus possible to facilitate direct broadcasting room receipts
The promotion of diopter.
Fig. 8 is the structural schematic diagram of server provided in an embodiment of the present invention.The server 1900 can be because of configuration or performance
It is different and generate bigger difference, it may include one or more central processing units (central processing
Units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage applications
The storage medium 1930 (such as one or more mass memory units) of program 1942 or data 1944.Wherein, memory
1932 and storage medium 1930 can be of short duration storage or persistent storage.The program for being stored in storage medium 1930 may include one
A or more than one module (diagram does not mark), each module may include to the series of instructions operation in server.More into
One step, central processing unit 1922 can be set to communicate with storage medium 1930, execute storage medium on server 1900
Series of instructions operation in 1930.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets
Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or
More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM
Etc..
Server 1900 may include have memory and one perhaps more than one program one of them or one
A procedure above is stored in memory, and is configured to execute one or one by one or more than one processor
A procedure above includes the instruction for performing the following operation:
Receive the direct broadcasting room acquisition request that terminal is sent, wherein carry target song in the direct broadcasting room acquisition request
Song identity;
The direct broadcasting room link of direct broadcasting room according to the pre-stored data is related to the corresponding pass of the song identity of song with live video
The song identity of system and the target song, determines that live video is related to the direct broadcasting room chain of the direct broadcasting room of the target song
It connects;
The direct broadcasting room link for the direct broadcasting room determined is sent to the terminal.
Optionally, the direct broadcasting room link of the direct broadcasting room according to the pre-stored data is related to the song mark of song with live video
The song identity of the corresponding relationship of knowledge and the target song determines that live video is related to the direct broadcasting room of the target song
Direct broadcasting room link, comprising:
The corresponding pass of the song identity of song is currently sung in the direct broadcasting room link of direct broadcasting room according to the pre-stored data with main broadcaster
The song identity of system and the target song determines that main broadcaster currently sings the straight of the direct broadcasting room that song is the target song
It is linked between broadcasting.
Optionally, the method also includes:
Based on preset detection cycle, determine main broadcaster currently in the direct broadcasting room for singing song;
By the direct broadcasting room link of the direct broadcasting room with main broadcaster currently in the song identity for the song sung, institute is arrived in corresponding storage
In the corresponding relationship for the song identity that the direct broadcasting room link for stating direct broadcasting room currently sings song with main broadcaster.
Optionally, the direct broadcasting room link of the direct broadcasting room according to the pre-stored data is related to the song mark of song with live video
The song identity of the corresponding relationship of knowledge and the target song determines that live video is related to the direct broadcasting room of the target song
Direct broadcasting room link, comprising:
The direct broadcasting room link of direct broadcasting room according to the pre-stored data waits for the corresponding pass of the bent song identity list of singing with main broadcaster
The song identity of system and the target song determines that main broadcaster waits for the live streaming of the bent direct broadcasting room including the target song of singing
Between link.
Optionally, the song identity column that the direct broadcasting room link of the direct broadcasting room according to the pre-stored data waits singing bent with main broadcaster
The song identity of the corresponding relationship of table and the target song, determining that main broadcaster waits singing bent includes the straight of the target song
Direct broadcasting room link between broadcasting, comprising:
The direct broadcasting room link of direct broadcasting room according to the pre-stored data, main broadcaster wait for the bent song identity list of singing, sing the moment
Corresponding relationship and the target song song identity, determining that main broadcaster waits singing bent includes each straight of the target song
Direct broadcasting room between broadcasting, which links, and the target song is corresponding in each direct broadcasting room sings the moment;
In the direct broadcasting room link for each direct broadcasting room determined, determine that corresponding to sing the moment nearest apart from current time
The direct broadcasting room of direct broadcasting room links.
In the embodiment of the present invention, when user sings function progress K song by the K in terminal, the available user of terminal passes through K
The song identity of the selected target song of function is sung, and then the song identity for carrying target song can be sent to server
Direct broadcasting room acquisition request can determine that live video is related to mesh after server receives the direct broadcasting room acquisition request of terminal transmission
The direct broadcasting room link of the direct broadcasting room of song is marked, and sends it to terminal, terminal receives the direct broadcasting room link of server transmission
Afterwards, it can be linked based on direct broadcasting room, play the live video of direct broadcasting room.In this way, when user sings function progress K song by K,
Available live video is related to the live video of the direct broadcasting room of K song song, and is watched, and being not can only be straight by network
The corresponding direct broadcasting room identification list of multicast function, could obtain the live video of certain direct broadcasting room, it is thus possible to facilitate direct broadcasting room receipts
The promotion of diopter.
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 presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (11)
1. a kind of method for playing live video, which is characterized in that the described method includes:
Obtain the song identity that user sings the selected target song of function by K;
Direct broadcasting room acquisition request is sent to server, so that the direct broadcasting room of server direct broadcasting room according to the pre-stored data links
It is related to the corresponding relationship of the song identity of song and the song identity of the target song with live video, determines live streaming view
Frequency is related to the direct broadcasting room link of the direct broadcasting room of the target song, wherein carries the mesh in the direct broadcasting room acquisition request
Mark the song identity of song;
Receive the direct broadcasting room link that the live video that the server is sent is related to the direct broadcasting room of the target song;
It is linked based on the direct broadcasting room, plays the live video of the direct broadcasting room, comprising:
After the song currently sung is sung, is linked based on the direct broadcasting room, play the live video of the direct broadcasting room;
Wherein, the song identity for obtaining user and singing the selected target song of function by K, comprising: be based on preset live streaming
Between obtain the period, obtain the song mark of the target song for including and the target song currently sung in history K song list of songs
Know;
The direct broadcasting room link of the direct broadcasting room according to the pre-stored data is related to the corresponding pass of the song identity of song with live video
The song identity of system and the target song, determines that live video is related to the direct broadcasting room chain of the direct broadcasting room of the target song
It connects, comprising: the direct broadcasting room link of direct broadcasting room according to the pre-stored data waits for the corresponding pass of the bent song identity list of singing with main broadcaster
The song identity of system and the target song determines that main broadcaster waits for the live streaming of the bent direct broadcasting room including the target song of singing
Between link, it is the song to be sung that main broadcaster selectes before live streaming that the main broadcaster, which waits singing bent,;
The direct broadcasting room link of the direct broadcasting room according to the pre-stored data waits for the corresponding pass of the bent song identity list of singing with main broadcaster
The song identity of system and the target song determines that main broadcaster waits for the live streaming of the bent direct broadcasting room including the target song of singing
Between link, comprising:
Pair that the direct broadcasting room link of direct broadcasting room according to the pre-stored data, main broadcaster wait for the bent song identity list of singing, sing the moment
Should be related to and the song identity of the target song, determine main broadcaster wait singing it is bent include the target song each direct broadcasting room
Direct broadcasting room link and the target song is corresponding in each direct broadcasting room sings the moment;
In the direct broadcasting room link for each direct broadcasting room determined, determines and corresponding sing the moment live streaming nearest apart from current time
Between direct broadcasting room link;The direct broadcasting room link for the direct broadcasting room determined is sent to terminal.
2. the method according to claim 1, wherein described obtain user's target song selected by K song function
Bent song identity, further includes:
The period is obtained based on preset direct broadcasting room, obtains the song for the target song for including in the K song list of songs of user setting
Mark;Alternatively,
At the end of user is sung by the target song that K song function is currently sung, the song identity of the target song is obtained.
3. a kind of method for playing live video, which is characterized in that the described method includes:
Receive the direct broadcasting room acquisition request that terminal is sent, wherein the song of target song is carried in the direct broadcasting room acquisition request
Song mark, the song identity of the target song are that terminal is based on the preset direct broadcasting room acquisition period, obtain history K song song column
The song identity of the target song for including in table and the target song currently sung;
The direct broadcasting room link of direct broadcasting room according to the pre-stored data is related to the corresponding relationship of the song identity of song with live video, with
And the song identity of the target song, determine that live video is related to the direct broadcasting room link of the direct broadcasting room of the target song, with
Toilet is stated terminal and is linked based on the direct broadcasting room, and the live video of the direct broadcasting room is played;
Wherein, the terminal is linked based on the direct broadcasting room, plays the live video of the direct broadcasting room, comprising: sing currently
Song sing after, based on the direct broadcasting room link, play the live video of the direct broadcasting room;
The direct broadcasting room link of the direct broadcasting room according to the pre-stored data is related to the corresponding pass of the song identity of song with live video
The song identity of system and the target song, determines that live video is related to the direct broadcasting room chain of the direct broadcasting room of the target song
It connects, comprising: the direct broadcasting room link of direct broadcasting room according to the pre-stored data waits for the corresponding pass of the bent song identity list of singing with main broadcaster
The song identity of system and the target song determines that main broadcaster waits for the live streaming of the bent direct broadcasting room including the target song of singing
Between link, it is the song to be sung that main broadcaster selectes before live streaming that the main broadcaster, which waits singing bent,;
The direct broadcasting room link of the direct broadcasting room according to the pre-stored data waits for the corresponding pass of the bent song identity list of singing with main broadcaster
The song identity of system and the target song determines that main broadcaster waits for the live streaming of the bent direct broadcasting room including the target song of singing
Between link, comprising:
Pair that the direct broadcasting room link of direct broadcasting room according to the pre-stored data, main broadcaster wait for the bent song identity list of singing, sing the moment
Should be related to and the song identity of the target song, determine main broadcaster wait singing it is bent include the target song each direct broadcasting room
Direct broadcasting room link and the target song is corresponding in each direct broadcasting room sings the moment;
In the direct broadcasting room link for each direct broadcasting room determined, determines and corresponding sing the moment live streaming nearest apart from current time
Between direct broadcasting room link;
The direct broadcasting room link for the direct broadcasting room determined is sent to the terminal.
4. according to the method described in claim 3, it is characterized in that, the direct broadcasting room of the direct broadcasting room according to the pre-stored data links
It is related to the corresponding relationship of the song identity of song and the song identity of the target song with live video, determines live streaming view
Frequency is related to the direct broadcasting room link of the direct broadcasting room of the target song, further includes:
The corresponding relationship of the song identity of song is currently sung in the direct broadcasting room link of direct broadcasting room according to the pre-stored data with main broadcaster, with
And the song identity of the target song, determine that main broadcaster currently sings the direct broadcasting room chain for the direct broadcasting room that song is the target song
It connects.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Based on preset detection cycle, determine main broadcaster currently in the direct broadcasting room for singing song;
By the direct broadcasting room link of the direct broadcasting room with main broadcaster currently in the song identity for the song sung, corresponding storage is arrived described straight
In the corresponding relationship for the song identity that direct broadcasting room link between broadcasting currently sings song with main broadcaster.
6. a kind of terminal, which is characterized in that the terminal includes:
Module is obtained, for obtaining the song identity for the target song that user is selected by K song function;
Sending module, for sending direct broadcasting room acquisition request to server, so as to server live streaming according to the pre-stored data
Between direct broadcasting room link with live video be related to song song identity corresponding relationship and the target song song mark
Know, determines that live video is related to the direct broadcasting room link of the direct broadcasting room of the target song, wherein in the direct broadcasting room acquisition request
Carry the song identity of the target song;
Receiving module, the direct broadcasting room for being related to the direct broadcasting room of the target song for receiving the live video that the server is sent
Link;
Playing module plays the live video of the direct broadcasting room, comprising: sing currently for linking based on the direct broadcasting room
Song sing after, based on the direct broadcasting room link, play the live video of the direct broadcasting room;
Wherein, the acquisition module, is used for: obtaining the period based on preset direct broadcasting room, includes in acquisition history K song list of songs
Target song and the target song currently sung song identity;
The direct broadcasting room link of the direct broadcasting room according to the pre-stored data is related to the corresponding pass of the song identity of song with live video
The song identity of system and the target song, determines that live video is related to the direct broadcasting room chain of the direct broadcasting room of the target song
It connects, comprising: the direct broadcasting room link of direct broadcasting room according to the pre-stored data waits for the corresponding pass of the bent song identity list of singing with main broadcaster
The song identity of system and the target song determines that main broadcaster waits for the live streaming of the bent direct broadcasting room including the target song of singing
Between link, it is the song to be sung that main broadcaster selectes before live streaming that the main broadcaster, which waits singing bent,;
The direct broadcasting room link of the direct broadcasting room according to the pre-stored data waits for the corresponding pass of the bent song identity list of singing with main broadcaster
The song identity of system and the target song determines that main broadcaster waits for the live streaming of the bent direct broadcasting room including the target song of singing
Between link, comprising:
Pair that the direct broadcasting room link of direct broadcasting room according to the pre-stored data, main broadcaster wait for the bent song identity list of singing, sing the moment
Should be related to and the song identity of the target song, determine main broadcaster wait singing it is bent include the target song each direct broadcasting room
Direct broadcasting room link and the target song is corresponding in each direct broadcasting room sings the moment;
In the direct broadcasting room link for each direct broadcasting room determined, determines and corresponding sing the moment live streaming nearest apart from current time
Between direct broadcasting room link;
The direct broadcasting room link for the direct broadcasting room determined is sent to the terminal.
7. terminal according to claim 6, which is characterized in that the acquisition module is also used to:
The period is obtained based on preset direct broadcasting room, obtains the song for the target song for including in the K song list of songs of user setting
Mark;Alternatively,
At the end of user is sung by the target song that K song function is currently sung, the song identity of the target song is obtained.
8. a kind of server, which is characterized in that the server includes:
Receiving module, for receiving the direct broadcasting room acquisition request of terminal transmission, wherein carried in the direct broadcasting room acquisition request
The song identity of target song, the song identity of the target song are that terminal is based on the preset direct broadcasting room acquisition period, are obtained
History K sings the song identity of the target song for including and the target song currently sung in list of songs;
First determining module, the direct broadcasting room link for direct broadcasting room according to the pre-stored data are related to the song of song with live video
The song identity of the corresponding relationship of mark and the target song determines that live video is related to the live streaming of the target song
Between direct broadcasting room link, so as to the terminal be based on the direct broadcasting room link, play the live video of the direct broadcasting room;
Wherein, the terminal is linked based on the direct broadcasting room, plays the live video of the direct broadcasting room, comprising: sing currently
Song sing after, based on the direct broadcasting room link, play the live video of the direct broadcasting room;
Sending module, for sending the direct broadcasting room link for the direct broadcasting room determined to the terminal;
First determining module, is also used to:
The direct broadcasting room link of direct broadcasting room according to the pre-stored data waits for the corresponding relationship of the bent song identity list of singing with main broadcaster, with
And the song identity of the target song, determine that main broadcaster waits for the direct broadcasting room chain of the bent direct broadcasting room including the target song of singing
It connects, it is the main broadcaster's song to be sung selected before live streaming that the main broadcaster, which waits singing bent,;
First determining module, is also used to:
Pair that the direct broadcasting room link of direct broadcasting room according to the pre-stored data, main broadcaster wait for the bent song identity list of singing, sing the moment
Should be related to and the song identity of the target song, determine main broadcaster wait singing it is bent include the target song each direct broadcasting room
Direct broadcasting room link and the target song is corresponding in each direct broadcasting room sings the moment;
In the direct broadcasting room link for each direct broadcasting room determined, determines and corresponding sing the moment live streaming nearest apart from current time
Between direct broadcasting room link.
9. server according to claim 8, which is characterized in that first determining module is also used to:
The corresponding relationship of the song identity of song is currently sung in the direct broadcasting room link of direct broadcasting room according to the pre-stored data with main broadcaster, with
And the song identity of the target song, determine that main broadcaster currently sings the direct broadcasting room chain for the direct broadcasting room that song is the target song
It connects.
10. server according to claim 9, which is characterized in that the server further include:
Second determining module determines main broadcaster currently in the direct broadcasting room for singing song for being based on preset detection cycle;
Memory module is right for linking the direct broadcasting room of the direct broadcasting room with main broadcaster currently in the song identity for the song sung
In the corresponding relationship for the song identity that the direct broadcasting room link that the direct broadcasting room should be stored currently sings song with main broadcaster.
11. a kind of system for playing live video, which is characterized in that the system comprises terminal and servers, in which:
The terminal, for obtaining the song identity for the target song that user is selected by K song function, Xiang Suoshu server is sent
Direct broadcasting room acquisition request, wherein the song identity of the target song is carried in the direct broadcasting room acquisition request, described in reception
The live video that server is sent is related to the direct broadcasting room link of the direct broadcasting room of the target song, is linked based on the direct broadcasting room,
Play the live video of the direct broadcasting room, comprising:
After the song currently sung is sung, is linked based on the direct broadcasting room, play the live video of the direct broadcasting room;
Wherein, the song identity for obtaining user and singing the selected target song of function by K, comprising: be based on preset live streaming
Between obtain the period, obtain the song mark of the target song for including and the target song currently sung in history K song list of songs
Know;
The server, the direct broadcasting room acquisition request sent for receiving the terminal, direct broadcasting room according to the pre-stored data it is straight
Link and live video are related to the corresponding relationship of the song identity of song and the song identity of the target song between broadcasting, really
Determine the direct broadcasting room link that live video is related to the direct broadcasting room of the target song, Xiang Suoshu terminal sends the direct broadcasting room determined
Direct broadcasting room link, comprising: direct broadcasting room link and the main broadcaster of direct broadcasting room according to the pre-stored data wait bent song identity list of singing
Corresponding relationship and the target song song identity, determine main broadcaster wait singing it is bent include the target song live streaming
Between direct broadcasting room link, it is the song to be sung that main broadcaster selectes before live streaming that the main broadcaster, which waits singing bent,;
Wherein, the direct broadcasting room link of the direct broadcasting room according to the pre-stored data waits for pair of the bent song identity list of singing with main broadcaster
Should be related to and the song identity of the target song, determine main broadcaster wait singing it is bent include the target song direct broadcasting room
Direct broadcasting room link, comprising:
Pair that the direct broadcasting room link of direct broadcasting room according to the pre-stored data, main broadcaster wait for the bent song identity list of singing, sing the moment
Should be related to and the song identity of the target song, determine main broadcaster wait singing it is bent include the target song each direct broadcasting room
Direct broadcasting room link and the target song is corresponding in each direct broadcasting room sings the moment;
In the direct broadcasting room link for each direct broadcasting room determined, determines and corresponding sing the moment live streaming nearest apart from current time
Between direct broadcasting room link;Wherein, the song identity of the target song is that terminal is based on the preset direct broadcasting room acquisition period, is obtained
History K sings the song identity of the target song for including and the target song currently sung in list of songs.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610574335.3A CN106210755B (en) | 2016-07-20 | 2016-07-20 | A kind of methods, devices and systems playing live video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610574335.3A CN106210755B (en) | 2016-07-20 | 2016-07-20 | A kind of methods, devices and systems playing live video |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106210755A CN106210755A (en) | 2016-12-07 |
CN106210755B true CN106210755B (en) | 2019-08-27 |
Family
ID=57494624
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610574335.3A Active CN106210755B (en) | 2016-07-20 | 2016-07-20 | A kind of methods, devices and systems playing live video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106210755B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108683927B (en) * | 2018-05-07 | 2020-10-09 | 广州酷狗计算机科技有限公司 | Anchor recommendation method and device and storage medium |
CN108833934B (en) * | 2018-06-21 | 2021-07-20 | 广州酷狗计算机科技有限公司 | Method, server and system for acquiring video data |
CN109068160B (en) * | 2018-09-20 | 2021-05-07 | 广州酷狗计算机科技有限公司 | Method, device and system for linking videos |
CN109582820B (en) * | 2018-11-23 | 2021-05-25 | 维沃移动通信有限公司 | Song playing method, terminal equipment and server |
CN110035296B (en) * | 2019-04-23 | 2021-07-16 | 广州酷狗计算机科技有限公司 | Method and device for displaying song information in live broadcast room and readable storage medium |
CN110109597B (en) | 2019-05-20 | 2020-12-22 | 北京字节跳动网络技术有限公司 | Singing list switching method, device, system, terminal and storage medium |
CN110267054B (en) * | 2019-06-28 | 2022-01-18 | 广州酷狗计算机科技有限公司 | Method and device for recommending live broadcast room |
CN110300313A (en) * | 2019-06-28 | 2019-10-01 | 广州酷狗计算机科技有限公司 | Information display method, device, terminal, server and storage medium |
CN110267067B (en) * | 2019-06-28 | 2021-07-16 | 广州酷狗计算机科技有限公司 | Live broadcast room recommendation method, device, equipment and storage medium |
CN112584180B (en) * | 2019-09-27 | 2023-06-06 | 广州艾美网络科技有限公司 | Live broadcast method and device based on jukebox terminal equipment and jukebox terminal equipment |
CN111147920A (en) * | 2019-12-26 | 2020-05-12 | 北京塞宾科技有限公司 | Karaoke method, screen projection device and storage medium |
CN113824979A (en) * | 2021-09-09 | 2021-12-21 | 广州方硅信息技术有限公司 | Live broadcast room recommendation method and device and computer equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013037211A1 (en) * | 2011-09-16 | 2013-03-21 | 百度在线网络技术(北京)有限公司 | Method and device for displaying operation information-based recommendation information on mobile devices |
CN103618956A (en) * | 2013-11-13 | 2014-03-05 | 深圳市同洲电子股份有限公司 | Method for obtaining video associated information and mobile terminal |
CN104333773A (en) * | 2013-12-18 | 2015-02-04 | 乐视网信息技术(北京)股份有限公司 | A Video recommending method and server |
CN105120304A (en) * | 2015-08-31 | 2015-12-02 | 广州酷狗计算机科技有限公司 | Information display method, device and system |
-
2016
- 2016-07-20 CN CN201610574335.3A patent/CN106210755B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013037211A1 (en) * | 2011-09-16 | 2013-03-21 | 百度在线网络技术(北京)有限公司 | Method and device for displaying operation information-based recommendation information on mobile devices |
CN103618956A (en) * | 2013-11-13 | 2014-03-05 | 深圳市同洲电子股份有限公司 | Method for obtaining video associated information and mobile terminal |
CN104333773A (en) * | 2013-12-18 | 2015-02-04 | 乐视网信息技术(北京)股份有限公司 | A Video recommending method and server |
CN105120304A (en) * | 2015-08-31 | 2015-12-02 | 广州酷狗计算机科技有限公司 | Information display method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN106210755A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106210755B (en) | A kind of methods, devices and systems playing live video | |
CN106101736B (en) | A kind of methods of exhibiting and system of virtual present | |
CN106454404B (en) | A kind of methods, devices and systems playing live video | |
CN106331826B (en) | A kind of methods, devices and systems of setting live streaming template and video mode | |
CN105788612B (en) | A kind of method and apparatus detecting sound quality | |
CN106231433B (en) | A kind of methods, devices and systems playing network video | |
CN105549740B (en) | A kind of method and apparatus of playing audio-fequency data | |
CN106126174B (en) | A kind of control method and electronic equipment of scene audio | |
CN105979312B (en) | Information sharing method and device | |
CN107645682B (en) | The method and system being broadcast live | |
CN106686396A (en) | Method and system for switching broadcasting rooms | |
CN106488296B (en) | A kind of method and apparatus showing video barrage | |
CN106791955B (en) | A kind of method and system of determining live streaming duration | |
CN105959482B (en) | A kind of control method and electronic equipment of scene audio | |
CN105898606B (en) | A kind of method, apparatus and system voted | |
CN105959481B (en) | A kind of control method and electronic equipment of scene audio | |
CN106328176B (en) | A kind of method and apparatus generating song audio | |
CN106210919A (en) | A kind of main broadcaster of broadcasting sings the methods, devices and systems of video | |
CN105530239B (en) | Multi-medium data acquisition methods and device | |
CN105185401B (en) | The method and device of synchronized multimedia listed files | |
CN106303605B (en) | A kind of methods, devices and systems to send a notification message | |
CN109756767A (en) | Preview data playback method, device and storage medium | |
CN106101764A (en) | A kind of methods, devices and systems showing video data | |
CN105047185B (en) | A kind of methods, devices and systems obtaining audio accompaniment | |
CN106791916B (en) | Method, device and system for recommending audio data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17 Applicant after: Guangzhou KuGou Networks Co., Ltd. Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F Applicant before: Guangzhou KuGou Networks Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |