WO2021148018A1 - 直播互动方法及设备 - Google Patents

直播互动方法及设备 Download PDF

Info

Publication number
WO2021148018A1
WO2021148018A1 PCT/CN2021/073417 CN2021073417W WO2021148018A1 WO 2021148018 A1 WO2021148018 A1 WO 2021148018A1 CN 2021073417 W CN2021073417 W CN 2021073417W WO 2021148018 A1 WO2021148018 A1 WO 2021148018A1
Authority
WO
WIPO (PCT)
Prior art keywords
live broadcast
live
room
broadcast room
terminal
Prior art date
Application number
PCT/CN2021/073417
Other languages
English (en)
French (fr)
Inventor
张洋
Original Assignee
北京达佳互联信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Priority to EP21743737.5A priority Critical patent/EP4033771A4/en
Publication of WO2021148018A1 publication Critical patent/WO2021148018A1/zh
Priority to US17/709,124 priority patent/US11825134B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26283Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for associating distribution time parameters to content, e.g. to generate electronic program guide data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2665Gathering content from different sources, e.g. Internet and satellite
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • H04N21/6547Transmission by server directed to the client comprising parameters, e.g. for client setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server

Definitions

  • the present disclosure relates to the field of Internet technology, and in particular, to a live broadcast interactive method and device.
  • the embodiments of the present disclosure provide a live interactive method and device.
  • the technical solutions of the present disclosure are as follows:
  • a live broadcast interaction method including:
  • the first terminal requesting to join the first live room is added to the second live room, where the first live room is a live room that broadcasts live data of multiple live rooms, and the target time
  • the range is the time range for the first live broadcast room to rebroadcast the second live broadcast data of the second live broadcast room, and the first terminal is the terminal used by the audience account;
  • the modification request carries the first live room information and is used to request the first terminal to update the first live room information.
  • the second live broadcast room information of the second live broadcast room is modified to the first live broadcast room information;
  • the interaction request In response to receiving the interaction request of the first terminal, the interaction request carries an interaction message, and the interaction message is broadcast to the second live broadcast room.
  • adding the first terminal requesting to join the first live broadcast room to the second live broadcast room includes:
  • the time range of any live broadcast room is the time range for the first live broadcast room to rebroadcast the live data of the any live broadcast room;
  • the first terminal In response to determining that the current time is within the target time range according to the time range of each live broadcast room, the first terminal is added to the second live broadcast room.
  • adding the first terminal requesting to join the first live broadcast room to the second live broadcast room includes:
  • the first live broadcast A terminal migrates from the third live broadcast room to the second live broadcast room;
  • the third live broadcast room is a live broadcast room before the first live broadcast room rebroadcasts the second live broadcast data.
  • the migrating the first terminal from the third live broadcast room to the second live broadcast room includes:
  • the second live broadcast room identifier of the second live broadcast room to be migrated is selected from the live broadcast room list of the first live broadcast room, and the live broadcast room list includes the rebroadcast live broadcast The sequence of each live room identification of the data;
  • the first terminal is migrated from the third live broadcast room to the second live broadcast room.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the step of migrating the first terminal from the third live broadcast room to the second live broadcast room is performed .
  • adding the first terminal requesting to join the first live broadcast room into the second live broadcast room includes:
  • the first terminal is added to the second live broadcast room.
  • a live interaction method including:
  • the modification request carries information about the first live broadcast room of the first live broadcast room, and the first live broadcast room is a live broadcast room that rebroadcasts live data of multiple live broadcast rooms;
  • the modification request by modifying the second live broadcast room information of the currently joined second live broadcast room to the first live broadcast room information, virtualize the second live broadcast room as the first live broadcast room;
  • an interactive request is sent to the server, the interactive request carries the interactive message, and the interactive request is used to request the server to broadcast the interactive message to the second live broadcast between.
  • the method before the receiving the modification request sent by the server, the method further includes:
  • the live broadcast main interface including the first live broadcast room identifier of the first live broadcast room;
  • a join request is sent to the server, the joining request carries the first live broadcast room identifier, and the server is configured to determine the first live broadcast room identifier according to the first live broadcast room identifier.
  • the first live broadcast room rebroadcasts the second live broadcast data of the second live broadcast room at the current time, adds the current first terminal to the second live broadcast room, and sends the modification request to the first terminal.
  • the method before the receiving the modification request sent by the server, the method further includes:
  • the server In response to receiving the second live broadcast data of the second live broadcast room forwarded by the server, switching from playing the third live broadcast data to playing the second live broadcast data, the second live broadcast data being determined by the server If the current time reaches the time when the first live broadcast room rebroadcasts the live broadcast data of the second live broadcast room, the third live broadcast room is the live broadcast room before the first live broadcast room rebroadcasts the second live broadcast data.
  • the Methods in response to receiving the second live broadcast data of the second live broadcast room forwarded by the server, before switching the playing of the third live data to playing the second live data, the Methods also include:
  • switching the playing of the third live broadcast data to the playing of the second live broadcast data includes:
  • the modification request sent by the server is received, and according to the modification request, the second live room information of the currently joined second live room is modified to the first live room information of the first live room, and in response to the received
  • the input interactive message sends an interactive request to the server.
  • the interactive request carries the interactive message and is used to request the server to forward the interactive message to the third terminal in the first live broadcast room.
  • the third terminal is the virtual host used by the virtual host in the first live broadcast room. terminal.
  • the second live room information of the second live broadcast room is modified to the first live broadcast room information
  • the second live broadcast room is virtualized as the first live broadcast room, so that the audience account thinks that they have entered the first live broadcast room; and, because the second live broadcast There is an anchor account in the time, so the user can directly interact with the anchor account of the second live broadcast room using the second terminal, which improves the enthusiasm of the user interaction.
  • a live interactive device including:
  • the joining module is configured to execute, in response to the current time being within the target time range, adding the first terminal requesting to join the first live room to the second live room, and the first live room is the one that rebroadcasts the live data of multiple live rooms
  • the target time range is a time range for the first live broadcast room to rebroadcast the second live broadcast data of the second live broadcast room
  • the first terminal is a terminal used by a viewer account
  • the first sending module is configured to perform acquisition of the first live room information of the first live room, and send a modification request to the first terminal, where the modification request carries the first live room information and is used to request
  • the first terminal modifies the second live room information of the second live room to the first live room information
  • the interaction module is configured to execute in response to receiving an interaction request from the first terminal, the interaction request carrying an interaction message, and broadcasting the interaction message to the second live broadcast room.
  • a live interactive device including:
  • the receiving module is configured to perform receiving a modification request sent by the server, the modification request carrying information of a first live broadcast room of a first live broadcast room, and the first live broadcast room is a live broadcast room that broadcasts live data of multiple live broadcast rooms ;
  • the modification module is configured to execute, according to the modification request, by modifying the second live room information of the currently joined second live room to the first live room information, and virtualize the second live room as the first live room.
  • the second sending module is configured to perform an interaction request to the server in response to receiving an inputted interaction message, the interaction request carrying the interaction message, and the interaction request is used to request the server to transfer the interaction
  • the message is broadcast to the second live broadcast room.
  • a server including: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to execute the instructions , In order to realize the live interactive method described in the above aspect.
  • a terminal including: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to execute the instructions , In order to realize the live interactive method described in the above aspect.
  • a storage medium is provided, and instructions in the storage medium are executed by a processor of a server, so that the server can execute the live interaction method described in the above aspect.
  • a storage medium is provided, and instructions in the storage medium are executed by a processor of a terminal, so that the terminal can execute the live interaction method described in the above aspect.
  • a computer program product is provided, and instructions in the computer program product are executed by a processor of a server, so that the server can execute the live interaction method described in the above aspect.
  • a computer program product is provided, and instructions in the computer program product are executed by a processor of a terminal, so that the terminal can execute the live interactive method described in the above aspect.
  • Fig. 1 is a schematic diagram showing an implementation environment according to an embodiment
  • Fig. 2 is a flow chart of a live interactive method according to an embodiment
  • Fig. 3 is a flow chart of a live interactive method according to an embodiment
  • Fig. 4 is an interaction flowchart of a live broadcast interaction method according to an embodiment
  • Fig. 5 is a schematic diagram of a live broadcast main interface according to an embodiment
  • Fig. 6 is an interaction flowchart of a live broadcast interaction method according to an embodiment
  • Fig. 7 is a block diagram showing a live interactive device according to an embodiment
  • Fig. 8 is a block diagram of a live interactive device according to an embodiment
  • Fig. 9 is a block diagram showing a live interactive device according to an embodiment
  • Fig. 10 is a block diagram showing a terminal according to an embodiment
  • Fig. 11 is a block diagram showing a server according to an embodiment.
  • the user information involved in this disclosure is information authorized by the user or fully authorized by all parties.
  • Fig. 1 is a schematic diagram showing an implementation environment according to an embodiment.
  • the implementation environment includes a first terminal 101, a second terminal 102, and a server 103.
  • the first terminal 101 is a terminal used by the viewer account
  • the second terminal 102 is a terminal used by the host account.
  • the first terminal 101 and the server 103 are connected through a wireless or wired network; the second terminal 102 and the server 102 are connected through a wireless or wired network.
  • the first terminal 101 and the second terminal 102 are equipped with a client provided by the server 103.
  • the audience account of the first terminal 101 realizes functions such as data transmission and message interaction between the client and the server 104.
  • the second terminal The host account of 102 implements functions such as data transmission and message interaction between the client and server 104; the viewer account of the first terminal 101 and the host account of the second terminal 102 interact through the client.
  • the client is any client that may perform live broadcast.
  • the client is a live broadcast client or a short video client.
  • the first terminal 101 and the second terminal 102 are mobile phones, tablet computers or other electronic devices.
  • the server 103 is a server, or a server cluster composed of several servers, or a cloud computing service center.
  • Fig. 2 is a flow chart of a live interactive method according to an embodiment. Referring to Figure 2, the method includes the following steps:
  • step S201 in response to the current time being within the target time range, the first terminal requesting to join the first live broadcast room is added to the second live broadcast room.
  • the first live broadcast room is a live broadcast room that retransmits live data of multiple live broadcast rooms
  • the target The time range is the time range for the first live broadcast room to rebroadcast the second live broadcast data of the second live broadcast room
  • the first terminal is the terminal used by the viewer account.
  • step S202 the first live room information of the first live room is acquired, and a modification request is sent to the first terminal.
  • the modification request carries the first live room information and is used to request the first terminal to change the second live room information of the second live room.
  • the live room information is modified to the first live room information.
  • step S203 in response to receiving an interaction request from the first terminal, the interaction request carries an interaction message, and the interaction message is broadcast to the second live broadcast room.
  • adding the first terminal requesting to join the first live broadcast room to the second live broadcast room includes:
  • the time range of multiple live broadcast rooms determines the time range of multiple live broadcast rooms, and the time range of any live broadcast room is the time range of the first live broadcast room to rebroadcast live data of any live broadcast room;
  • the first terminal In response to determining that the current time is within the target time range according to the time range of each live broadcast room, the first terminal is added to the second live broadcast room.
  • adding the first terminal requesting to join the first live broadcast room to the second live broadcast room includes:
  • the first terminal In the process of forwarding the third live broadcast data of the third live broadcast room to the first terminal, in response to the current time reaching the start time of the first live broadcast room to broadcast the second live broadcast data, the first terminal is migrated from the third live broadcast room to the second live broadcast between;
  • the third live broadcast room is the live broadcast room before the first live broadcast room broadcasts the second live broadcast data.
  • migrating the first terminal from the third live broadcast room to the second live broadcast room includes:
  • the third live room identifier of the third live room select the second live room identifier of the second live room to be migrated from the live room list of the first live room.
  • the live room list includes each live room that broadcasts live data. The order of identification;
  • the first terminal is migrated from the third live broadcast room to the second live broadcast room.
  • the method further includes:
  • the buffer animation is sent to the first terminal.
  • the method further includes:
  • the step of migrating the first terminal from the third live broadcast room to the second live broadcast room is performed.
  • the method further includes:
  • the step of migrating the first terminal from the third live broadcast room to the second live broadcast room is performed.
  • adding the first terminal requesting to join the first live broadcast room to the second live broadcast room includes:
  • the first terminal is added to the second live broadcast room.
  • the first terminal requesting to join the first live broadcast room is added to the second live broadcast room; the first live broadcast room information of the first live broadcast room is obtained, and the first terminal Send a modification request, which carries the first live room information, and is used to request the first terminal to modify the second live room information of the second live room to the first live room information, and receive the interaction request of the first terminal. Request to carry an interactive message, and broadcast the interactive message to the second live broadcast room.
  • the second live room information of the second live broadcast room is modified to the first live broadcast room information
  • the second live broadcast room is virtualized as the first live broadcast room, so that the audience account thinks that they have entered the first live broadcast room; and, because of the second live broadcast There is an anchor account in the room, so the user can directly interact with the anchor account of the second live room using the second terminal.
  • the first live room is equivalent to a virtual live room, and the first live room is created by the server.
  • the audience account is actually constantly entering different live broadcast rooms. After users enter different live broadcast rooms, the live room information in the live room is always the first live room information. Therefore, for the user, the information in this live broadcast room has not changed. The user seems to be in the first live broadcast room all the time, and the process of the first terminal joining the first live broadcast room is actually the server migrating the first terminal to the second live broadcast. Time, and the process of data migration.
  • Fig. 3 is a flow chart showing another method of live interaction according to an embodiment. Referring to Figure 3, the method includes the following steps:
  • step S301 a modification request sent by the server is received, and the modification request carries the information of the first live broadcast room of the first live broadcast room, and the first live broadcast room is a live broadcast room that broadcasts live data of multiple live broadcast rooms.
  • step S302 according to the modification request, the second live broadcast room is virtualized as the first live broadcast room by modifying the information of the second live broadcast room currently added to the second live broadcast room to the first live broadcast room information.
  • step S303 an interaction request is made to the server, the interaction request carries an interaction message, and the interaction request is used to request the server to broadcast the interaction message to the second live broadcast room.
  • the method before receiving the modification request sent by the server, the method further includes:
  • Show the live broadcast main interface which includes the first live room logo of the first live room;
  • a joining request is sent to the server.
  • the joining request carries the first live room identification.
  • the server is used to determine the first live room to broadcast the second live room at the current time according to the first live room identification.
  • the second live broadcast data, the current first terminal is added to the second live broadcast room, and the modification request is sent to the first terminal.
  • the method before receiving the modification request sent by the server, the method further includes:
  • the third live broadcast data of the third live broadcast room forwarded by the playback server;
  • the third live broadcast data is switched to the second live broadcast data.
  • the second live broadcast data indicates that the server determines that the current time reaches the first live broadcast room and broadcasts the second live broadcast room If the time of the live broadcast data is returned, the third live broadcast room is the live broadcast room before the first live broadcast broadcast the second live broadcast data.
  • the method in response to receiving the second live broadcast data of the second live broadcast room forwarded by the server, before switching the playing of the third live data to the playing of the second live data, the method further includes:
  • switching the playing of the third live broadcast data to the playing of the second live broadcast data includes:
  • the modification request sent by the server is received, and according to the modification request, the second live room information of the currently joined second live room is modified to the first live room information of the first live room, and in response to the received
  • the input interactive message is an interactive request to the server, the interactive request carries the interactive message, and the interactive request is used to request the server to broadcast the interactive message to the second live broadcast room.
  • the second live room information of the second live broadcast room is modified to the first live broadcast room information
  • the second live broadcast room is virtualized as the first live broadcast room, so that the audience account thinks that they have entered the first live broadcast room; and, because the second live broadcast There is an anchor account in the time, so the user can directly interact with the anchor account of the second live broadcast room using the second terminal, which improves the enthusiasm of the user for interaction.
  • the direct broadcast method in the related technology is to display the contents of multiple live broadcast rooms in chronological order to form a brand-new live broadcast room content. For example, rebroadcast the live data of live room B to live room A from 9 am to 10 am, and rebroadcast the live data of live room C to live room A from 10 am to 11 am, and at 11 am By 12 o'clock in the morning, broadcast the live data of live room D to live room A.
  • the interaction of viewer accounts in the live room can only be received by the host account of the current live room, and cannot cross the live room. Because the content of live room A is the retweeted content of live room B, C, and D; there is no anchor account in live room A; therefore, audience accounts in live room A cannot be interacted with.
  • the method of rebroadcasting live broadcast data is not used to realize that the audience account entering one live broadcast room can watch the content of multiple live broadcast rooms; instead, the viewer account is allowed to directly enter the live broadcast rooms B, C, and D, and respond to the live broadcast.
  • the display on the audience side of the room has been modified to make the audience account think that it has entered the live room A. For example, from 9 a.m. to 10 a.m., the live data of live room B should be rebroadcast to live room A.
  • the audience account is added to live room B, and the live room information of live room B is changed to live room A.
  • the live data of live room C should be rebroadcast to live room A.
  • the audience account to live room C, and modify the live room information of live room C to that of live room A.
  • the live broadcast room information so that the user thinks that they have entered the live broadcast room A, and can also interact with the anchor at this time.
  • the live data of live room D should be rebroadcast to live room A.
  • Fig. 4 is a flow chart showing another method for live interaction according to an embodiment.
  • the process of requesting to join the live broadcast room by the audience account is taken as an example for description.
  • the method includes the following steps:
  • step S401 the first terminal displays the live broadcast main interface, and the live broadcast main interface includes the first live broadcast room identifier of the first live broadcast room.
  • the first live room is a live room that broadcasts live data of multiple live rooms; the live broadcast main interface includes at least the first live room identifier of the first live room. In some embodiments, the live broadcast main interface also includes the live broadcast duration of the first live broadcast room, a brief introduction to the live broadcast content, the target time range of each live broadcast room rebroadcast in the first live broadcast room, and the host information of each live broadcast room that is rebroadcast. One or more of them.
  • the first live room is live room A (singing and dancing special live room), and live room A rebroadcasts the live data of live room B from 9 am to 10 am, and from 10 am to 11 am Rebroadcast the live data of live room C, and rebroadcast the live data of live room D from 11 a.m. to 12 a.m.
  • the main interface of the live broadcast at least includes the logo of the live broadcast room A.
  • the live broadcast main interface also includes the live broadcast duration of the first live broadcast room: 3 hours.
  • the content of the live broadcast beauty
  • the target time range of each live broadcast room the target time of the live broadcast room B
  • the range is from 9 am to 10 am + the target time range of live room C is from 10 am to 11 am + the target time range of live room D is from 11 am to 12 am
  • host information host B
  • the main live interface can not only display the identification of the first live broadcast room, but also display the live broadcast time length of the first live broadcast room, a brief introduction to the live broadcast content, and the target time range of each live broadcast room rebroadcasted in the first live broadcast room. , One or more of the host information of each live broadcast room being rebroadcast. Therefore, the viewer account can use the live broadcast information to select a suitable time period to watch the live broadcast in the first live broadcast room.
  • the first terminal can display the live broadcast main interface through the live broadcast application.
  • the first terminal displaying the live broadcast main interface includes that the first terminal starts the live broadcast application in response to the live broadcast application identifier being triggered, and displays the live broadcast main interface on the display interface of the live broadcast application.
  • the live broadcast main interface includes the first live broadcast room identifier of the first live broadcast room.
  • step S402 in response to the first live broadcast room identifier being triggered, the first terminal sends a joining request to the server, and the joining request carries the first live broadcast room identifier.
  • the viewer account can enter the first live broadcast room to watch the live broadcast by triggering the first live broadcast room identifier.
  • this step is: the user clicks on the first live broadcast room identifier, and the first terminal sends a joining request to the server in response to the first live broadcast room identifier being triggered, and the joining request carries at least the first live broadcast room identifier.
  • the joining request also carries one or more of the audience account, user level, and user authority information of the first terminal.
  • the first terminal in response to the first live broadcast room identifier being triggered, directly sends a join request to the server.
  • the first terminal in response to the first live broadcast room identifier being triggered, directly sends a join request to the server in response to the first live broadcast room identifier being triggered, which reduces the delay and improves the responsiveness.
  • the first terminal does not directly send a join request to the server in response to the first live broadcast room identifier being triggered, but first determines whether the first terminal meets the target conditions for watching the live broadcast; The first terminal sends the joining request to the server according to the target condition of the live broadcast; in response to the first terminal not meeting the target condition of watching the live broadcast, the first terminal does not send the joining request to the server.
  • the target condition is: the network environment is a WiFi (Wireless-Fidelity, wireless local area network) environment or the package of the mobile network is an unlimited package, etc.
  • WiFi Wireless-Fidelity, wireless local area network
  • the first terminal sends a join request to the server only when the first terminal meets the target conditions for watching the live broadcast, which can ensure that the user's property is not lost.
  • the first terminal in response to the first terminal not meeting the target condition for watching the live broadcast, the first terminal first displays a prompt message; in response to receiving the user's confirmation operation on the prompt message, it sends a join request to the server.
  • step S403 the server receives the joining request sent by the first terminal, and determines the time range of the multiple live broadcast rooms according to the first live broadcast room identifier.
  • the server stores a live room list of the first live room, and the live room list includes the time range of multiple live rooms in which the first live room retransmits the live data.
  • the server determines the time range of multiple live broadcast rooms from the list of live broadcast rooms.
  • the time range of any live room is the time range of the first live room to rebroadcast the live data of any live room.
  • the live room list of live room A is shown in Table 1 below:
  • Live Room B 9:00 am-10:00 am Live Room C 10 a.m.-11 a.m. Live room D 11 a.m.-12 a.m.
  • the joining request is sent before the first live broadcast room starts live broadcast. In some embodiments, the joining request is sent after the first live broadcast room starts live broadcast. Correspondingly, in response to the joining request being sent before the first live broadcast room starts live broadcast, the server determines the time range of the multiple live broadcast rooms according to the first live broadcast room identifier.
  • the server determines the time range of the multiple live broadcast rooms that are live broadcast and the multiple live broadcast rooms that are not live broadcast among the multiple live broadcast rooms according to the first live broadcast room identifier.
  • the list of live broadcast rooms rebroadcasted by live room A is as shown in Table 1.
  • the request to join is sent at 10:30 in the morning, and the join request is sent after the first live broadcast room starts live broadcast, then the server determines the live broadcast room that is currently live broadcast The time range of C and the time range of live room D that are not broadcast live.
  • the server in response to the joining request being sent after the first live broadcast room starts live broadcast, the server only determines the time range of the multiple live broadcast rooms that are live broadcast and the multiple live broadcast rooms that are not live broadcast, so as to avoid invalid acquisition. information.
  • step S404 in response to determining that the current time is within the target time range according to the time range of each live broadcast room, the server adds the first terminal requesting to join the first live broadcast room to the second live broadcast room.
  • the time sequences corresponding to the time ranges of the multiple live broadcast rooms are different, and the first live broadcast room rebroadcasts the multiple live broadcast rooms in chronological order.
  • the second live room is the live room that the first live room is broadcasting at the current time.
  • the target time range is a time range for the first live broadcast room to rebroadcast the second live broadcast data of the second live broadcast room.
  • the time range of live room B is from 9 am to 10 am
  • the time range of live room C is from 10 am to 11 am
  • the time range of live room D is from 11 am to 12 am.
  • the current time is 10:30 in the morning.
  • the server determines that 10:30 am within the time range of live room C, and the server will be the first The terminal joins the live broadcast room C.
  • the server adding the first terminal requesting to join the first live room to the second live room includes: the server obtains the user ID of the user and the second live room identifier of the second live room; according to the second live room identifier , Determine the second live broadcast room; add the first terminal to the second live broadcast room according to the user ID.
  • the server stores the corresponding relationship between the user ID and the first terminal.
  • the server adds the first terminal to the second live broadcast room according to the user ID, including the server obtaining the user ID of the user, and from In the stored correspondence between the user ID and the first terminal, the first terminal corresponding to the user ID is determined; the first terminal is added to the second live broadcast room.
  • step S405 the server forwards the second live broadcast data of the second live broadcast room to the first terminal.
  • the second terminal collects the second live broadcast data of the host account in the second live broadcast room, and sends the second live broadcast data to the server; the server receives the second live broadcast data, and forwards the second live broadcast data to the first terminal.
  • the second terminal used by the anchor account of the live room C collects the second live broadcast data of the anchor account of the live room C, and the server receives the second live data.
  • the server after receiving the second live broadcast data, directly forwards the second live broadcast data to the first terminal. In some embodiments, after receiving the second live broadcast data, the server processes the second live broadcast data into a data format matching the user level according to the user level of the viewer account of the first terminal, and forwards the processed data to the first terminal The second live broadcast data.
  • the server processes the second live broadcast data as high-resolution live data; if the user level is normal, the server processes the second live data as low-resolution live data , Or do not process the second live broadcast data.
  • step S406 the first terminal plays the second live broadcast data of the second live broadcast room forwarded by the server.
  • the first terminal receives the second live broadcast data, and plays the second live broadcast data in the live broadcast interface.
  • step S407 the server obtains the first live room information of the first live room, and sends a modification request to the first terminal.
  • the modification request carries the first live room information and is used to request the first terminal to change the first live room information of the second live room.
  • the second live room information is modified to the first live room information.
  • the first live broadcast room information includes one or more of the name of the first live broadcast room, the anchor nickname of the first live broadcast room, and the Logo (Logo, icon) of the first live broadcast room.
  • the second live broadcast room information includes one or more of the name of the second live broadcast room, the host nickname of the second live broadcast room, and the Logo of the second live broadcast room.
  • the server stores the corresponding relationship between the live broadcast room identifier and the live broadcast room information; correspondingly, the server obtains the first live broadcast room information of the first live broadcast room, including: the server obtains the information from the live broadcast room according to the first live broadcast room identifier.
  • the first live broadcast room information corresponding to the first live broadcast room identifier is determined.
  • step S408 the first terminal receives the modification request sent by the server, and according to the modification request, by modifying the second live room information of the currently accessed second live room to the first live room information, the second live room is virtually The first live broadcast room.
  • the first terminal modifies the second live room information of the second live room to the first live room information, and virtualizes the second live room as the first live room, so that the user thinks that they have entered the first live room.
  • steps S404-S405 are performed first, and then steps S406-S407 are performed, so that the second live broadcast data is first forwarded to the first terminal, and then the live broadcast room information is modified, so as to ensure that the user can enter the second live broadcast room. Watching the second live broadcast data improves the live broadcast responsiveness.
  • steps S406-S407 are performed first, and then steps S404-S405 are performed, so that the live room information is modified first, and then the second live broadcast data is forwarded to the first terminal, so that the live room information can be modified as early as possible to prevent users from discovering Entered the second live broadcast room, which increased user viscosity.
  • steps S404-S405 and steps S406-S407 are performed at the same time.
  • steps S406-S407 are to virtualize the second live broadcast room as the first live broadcast room by modifying the live broadcast room information.
  • the server can also hide the information of the live broadcast room to virtualize the second live broadcast room as the first live broadcast room; correspondingly, steps S406-S407 are replaced with:
  • the server sends a hiding request to the first terminal, where the hiding request is used to request the first terminal to hide the second live room information of the second live room.
  • the first terminal receives the hiding request and hides the information of the second live broadcast room.
  • the second live broadcast room is virtualized as the first live broadcast room by hiding the live broadcast room information, which makes the operation easier.
  • step S409 in response to receiving the input interactive message, the first terminal sends an interactive request to the server, and the interactive request carries the interactive message.
  • the interactive message includes one or more of comment information, emoticons, and virtual gift certificates.
  • the first terminal plays the second live data in the live interface, and the viewer account of the first terminal can watch the second live data in the live program; and the viewer account can communicate with the host account in the process of watching the second live data.
  • interactive In response to the audience account wanting to interact with the anchor account, an interactive message is input in the live broadcast interface; the first terminal obtains the input interactive message, and sends the interactive message to the server.
  • the interactive message includes comment information; the audience account enters the comment information in the input box of the live broadcast interface, and the first terminal receives the input comment information, and sends the comment information to the server.
  • the interactive message includes an emoticon package; the audience account selects an emoticon package from the emoticon packages in the live broadcast interface, and the first terminal receives the selected emoticon package and sends the emoticon package to the server.
  • the interactive message includes a virtual gift certificate; the audience account selects a virtual gift certificate from the virtual gift certificate library in the live broadcast interface, and the first terminal receives the selected virtual gift certificate and sends the virtual gift certificate to the server.
  • step S410 the server responds to receiving the interaction request of the first terminal, the interaction request carries an interaction message, and broadcasts the interaction message to the second live broadcast room.
  • the server broadcasts the interactive message to the second live broadcast room, including: the server obtains the audience account of the second live broadcast room and the live broadcast identifier of the second live broadcast in the second live broadcast room according to the second live broadcast room identifier of the second live broadcast room; The audience account sends the interactive message to the first terminal, and according to the anchor identifier, sends the interactive message to the second terminal.
  • the viewer account of the first terminal is used to interact with the host account of the second live room through the second live broadcast room; at this time, the viewer account of the first terminal is used to assume that it is joining the first live broadcast room.
  • the audience account thought it was interacting with the anchor in the first live broadcast room. That is, the first terminal interacts with the second terminal in the second live broadcast room, and virtually interacts with the third terminal in the first live broadcast room.
  • the second terminal is a terminal used by the anchor account in the second live broadcast room
  • the third terminal is a virtual terminal corresponding to the virtual anchor account in the first live broadcast room.
  • step 410 includes: the server receives the interaction request of the first terminal, and broadcasts the interaction message to the first live room and the second live room.
  • the server broadcasts the interactive message to the second live broadcast room first, and then broadcasts to the first live broadcast room. In some embodiments, the server broadcasts the interactive message to the first live broadcast room first, and then broadcasts to the second live broadcast room. In some embodiments, the server broadcasts the interactive message to the first live room and the second live room at the same time.
  • the server obtains the broadcast sequence according to the configuration information of the server; and broadcasts the interactive message to the first live room and the second live room according to the broadcast sequence.
  • the server in response to receiving the joining request of the first terminal requesting to join the first live broadcast room, the server directly adds the first terminal to the second live broadcast room being broadcasted, and adds the second live broadcast in the second live broadcast room.
  • the room information is modified to the information of the first live broadcast room, so that the second live room is virtualized as the first live room, making users think that they have joined the first live room, so that they can interact with the host account in the second live room, which improves users The enthusiasm for interaction.
  • Fig. 6 is a flow chart showing another method for live interaction according to an embodiment.
  • the description is taken as an example of the migration of the viewer account from one live broadcast room to another live broadcast room.
  • the method includes the following steps:
  • step S601 the server forwards the third live broadcast data of the third live broadcast room to the first terminal.
  • the third live broadcast room is the live broadcast room before the first live broadcast room broadcasts the second live broadcast data.
  • a user requests to join live room A, which originally wanted to rebroadcast live data of live room B, live room C, and live room D; according to the above embodiment, it is known that the server will add the first terminal to live room B; in the live room B watches the live broadcast data of live room B.
  • step S602 the first terminal plays the third live broadcast data of the third live broadcast room forwarded by the server.
  • step S406 This step is similar to step S406, and will not be repeated here.
  • the first terminal receives the live broadcast data of live room B, and plays the live broadcast data of live room B.
  • step S603 in the process that the server forwards the third live broadcast data of the third live broadcast room to the first terminal, in response to the current time reaching the start time of the second live broadcast of the first live broadcast room, the first terminal is transferred from the third live broadcast Moved to the second live broadcast room.
  • the server stores a list of live rooms of the first live room, and the list of live rooms of the first live room contains the time sequence between the second live room identifier and the third live room identifier.
  • migrating the first terminal from the third live broadcast room to the second live broadcast room includes: the server selects the second to be migrated from the live broadcast room list of the first live broadcast room according to the third live broadcast room identifier of the third live broadcast room.
  • the second live room identification of the live room includes the sequence of the identification of each live room that broadcasts live data; the terminal identification of the first terminal is determined according to the third live room identification; the first terminal is determined according to the second live room identification A terminal migrates from the third live broadcast room to the second live broadcast room.
  • the time range of live room B is from 9 am to 10 am
  • the time range of live room C is from 10 am to 11 am
  • the time range of live room D is from 11 am to 12 am.
  • the first terminal plays the live broadcast data of live room B.
  • the live broadcast data of live room C should be rebroadcast.
  • the server migrates the first terminal from live room B to live room C.
  • the live broadcast data of live room D should be rebroadcast.
  • the server migrates the first terminal from live room D to live room D.
  • the server migrates the first terminal from the third live broadcast room to the first live broadcast room
  • the server will sequentially migrate a single first terminal that has joined the third live broadcast room from the third live broadcast room according to the processing capabilities of the server.
  • the server migrates the multiple first terminals that have joined the third live broadcast room from the third live broadcast room in batches from the third live broadcast room to the second live broadcast room.
  • the server transfers a preset number of first terminals added to the third live broadcast room from the third live broadcast room in batches from the third live broadcast room to the second live broadcast room at one time.
  • the preset number is 10, 50, 100, etc.; in the embodiment of the present application, the preset number is not specifically limited, and can be set and changed as needed.
  • the server migrates the first terminal from the third live broadcast room to the first live broadcast room, according to the user level of the first terminal, the first terminal with the higher user level is preferentially migrated, and the first terminal with the lower user level is preferentially migrated.
  • the migration of the first terminal is postponed, so as to ensure that high-priority users can watch the first live broadcast data in the first live broadcast room as soon as possible.
  • the server migrates the first terminal from the third live broadcast room to the second live broadcast room. Second live room.
  • the server migrates the first terminal from the third live broadcast room to the second live broadcast room.
  • the server in response to the current time being within the second preset period of time before the start time, migrates the first terminal from the third live broadcast room to the second live broadcast room, thus avoiding network delays.
  • the server sends a buffered animation to the first terminal during the process of migrating the first terminal from the third live broadcast room to the second live broadcast room.
  • the first terminal receives the buffer animation and plays the buffer animation.
  • the buffered animation is used to indicate that the host is switching; for example, the buffered animation is used to indicate the loading animation.
  • step S604 is executed.
  • the server migrates the first terminal from the third live broadcast room to the second live broadcast room
  • the first terminal displays a buffered animation for the audience account, thereby alleviating the user's uncomfortable experience.
  • step S604 the server forwards the second live broadcast data of the second live broadcast room to the first terminal.
  • the second terminal in the second live broadcast room collects the second live broadcast data of the live broadcast user, and forwards the second live broadcast data to the server.
  • the server receives the second live broadcast data, and forwards the second live broadcast data to the first terminal.
  • the server migrates the first terminal from the live broadcast room B to the live broadcast room C
  • the server forwards the live broadcast data of the live broadcast room C to the first terminal.
  • the server sends the third live broadcast data and the second live broadcast of the third live broadcast room to the first terminal within the first preset time period before migrating the first terminal from the third live broadcast room to the second live broadcast room.
  • the second live broadcast data in the live broadcast room in response to the first terminal receiving the quality parameter of the second live broadcast data in the second live broadcast room exceeding the preset threshold, the first terminal is migrated from the third live broadcast room to the second live broadcast room.
  • the time range of live room B is from 9 am to 10 am
  • the time range of live room C is from 10 am to 11 am
  • the time range of live room D is from 11 am to 12 am.
  • the server sends the live broadcast data of live room B and live broadcast data of live room C to the first terminal within the first preset time from 9:59 am to 10:00 am, so that the first terminal can pull the live room at the same time
  • the live broadcast data of B and live room C wait for the first terminal to completely pull the live data of live room C before migrating the first terminal from live room B to live room C.
  • the server can first determine whether the live broadcast user in the second live broadcast room has started live broadcast. In response to the user in the second live broadcast room having started the live broadcast, the server migrates the first terminal from the third live broadcast room to the second live broadcast room; in response to the live broadcast user in the second live broadcast room not starting the live broadcast, the first terminal is not The terminal migrates from the third live broadcast room to the second live broadcast room until the live broadcast user in the second live broadcast room has started the live broadcast. In addition, when the live broadcast user in the second live broadcast room has not yet started the live broadcast, the server notifies the live broadcast user in the third live broadcast room to continue the live broadcast, thereby avoiding the live broadcast gap caused by the switching of the live broadcast room.
  • the server determines that the live broadcast user in the second live broadcast room has not yet started the live broadcast; in response to the server having received the second live broadcast of the second live broadcast room For the live broadcast data, the server determines that the live broadcast user in the second live broadcast room has started the live broadcast.
  • the server in response to the server having received the second live broadcast data of the second live broadcast room, the server further determines whether the live broadcast user in the second live broadcast room has started live broadcast according to the second live broadcast data; Yu said that the live broadcast user in the second live broadcast room had already started the live broadcast, and only then did the first terminal move from the third live broadcast room to the second live broadcast room.
  • the server will only migrate the first terminal from the third live room to the second live room after the server determines that the live broadcast user in the second live room has already started the live broadcast, so as to ensure that the viewer accounts are migrated in and the live broadcast data is available Watch.
  • step S605 in response to receiving the second live broadcast data of the second live broadcast room forwarded by the server, the first terminal switches the playing of the third live data to the playing of the second live data.
  • the second live broadcast data is returned by the server after determining that the current time reaches the first live broadcast room to broadcast the live broadcast data of the second live broadcast room, and the third live broadcast room is the live broadcast room before the first live broadcast room broadcasts the second live broadcast data.
  • step S604 the server not only sends the second live broadcast data to the first terminal, but may also send the third live broadcast data.
  • the first terminal in response to the server sending only the second live data to the first terminal, the first terminal plays the second live data; in response to the server sending the second live data and the third live data to the first terminal, it continues to play the second live data.
  • Three live broadcast data In response to the quality parameter of the second live broadcast data exceeding the preset threshold, the playing of the third live broadcast data is switched to the playing of the second live broadcast data.
  • the live broadcast data in response to the quality parameter of the second live broadcast data exceeding the preset threshold, it indicates that the first terminal has completely pulled the second live broadcast data in the second live broadcast room, and the live broadcast data is switched at this time. It can reduce the lag of the live broadcast data in the live broadcast room, and improve the fluency.
  • the first terminal switches from playing the live data of the live room B to playing the live data of the live room C.
  • step S606 the server obtains the first live room information of the first live room, and sends a modification request to the first terminal.
  • the modification request carries the first live room information and is used to request the first terminal to change the first live room information of the second live room.
  • the second live room information is modified to the first live room information.
  • This step is the same as step S407, and will not be repeated here.
  • the server sends a modification request to the first terminal, the modification request carries the live room information of the live room A, and requests the first terminal to change the live room information of the live room C.
  • step S607 the first terminal receives the modification request sent by the server, and according to the modification request, by modifying the second live room information of the currently accessed second live room to the first live room information, the second live room is virtually The first live broadcast room.
  • step S408 This step is the same as step S408, and will not be repeated here.
  • the first terminal receives the modification request and modifies the live room information of the live room C to the live room information of the live room A, thus virtualizing the live room C as the live room A, so that the user thinks that the live room A has been added.
  • the first terminal responds that it is not the first time to switch between live broadcasts, that is, if the first terminal has already obtained the first live broadcast information, the server does not need to repeatedly send a modification request to the first terminal.
  • the first terminal in response to detecting that the first terminal migrates from the third live room to the second live room, the first terminal automatically modifies the second live room information of the second live room to the first live room information.
  • the audience account requests to join live room A, and live room A rebroadcasts the live data of live room B, live room C, and live room D; then in response to the server adding the first terminal to live room B, it sends the live room to the first terminal
  • the first terminal modifies the live room information of the live room B to the live room information of the live room A.
  • the server In response to the current time reaching the target time range of the live broadcast room C, the server directly migrates the first terminal from the live room B to the live room C; at this time, the server does not need to repeatedly send the live room information of the live room A to the first terminal, and responds The first terminal joins the live room C, and directly modifies the live room information of the live room C to the live room information of the live room A.
  • the server in response to the current time reaching the target time range of live room D, the server directly migrates the first terminal from live room C to live room D; at this time, the server does not need to repeatedly send the live room information of live room A to the first terminal.
  • the live room information of the live room D is directly modified to the live room information of the live room D.
  • step S608 in response to receiving the input interactive message, the first terminal sends an interactive request to the server, and the interactive request carries the interactive message.
  • This step is the same as step S409, and will not be repeated here.
  • step S609 the server responds to receiving the interaction request of the first terminal, the interaction request carries an interaction message, and broadcasts the interaction message to the second live broadcast room.
  • This step is the same as step S410, and will not be repeated here.
  • the first terminal when the first terminal joins the third live broadcast room, when the current time reaches the target time range for rebroadcasting the second live broadcast room, the first terminal is migrated from the third live broadcast room to the second live broadcast room And modify the information of the second live room of the second live room to the information of the first live room, thus making the second live room virtual as the first live room, making the user think that they have joined the first live room, so that the Interacting with the host account in the live broadcast room improves the enthusiasm of users for interaction.
  • Fig. 7 is a block diagram of a live interactive device according to an embodiment. Referring to Figure 7, the device includes:
  • the joining module 701 is configured to execute in response to the current time being within the target time range, adding the first terminal requesting to join the first live room to the second live room.
  • the first live room is a live broadcast that rebroadcasts live data from multiple live rooms.
  • the target time range is the time range of the first live broadcast room to rebroadcast the second live broadcast data in the second live broadcast room, and the first terminal is the terminal used by the audience account;
  • the first sending module 702 is configured to perform the acquisition of the first live broadcast room information of the first live broadcast room, and send a modification request to the first terminal.
  • the modification request carries the first live broadcast room information and is used to request the first terminal to broadcast the second live broadcast.
  • the information of the second live broadcast room is modified to the information of the first live broadcast room;
  • the interaction module 703 is configured to execute in response to receiving an interaction request from the first terminal, the interaction request carries an interaction message, and broadcasts the interaction message to the second live broadcast room.
  • the joining module 701 is further configured to execute a joining request sent by the first terminal.
  • the joining request carries the first live broadcast room identifier of the first live broadcast room; according to the first live broadcast room identifier, the first live broadcast room is determined to be rebroadcast.
  • the time range of the multiple live rooms of the live data in response to determining that the current time is within the target time range according to the time range of each live room, the first terminal is added to the second live room.
  • the joining module 701 is further configured to perform the process of forwarding the third live broadcast data of the third live broadcast room to the first terminal, in response to the current time reaching the start time of the second live broadcast data in the first live broadcast room , Migrate the first terminal from the third live broadcast room to the second live broadcast room; wherein, the third live broadcast room is the live broadcast room before the first live broadcast room broadcasts the second live broadcast data.
  • the adding module 701 is further configured to perform selection of the second live room of the second live room to be migrated from the list of the first live room according to the third live room identifier of the third live room Identification, the sequence of the identification of each live room that rebroadcasts live data is included in the live room list; the terminal identification of the first terminal is determined according to the third live room identification; the first terminal is migrated from the third live room according to the second live room identification Go to the second live broadcast room.
  • the first sending module 702 is further configured to execute the process of migrating the first terminal from the third live broadcast room to the second live broadcast room, sending the buffered animation to the first terminal.
  • the joining module 701 is further configured to execute sending the third live broadcast room to the first terminal within a first preset time period before the first terminal is migrated from the third live broadcast room to the second live broadcast room.
  • the third live broadcast data and the second live broadcast data in the second live broadcast room in response to the first terminal receiving the quality parameter of the second live broadcast data in the second live broadcast room exceeding the preset threshold, the first terminal is migrated from the third live broadcast room to the second live broadcast room.
  • Second live room is further configured to execute sending the third live broadcast room to the first terminal within a first preset time period before the first terminal is migrated from the third live broadcast room to the second live broadcast room.
  • the joining module 701 is also configured to perform receiving the second live broadcast data of the second live broadcast room; in response to the second live broadcast data being used to indicate that the host account of the second live broadcast room has started live broadcast, the first terminal Migrate from the third live room to the second live room.
  • the joining module 701 is also configured to execute the acquisition of the viewer account of the viewer account and the second live room identifier of the second live room; the second live room identifier is determined according to the second live room identifier; according to the viewer account, Add the first terminal to the second live room.
  • the first terminal requesting to join the first live broadcast room is added to the second live broadcast room; the first live broadcast room information of the first live broadcast room is obtained, and the first terminal Send a modification request, which carries the first live room information, and is used to request the first terminal to modify the second live room information of the second live room to the first live room information, and receive the interaction request from the first terminal, and the interaction request Carry interactive messages and broadcast the interactive messages to the second live broadcast room.
  • the second live room information of the second live broadcast room is modified to the first live broadcast room information
  • the second live broadcast room is virtualized as the first live broadcast room, so that the audience account thinks that they have entered the first live broadcast room; and, because of the second live broadcast There is an anchor account in the time, so the user can directly interact with the anchor account of the second live broadcast room using the second terminal, which improves the enthusiasm of the user's interaction.
  • Fig. 8 is a block diagram of a live interactive device according to an embodiment. Referring to Figure 8, the device includes:
  • the receiving module 801 is configured to execute a modification request sent by the receiving server, the modification request carries the information of the first live broadcast room of the first live broadcast room, and the first live broadcast room is a live broadcast room that relays live broadcast data of multiple live broadcast rooms;
  • the modification module 802 is configured to perform, according to the modification request, the second live room information of the currently joined second live room is modified to the first live room information, and the second live room is virtualized as the first live room;
  • the second sending module 803 is configured to perform an interactive request to the server in response to receiving the input interactive message, the interactive request carries the interactive message, and the interactive request is used to request the server to broadcast the interactive message to the second live broadcast room.
  • the device further includes:
  • the display module 804 is configured to execute the display of the live broadcast main interface, and the live broadcast main interface includes the first live broadcast room identifier of the first live broadcast room;
  • the second sending module 803 is also configured to execute in response to the first live room identification being triggered, sending a joining request to the server, the joining request carries the first live room identification, and the server is used to determine the first live broadcast according to the first live room identification Rebroadcast the second live broadcast data of the second live broadcast room at the current time, add the current first terminal to the second live broadcast room, and send a modification request to the first terminal.
  • the device further includes:
  • the playing module 805 is configured to perform the third live broadcast data of the third live broadcast room forwarded by the playing server; in response to receiving the second live broadcast data of the second live broadcast room forwarded by the server, switch the playing of the third live data to the second live broadcast
  • the live broadcast data, the second live broadcast data is returned by the server after determining that the current time reaches the first live broadcast room to broadcast the live broadcast data of the second live broadcast room, and the third live broadcast room is the live broadcast room before the first live broadcast room broadcasts the second live broadcast data.
  • the playing module 805 is further configured to execute the buffered animation sent by the receiving server and play the buffered animation.
  • the playing module 805 is further configured to receive the second live broadcast data and the third live broadcast data forwarded by the server; continue to play the third live broadcast data; in response to the quality parameter of the second live broadcast data exceeding the preset threshold, Switch the playing of the third live data to the playing of the second live data.
  • the modification request sent by the server is received, and according to the modification request, the second live room information of the currently joined second live room is modified to the first live room information of the first live room, and in response to the received
  • the input interactive message is an interactive request to the server, the interactive request carries the interactive message, and the interactive request is used to request the server to broadcast the interactive message to the second live broadcast room.
  • the second live room information of the second live broadcast room is modified to the first live broadcast room information
  • the second live broadcast room is virtualized as the first live broadcast room, so that the audience account thinks that they have entered the first live broadcast room; and, because of the second live broadcast There is an anchor account in the time, so the user can directly interact with the anchor account of the second live broadcast room using the second terminal, which improves the enthusiasm of the user's interaction.
  • the live interactive device provided in the above embodiment only uses the division of the above functional modules for example during live interaction.
  • the above functions can be allocated by different functional modules according to needs, i.e.
  • the internal structure of the server is divided into different functional modules to complete all or part of the functions described above.
  • the live interactive device provided in the above embodiment and the embodiment of the live interactive method belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
  • FIG. 10 shows a structural block diagram of a terminal 1000 provided by an embodiment of the present disclosure.
  • the terminal 1000 is: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic Video experts compress the standard audio level 4) Player, laptop or desktop computer.
  • the terminal 1000 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
  • the terminal 1000 includes a processor 1001 and a memory 1002.
  • the processor 1001 includes one or more processing cores, such as a 4-core processor, an 8-core processor, and so on.
  • the processor 1001 adopts at least one hardware form among DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array, Programmable Logic Array).
  • the processor 1001 includes a main processor and a co-processor.
  • the main processor is a processor used to process data in an awake state, and is also called a CPU (Central Processing Unit, central processing unit);
  • the coprocessor is a low-power processor used to process data in the standby state.
  • the processor 1001 is integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is responsible for rendering and drawing content that needs to be displayed on the display screen.
  • the processor 1001 further includes an AI (Artificial Intelligence) processor, and the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • the memory 1002 includes one or more computer-readable storage media, which are non-transitory.
  • the memory 1002 also includes high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1001 to implement the live interaction provided by the method embodiments of the present disclosure. method.
  • the terminal 1000 further includes: a peripheral device interface 1003 and at least one peripheral device.
  • the processor 1001, the memory 1002, and the peripheral device interface 1003 are connected by a bus or signal line.
  • Each peripheral device is connected to the peripheral device interface 1003 through a bus, a signal line or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 1004, a display screen 1005, a camera component 1006, an audio circuit 1007, a positioning component 1008, and a power supply 1009.
  • the peripheral device interface 1003 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1001 and the memory 1002.
  • the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1001, the memory 1002, and the peripheral device interface 1003 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 1004 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 1004 communicates with a communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 1004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on.
  • the radio frequency circuit 1004 communicates with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes but is not limited to: metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), wireless local area network and/or WiFi network.
  • the radio frequency circuit 1004 further includes a circuit related to NFC (Near Field Communication), which is not limited in the present disclosure.
  • the display screen 1005 is used to display a UI (User Interface, user interface).
  • the UI includes graphics, text, icons, videos, and any combination thereof.
  • the display screen 1005 is a touch display screen, and the display screen 1005 also has the ability to collect touch signals on or above the surface of the display screen 1005.
  • the touch signal is input to the processor 1001 as a control signal for processing.
  • the display screen 1005 is also used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
  • one display screen 1005 is provided with the front panel of the terminal 1000; in other embodiments, there are at least two display screens 1005, which are respectively provided on different surfaces of the terminal 1000 or in a folding design;
  • the display screen 1005 is a flexible display screen, which is arranged on the curved surface or the folding surface of the terminal 1000.
  • the display screen 1005 can also be set as a non-rectangular irregular pattern, that is, a special-shaped screen.
  • the display screen 1005 is made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
  • the camera assembly 1006 is used to capture images or videos.
  • the camera assembly 1006 includes a front camera and a rear camera.
  • the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
  • the camera assembly 1006 further includes a flash.
  • the flash is a single-color temperature flash or a dual-color temperature flash. Dual color temperature flash refers to a combination of warm light flash and cold light flash used for light compensation under different color temperatures.
  • the audio circuit 1007 includes a microphone and a speaker.
  • the microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input to the processor 1001 for processing, or input to the radio frequency circuit 1004 to implement voice communication.
  • the microphone is an array microphone or an omnidirectional acquisition microphone.
  • the speaker is used to convert the electrical signal from the processor 1001 or the radio frequency circuit 1004 into sound waves.
  • the speakers are traditional thin-film speakers, or piezoelectric ceramic speakers.
  • the speaker is a piezoelectric ceramic speaker, which can not only convert electrical signals into sound waves that are audible to humans, but also convert electrical signals into sound waves that are inaudible to humans for distance measurement and other purposes.
  • the audio circuit 1007 also includes a headphone jack.
  • the positioning component 1008 is used to locate the current geographic location of the terminal 1000 to implement navigation or LBS (Location Based Service, location-based service).
  • the positioning component 1008 is a positioning component based on the GPS (Global Positioning System, Global Positioning System) of the United States, the Beidou system of China, the Granus system of Russia, or the Galileo system of the European Union.
  • the power supply 1009 is used to supply power to various components in the terminal 1000.
  • the power source 1009 is alternating current, direct current, disposable batteries or rechargeable batteries.
  • the power supply 1009 includes a rechargeable battery that supports wired charging or wireless charging.
  • the rechargeable battery is also used to support fast charging technology.
  • the terminal 1000 further includes one or more sensors 1010.
  • the one or more sensors 1010 include, but are not limited to: an acceleration sensor 1011, a gyroscope sensor 1012, a pressure sensor 1013, a fingerprint sensor 1014, an optical sensor 1015, and a proximity sensor 1016.
  • the acceleration sensor 1011 detects the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1000. For example, the acceleration sensor 1011 is used to detect the components of gravitational acceleration on three coordinate axes.
  • the processor 1001 controls the display screen 1005 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1011.
  • the acceleration sensor 1011 is also used for the collection of game or user motion data.
  • the gyroscope sensor 1012 can detect the body direction and rotation angle of the terminal 1000, and the gyroscope sensor 1012 can cooperate with the acceleration sensor 1011 to collect the user's 3D actions on the terminal 1000.
  • the processor 1001 can implement the following functions according to the data collected by the gyroscope sensor 1012: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
  • the pressure sensor 1013 is disposed on the side frame of the terminal 1000 and/or the lower layer of the display screen 1005.
  • the pressure sensor 1013 is arranged on the side frame of the terminal 1000 and can detect the user's holding signal of the terminal 1000.
  • the processor 1001 performs left and right hand recognition or quick operation according to the holding signal collected by the pressure sensor 1013.
  • the pressure sensor 1013 is arranged on the lower layer of the display screen 1005, and the processor 1001 controls the operability controls on the UI interface according to the pressure operation of the user on the display screen 1005.
  • the operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
  • the fingerprint sensor 1014 is used to collect the user's fingerprint.
  • the processor 1001 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 1014, or the fingerprint sensor 1014 identifies the user's identity according to the collected fingerprint.
  • the processor 1001 authorizes the user to perform related sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings.
  • the fingerprint sensor 1014 is provided on the front, back or side of the terminal 1000.
  • the terminal 1000 is provided with a physical button or a manufacturer logo, and the fingerprint sensor 1014 is integrated with the physical button or the manufacturer logo.
  • the optical sensor 1015 is used to collect the ambient light intensity.
  • the processor 1001 controls the display brightness of the display screen 1005 according to the ambient light intensity collected by the optical sensor 1015. Specifically, in response to the high ambient light intensity, the display brightness of the display screen 1005 is increased; in response to the low ambient light intensity, the display brightness of the display screen 1005 is decreased.
  • the processor 1001 dynamically adjusts the shooting parameters of the camera assembly 1006 according to the ambient light intensity collected by the optical sensor 1015.
  • the proximity sensor 1016 also called a distance sensor, is usually arranged on the front panel of the terminal 1000.
  • the proximity sensor 1016 is used to collect the distance between the user and the front of the terminal 1000.
  • the processor 1001 controls the display screen 1005 to switch from the on-screen state to the off-screen state; in response to the proximity sensor 1016 It is detected that the distance between the user and the front of the terminal 1000 is gradually increasing, and the processor 1001 controls the display screen 1005 to switch from the on-screen state to the on-screen state.
  • FIG. 10 does not constitute a limitation on the terminal 1000, and can include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
  • a terminal is also provided, and the terminal includes:
  • a memory for storing processor executable instructions
  • the processor is configured to execute instructions and implement the following steps:
  • the modification request carries the information of the first live broadcast room of the first live broadcast room, and the first live broadcast room is a live broadcast room that broadcasts live data of multiple live broadcast rooms;
  • the modification request virtualize the second live room as the first live room by modifying the second live room information of the currently joined second live room into the first live room information;
  • an interactive request is made to the server, the interactive request carries the interactive message, and the interactive request is used to request the server to broadcast the interactive message to the second live broadcast room.
  • the processor is configured to execute instructions to implement the following steps:
  • Show the live broadcast main interface which includes the first live room logo of the first live room;
  • a joining request is sent to the server.
  • the joining request carries the first live room identification.
  • the server is used to determine the first live room to broadcast the second live room at the current time according to the first live room identification.
  • the second live broadcast data, the current first terminal is added to the second live broadcast room, and the modification request is sent to the first terminal.
  • the processor is configured to execute instructions to implement the following steps:
  • the third live broadcast data of the third live broadcast room forwarded by the playback server;
  • the third live broadcast data is switched to the second live broadcast data.
  • the second live broadcast data indicates that the server determines that the current time reaches the first live broadcast room and broadcasts the second live broadcast room If the time of the live broadcast data is returned, the third live broadcast room is the live broadcast room before the first live broadcast broadcast the second live broadcast data.
  • the processor is configured to execute instructions to implement the following steps:
  • the processor is configured to execute instructions to implement the following steps:
  • FIG. 11 is a block diagram of a server provided by an embodiment of the present disclosure.
  • the server 1100 may have relatively large differences due to different configurations or performance, and includes one or more processors (Central Processing Units, CPU) 1101 and one or one The foregoing memory 1102, where the memory 1002 is used to store executable instructions, and the processor 1101 is configured to execute the foregoing executable instructions to implement the following steps:
  • processors Central Processing Units, CPU
  • the foregoing memory 1102 where the memory 1002 is used to store executable instructions, and the processor 1101 is configured to execute the foregoing executable instructions to implement the following steps:
  • the first terminal requesting to join the first live room is added to the second live room.
  • the first live room is a live room that broadcasts live data from multiple live rooms
  • the target time range is the first The time range during which the live broadcast room rebroadcasts the second live broadcast data in the second live broadcast room, and the first terminal is the terminal used by the audience account;
  • the modification request carries the first live room information, and is used to request the first terminal to modify the second live room information of the second live room to the first One live room information;
  • the interaction request In response to receiving the interaction request of the first terminal, the interaction request carries an interaction message, and the interaction message is broadcast to the second live broadcast room.
  • the processor 1101 is configured to execute instructions to implement the following steps:
  • the time range of multiple live broadcast rooms determines the time range of multiple live broadcast rooms, and the time range of any live broadcast room is the time range of the first live broadcast room to rebroadcast live data of any live broadcast room;
  • the first terminal In response to determining that the current time is within the target time range according to the time range of each live broadcast room, the first terminal is added to the second live broadcast room.
  • the processor 1101 is configured to execute instructions to implement the following steps:
  • the first terminal In the process of forwarding the third live broadcast data of the third live broadcast room to the first terminal, in response to the current time reaching the start time of the first live broadcast room to broadcast the second live broadcast data, the first terminal is migrated from the third live broadcast room to the second live broadcast between;
  • the third live broadcast room is the live broadcast room before the first live broadcast room broadcasts the second live broadcast data.
  • the processor 1101 is configured to execute instructions to implement the following steps:
  • the third live room identifier of the third live room select the second live room identifier of the second live room to be migrated from the live room list of the first live room.
  • the live room list includes each live room that broadcasts live data. The order of identification;
  • the first terminal is migrated from the third live broadcast room to the second live broadcast room.
  • the processor 1101 is configured to execute instructions to implement the following steps:
  • the buffered animation is sent to the first terminal.
  • the processor 1101 is configured to execute instructions to implement the following steps:
  • the step of migrating the first terminal from the third live broadcast room to the second live broadcast room is performed.
  • the processor 1101 is configured to execute instructions to implement the following steps:
  • the step of migrating the first terminal from the third live broadcast room to the second live broadcast room is performed.
  • the processor 1101 is configured to execute instructions to implement the following steps:
  • the first terminal is added to the second live room.
  • a computer-readable storage medium is also provided, and the computer-readable storage medium stores instructions.
  • the instructions When the instructions are executed by a processor of a server, the server can perform the following steps:
  • the first terminal requesting to join the first live room is added to the second live room.
  • the first live room is a live room that broadcasts live data from multiple live rooms
  • the target time range is the first The time range during which the live broadcast room rebroadcasts the second live broadcast data in the second live broadcast room, and the first terminal is the terminal used by the audience account;
  • the modification request carries the first live room information, and is used to request the first terminal to modify the second live room information of the second live room to the first One live room information;
  • the interaction request In response to receiving the interaction request of the first terminal, the interaction request carries an interaction message, and the interaction message is broadcast to the second live broadcast room.
  • a computer-readable storage medium stores instructions. When the instructions are executed by a processor of a terminal, the terminal can perform the following steps:
  • the modification request carries the information of the first live broadcast room of the first live broadcast room, and the first live broadcast room is a live broadcast room that broadcasts live data of multiple live broadcast rooms;
  • the modification request virtualize the second live room as the first live room by modifying the second live room information of the currently joined second live room into the first live room information;
  • an interactive request is made to the server, the interactive request carries the interactive message, and the interactive request is used to request the server to broadcast the interactive message to the second live broadcast room.
  • computer-readable storage media are ROM (Read-Only Memory), RAM (Random Access Memory), CD-ROM (Compact Disc Read-Only Memory, CD-ROM), magnetic tape, Floppy disks and optical data storage devices, etc.
  • a computer program product is also provided.
  • the instructions in the computer program product are executed by the processor of the server, so that the server can execute the following steps:
  • the first terminal requesting to join the first live room is added to the second live room.
  • the first live room is a live room that broadcasts live data from multiple live rooms
  • the target time range is the first The time range during which the live broadcast room rebroadcasts the second live broadcast data in the second live broadcast room, and the first terminal is the terminal used by the audience account;
  • the modification request carries the first live room information, and is used to request the first terminal to modify the second live room information of the second live room to the first One live room information;
  • the interaction request In response to receiving the interaction request of the first terminal, the interaction request carries an interaction message, and the interaction message is broadcast to the second live broadcast room.
  • the processor is configured to execute instructions to implement the following steps:
  • the time range of multiple live broadcast rooms determines the time range of multiple live broadcast rooms, and the time range of any live broadcast room is the time range of the first live broadcast room to rebroadcast live data of any live broadcast room;
  • the first terminal In response to determining that the current time is within the target time range according to the time range of each live broadcast room, the first terminal is added to the second live broadcast room.
  • the processor is configured to execute instructions to implement the following steps:
  • the first terminal In the process of forwarding the third live broadcast data of the third live broadcast room to the first terminal, the first terminal is migrated from the third live broadcast room to the second live broadcast in response to the current time reaching the start time of the second live broadcast data in the first live broadcast room between;
  • the third live broadcast room is the live broadcast room before the first live broadcast room broadcasts the second live broadcast data.
  • the processor is configured to execute instructions to implement the following steps:
  • the third live room identifier of the third live room select the second live room identifier of the second live room to be migrated from the live room list of the first live room.
  • the live room list includes each live room that broadcasts live data. The order of identification;
  • the first terminal is migrated from the third live broadcast room to the second live broadcast room.
  • the processor is configured to execute instructions to implement the following steps:
  • the buffered animation is sent to the first terminal.
  • the processor is configured to execute instructions to implement the following steps:
  • the step of migrating the first terminal from the third live broadcast room to the second live broadcast room is performed.
  • the processor is configured to execute instructions to implement the following steps:
  • the step of migrating the first terminal from the third live broadcast room to the second live broadcast room is performed.
  • the processor is configured to execute instructions to implement the following steps:
  • the first terminal is added to the second live broadcast room.
  • a computer program product is also provided.
  • the instructions in the computer program product are executed by the processor of the terminal, so that the terminal can execute the following steps:
  • the modification request carries the information of the first live broadcast room of the first live broadcast room, and the first live broadcast room is a live broadcast room that broadcasts live data of multiple live broadcast rooms;
  • the modification request virtualize the second live room as the first live room by modifying the second live room information of the currently joined second live room into the first live room information;
  • an interactive request is made to the server, the interactive request carries the interactive message, and the interactive request is used to request the server to broadcast the interactive message to the second live broadcast room.
  • the processor is configured to execute instructions to implement the following steps:
  • Show the live broadcast main interface which includes the first live room logo of the first live room;
  • a joining request is sent to the server.
  • the joining request carries the first live room identification.
  • the server is used to determine the first live room to broadcast the second live room at the current time according to the first live room identification.
  • the second live broadcast data, the current first terminal is added to the second live broadcast room, and the modification request is sent to the first terminal.
  • the processor is configured to execute instructions to implement the following steps:
  • the third live broadcast data of the third live broadcast room forwarded by the playback server;
  • the third live broadcast data is switched to the second live broadcast data.
  • the second live broadcast data indicates that the server determines that the current time reaches the first live broadcast room and broadcasts the second live broadcast room If the time of the live broadcast data is returned, the third live broadcast room is the live broadcast room before the first live broadcast broadcast the second live broadcast data.
  • the processor is configured to execute instructions to implement the following steps:
  • the processor is configured to execute instructions to implement the following steps:

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本公开关于一种直播互动方法,属于互联网技术领域。该方法包括:响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,第一直播间为转播多个直播间的直播数据的直播间,目标时间范围为第一直播间转播第二直播间的第二直播数据的时间范围,第一终端为观众账号使用的终端; 获取第一直播间的第一直播间信息,向第一终端发送修改请求,该修改请求携带第一直播间信息,且用于请求第一终端将第二直播间的第二直播间信息修改为第一直播间信息,响应于接收到第一终端的互动请求,该互动请求携带互动消息,将该互动消息广播至第二直播间。

Description

直播互动方法及设备
本公开要求在2020年01月22日提交的申请号为202010075760.4的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及互联网技术领域,尤其涉及一种直播互动方法及设备。
背景技术
在直播业务快速发展之后,业务上已经不再局限于一个直播间的观众只观看这个直播间的内容。开始出现一种诉求,一个直播间的观众想要观看多个直播间的内容。此时,观众通过直播数据转播的方式,将多个直播间的内容按照时间上的顺序,进行依次展示,形成一个全新的直播间的内容。例如,直播间A的观众观看直播间B、C和D的内容;并且,在上午九点到上午十点将直播间B的直播数据转播给直播间A,在上午十点到上午十一点将直播间C的直播数据转播给直播间A,在上午十一点到上午十二点将直播间D的直播数据转播给直播间A。
发明内容
本公开实施例提供了一种直播互动方法及设备。本公开的技术方案如下:
根据本公开实施例的一方面,提供了一种直播互动方法,所述方法包括:
响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,所述第一直播间为转播多个直播间的直播数据的直播间,所述目标时间范围为所述第一直播间转播所述第二直播间的第二直播数据的时间范围,所述第一终端为观众账号使用的终端;
获取所述第一直播间的第一直播间信息,向所述第一终端发送修改请求,所述修改请求携带所述第一直播间信息,且用于请求所述第一终端将所述第二直播间的第二直播间信息修改为所述第一直播间信息;
响应于接收到所述第一终端的互动请求,所述互动请求携带互动消息,将所述互动消息广播至所述第二直播间。
在一些实施例中,所述响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,包括:
接收所述第一终端发送的加入请求,所述加入请求携带所述第一直播间的第一直播间标识;
根据所述第一直播间标识,确定所述多个直播间的时间范围,任一直播间的时间范围为所述第一直播间转播所述任一直播间的直播数据的时间范围;
响应于根据每个直播间的时间范围,确定所述当前时间在所述目标时间范围内,将所述第一终端加入所述第二直播间。
在一些实施例中,所述响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,包括:
向所述第一终端转发所述第三直播间的第三直播数据的过程中,响应于所述当前时间到达所述第一直播间转播所述第二直播数据的开始时间,将所述第一终端从所述第三直播间迁移到所述第二直播间;
其中,所述第三直播间为所述第一直播间转播所述第二直播数据之前的直播间。
在一些实施例中,所述将所述第一终端从所述第三直播间迁移到所述第二直播间,包括:
根据所述第三直播间的第三直播间标识,从所述第一直播间的直播间列表中选择待迁移的第二直播间的第二直播间标识,所述直播间列表中包括转播直播数据的每个直播间标识的顺序;
根据所述第三直播间标识,确定所述第一终端的终端标识;
根据所述第二直播间标识,将所述第一终端从所述三直播间迁移到所述第二直播间。
在一些实施例中,所述方法还包括:
在将所述第一终端从所述第三直播间迁移到所述第二直播间的过程中,向所述第一终端发送缓冲动画。
在另一种可能的实现方式中,所述方法还包括:
在将第一终端从所述第三直播间迁移到所述第二直播间之前的第一预设时长内,向所述第一终端发送所述第三直播间的第三直播数据和所述第二直播间的第二直播数据;
响应于所述第一终端接收所述第二直播间的第二直播数据的质量参数超过预设阈值,执行所述将第一终端从所述第三直播间迁移到所述第二直播间的步骤。
在一些实施例中,所述方法还包括:
接收所述第二直播间的第二直播数据;
响应于所述第二直播数据用于表示所述第二直播间的主播账号已经开始直播,执行所述将所述第一终端从所述第三直播间迁移到所述第二直播间的步骤。
在一些实施例中,所述将请求加入第一直播间的第一终端加入第二直播间,包括:
获取所述第二直播间的第二直播间标识;
根据所述第二直播间标识,确定所述第二直播间;
根据所述观众账号,将所述第一终端加入所述第二直播间。
根据本公开实施例的另一方面,提供了直播互动方法,所述方法包括:
接收所述服务器发送的修改请求,所述修改请求携带第一直播间的第一直播间信息,所述第一直播间为转播多个直播间的直播数据的直播间;
根据所述修改请求,通过将当前加入的第二直播间的第二直播间信息修改为所述第一直播间信息,将所述第二直播间虚拟为所述第一直播间;
响应于接收被输入的互动消息,向所述服务器发送互动请求,所述互动请求携带所述互动消息,且所述互动请求用于请求所述服务器将所述互动消息广播至所述第二直播间。
在一些实施例中,所述接收服务器发送的修改请求之前,所述方法还包括:
展示直播主界面,所述直播主界面包括所述第一直播间的第一直播间标识;
响应于所述第一直播间标识被触发,向所述服务器发送加入请求,所述加入请求携带所述第一直播间标识,所述服务器用于根据所述第一直播间标识,确定所述第一直播间在当前时间转播所述第二直播间的第二直播数据,将当前的第一终端加入所述第二直播间,以及向所述第一终端发送所述修改请求。
在一些实施例中,所述接收服务器发送的修改请求之前,所述方法还包括:
播放所述服务器转发的所述第三直播间的第三直播数据;
响应于接收到所述服务器转发的所述第二直播间的第二直播数据,将播放所述第三直播数据切换为播放所述第二直播数据,所述第二直播数据为所述服务器确定当前时间到达所述第一直播间转播所述第二直播间的直播数据的时间返回的,所述第三直播间为所述第一直播间转播所述第二直播数据之前的直播间。
在一些实施例中,所述响应于接收到所述服务器转发的所述第二直播间的第二直播数据,将播放所述第三直播数据切换为播放所述第二直播数据之前,所述方法还包括:
接收所述服务器发送的缓冲动画,播放所述缓存动画。
在一些实施例中,所述响应于接收到所述服务器转发的所述第二直播间的第二直播数据,将播放所述第三直播数据切换为播放所述第二直播数据,包括:
接收所述服务器转发的所述第二直播数据和所述第三直播数据;
继续播放所述第三直播数据;
响应于所述第二直播数据的质量参数超过预设阈值,将播放所述第三直播数据切换为播放所述第二直播数据。
在本申请实施例中,接收服务器发送的修改请求,根据该修改请求,将当前加入的第二直播间的第二直播间信息修改为第一直播间的第一直播间信息,响应于接收被输入的互动消息,向服务器发送互动请求,互动请求携带互动消息,且用于请求服务器将互动消息转发给第一直播间的第三终端,第三终端为第一直播间的虚拟主播使用的虚拟终端。由于将第二直播间的第二直播间信息修改为第一直播间信息,从而将第 二直播间虚拟成第一直播间,使得观众账号以为进入了第一直播间;并且,由于第二直播间中有主播账号,因此,用户可以与使用第二终端的第二直播间的主播账号直接进行互动,提高了用户互动的积极性。
根据本公开实施例的另一方面,提供了一种直播互动装置,所述装置包括:
加入模块,被配置为执行响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,所述第一直播间为转播多个直播间的直播数据的直播间,所述目标时间范围为所述第一直播间转播所述第二直播间的第二直播数据的时间范围,所述第一终端为观众账号使用的终端;
第一发送模块,被配置为执行获取所述第一直播间的第一直播间信息,向所述第一终端发送修改请求,所述修改请求携带所述第一直播间信息,且用于请求所述第一终端将所述第二直播间的第二直播间信息修改为所述第一直播间信息;
互动模块,被配置为执行响应于接收到所述第一终端的互动请求,所述互动请求携带互动消息,将所述互动消息广播至所述第二直播间。
根据本公开实施例的另一方面,提供了一种直播互动装置,所述装置包括:
接收模块,被配置为执行接收所述服务器发送的修改请求,所述修改请求携带第一直播间的第一直播间信息,所述第一直播间为转播多个直播间的直播数据的直播间;
修改模块,被配置为执行根据所述修改请求,通过将当前加入的第二直播间的第二直播间信息修改为所述第一直播间信息,将所述第二直播间虚拟为所述第一直播间;
第二发送模块,被配置为执行响应于接收被输入的互动消息,向所述服务器互动请求,所述互动请求携带所述互动消息,且所述互动请求用于请求所述服务器将所述互动消息广播至所述第二直播间。
根据本公开实施例的另一方面,提供了一种服务器,所述服务器包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令,以实现上述方面所述的直播互动方法。
根据本公开实施例的另一方面,提供了一种终端,所述终端包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令,以实现上述方面所述的直播互动方法。
根据本公开实施例的另一方面,提供了一种存储介质,所述存储介质中的指令由服务器的处理器执行,使得服务器能够执行上述方面所述的直播互动方法。
根据本公开实施例的另一方面,提供了一种存储介质,所述存储介质中的指令由终端的处理器执行,使得终端能够执行上述方面所述的直播互动方法。
根据本公开实施例的另一方面,提供了一种计算机程序产品,所述计算机程序产品中的指令由服务器的处理器执行,使得服务器能够执行上述方面所述的直播互动方法。
根据本公开实施例的另一方面,提供了一种计算机程序产品,所述计算机程序产品中的指令由终端的处理器执行,使得终端能够执行上述方面所述的直播互动方法。
应当理解的是,以上的一般描述和后文的细节描述仅是和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理,并不构成对本公开的不当限定。
图1是根据一实施例示出的一种实施环境的示意图;
图2是根据一实施例示出的一种直播互动方法的流程图;
图3是根据一实施例示出的一种直播互动方法的流程图;
图4是根据一实施例示出的一种直播互动方法的交互流程图;
图5是根据一实施例示出的一种直播主界面的示意图;
图6是根据一实施例示出的一种直播互动方法的交互流程图;
图7是根据一实施例示出的一种直播互动装置的框图;
图8是根据一实施例示出的一种直播互动装置的框图;
图9是根据一实施例示出的一种直播互动装置的框图;
图10是根据一实施例示出的一种终端的框图;
图11是根据一实施例示出的一种服务器的框图。
具体实施方式
为了使本领域普通人员更好地理解本公开的技术方案,下面将结合附图,对本公开实施例中的技术方案进行清楚、完整地描述。
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下能够互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
本公开所涉及的用户信息为经用户授权或者经过各方充分授权的信息。
图1是根据一实施例示出的一种实施环境的示意图。参见图1,该实施环境中包括第一终端101、第二终端102和服务器103。其中,第一终端101为观众账号使用的终端,第二终端102为主播账号使用的终端。
第一终端101和服务器103之间通过无线或者有线网络连接;第二终端102和服务器102之间通过无线或者有线网络连接。并且,第一终端101和第二终端102上安装有服务器103提供服务的客户端,第一终端101的观众账号通过客户端与服务器104之间实现例如数据传输、消息交互等功能,第二终端102的主播账号通过客户端与服务器104之间实现例如数据传输、消息交互等功能;第一终端101的观众账号和第二终端102的主播账号通过客户端进行互动。
其中,客户端为任一可能进行直播的客户端。例如,客户端为直播客户端或者短视频客户端。第一终端101和第二终端102为手机、平板电脑或者其他电子设备。服务器103是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算服务中心。
图2是根据一实施例示出的一种直播互动方法的流程图。参见图2,该方法包括以下步骤:
在步骤S201中,响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,第一直播间为转播多个直播间的直播数据的直播间,目标时间范围为第一直播间转播第二直播间的第二直播数据的时间范围,第一终端为观众账号使用的终端。
在步骤S202中,获取第一直播间的第一直播间信息,向第一终端发送修改请求,该修改请求携带第一直播间信息,且用于请求第一终端将第二直播间的第二直播间信息修改为第一直播间信息。
在步骤S203中,响应于接收到第一终端的互动请求,该互动请求携带互动消息,将该互动消息广播至第二直播间。
在一些实施例中,响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,包括:
接收第一终端发送的加入请求,加入请求携带第一直播间的第一直播间标识;
根据第一直播间标识,确定多个直播间的时间范围,任一直播间的时间范围为第一直播间转播任一直播间的直播数据的时间范围;
响应于根据每个直播间的时间范围,确定当前时间在目标时间范围内,将第一终端加入所述第二直播间。
在一些实施例中,响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,包括:
向第一终端转发第三直播间的第三直播数据的过程中,响应于当前时间到达第一直播间转播第二直播数据的开始时间,将第一终端从第三直播间迁移到第二直播间;
其中,第三直播间为第一直播间转播第二直播数据之前的直播间。
在一些实施例中,将第一终端从第三直播间迁移到第二直播间,包括:
根据第三直播间的第三直播间标识,从第一直播间的直播间列表中选择待迁移的第二直播间的第二直播间标识,直播间列表中包括转播直播数据的每个直播间标识的顺序;
根据第三直播间标识,确定第一终端的终端标识;
根据第二直播间标识,将第一终端从三直播间迁移到第二直播间。
在一些实施例中,该方法还包括:
在将第一终端从第三直播间迁移到第二直播间的过程中,向第一终端发送缓冲动画。
在一些实施例中,该方法还包括:
在将第一终端从第三直播间迁移到第二直播间之前的第一预设时长内,向第一终端发送第三直播间的第三直播数据和第二直播间的第二直播数据;
响应于第一终端接收第二直播间的第二直播数据的质量参数超过预设阈值,执行将第一终端从第三直播间迁移到第二直播间的步骤。
在一些实施例中,该方法还包括:
接收第二直播间的第二直播数据;
响应于第二直播数据用于表示第二直播间的主播账号已经开始直播,执行将第一终端从第三直播间迁移到第二直播间的步骤。
在一些实施例中,将请求加入第一直播间的第一终端加入第二直播间,包括:
获取第二直播间的第二直播间标识;
根据第二直播间标识,确定第二直播间;
根据观众账号,将第一终端加入所述第二直播间。
在本申请实施例中,响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间;获取第一直播间的第一直播间信息,向第一终端发送修改请求,该修改请求携带第一直播间信息,且用于请求第一终端将第二直播间的第二直播间信息修改为第一直播间信息,接收第一终端的互动请求,该互动请求携带互动消息,将该互动消息广播至第二直播间。由于将第二直播间的第二直播间信息修改为第一直播间信息,从而将第二直播间虚拟成第一直播间,使得观众账号以为进入了第一直播间;并且,由于第二直播间中有主播账号,因此,用户能够与使用第二终端的第二直播间的主播账号直接进行互动。
并且,第一直播间相当于一个虚拟直播间,第一直播间是由服务器打造的。观众账号实际上是在不停的进入不同的直播间,由于用户进入不同的直播间之后,直播间的直播间信息一直都是第一直播间信息。因此,对于用户来说,这个直播间信息一直没变,用户好像是一直都在第一直播间,而且第一终端加入第一直播间的过程实际上是服务器将第一终端迁移到第二直播间,并且进行数据迁移的过程。
图3是根据一实施例示出的另一种直播互动方法的流程图。参见图3,该方法包括以下步骤:
在步骤S301中,接收服务器发送的修改请求,该修改请求携带第一直播间的第一直播间信息,第一直播间为转播多个直播间的直播数据的直播间。
在步骤S302中,根据该修改请求,通过将当前加入第二直播间的第二直播间信息修改为第一直播间信息,将第二直播间虚拟为第一直播间。
在步骤S303中,向服务器互动请求,互动请求携带互动消息,且互动请求用于请求服务器将互动消息广播至第二直播间。
在一些实施例中,接收服务器发送的修改请求之前,方法还包括:
展示直播主界面,直播主界面包括第一直播间的第一直播间标识;
响应于第一直播间标识被触发,向服务器发送加入请求,加入请求携带第一直播间标识,服务器用于根据第一直播间标识,确定第一直播间在当前时间转播第二直播间的第二直播数据,将当前的第一终端加入第二直播间,以及向第一终端发送修改请求。
在一些实施例中,接收服务器发送的修改请求之前,方法还包括:
播放服务器转发的第三直播间的第三直播数据;
响应于接收到服务器转发的第二直播间的第二直播数据,将播放第三直播数据切换为播放第二直播数据,第二直播数据为服务器确定当前时间到达第一直播间转播第二直播间的直播数据的时间返回的,第三直播间为第一直播间转播第二直播数据之前的直播间。
在一些实施例中,响应于接收到服务器转发的第二直播间的第二直播数据,将播放第三直播数据切换为播放第二直播数据之前,方法还包括:
接收服务器发送的缓冲动画,播放缓存动画。
在一些实施例中,响应于接收到服务器转发的第二直播间的第二直播数据,将播放第三直播数据切换为播放第二直播数据,包括:
接收服务器转发的第二直播数据和第三直播数据;
继续播放第三直播数据;
响应于第二直播数据的质量参数超过预设阈值,将播放第三直播数据切换为播放第二直播数据。
在本申请实施例中,接收服务器发送的修改请求,根据该修改请求,将当前加入的第二直播间的第二直播间信息修改为第一直播间的第一直播间信息,响应于接收被输入的互动消息,向服务器互动请求,互动请求携带互动消息,且互动请求用于请求服务器将互动消息广播至第二直播间。由于将第二直播间的第二直播间信息修改为第一直播间信息,从而将第二直播间虚拟成第一直播间,使得观众账号以为进入了第一直播间;并且,由于第二直播间中有主播账号,因此,用户能够与使用第二终端的第二直播间的主播账号直接进行互动,提高了用户互动的积极性。
首先在这里简单介绍一下本申请的发明构思,相关技术中的导播直播方式是将多个直播间的内容按照时间上的顺序,进行依次展示,形成一个全新的直播间的内容。例如,在上午九点到上午十点将直播间B的直播数据转播给直播间A,在上午十点到上午十一点将直播间C的直播数据转播给直播间A,在上午十一点到上午十二点将直播间D的直播数据转播给直播间A。直播间内观众账号的互动,只能被当前直播间的主播账号接收到,无法跨直播间。由于直播间A的内容是转推的直播间B、C和D的内容;直播间A中并没有主播账号;因此,直播间A中观众账号是无法进行互动的。
在本申请实施例中,并不采用转播直播数据的方式实现进入一个直播间的观众账号能够观看多个直播间的内容;而是让观众账号直接进入直播间B、C和D,并对直播间的观众端的展示做一定的修改,让观众账号以为进入了直播间A。例如,在上午九点到上午十点,应该将直播间B的直播数据转播给直播间A,此时将观众账号加入到直播间B,并将直播间B的直播间信息修改为直播间A的直播间信息,这样用户以为进入了直播间A,并且此时也能够与主播进行互动。在上午十点到上午十一点,应该将直播间C的直播数据转播给直播间A,此时将观众账号加入到直播间C,并将直播间C的直播间信息修改为直播间A的直播间信息,这样用户以为进入了直播间A,并且此时也能够与主播进行互动。同样,在上午十一点到上午十二点,应该将直播间D的直播数据转播给直播间A,此时将观众账号加入到直播间D,并将直播间D的直播间信息修改为直播间A的直播间信息,这样用户以为进入了直播间A,并且此时也能够与主播进行互动。
图4是根据一实施例示出的另一种直播互动方法的流程图。在本申请实施例中,以观众账号请求加入直播间的过程为例进行说明。参见图4,该方法包括以下步骤:
在步骤S401中,第一终端展示直播主界面,该直播主界面包括第一直播间的第一直播间标识。
第一直播间为转播多个直播间的直播数据的直播间;直播主界面中至少包括第一直播间的第一直播间标识。在一些实施例中,直播主界面中还包括第一直播间的直播时间时长、直播内容简介、第一直播间转播的每个直播间的目标时间范围、被转播的每个直播间的主播信息中的一个或者多个。
例如,参见图5,第一直播间为直播间A(歌舞专场直播间),且直播间A在上午九点到上午十点转播直播间B的直播数据,在上午十点到上午十一点转播直播间C的直播数据,在上午十一点到上午十二点转播直播间D的直播数据。则直播主界面至少包括直播间A的标识。
在一些实施例中,继续参见图5,直播主界面中还包括第一直播间的直播时长:3小时,直播内容简介:美妆,每个直播间的目标时间范围:直播间B的目标时间范围为上午九点到上午十点+直播间C的目标时间范围为上午十点到上午十一点+直播间D的目标时间范围为上午十一点到上午十二点;主播信息:主播B的用户信息+主播C的用户信息+主播D的用户信息,这几项信息中的一个或者多个。
在本申请实施例中,直播主界面中不仅能够显示第一直播间标识,还能够显示第一直播间的直播时间 时长、直播内容简介、第一直播间转播的每个直播间的目标时间范围、被转播的每个直播间的主播信息中的一个或者多个。所以,观众账号能够通过该直播信息,选择合适的时间段观看第一直播间内的直播。
在一些实施例中,第一终端能够通过直播应用展示直播主界面。第一终端展示直播主界面,包括,第一终端响应于直播应用标识被触发,启动直播应用,在直播应用的显示界面展示直播主界面。其中,直播主界面包括第一直播间的第一直播间标识。
在步骤S402中,第一终端响应于第一直播间标识被触发,向服务器发送加入请求,该加入请求携带第一直播间标识。
在一些实施例中,观众账号能够通过触发第一直播间标识进入第一直播间观看直播。相应的,本步骤为:用户点击第一直播间标识,第一终端响应于第一直播间标识被触发,向服务器发送加入请求,该加入请求至少携带第一直播间标识。
在一些实施例中,加入请求还携带使用第一终端的观众账号、用户等级和用户权限信息中的一个或者多个。
在一些实施例中,第一终端响应于第一直播间标识被触发,直接向服务器发送加入请求。在本申请实施例中,第一终端响应于第一直播间标识被触发,直接向服务器发送加入请求,这样降低了延时,提高了响应度。
在另一些实施例中,第一终端响应于第一直播间标识被触发,不直接向服务器发送加入请求,而是先确定第一终端是否满足观看直播的目标条件;响应于第一终端满足观看直播的目标条件,第一终端才向服务器发送该加入请求;响应于第一终端不满足观看直播的目标条件,则第一终端不向服务器发送加入请求。
在一些实施例中,目标条件为:网络环境为WiFi(Wireless-Fidelity,无线局域网)环境或者移动网络的套餐为不限量套餐等。
在本申请实施例中,第一终端满足观看直播的目标条件时,才向服务器发送加入请求,这样能够保证用户的财产不受到损失。
在一些实施例中,响应于第一终端不满足观看直播的目标条件,第一终端先显示提示消息;响应于接收到用户对提示消息的确认操作,向服务器发送加入请求。
在步骤S403中,服务器接收第一终端发送的加入请求,根据第一直播间标识,确定多个直播间的时间范围。
服务器内存储有第一直播间的直播间列表,该直播间列表内包括第一直播间转播直播数据的多个直播间的时间范围。相应的,服务器从该直播间列表中确定多个直播间的时间范围。其中,任一直播间的时间范围为第一直播间转播任一直播间的直播数据的时间范围。
例如,直播间A的直播间列表如下表1所示:
表1
直播间B 上午九点-上午十点
直播间C 上午十点-上午十一点
直播间D 上午十一点-上午十二点
在一些实施例中,该加入请求是第一直播间开始直播之前发送的。在一些实施例中,该加入请求是第一直播间开始直播之后发送的。相应的,响应于该加入请求为第一直播间开始直播之前发送的,则服务器根据第一直播间标识,确定多个直播间的时间范围。
响应于该加入请求为第一直播间开始直播之后发送的,此时服务器根据第一直播间标识,确定多个直播间中正在直播以及未直播的多个直播间的时间范围。
例如,直播间A转播的直播间列表为如上表1所示,加入请求的发送时间为上午十点半,该加入请求为第一直播间开始直播之后发送的,则服务器确定正在直播的直播间C的时间范围和未直播的直播间D的时间范围。
在本申请实施例中,响应于该加入请求为第一直播间开始直播之后发送的,服务器只确定多个直播间中正在直播以及未直播的多个直播间的时间范围,这样能够避免获取无效信息。
在步骤S404中,服务器响应于根据每个直播间的时间范围,确定当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间。
在一些实施例中,多个直播间的时间范围对应的时间顺序不同,第一直播间按时间顺序转播多个直播间。其中,第二直播间为第一直播间在当前时间正在转播的直播间。目标时间范围为第一直播间转播第二直播间的第二直播数据的时间范围。
例如,直播间B的时间范围为上午九点-上午十点,直播间C的时间范围为上午十点-上午十一点,直播间D的时间范围为上午十一点-上午十二点。当前时间为上午十点半,服务器根据直播间B的时间范围、直播间C的时间范围和直播间D的时间范围,确定上午十点半在直播间C的时间范围内,则服务器将第一终端加入直播间C。
在一些实施例中,服务器将请求加入第一直播间的第一终端加入第二直播间,包括:服务器获取用户的用户标识和第二直播间的第二直播间标识;根据第二直播间标识,确定第二直播间;根据用户标识,将第一终端加入第二直播间。
在一些实施例中,服务器内存储有用户标识和第一终端之间的对应关系,相应的,服务器根据用户标识,将第一终端加入第二直播间,包括,服务器获取用户的用户标识,从已存储的用户标识和第一终端之间的对应关系中,确定用户标识对应的第一终端;将第一终端加入第二直播间。
在步骤S405中,服务器向第一终端转发第二直播间的第二直播数据。
第二终端采集第二直播间内的主播账号的第二直播数据,向服务器发送该第二直播数据;服务器接收该第二直播数据,向第一终端转发第二直播数据。
例如,直播间C的主播账号使用的第二终端采集直播间C的主播账号的第二直播数据,服务器接收该第二直播数据。
在一些实施例中,服务器接收到第二直播数据之后,直接将第二直播数据转发给第一终端。在一些实施例中,服务器接收到第二直播数据之后,根据第一终端的观众账号的用户等级,将第二直播数据处理为与该用户等级匹配的数据格式,向第一终端转发处理后的第二直播数据。
例如,用户等级为VIP(very important person,贵宾),则服务器将第二直播数据处理为高分辨率的直播数据;用户等级为普通,则服务器将第二直播数据处理为低分辨率的直播数据,或者不对第二直播数据进行处理。
在步骤S406中,第一终端播放服务器转发的第二直播间的第二直播数据。
第一终端接收第二直播数据,在直播界面中播放该第二直播数据。
在步骤S407中,服务器获取第一直播间的第一直播间信息,向第一终端发送修改请求,该修改请求携带第一直播间信息,且用于请求第一终端将第二直播间的第二直播间信息修改为第一直播间信息。
其中,第一直播间信息包括第一直播间的名称、第一直播间的主播昵称和第一直播间的Logo(Logo,图标)中的一个或者多个。第二直播间信息包括第二直播间的名称、第二直播间的主播昵称和第二直播间的Logo中的一个或者多个。
在一些实施例中,服务器内存储有直播间标识与直播间信息的对应关系;相应的,服务器获取第一直播间的第一直播间信息,包括:服务器根据第一直播间标识,从直播间标识与直播间信息的对应关系中,确定与第一直播间标识对应的第一直播间信息。
在步骤S408中,第一终端接收服务器发送的修改请求,根据修改请求,通过将当前接入的第二直播间的第二直播间信息修改为第一直播间信息,将第二直播间虚拟为第一直播间。
第一终端通过第二直播间的第二直播间信息修改为第一直播间信息,将第二直播间虚拟为第一直播间,这样用户以为是进入了第一直播间。
需要说明的一点是,步骤S404-S405,以及步骤S406-S407没有时间先后顺序。在一些实施例中,先执行步骤S404-S405,再执行步骤S406-S407,这样先为第一终端转发第二直播数据,然后再修改直播间信息,这样能够保证用户进入第二直播间就能够观看到第二直播数据,提高了直播响应度。在一些实施例中,先执行步骤S406-S407,再执行步骤S404-S405,这样先修改直播间信息,再为第一终端转发第二直播数据,这样能够尽早的修改直播间信息,避免用户发现进入的是第二直播间,提高了用户粘度。在一些实施例中,同时执行步骤S404-S405和步骤S406-S407。
需要说明的另一点,步骤S406-S407是通过修改直播间信息,将第二直播间虚拟为第一直播间。在本申请实施例中,服务器也能够通过隐藏直播间信息,将第二直播间虚拟为第一直播间;相应的,步骤S406-S407替换为:
服务器向第一终端发送隐藏请求,该隐藏请求用于请求第一终端将第二直播间的第二直播间信息隐藏。第一终端接收该隐藏请求,将第二直播间信息进行隐藏。
在本申请实施例中,通过隐藏直播间信息,将第二直播间虚拟为第一直播间,这样操作更加简单。
在步骤S409中,第一终端响应于接收被输入的互动消息,向服务器发送互动请求,该互动请求携带该互动消息。
其中,互动消息包括评论信息、表情包和虚拟礼券中的一个或者多个。第一终端在直播界面中播放第二直播数据,使用第一终端的观众账号能够在直播节目中观看第二直播数据;并且,观众账号能够在观看第二直播数据的过程中,与主播账号进行互动。响应于观众账号想要与主播账号进行互动,在直播界面中输入互动消息;第一终端获取被输入的互动消息,向服务器发送该互动消息。
例如,互动消息包括评论信息;观众账号在直播界面的输入框中输入该评论信息,第一终端接收该被输入的评论信息,向服务器发送该评论信息。
再如,互动消息包括表情包;观众账号在直播界面中的表情包中选择一个表情包,第一终端接收被选择的表情包,向服务器发送该表情包。
再如,互动消息包括虚拟礼券;观众账号在直播界面中的虚拟礼券库中选择一个虚拟礼券,第一终端接收被选择的虚拟礼券,向服务器发送该虚拟礼券。
在步骤S410中,服务器响应于接收到第一终端的互动请求,互动请求携带互动消息,将该互动消息广播至第二直播间。
服务器将该互动消息广播至第二直播间,包括:服务器根据第二直播间的第二直播间标识,获取加入第二直播间的观众账号和第二直播间的第二直播的直播标识;根据观众账号,将该互动消息发送给第一终端,以及,根据主播标识,将该互动消息发送给第二终端。
在本申请实施例中,使用第一终端的观众账号通过第二直播间与第二直播间的主播账号进行互动;此时,使用第一终端的观众账号以为加入的是第一直播间,从而观众账号以为是与第一直播间的主播进行互动。即,第一终端通过在第二直播间内与第二终端进行互动,虚拟在第一直播间内与第三终端进行互动。其中,第二终端为第二直播间的主播账号使用的终端,第三终端为第一直播间的虚拟主播账号对应的虚拟终端。
需要说明的一点是,服务器能够将该互动消息广播至第一直播间。第一直播间是一个虚拟直播间。相应的,步骤410包括:服务器接收第一终端的互动请求,将该互动消息广播至第一直播间和第二直播间。
在一些实施例中,服务器将该互动消息先广播至第二直播间,再广播至第一直播间。在一些实施例中,服务器将该互动消息先广播至第一直播间,再广播至第二直播间。在一些实施例中,服务器将该互动消息同时广播至第一直播间和第二直播间。
在一些实施例中,服务器根据该服务器的配置信息,获取广播顺序;根据该广播顺序,向第一直播间和第二直播间广播该互动消息。
在本申请实施例中,服务器响应于接收到请求加入第一直播间的第一终端的加入请求,直接将第一终端加入正在直播的第二直播间,并且将第二直播间的第二直播间信息修改为第一直播间信息,这样将第二直播间虚拟为第一直播间,让用户以为是加入了第一直播间,从而在第二直播间中与主播账号进行互动,提高了用户互动的积极性。
图6是根据一实施例示出的另一种直播互动方法的流程图。在本申请实施例中,以对观众账号从一个直播间迁移到另一个直播间为例进行说明。参见图6,该方法包括以下步骤:
在步骤S601中,服务器向第一终端转发第三直播间的第三直播数据。
其中,第三直播间为第一直播间转播第二直播数据之前的直播间。例如,用户请求加入直播间A,直播间A本来要转播直播间B、直播间C和直播间D的直播数据;则按照以上实施例知道服务器会将第一终端加入直播间B;在直播间B观看直播间B的直播数据。
在步骤S602中,第一终端播放服务器转发的第三直播间的第三直播数据。
本步骤和步骤S406相似,在此不再赘述。
例如,第一终端接收直播间B的直播数据,播放直播间B的直播数据。
在步骤S603中,服务器向第一终端转发第三直播间的第三直播数据的过程中,响应于当前时间到达第一直播间转播第二直播数据的开始时间,将第一终端从第三直播间迁移到第二直播间。
在一些实施例中,服务器内存储有第一直播间的直播间列表,第一直播间的直播间列表中有第二直播间标识与第三直播间标识之间的时间顺序。相应的,将第一终端从第三直播间迁移到第二直播间,包括:服务器根据第三直播间的第三直播间标识,从第一直播间的直播间列表中选择待迁移的第二直播间的第二直播间标识,直播间列表中包括转播直播数据的每个直播间标识的顺序;根据第三直播间标识,确定第一终端的终端标识;根据第二直播间标识,将第一终端从第三直播间迁移到第二直播间。
例如,直播间B的时间范围为上午九点-上午十点,直播间C的时间范围为上午十点-上午十一点,直播间D的时间范围为上午十一点-上午十二点。在上午九点-上午十点,第一终端播放直播间B的直播数据。响应于当前时间到达上午十点,应该转播直播间C的直播数据了,此时服务器将第一终端从直播间B迁移到直播间C。响应于当前时间到达上午十一点,应该转播直播间D的直播数据了,此时服务器将第一终端从直播间D迁移到直播间D。
需要说明的一点是,服务器在将第一终端从第三直播间迁移到第一直播间时,服务器根据服务器的处理能力,将加入第三直播间的单个第一终端从第三直播间依次迁移到第二直播间,或者,服务器将加入第三直播间的多个第一终端从第三直播间批量的从第三直播间迁移到第二直播间。
例如,服务器一次性将加入第三直播间的预设数量个第一终端从第三直播间批量的从第三直播间迁移到第二直播间。其中,预设数量为10,50,100等;在本申请实施例中,对预设数量不作具体限定,能够根据需要进行设置并更改。
需要说明的另一点是,服务器在将第一终端从第三直播间迁移到第一直播间时,根据第一终端的用户等级,将用户等级高的第一终端优先迁移,将用户等级低的第一终端延后迁移,从而能够保证高优先级的用户能够尽快观看到第一直播间的第一直播数据。
需要说明的另一点是,在一些实施例中,不考虑网络延时,响应于当前时间达到第一直播间转播第二直播数据的开始时间,服务器将第一终端从第三直播间迁移到第二直播间。在一些实施例中,考虑网络延时,响应于当前时间在该开始时间之前的第二预设时长内,服务器将第一终端从第三直播间迁移到第二直播间。
在本申请实施例中,响应于当前时间在该开始时间之前的第二预设时长内,服务器就将第一终端从第三直播间迁移到第二直播间,这样就避免了网络延时导致的迁移不及时的问题。
需要说明的另一点是,服务器在将第一终端从第三直播间迁移到第二直播间的过程中,向第一终端发送缓冲动画。第一终端接收该缓冲动画,播放该缓冲动画。该缓冲动画用于表示正在进行主播切换;例如,该缓存动画用于表示加载中的动画。响应于服务器将第一终端从第三直播间迁移到第二直播间,执行步骤S604。
在本申请实施例中,在服务器将第一终端从第三直播间迁移到第二直播间的过程中,第一终端为观众账号展示一个缓冲动画,从而能够缓解用户的不适体验。
在步骤S604中,服务器向第一终端转发第二直播间的第二直播数据。
第二直播间的第二终端采集直播用户的第二直播数据,向服务器转发该第二直播数据。服务器接收该第二直播数据,向第一终端转发第二直播数据。
例如,服务器将第一终端从直播间B迁移到直播间C以后,向第一终端转发直播间C的直播数据。
需要说明的另一点是,服务器在将第一终端从第三直播间迁移到第二直播间之前的第一预设时长内,向第一终端发送第三直播间的第三直播数据和第二直播间的第二直播数据;响应于第一终端接收第二直播间的第二直播数据的质量参数超过预设阈值,将第一终端从第三直播间迁移到第二直播间。
例如,直播间B的时间范围为上午九点-上午十点,直播间C的时间范围为上午十点-上午十一点,直播间D的时间范围为上午十一点-上午十二点。在上午九点-上午十点。服务器在上午九点五十九分到十点 整这第一预设时长内,向第一终端发送直播间B的直播数据和直播间C的直播数据,从而第一终端能够同时拉取直播间B的直播数据和直播间C的直播数据,等待第一终端完全拉取了直播间C的直播数据后再将第一终端从直播间B迁移到直播间C。
需要说明的另一点是,服务器在还未将第一终端从第三直播间迁移到第二直播间之前,服务器能够先确定第二直播间的直播用户是否已经开始直播。服务器响应于第二直播间的直播间用户已经开始直播,则将第一终端从第三直播间迁移到第二直播间;响应于第二直播间的直播用户没有开始直播,则不将第一终端从第三直播间迁移到第二直播间,直到第二直播间的直播用户已经开始直播。并且,在第二直播间的直播用户还没有开始直播时,服务器通知第三直播间的直播用户继续进行直播,从而避免直播间切换带来的直播空档期。
在一些实施例中,响应于服务器还没接收到第二直播间的第二直播数据,服务器确定第二直播间的直播用户还没有开始直播;响应于服务器已经接收到第二直播间的第二直播数据,服务器确定第二直播间的直播用户已经开始直播。
在一些实施例中,响应于服务器已经接收到第二直播间的第二直播数据,服务器进一步根据第二直播数据,确定第二直播间的直播用户是否已经开始直播;响应于第二直播数据用于表示第二直播间的直播用户已经开始直播,才将第一终端从第三直播间迁移到第二直播间。
在本申请实施例中,服务器确定第二直播间的直播用户已经开始直播以后,才会将第一终端从第三直播间迁移到第二直播间,这样能够保证观众账号迁移进去并且有直播数据观看。
在步骤S605中,第一终端响应于接收到服务器转发的第二直播间的第二直播数据,将播放第三直播数据切换为播放第二直播数据。
其中,第二直播数据为服务器确定当前时间到达第一直播间转播第二直播间的直播数据的时间返回的,第三直播间为第一直播间转播第二直播数据之前的直播间。
在一些实施例中,在步骤S604中,服务器不仅向第一终端发送第二直播数据,还可能发送第三直播数据。在本步骤中,响应于服务器仅向第一终端发送第二直播数据,则第一终端播放第二直播数据;响应于服务器向第一终端发送第二直播数据和第三直播数据,继续播放第三直播数据;响应于第二直播数据的质量参数超过预设阈值,将播放第三直播数据切换为播放第二直播数据。
在本申请实施例中,响应于第二直播数据的质量参数超过预设阈值,说明第一终端已经完全拉取了第二直播间的第二直播数据,此时才进行直播数据的切换,从而能够减少直播数据出现直播间卡顿的情况,提高了流畅度。
例如,第一终端将播放直播间B的直播数据切换为播放直播间C的直播数据。
在步骤S606中,服务器获取第一直播间的第一直播间信息,向第一终端发送修改请求,该修改请求 携带第一直播间信息,且用于请求第一终端将第二直播间的第二直播间信息修改为第一直播间信息。
本步骤和步骤S407相同,在此不再赘述。
例如,服务器向第一终端发送修改请求,该修改请求携带直播间A的直播间信息,请求第一终端将直播间C的直播间信息。
在步骤S607中,第一终端接收服务器发送的修改请求,根据修改请求,通过将当前接入的第二直播间的第二直播间信息修改为第一直播间信息,将第二直播间虚拟为第一直播间。
本步骤和步骤S408相同,在此不再赘述。
例如,第一终端接收该修改请求,将直播间C的直播间信息修改为直播间A的直播间信息,这样将直播间C虚拟为直播间A,这样用户以为是加入了直播间A。
需要说明的一点是,第一终端响应于不是第一次进行直播间切换,也即,第一终端已经获取到第一直播间信息了,则服务器不用重复向第一终端发送修改请求。在一些实施例中,响应于检测到第一终端从第三直播间迁移到第二直播间,第一终端自动的将第二直播间的第二直播间信息修改为第一直播间信息。
例如,观众账号请求加入直播间A,直播间A转播直播间B、直播间C和直播间D的直播数据;则响应于服务器将第一终端加入到直播间B,向第一终端发送直播间A的直播间信息,第一终端将直播间B的直播间信息修改为直播间A的直播间信息。响应于当前时间到达转播直播间C的目标时间范围,服务器直接将第一终端从直播间B迁移到直播间C;此时服务器不用重复向第一终端发送直播间A的直播间信息,响应于第一终端加入直播间C,直接将直播间C的直播间信息修改为直播间A的直播间信息。同样,响应于当前时间到达直播间D的目标时间范围,服务器直接将第一终端从直播间C迁移到直播间D;此时服务器也不用重复向第一终端发送直播间A的直播间信息,响应于第一终端加入直播间D,直接将直播间D的直播间信息修改为直播间D的直播间信息。
在步骤S608中,第一终端响应于接收被输入的互动消息,向服务器发送互动请求,该互动请求携带该互动消息。
本步骤和步骤S409相同,在此不再赘述。
在步骤S609中,服务器响应于接收到第一终端的互动请求,互动请求携带互动消息,将该互动消息广播至第二直播间。
本步骤和步骤S410相同,在此不再赘述。
在本申请实施例中,在第一终端加入第三直播间的过程中,在当前时间到达转播第二直播间的目标时间范围时,将第一终端从第三直播间迁移到第二直播间中,并且将第二直播间的第二直播间信息修改为第一直播间信息,这样将第二直播间虚拟为第一直播间,让用户以为是加入了第一直播间,从而在第二直播间中与主播账号进行互动,提高了用户互动的积极性。
上述所有可选技术方案,能够采用任意结合形成本公开的可选实施例,在此不再一一赘述。
图7是根据一实施例示出的一种直播互动装置的框图。参见图7,该装置包括:
加入模块701,被配置为执行响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,第一直播间为转播多个直播间的直播数据的直播间,目标时间范围为第一直播间转播第二直播间的第二直播数据的时间范围,第一终端为观众账号使用的终端;
第一发送模块702,被配置为执行获取第一直播间的第一直播间信息,向第一终端发送修改请求,修改请求携带第一直播间信息,且用于请求第一终端将第二直播间的第二直播间信息修改为第一直播间信息;
互动模块703,被配置为执行响应于接收到第一终端的互动请求,互动请求携带互动消息,将互动消息广播至第二直播间。
在一些实施例中,加入模块701,还被配置为执行第一终端发送的加入请求,加入请求携带第一直播间的第一直播间标识;根据第一直播间标识,确定第一直播间转播直播数据的多个直播间的时间范围;响应于根据每个直播间的时间范围,确定当前时间在目标时间范围内,将第一终端加入第二直播间。
在一些实施例中,加入模块701,还被配置为执行向第一终端转发第三直播间的第三直播数据的过程中,响应于当前时间到达第一直播间转播第二直播数据的开始时间,将第一终端从第三直播间迁移到第二直播间;其中,第三直播间为第一直播间转播第二直播数据之前的直播间。
在一些实施例中,加入模块701,还被配置为执行根据第三直播间的第三直播间标识,从第一直播间的直播间列表中选择待迁移的第二直播间的第二直播间标识,直播间列表中包括转播直播数据的每个直播间标识的顺序;根据第三直播间标识,确定第一终端的终端标识;根据第二直播间标识,将第一终端从三直播间迁移到第二直播间。
在一些实施例中,第一发送模块702,还被配置为执行在将第一终端从第三直播间迁移到第二直播间的过程中,向第一终端发送缓冲动画。
在一些实施例中,加入模块701,还被配置为执行在将第一终端从第三直播间迁移到第二直播间之前的第一预设时长内,向第一终端发送第三直播间的第三直播数据和第二直播间的第二直播数据;响应于第一终端接收第二直播间的第二直播数据的质量参数超过预设阈值,将第一终端从第三直播间迁移到第二直播间。
在一些实施例中,加入模块701,还被配置为执行接收第二直播间的第二直播数据;响应于第二直播数据用于表示第二直播间的主播账号已经开始直播,将第一终端从第三直播间迁移到第二直播间。
在一些实施例中,加入模块701,还被配置为执行获取观众账号的观众账号和第二直播间的第二直播 间标识;根据第二直播间标识,确定第二直播间;根据观众账号,将第一终端加入第二直播间。
在本申请实施例中,响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间;获取第一直播间的第一直播间信息,向第一终端发送修改请求,该修改请求携带第一直播间信息,且用于请求第一终端将第二直播间的第二直播间信息修改为第一直播间信息,接收第一终端的互动请求,互动请求携带互动消息,将互动消息广播至第二直播间。由于将第二直播间的第二直播间信息修改为第一直播间信息,从而将第二直播间虚拟成第一直播间,使得观众账号以为进入了第一直播间;并且,由于第二直播间中有主播账号,因此,用户能够与使用第二终端的第二直播间的主播账号直接进行互动,提高了用户互动的积极性。
图8是根据一实施例示出的一种直播互动装置的框图。参见图8,该装置包括:
接收模块801,被配置为执行接收服务器发送的修改请求,修改请求携带第一直播间的第一直播间信息,第一直播间为转播多个直播间的直播数据的直播间;
修改模块802,被配置为执行根据修改请求,通过将当前加入的第二直播间的第二直播间信息修改为第一直播间信息,将第二直播间虚拟为第一直播间;
第二发送模块803,被配置为执行响应于接收被输入的互动消息,向服务器互动请求,互动请求携带互动消息,且互动请求用于请求服务器将互动消息广播至第二直播间。
在一些实施例中,参见图9,装置还包括:
展示模块804,被配置为执行展示直播主界面,直播主界面包括第一直播间的第一直播间标识;
第二发送模块803,还被配置为执行响应于第一直播间标识被触发,向服务器发送加入请求,加入请求携带第一直播间标识,服务器用于根据第一直播间标识,确定第一直播间在当前时间转播第二直播间的第二直播数据,将当前的第一终端加入第二直播间,以及向第一终端发送修改请求。
在一些实施例中,继续参见图9,装置还包括:
播放模块805,被配置为执行播放服务器转发的第三直播间的第三直播数据;响应于接收到服务器转发的第二直播间的第二直播数据,将播放第三直播数据切换为播放第二直播数据,第二直播数据为服务器确定当前时间到达第一直播间转播第二直播间的直播数据的时间返回的,第三直播间为第一直播间转播第二直播数据之前的直播间。
在一些实施例中,播放模块805,还被配置为执行接收服务器发送的缓冲动画,播放缓存动画。
在一些实施例中,播放模块805,还被配置为执行接收服务器转发的第二直播数据和第三直播数据;继续播放第三直播数据;响应于第二直播数据的质量参数超过预设阈值,将播放第三直播数据切换为播放第二直播数据。
在本申请实施例中,接收服务器发送的修改请求,根据该修改请求,将当前加入的第二直播间的第二直播间信息修改为第一直播间的第一直播间信息,响应于接收被输入的互动消息,向服务器互动请求,互动请求携带互动消息,且互动请求用于请求服务器将互动消息广播至第二直播间。由于将第二直播间的第二直播间信息修改为第一直播间信息,从而将第二直播间虚拟成第一直播间,使得观众账号以为进入了第一直播间;并且,由于第二直播间中有主播账号,因此,用户能够与使用第二终端的第二直播间的主播账号直接进行互动,提高了用户互动的积极性。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
需要说明的是:上述实施例提供的直播互动装置在直播互动时,仅以上述各功能模块的划分进行举例说明,实际应用中,能够根据需要而将上述功能分配由不同的功能模块完成,即将服务器的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的直播互动装置与直播互动方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
图10示出了本公开一个实施例提供的终端1000的结构框图。在一些实施例中,该终端1000是:智能手机、平板电脑、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。终端1000还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。
通常,终端1000包括有:处理器1001和存储器1002。
在一些实施例中,处理器1001包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1001采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。在一些实施例中,处理器1001包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1001集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。在一些实施例中,处理器1001还包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
在一些实施例中,存储器1002包括一个或多个计算机可读存储介质,该计算机可读存储介质是非暂态的。存储器1002还包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、 闪存存储设备。在一些实施例中,存储器1002中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1001所执行以实现本公开中方法实施例提供的直播互动方法。
在一些实施例中,终端1000还包括有:外围设备接口1003和至少一个外围设备。处理器1001、存储器1002和外围设备接口1003之间通过总线或信号线相连。各个外围设备通过总线、信号线或电路板与外围设备接口1003相连。具体地,外围设备包括:射频电路1004、显示屏1005、摄像头组件1006、音频电路1007、定位组件1008和电源1009中的至少一种。
外围设备接口1003可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器1001和存储器1002。在一些实施例中,处理器1001、存储器1002和外围设备接口1003被集成在同一芯片或电路板上;在一些其他实施例中,处理器1001、存储器1002和外围设备接口1003中的任意一个或两个能够在单独的芯片或电路板上实现,本实施例对此不加以限定。
射频电路1004用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路1004通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1004将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。在一些实施例中,射频电路1004包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路1004通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi网络。在一些实施例中,射频电路1004还包括NFC(Near Field Communication,近距离无线通信)有关的电路,本公开对此不加以限定。
显示屏1005用于显示UI(User Interface,用户界面)。在一些实施例中,该UI包括图形、文本、图标、视频及其它们的任意组合。显示屏1005是触摸显示屏,显示屏1005还具有采集在显示屏1005的表面或表面上方的触摸信号的能力。该触摸信号作为控制信号输入至处理器1001进行处理。此时,显示屏1005还用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏1005为一个,设置终端1000的前面板;在另一些实施例中,显示屏1005为至少两个,分别设置在终端1000的不同表面或呈折叠设计;在另一些实施例中,显示屏1005是柔性显示屏,设置在终端1000的弯曲表面上或折叠面上。甚至,显示屏1005还能够设置成非矩形的不规则图形,也即异形屏。显示屏1005采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。
摄像头组件1006用于采集图像或视频。在一些实施例中,摄像头组件1006包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件1006还包括闪光灯。 闪光灯是单色温闪光灯,或者是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,用于不同色温下的光线补偿。
在一些实施例中,音频电路1007包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1001进行处理,或者输入至射频电路1004以实现语音通信。出于立体声采集或降噪的目的,麦克风为多个,分别设置在终端1000的不同部位。在一些实施例中,麦克风是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器1001或射频电路1004的电信号转换为声波。扬声器是传统的薄膜扬声器,或者是压电陶瓷扬声器。扬声器是压电陶瓷扬声器,不仅能够将电信号转换为人类可听见的声波,还能够将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路1007还包括耳机插孔。
定位组件1008用于定位终端1000的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件1008是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统、俄罗斯的格雷纳斯系统或欧盟的伽利略系统的定位组件。
电源1009用于为终端1000中的各个组件进行供电。电源1009是交流电、直流电、一次性电池或可充电电池。电源1009包括可充电电池,该可充电电池支持有线充电或无线充电。该可充电电池还用于支持快充技术。
在一些实施例中,终端1000还包括有一个或多个传感器1010。该一个或多个传感器1010包括但不限于:加速度传感器1011、陀螺仪传感器1012、压力传感器1013、指纹传感器1014、光学传感器1015以及接近传感器1016。
加速度传感器1011检测以终端1000建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器1011用于检测重力加速度在三个坐标轴上的分量。处理器1001根据加速度传感器1011采集的重力加速度信号,控制显示屏1005以横向视图或纵向视图进行用户界面的显示。加速度传感器1011还用于游戏或者用户的运动数据的采集。
陀螺仪传感器1012能够检测终端1000的机体方向及转动角度,陀螺仪传感器1012能够与加速度传感器1011协同采集用户对终端1000的3D动作。处理器1001根据陀螺仪传感器1012采集的数据,能够实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。
在一些实施例中,压力传感器1013设置在终端1000的侧边框和/或显示屏1005的下层。压力传感器1013设置在终端1000的侧边框,能够检测用户对终端1000的握持信号,由处理器1001根据压力传感器1013采集的握持信号进行左右手识别或快捷操作。压力传感器1013设置在显示屏1005的下层,由处理器 1001根据用户对显示屏1005的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。
指纹传感器1014用于采集用户的指纹,由处理器1001根据指纹传感器1014采集到的指纹识别用户的身份,或者,由指纹传感器1014根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器1001授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器1014被设置终端1000的正面、背面或侧面。终端1000上设置有物理按键或厂商Logo,指纹传感器1014与物理按键或厂商Logo集成在一起。
光学传感器1015用于采集环境光强度。在一个实施例中,处理器1001根据光学传感器1015采集的环境光强度,控制显示屏1005的显示亮度。具体地,响应于环境光强度较高,调高显示屏1005的显示亮度;响应于环境光强度较低,调低显示屏1005的显示亮度。在另一个实施例中,处理器1001根据光学传感器1015采集的环境光强度,动态调整摄像头组件1006的拍摄参数。
接近传感器1016,也称距离传感器,通常设置在终端1000的前面板。接近传感器1016用于采集用户与终端1000的正面之间的距离。在一个实施例中,响应于接近传感器1016检测到用户与终端1000的正面之间的距离逐渐变小,由处理器1001控制显示屏1005从亮屏状态切换为息屏状态;响应于接近传感器1016检测到用户与终端1000的正面之间的距离逐渐变大,由处理器1001控制显示屏1005从息屏状态切换为亮屏状态。
本领域技术人员能够理解,图10中示出的结构并不构成对终端1000的限定,能够包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
在一些实施例中,还提供了一种终端,该终端包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,处理器被配置为执行指令,实现如下步骤:
接收服务器发送的修改请求,修改请求携带第一直播间的第一直播间信息,第一直播间为转播多个直播间的直播数据的直播间;
根据修改请求,通过将当前加入的第二直播间的第二直播间信息修改为第一直播间信息,将第二直播间虚拟为第一直播间;
响应于接收被输入的互动消息,向服务器互动请求,互动请求携带互动消息,且互动请求用于请求服务器将互动消息广播至第二直播间。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
展示直播主界面,直播主界面包括第一直播间的第一直播间标识;
响应于第一直播间标识被触发,向服务器发送加入请求,加入请求携带第一直播间标识,服务器用于根据第一直播间标识,确定第一直播间在当前时间转播第二直播间的第二直播数据,将当前的第一终端加入第二直播间,以及向第一终端发送修改请求。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
播放服务器转发的第三直播间的第三直播数据;
响应于接收到服务器转发的第二直播间的第二直播数据,将播放第三直播数据切换为播放第二直播数据,第二直播数据为服务器确定当前时间到达第一直播间转播第二直播间的直播数据的时间返回的,第三直播间为第一直播间转播第二直播数据之前的直播间。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
接收服务器发送的缓冲动画,播放缓存动画。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
接收服务器转发的第二直播数据和第三直播数据;
继续播放第三直播数据;
响应于第二直播数据的质量参数超过预设阈值,将播放第三直播数据切换为播放第二直播数据。
图11是本公开实施例提供的一种服务器的框图,该服务器1100可因配置或性能不同而产生比较大的差异,包括一个或一个以上处理器(Central Processing Units,CPU)1101和一个或一个以上的存储器1102,其中,存储器1002用于存储可执行指令,处理器1101被配置为执行上述可执行指令,以实现如下步骤:
响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,第一直播间为转播多个直播间的直播数据的直播间,目标时间范围为第一直播间转播第二直播间的第二直播数据的时间范围,第一终端为观众账号使用的终端;
获取第一直播间的第一直播间信息,向第一终端发送修改请求,修改请求携带第一直播间信息,且用于请求第一终端将第二直播间的第二直播间信息修改为第一直播间信息;
响应于接收到第一终端的互动请求,互动请求携带互动消息,将互动消息广播至第二直播间。
在一些实施例中,处理器1101被配置为执行指令,实现如下步骤:
接收第一终端发送的加入请求,加入请求携带第一直播间的第一直播间标识;
根据第一直播间标识,确定多个直播间的时间范围,任一直播间的时间范围为第一直播间转播任一直播间的直播数据的时间范围;
响应于根据每个直播间的时间范围,确定当前时间在目标时间范围内,将第一终端加入第二直播间。
在一些实施例中,处理器1101被配置为执行指令,实现如下步骤:
向第一终端转发第三直播间的第三直播数据的过程中,响应于当前时间到达第一直播间转播第二直播数据的开始时间,将第一终端从第三直播间迁移到第二直播间;
其中,第三直播间为第一直播间转播第二直播数据之前的直播间。
在一些实施例中,处理器1101被配置为执行指令,实现如下步骤:
根据第三直播间的第三直播间标识,从第一直播间的直播间列表中选择待迁移的第二直播间的第二直播间标识,直播间列表中包括转播直播数据的每个直播间标识的顺序;
根据第三直播间标识,确定第一终端的终端标识;
根据第二直播间标识,将第一终端从三直播间迁移到第二直播间。
在一些实施例中,处理器1101被配置为执行指令,实现如下步骤:
在第一终端从第三直播间迁移到第二直播间的过程中,向第一终端发送缓冲动画。
在一些实施例中,处理器1101被配置为执行指令,实现如下步骤:
在将第一终端从第三直播间迁移到第二直播间之前的第一预设时长内,向第一终端发送第三直播间的第三直播数据和第二直播间的第二直播数据;
响应于第一终端接收第二直播间的第二直播数据的质量参数超过预设阈值,执行将第一终端从第三直播间迁移到第二直播间的步骤。
在一些实施例中,处理器1101被配置为执行指令,实现如下步骤:
接收第二直播间的第二直播数据;
响应于第二直播数据用于表示第二直播间的主播账号已经开始直播,执行将第一终端从第三直播间迁移到第二直播间的步骤。
在一些实施例中,处理器1101被配置为执行指令,实现如下步骤:
获取第二直播间的第二直播间标识;
根据第二直播间标识,确定第二直播间;
根据观众账号,将第一终端加入第二直播间。
在一些实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,上述指令可被服务器的处理器执行时,使该服务器能够执行以下步骤:
响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,第一直播间为转播多个直播间的直播数据的直播间,目标时间范围为第一直播间转播第二直播间的第二直播数据的时间范围,第一终端为观众账号使用的终端;
获取第一直播间的第一直播间信息,向第一终端发送修改请求,修改请求携带第一直播间信息,且用于请求第一终端将第二直播间的第二直播间信息修改为第一直播间信息;
响应于接收到第一终端的互动请求,互动请求携带互动消息,将互动消息广播至第二直播间。
在一些实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,上述指令可被终端的处理器执行时,使该终端能够执行以下步骤:
接收服务器发送的修改请求,修改请求携带第一直播间的第一直播间信息,第一直播间为转播多个直播间的直播数据的直播间;
根据修改请求,通过将当前加入的第二直播间的第二直播间信息修改为第一直播间信息,将第二直播间虚拟为第一直播间;
响应于接收被输入的互动消息,向服务器互动请求,互动请求携带互动消息,且互动请求用于请求服务器将互动消息广播至第二直播间。
其中,计算机可读存储介质是ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、CD-ROM(Compact Disc Read-Only Memory,只读光盘)、磁带、软盘和光数据存储设备等。
在一些实施例中,还提供了一种计算机程序产品,计算机程序产品中的指令由服务器的处理器执行,使得服务器能够执行以下步骤:
响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,第一直播间为转播多个直播间的直播数据的直播间,目标时间范围为第一直播间转播第二直播间的第二直播数据的时间范围,第一终端为观众账号使用的终端;
获取第一直播间的第一直播间信息,向第一终端发送修改请求,修改请求携带第一直播间信息,且用于请求第一终端将第二直播间的第二直播间信息修改为第一直播间信息;
响应于接收到第一终端的互动请求,互动请求携带互动消息,将互动消息广播至第二直播间。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
接收第一终端发送的加入请求,加入请求携带第一直播间的第一直播间标识;
根据第一直播间标识,确定多个直播间的时间范围,任一直播间的时间范围为第一直播间转播任一直播间的直播数据的时间范围;
响应于根据每个直播间的时间范围,确定当前时间在目标时间范围内,将第一终端加入第二直播间。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
向第一终端转发第三直播间的第三直播数据的过程中,响应于当前时间到达第一直播间转播第二直播 数据的开始时间,将第一终端从第三直播间迁移到第二直播间;
其中,第三直播间为第一直播间转播第二直播数据之前的直播间。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
根据第三直播间的第三直播间标识,从第一直播间的直播间列表中选择待迁移的第二直播间的第二直播间标识,直播间列表中包括转播直播数据的每个直播间标识的顺序;
根据第三直播间标识,确定第一终端的终端标识;
根据第二直播间标识,将第一终端从三直播间迁移到第二直播间。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
在第一终端从第三直播间迁移到第二直播间的过程中,向第一终端发送缓冲动画。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
在将第一终端从第三直播间迁移到第二直播间之前的第一预设时长内,向第一终端发送第三直播间的第三直播数据和第二直播间的第二直播数据;
响应于第一终端接收第二直播间的第二直播数据的质量参数超过预设阈值,执行将第一终端从第三直播间迁移到第二直播间的步骤。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
接收第二直播间的第二直播数据;
响应于第二直播数据用于表示第二直播间的主播账号已经开始直播,执行将第一终端从第三直播间迁移到第二直播间的步骤。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
获取第二直播间的第二直播间标识;
根据第二直播间标识,确定第二直播间;
根据观众账号,将第一终端加入第二直播间。
在一些实施例中,还提供了一种计算机程序产品,计算机程序产品中的指令由终端的处理器执行,使得终端能够执行以下步骤:
接收服务器发送的修改请求,修改请求携带第一直播间的第一直播间信息,第一直播间为转播多个直播间的直播数据的直播间;
根据修改请求,通过将当前加入的第二直播间的第二直播间信息修改为第一直播间信息,将第二直播间虚拟为第一直播间;
响应于接收被输入的互动消息,向服务器互动请求,互动请求携带互动消息,且互动请求用于请求服 务器将互动消息广播至第二直播间。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
展示直播主界面,直播主界面包括第一直播间的第一直播间标识;
响应于第一直播间标识被触发,向服务器发送加入请求,加入请求携带第一直播间标识,服务器用于根据第一直播间标识,确定第一直播间在当前时间转播第二直播间的第二直播数据,将当前的第一终端加入第二直播间,以及向第一终端发送修改请求。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
播放服务器转发的第三直播间的第三直播数据;
响应于接收到服务器转发的第二直播间的第二直播数据,将播放第三直播数据切换为播放第二直播数据,第二直播数据为服务器确定当前时间到达第一直播间转播第二直播间的直播数据的时间返回的,第三直播间为第一直播间转播第二直播数据之前的直播间。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
接收服务器发送的缓冲动画,播放缓存动画。
在一些实施例中,处理器被配置为执行指令,实现如下步骤:
接收服务器转发的第二直播数据和第三直播数据;
继续播放第三直播数据;
响应于第二直播数据的质量参数超过预设阈值,将播放第三直播数据切换为播放第二直播数据。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为的,本公开的真正范围和精神由下面的权利要求指出。

Claims (20)

  1. 一种直播互动方法,所述方法包括:
    响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,所述第一直播间为转播多个直播间的直播数据的直播间,所述目标时间范围为所述第一直播间转播所述第二直播间的第二直播数据的时间范围,所述第一终端为观众账号使用的终端;
    获取所述第一直播间的第一直播间信息,向所述第一终端发送修改请求,所述修改请求携带所述第一直播间信息,且用于请求所述第一终端将所述第二直播间的第二直播间信息修改为所述第一直播间信息;
    响应于接收到所述第一终端的互动请求,所述互动请求携带互动消息,将所述互动消息广播至所述第二直播间。
  2. 根据权利要求1所述的方法,其中,所述响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,包括:
    接收所述第一终端发送的加入请求,所述加入请求携带所述第一直播间的第一直播间标识;
    根据所述第一直播间标识,确定所述多个直播间的时间范围,任一直播间的时间范围为所述第一直播间转播所述任一直播间的直播数据的时间范围;
    响应于根据每个直播间的时间范围,确定所述当前时间在所述目标时间范围内,将所述第一终端加入所述第二直播间。
  3. 根据权利要求1所述的方法,其中,所述响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,包括:
    向所述第一终端转发所述第三直播间的第三直播数据的过程中,响应于所述当前时间到达所述第一直播间转播所述第二直播数据的开始时间,将所述第一终端从所述第三直播间迁移到所述第二直播间;
    其中,所述第三直播间为所述第一直播间转播所述第二直播数据之前的直播间。
  4. 根据权利要求3所述的方法,其中,所述将所述第一终端从所述第三直播间迁移到所述第二直播间,包括:
    根据所述第三直播间的第三直播间标识,从所述第一直播间的直播间列表中选择待迁移的第二直播间的第二直播间标识,所述直播间列表中包括转播直播数据的每个直播间标识的顺序;
    根据所述第三直播间标识,确定所述第一终端的终端标识;
    根据所述第二直播间标识,将所述第一终端从所述三直播间迁移到所述第二直播间。
  5. 根据权利要求3或4所述的方法,其中,所述方法还包括:
    在将所述第一终端从所述第三直播间迁移到所述第二直播间的过程中,向所述第一终端发送缓冲动画。
  6. 根据权利要求3或4所述的方法,其中,所述方法还包括:
    在将所述第一终端从所述第三直播间迁移到所述第二直播间之前的第一预设时长内,向所述第一终端发送所述第三直播间的第三直播数据和所述第二直播间的第二直播数据;
    响应于所述第一终端接收所述第二直播间的第二直播数据的质量参数超过预设阈值,执行所述将第一终端从所述第三直播间迁移到所述第二直播间的步骤。
  7. 根据权利要求3或4所述的方法,其中,所述方法还包括:
    接收所述第二直播间的第二直播数据;
    响应于所述第二直播数据用于表示所述第二直播间的主播账号已经开始直播,执行所述将第一终端从所述第三直播间迁移到所述第二直播间的步骤。
  8. 根据权利要求1-4任一项所述的方法,其中,所述将请求加入第一直播间的第一终端加入第二直播间,包括:
    获取所述第二直播间的第二直播间标识;
    根据所述第二直播间标识,确定所述第二直播间;
    根据所述观众账号,将所述第一终端加入所述第二直播间。
  9. 一种直播互动方法,所述方法包括:
    接收服务器发送的修改请求,所述修改请求携带第一直播间的第一直播间信息,所述第一直播间为转播多个直播间的直播数据的直播间;
    根据所述修改请求,通过将当前加入的第二直播间的第二直播间信息修改为所述第一直播间信息,将所述第二直播间虚拟为所述第一直播间;
    响应于接收被输入的互动消息,向所述服务器互动请求,所述互动请求携带所述互动消息,且所述互动请求用于请求所述服务器将所述互动消息广播至所述第二直播间。
  10. 根据权利要求9所述的方法,其中,所述方法还包括:
    展示直播主界面,所述直播主界面包括所述第一直播间的第一直播间标识;
    响应于所述第一直播间标识被触发,向所述服务器发送加入请求,所述加入请求携带所述第一直播间标识,所述服务器用于根据所述第一直播间标识,确定所述第一直播间在当前时间转播所述第二直播间的第二直播数据,将当前的第一终端加入所述第二直播间,以及向所述第一终端发送所述修改请求。
  11. 根据权利要求9或10所述的方法,其中,所述方法还包括:
    播放所述服务器转发的所述第三直播间的第三直播数据;
    响应于接收到所述服务器转发的所述第二直播间的第二直播数据,将播放所述第三直播数据切换为播放所述第二直播数据,所述第二直播数据为所述服务器确定当前时间到达所述第一直播间转播所述第二直播间的直播数据的时间返回的,所述第三直播间为所述第一直播间转播所述第二直播数据之前的直播间。
  12. 根据权利要求11所述的方法,其中,所述方法还包括:
    接收所述服务器发送的缓冲动画,播放所述缓存动画。
  13. 根据权利要求11所述的方法,其中,所述响应于接收到所述服务器转发的所述第二直播间的第二直播数据,将播放所述第三直播数据切换为播放所述第二直播数据,包括:
    接收所述服务器转发的所述第二直播数据和所述第三直播数据;
    继续播放所述第三直播数据;
    响应于所述第二直播数据的质量参数超过预设阈值,将播放所述第三直播数据切换为播放所述第二直播数据。
  14. 一种直播互动装置,所述装置包括:
    加入模块,被配置为执行响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,所述第一直播间为转播多个直播间的直播数据的直播间,所述目标时间范围为所述第一直播间转播所述第二直播间的第二直播数据的时间范围,所述第一终端为观众账号使用的终端;
    第一发送模块,被配置为执行获取所述第一直播间的第一直播间信息,向所述第一终端发送修改请求,所述修改请求携带所述第一直播间信息,且用于请求所述第一终端将所述第二直播间的第二直播间信息修改为所述第一直播间信息;
    互动模块,被配置为执行响应于接收到所述第一终端的互动请求,所述互动请求携带互动消息,将所述互动消息广播至所述第二直播间。
  15. 一种直播互动装置,所述装置包括:
    接收模块,被配置为执行接收所述服务器发送的修改请求,所述修改请求携带第一直播间的第一直播间信息,所述第一直播间为转播多个直播间的直播数据的直播间;
    修改模块,被配置为执行根据所述修改请求,通过将当前加入的第二直播间的第二直播间信息修改为所述第一直播间信息,将所述第二直播间虚拟为所述第一直播间;
    第二发送模块,被配置为执行响应于接收被输入的互动消息,向所述服务器互动请求,所述互动请求携带所述互动消息,且所述互动请求用于请求所述服务器将所述互动消息广播至所述第二直播间。
  16. 一种服务器,包括:
    处理器;
    用于存储所述处理器可执行指令的存储器;
    其中,所述处理器被配置为执行所述指令,实现如下步骤:
    响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,所述第一直播间为转播多个直播间的直播数据的直播间,所述目标时间范围为所述第一直播间转播所述第二直播间的第二直播数据的时间范围,所述第一终端为观众账号使用的终端;
    获取所述第一直播间的第一直播间信息,向所述第一终端发送修改请求,所述修改请求携带所述第一直播间信息,且用于请求所述第一终端将所述第二直播间的第二直播间信息修改为所述第一直播间信息;
    响应于接收到所述第一终端的互动请求,所述互动请求携带互动消息,将所述互动消息广播至所述第二直播间。
  17. 根据权利要求16所述的服务器,其中,所述处理器被配置为执行所述指令,实现如下步骤:
    接收所述第一终端发送的加入请求,所述加入请求携带所述第一直播间的第一直播间标识;
    根据所述第一直播间标识,确定所述多个直播间的时间范围,任一直播间的时间范围为所述第一直播间转播所述任一直播间的直播数据的时间范围;
    响应于根据每个直播间的时间范围,确定所述当前时间在所述目标时间范围内,将所述第一终端加入所述第二直播间。
  18. 一种终端,包括:
    处理器;
    用于存储所述处理器可执行指令的存储器;
    其中,所述处理器被配置为执行所述指令,实现如下步骤:
    接收服务器发送的修改请求,所述修改请求携带第一直播间的第一直播间信息,所述第一直播间为转播多个直播间的直播数据的直播间;
    根据所述修改请求,通过将当前加入的第二直播间的第二直播间信息修改为所述第一直播间信息,将所述第二直播间虚拟为所述第一直播间;
    响应于接收被输入的互动消息,向所述服务器互动请求,所述互动请求携带所述互动消息,且所述互动请求用于请求所述服务器将所述互动消息广播至所述第二直播间。
  19. 一种存储介质,所述存储介质中的指令由服务器的处理器执行,使得服务器能够执行如下步骤:
    响应于当前时间在目标时间范围内,将请求加入第一直播间的第一终端加入第二直播间,所述第一直播间为转播多个直播间的直播数据的直播间,所述目标时间范围为所述第一直播间转播所述第二直播间的第二直播数据的时间范围,所述第一终端为观众账号使用的终端;
    获取所述第一直播间的第一直播间信息,向所述第一终端发送修改请求,所述修改请求携带所述第一直播间信息,且用于请求所述第一终端将所述第二直播间的第二直播间信息修改为所述第一直播间信息;
    响应于接收到所述第一终端的互动请求,所述互动请求携带互动消息,将所述互动消息广播至所述第二直播间。
  20. 一种存储介质,其特征在于,所述存储介质中的指令由终端的处理器执行,使得终端能够执行如下步骤:
    接收服务器发送的修改请求,所述修改请求携带第一直播间的第一直播间信息,所述第一直播间为转播多个直播间的直播数据的直播间;
    根据所述修改请求,通过将当前加入的第二直播间的第二直播间信息修改为所述第一直播间信息,将所述第二直播间虚拟为所述第一直播间;
    响应于接收被输入的互动消息,向所述服务器互动请求,所述互动请求携带所述互动消息,且所述互动请求用于请求所述服务器将所述互动消息广播至所述第二直播间。
PCT/CN2021/073417 2020-01-22 2021-01-22 直播互动方法及设备 WO2021148018A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21743737.5A EP4033771A4 (en) 2020-01-22 2021-01-22 INTERACTIVE LIVE BROADCASTING METHOD AND DEVICE
US17/709,124 US11825134B2 (en) 2020-01-22 2022-03-30 Method for interacting in live-streaming and server

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010075760.4 2020-01-22
CN202010075760.4A CN111294607B (zh) 2020-01-22 2020-01-22 直播互动方法、装置、服务器及终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/709,124 Continuation US11825134B2 (en) 2020-01-22 2022-03-30 Method for interacting in live-streaming and server

Publications (1)

Publication Number Publication Date
WO2021148018A1 true WO2021148018A1 (zh) 2021-07-29

Family

ID=71023555

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/073417 WO2021148018A1 (zh) 2020-01-22 2021-01-22 直播互动方法及设备

Country Status (4)

Country Link
US (1) US11825134B2 (zh)
EP (1) EP4033771A4 (zh)
CN (1) CN111294607B (zh)
WO (1) WO2021148018A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294607B (zh) 2020-01-22 2021-10-08 北京达佳互联信息技术有限公司 直播互动方法、装置、服务器及终端
CN112218127B (zh) * 2020-10-16 2022-03-01 广州方硅信息技术有限公司 虚拟直播方法、装置、设备及存储介质
CN113179416B (zh) * 2021-04-26 2022-09-23 腾讯科技(深圳)有限公司 直播内容转播方法及相关设备

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160150284A1 (en) * 2014-11-20 2016-05-26 Squaredon Co Ltd Dynamic channel selection for live and previously broadcast content
CN106028166A (zh) * 2016-06-24 2016-10-12 北京小米移动软件有限公司 直播过程中直播间切换方法及装置
CN107172443A (zh) * 2017-06-29 2017-09-15 北京小米移动软件有限公司 视频直播方法、装置和系统
CN109089169A (zh) * 2018-08-23 2018-12-25 咪咕互动娱乐有限公司 一种直播间切换方法、装置及存储介质
CN109120965A (zh) * 2018-09-30 2019-01-01 武汉斗鱼网络科技有限公司 视频直播切换方法、装置、计算机设备以及存储介质
CN110139116A (zh) * 2019-05-16 2019-08-16 广州酷狗计算机科技有限公司 直播间切换方法、装置及存储介质
CN110248202A (zh) * 2019-06-28 2019-09-17 广州酷狗计算机科技有限公司 直播间的切换方法、装置及存储介质
CN111294607A (zh) * 2020-01-22 2020-06-16 北京达佳互联信息技术有限公司 直播互动方法、装置、服务器及终端

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030046702A1 (en) * 2001-09-03 2003-03-06 Gen Sasaki Program server and a receiver
EP1357754A1 (en) * 2002-04-23 2003-10-29 Canal + Technologies Chat system for TV network
US8291463B2 (en) * 2007-06-04 2012-10-16 At&T Intellectual Property I, L.P. System and method of delivering video content
US10171410B2 (en) * 2016-03-28 2019-01-01 Microsoft Technology Licensing, Llc Cross-mode communiation
CN106534953B (zh) * 2016-12-09 2020-03-17 北京小米移动软件有限公司 直播应用中的视频转播方法及控制终端
KR102383383B1 (ko) * 2017-08-08 2022-04-06 삼성전자 주식회사 전자 장치 및 전자 장치의 Wi-Fi 다이렉트 그룹 형성 방법
WO2019079103A1 (en) * 2017-10-16 2019-04-25 Futurewei Technologies, Inc. INFORMATION EXCHANGE-BASED GROUPING FOR COLLABORATIVE DEVICE SYSTEM
US11197069B2 (en) * 2017-12-13 2021-12-07 Guangzhou Huya Information Technology Co., Ltd. Display method for live broadcast screen of live broadcast room, storage device and computer device
CN108235045B (zh) * 2018-01-04 2019-09-10 武汉斗鱼网络科技有限公司 一种直播间推荐方法、电子设备及可读存储介质
CN110035294B (zh) * 2018-01-12 2021-06-15 武汉斗鱼网络科技有限公司 一种直播间的处理方法、装置、计算机可读存储介质及计算机设备
CN108521576A (zh) * 2018-03-16 2018-09-11 腾讯科技(成都)有限公司 媒体资源的显示方法、装置、存储介质和电子装置
CN109445577B (zh) * 2018-10-11 2020-10-23 腾讯科技(深圳)有限公司 虚拟房间切换方法、装置、电子设备及存储介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160150284A1 (en) * 2014-11-20 2016-05-26 Squaredon Co Ltd Dynamic channel selection for live and previously broadcast content
CN106028166A (zh) * 2016-06-24 2016-10-12 北京小米移动软件有限公司 直播过程中直播间切换方法及装置
CN107172443A (zh) * 2017-06-29 2017-09-15 北京小米移动软件有限公司 视频直播方法、装置和系统
CN109089169A (zh) * 2018-08-23 2018-12-25 咪咕互动娱乐有限公司 一种直播间切换方法、装置及存储介质
CN109120965A (zh) * 2018-09-30 2019-01-01 武汉斗鱼网络科技有限公司 视频直播切换方法、装置、计算机设备以及存储介质
CN110139116A (zh) * 2019-05-16 2019-08-16 广州酷狗计算机科技有限公司 直播间切换方法、装置及存储介质
CN110248202A (zh) * 2019-06-28 2019-09-17 广州酷狗计算机科技有限公司 直播间的切换方法、装置及存储介质
CN111294607A (zh) * 2020-01-22 2020-06-16 北京达佳互联信息技术有限公司 直播互动方法、装置、服务器及终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4033771A4 *

Also Published As

Publication number Publication date
CN111294607B (zh) 2021-10-08
US11825134B2 (en) 2023-11-21
EP4033771A1 (en) 2022-07-27
US20220224950A1 (en) 2022-07-14
EP4033771A4 (en) 2022-12-07
CN111294607A (zh) 2020-06-16

Similar Documents

Publication Publication Date Title
CN109246466B (zh) 视频播放方法、装置及电子设备
US20220141500A1 (en) Method for co-hosting in live streaming and server
CN109618212B (zh) 信息显示方法、装置、终端及存储介质
WO2020253096A1 (zh) 视频合成的方法、装置、终端及存储介质
US11790612B2 (en) Information display method and device, terminal, and storage medium
WO2022121358A1 (zh) 信息显示方法及其装置
CN109729411B (zh) 直播互动方法及装置
WO2021148018A1 (zh) 直播互动方法及设备
CN112118477B (zh) 虚拟礼物展示方法、装置、设备以及存储介质
CN110278464B (zh) 显示榜单的方法和装置
WO2020134560A1 (zh) 直播间切换方法、装置、终端、服务器及存储介质
EP4020996A1 (en) Interactive data playing method and electronic device
CN110139116B (zh) 直播间切换方法、装置及存储介质
CN112751679B (zh) 即时通讯消息处理方法、终端及服务器
CN110740340B (zh) 视频直播方法及装置、存储介质
WO2023000677A1 (zh) 内容项显示方法及装置
CN107896337B (zh) 信息推广方法、装置及存储介质
WO2022217959A1 (zh) 资源展示方法及装置
CN113271470B (zh) 直播连麦方法、装置、终端、服务器及存储介质
WO2022088765A1 (zh) 交互处理方法及计算机设备
WO2022227581A1 (zh) 资源展示方法及计算机设备
CN115378900A (zh) 歌单共享方法、装置、终端及存储介质
CN111628925A (zh) 歌曲交互方法、装置、终端及存储介质
CN111818358A (zh) 音频文件的播放方法、装置、终端及存储介质
US11558645B2 (en) Method for managing live-streaming room, and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21743737

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021743737

Country of ref document: EP

Effective date: 20220420

NENP Non-entry into the national phase

Ref country code: DE