CN109511007B - Network live broadcast method, device, equipment and storage medium - Google Patents

Network live broadcast method, device, equipment and storage medium Download PDF

Info

Publication number
CN109511007B
CN109511007B CN201811446636.3A CN201811446636A CN109511007B CN 109511007 B CN109511007 B CN 109511007B CN 201811446636 A CN201811446636 A CN 201811446636A CN 109511007 B CN109511007 B CN 109511007B
Authority
CN
China
Prior art keywords
room
window
live broadcast
terminal
live
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811446636.3A
Other languages
Chinese (zh)
Other versions
CN109511007A (en
Inventor
张进
曾赵波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bigo Technology Singapore Pte Ltd
Original Assignee
Guangzhou Baiguoyuan Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN201811446636.3A priority Critical patent/CN109511007B/en
Publication of CN109511007A publication Critical patent/CN109511007A/en
Application granted granted Critical
Publication of CN109511007B publication Critical patent/CN109511007B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • 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/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4753End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for user identification, e.g. by entering a PIN or password
    • 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/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/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Abstract

The invention discloses a network live broadcast method, a device, equipment and a storage medium. Wherein, the method comprises the following steps: receiving a broadcasting instruction of a main broadcasting terminal, wherein the broadcasting instruction comprises room attributes and room identifiers of a live broadcasting room, the live broadcasting room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window; determining a currently played target live broadcast room according to the room attribute and the room identifier, and feeding back a corresponding playing notification to the anchor terminal; receiving a live broadcast joining instruction of a viewer terminal, wherein the live broadcast joining instruction comprises a room identifier of a target live broadcast room; and adding the audience terminal into the target live broadcast room according to the room identifier, and sending the room attribute and the live broadcast data of the target live broadcast room to the audience terminal. The technical scheme provided by the embodiment of the invention realizes multi-window display in a live network broadcast mode, improves the interactivity and interestingness of live network broadcast, and meets the requirement of most audiences on live broadcast diversified interaction.

Description

Network live broadcast method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the internet communication technology, in particular to a live webcasting method, a live webcasting device, live webcasting equipment and a storage medium.
Background
With the rapid development of the mobile live broadcast market in the internet industry, the number of users participating in the live broadcast application program APP is also rapidly increased, and the convenience of information interaction also needs to be improved for the live broadcast facing a large number of audiences.
The existing live broadcast mode mainly plays a video picture of one person in a main broadcast, and audiences participating in interaction only support operations such as comments, praise and the like on the main broadcast video, and belongs to a single main broadcast live broadcast mode; or live broadcast is carried out through a nine-people live broadcast room with evenly divided screen areas, at the moment, the sizes of all the wheat positions in the nine-people live broadcast room are the same, namely, the sizes of all the live broadcast windows are the same.
With the development of the internet technology, the interactivity of audiences of the existing single anchor live broadcast is low, the audiences cannot directly participate in the live broadcast picture, and the set nine-person rooms do not highlight important wheat positions in the current live broadcast picture, so that the requirement of most audiences on live broadcast diversified interaction cannot be met.
Disclosure of Invention
The invention provides a network live broadcast method, a device, equipment and a storage medium, which realize the highlight display of important live broadcast pictures in network live broadcast and adapt to the diversified live broadcast requirements of users.
In a first aspect, an embodiment of the present invention provides a live webcasting method, where the method includes:
receiving a broadcasting instruction of a main broadcasting terminal, wherein the broadcasting instruction comprises room attributes and room identifiers of a live broadcasting room, the live broadcasting room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
determining a currently played target live broadcast room according to the room attribute and the room identifier, and feeding back a corresponding playing notification to the anchor terminal;
receiving a live broadcast joining instruction of a viewer terminal, wherein the live broadcast joining instruction comprises a room identifier of a target live broadcast room;
and adding the audience terminal into the target live broadcast room according to the room identifier, and sending the room attribute and the live broadcast data of the target live broadcast room to the audience terminal.
Further, after the room attribute and the live broadcast data of the target live broadcast room are sent to the audience terminal, the method further includes:
receiving a window entering request of the audience terminal, and forwarding the window entering request to the anchor terminal, wherein the window entering request comprises an audience identifier of the audience terminal;
receiving a window identifier configured for the audience terminal by the anchor terminal according to the audience identifier, and correspondingly storing the audience identifier and the window identifier;
feeding back a window success notification to the audience terminal, the window success notification including the window identification;
receiving the audience live broadcast data of the audience terminal, and forwarding the audience live broadcast data to the anchor terminal and other audience terminals.
Further, after feeding back the corresponding broadcast notification to the anchor terminal, the method further includes:
receiving a window switching instruction of the anchor terminal, wherein the window switching instruction comprises window identifications of two sides of a window to be switched;
and updating pre-stored window mark information according to the window marks of the two sides of the window to be switched, and sending the window mark information to each audience terminal of the target live broadcast room.
Further, after feeding back the corresponding broadcast notification to the anchor terminal, the method further includes:
receiving a room attribute switching instruction of the anchor terminal, wherein the room attribute switching instruction comprises a switched target room attribute;
and sending the target room attribute to each audience terminal of the target live broadcast room.
In a second aspect, an embodiment of the present invention provides a live webcasting method, where the method includes:
sending a playing instruction to a server, wherein the playing instruction comprises room attributes and room identifiers of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
and receiving a broadcasting notification of the target live broadcast room fed back by the server according to the room attribute and the room identifier.
Further, after receiving the broadcast notification of the target live broadcast room fed back by the server according to the room attribute and the room identifier, the method further includes:
receiving a window entering request of a viewer terminal forwarded by the server, wherein the window entering request comprises a viewer identifier of the viewer terminal;
configuring a corresponding window identifier for the audience terminal according to the audience identifier, and feeding back the window identifier to the server;
and receiving the audience live broadcast data of the audience terminal forwarded by the server, and displaying the audience live broadcast data according to the window identification.
Further, after receiving the broadcast notification of the target live broadcast room fed back by the server according to the room attribute and the room identifier, the method further includes:
sending a window switching instruction to the server, wherein the window switching instruction comprises window identifications of both sides of a window to be switched;
updating a pre-stored mapping relation table according to the window identifications of the two sides of the window to be switched, wherein the mapping relation table comprises the window identification of each window in the target live broadcast room and the corresponding physical display position;
and switching the live broadcast data corresponding to the two sides of the window to be switched in the target live broadcast room according to the updated mapping relation between the window identifier and the physical display position.
Further, after receiving the broadcast notification of the target live broadcast room fed back by the server according to the room attribute and the room identifier, the method further includes:
sending a room attribute switching instruction to the server, wherein the room attribute switching instruction comprises a switched target room attribute;
and updating and displaying the live broadcast data according to the target room attribute.
In a third aspect, an embodiment of the present invention provides a live webcasting method, where the method includes:
sending a live broadcast joining instruction to a server, wherein the live broadcast joining instruction comprises a room identifier of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
receiving room attributes and live broadcast data of a target live broadcast room determined by the server according to the room identifier;
and displaying the live broadcast data according to the room attribute.
Further, after displaying the live data according to the room attribute, the method further includes:
sending a window entering request to the server, wherein the window entering request comprises a local audience identification;
receiving a window entering success notification fed back by the server, wherein the window entering success notification comprises a window identifier configured by the anchor terminal according to the audience identifier;
and sending the audience live broadcast data to the server, and displaying the audience live broadcast data according to the window identification.
Further, after displaying the live data according to the room attribute, the method further includes:
receiving window mark information updated by the server according to window marks of both sides of the window to be switched, and updating a pre-stored mapping relation table according to the window mark information, wherein the mapping relation table comprises the window marks of all windows in the target live broadcast room and corresponding physical display positions;
and switching the live broadcast data corresponding to the two sides of the window to be switched in the target live broadcast room according to the updated mapping relation between the window identifier and the physical display position.
Further, after displaying the live data according to the room attribute, the method further includes:
and receiving the target room attribute sent by the server, and updating and displaying the live broadcast data according to the target room attribute.
In a fourth aspect, an embodiment of the present invention provides a live webcasting apparatus, where the apparatus includes:
the broadcasting instruction receiving module is used for receiving a broadcasting instruction of a main broadcasting terminal, wherein the broadcasting instruction comprises room attributes and room identifiers of a live broadcasting room, the live broadcasting room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
the broadcasting determining module is used for determining a currently broadcasted target live broadcast room according to the room attribute and the room identifier and feeding back a corresponding broadcasting notice to the anchor terminal;
the joining instruction receiving module is used for receiving a live-broadcast joining instruction of a viewer terminal, wherein the live-broadcast joining instruction comprises a room identifier of a target live broadcast room;
and the audience adding module is used for adding the audience terminal into the target live broadcast room according to the room identifier and sending the room attribute and the live broadcast data of the target live broadcast room to the audience terminal.
Further, the webcast device further includes:
a window entry request forwarding module, configured to receive a window entry request of the audience terminal, and forward the window entry request to the anchor terminal, where the window entry request includes an audience identifier of the audience terminal;
a window identifier receiving module, configured to receive a window identifier configured by the anchor terminal for the audience terminal according to the audience identifier, and store the audience identifier and the window identifier correspondingly;
a window entry success notification feedback module, configured to feedback a window entry success notification to the audience terminal, where the window entry success notification includes the window identifier;
and the window data receiving module is used for receiving the audience live broadcast data of the audience terminal and forwarding the audience live broadcast data to the anchor terminal and other audience terminals.
Further, the webcast device further includes:
the window switching instruction receiving module is used for receiving a window switching instruction of the anchor terminal, wherein the window switching instruction comprises window identifications of two sides of a window to be switched;
and the mark information updating module is used for updating the pre-stored window mark information according to the window marks of the two sides of the window to be switched and sending the window mark information to each audience terminal of the target live broadcast room.
Further, the webcast device further includes:
an attribute switching instruction receiving module, configured to receive a room attribute switching instruction of the anchor terminal, where the room attribute switching instruction includes a target room attribute after switching;
and the target attribute sending module is used for sending the target room attribute to each audience terminal of the target live broadcast room.
In a fifth aspect, an embodiment of the present invention provides a live webcasting apparatus, where the apparatus includes:
the broadcasting instruction sending module is used for sending a broadcasting instruction to the server, wherein the broadcasting instruction comprises room attributes and room identifiers of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
and the broadcast notification receiving module is used for receiving the broadcast notification of the target live broadcast room fed back by the server according to the room attribute and the room identifier.
Further, the webcast device further includes:
a window access request receiving module, configured to receive a window access request of a viewer terminal forwarded by the server, where the window access request includes a viewer identifier of the viewer terminal;
the window entry identifier configuration module is used for configuring a corresponding window identifier for the audience terminal according to the audience identifier and feeding back the window identifier to the server;
and the window data display module is used for receiving the audience live broadcast data of the audience terminal forwarded by the server and displaying the audience live broadcast data according to the window identification.
Further, the webcast device further includes:
the window switching instruction sending module is used for sending a window switching instruction to the server, wherein the window switching instruction comprises window identifications of two sides of a window to be switched;
a mapping relation updating module, configured to update a pre-stored mapping relation table according to window identifiers of both sides of the window to be switched, where the mapping relation table includes window identifiers of windows in the target live broadcast room and corresponding physical display positions;
and the first window switching module is used for switching the live broadcast data corresponding to the two sides of the window to be switched in the target live broadcast room according to the updated mapping relation between the window identifier and the physical display position.
Further, the webcast device further includes:
the first room switching module is used for sending a room attribute switching instruction to the server, wherein the room attribute switching instruction comprises a switched target room attribute; and updating and displaying the live broadcast data according to the target room attribute.
In a sixth aspect, an embodiment of the present invention provides a live webcasting apparatus, where the apparatus includes:
the joining instruction sending module is used for sending a live broadcasting joining instruction to the server, wherein the live broadcasting joining instruction comprises a room identifier of a live broadcasting room, the live broadcasting room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
the live broadcast room receiving module is used for receiving the room attribute and the live broadcast data of the target live broadcast room determined by the server according to the room identifier;
and the network live broadcast module is used for displaying the live broadcast data according to the room attribute.
Further, the webcast device further includes:
a window request sending module, configured to send a window request to the server, where the window request includes a local viewer identifier;
a window entry success notification receiving module, configured to receive a window entry success notification fed back by the server, where the window entry success notification includes a window identifier configured by the anchor terminal according to the audience identifier;
and the window data sending module is used for sending the audience live broadcast data to the server and displaying the audience live broadcast data according to the window identification.
Further, the webcast device further includes:
a mark information receiving module, configured to receive window mark information updated by the server according to window marks of both sides of the window to be switched, and update a pre-stored mapping relationship table according to the window mark information, where the mapping relationship table includes window marks of windows in the target live broadcast room and corresponding physical display positions;
and the second window switching module is used for switching the live broadcast data corresponding to the two sides of the window to be switched in the target live broadcast room according to the updated mapping relation between the window identifier and the physical display position.
Further, the webcast device further includes:
and the second room switching module is used for receiving the target room attribute sent by the server and updating and displaying the live broadcast data according to the target room attribute.
In a seventh aspect, an embodiment of the present invention provides a live webcasting system, where the system includes: a server, a anchor terminal and a viewer terminal; the server is configured with the webcast device as described in the fourth aspect, the anchor terminal is configured with the webcast device as described in the fifth aspect, and the viewer terminal is configured with the webcast device as described in the sixth aspect.
In an eighth aspect, an embodiment of the present invention provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement any of the webcasting methods as described in embodiments of the present invention.
In a ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements any one of the live webcasting methods described in the embodiments of the present invention.
The embodiment of the invention provides a live webcast method, a live webcast device, a live webcast equipment and a storage medium, wherein a target live webcast room comprising a main window and a plurality of secondary windows is determined to be played according to room attributes and room identifications of the live webcast room included in a playing instruction, and the size of the main window is larger than that of the secondary windows, so that the problems that a live webcast mode is single and important live webcast windows are not highlighted in the prior art are solved, multi-window display in the live webcast mode is realized, important live webcast pictures are highlighted in the main window, interactivity and interestingness of live webcast are improved, and requirements of most audiences on live webcast diversified interaction are met.
Drawings
Fig. 1 is a block diagram of a live webcast system according to an embodiment of the present invention;
fig. 2A is a flowchart of a live webcasting method according to an embodiment of the present invention;
fig. 2B and fig. 2C are schematic diagrams respectively illustrating distribution positions of windows in a four-people live room displayed on a anchor terminal in the method according to the first embodiment of the present invention;
fig. 2D and fig. 2E are schematic diagrams respectively illustrating distribution positions of windows in a live room of six rooms displayed on an anchor terminal in a method according to an embodiment of the present invention;
fig. 2F is a schematic interface diagram illustrating selection of a room attribute in a live broadcast room on a anchor terminal in the method according to the first embodiment of the present invention;
fig. 2G is a schematic interface diagram of adding a target live broadcast room on a viewer terminal in the method according to the first embodiment of the present invention;
fig. 3 is a flowchart of a live webcasting method according to a second embodiment of the present invention;
fig. 4 is a flowchart of a live webcasting method according to a third embodiment of the present invention;
fig. 5 is a flowchart of a live webcasting method according to a fourth embodiment of the present invention;
fig. 6 is a schematic interface diagram of a broadcast display of a anchor terminal in a network live broadcast method according to a fifth embodiment of the present invention;
fig. 7 is a schematic diagram illustrating interface switching of the anchor terminal after a viewer enters a window in the method according to the sixth embodiment of the present invention;
fig. 8 is a schematic interface diagram of the anchor terminal after switching of the windows of the live broadcast rooms in the method according to the seventh embodiment of the present invention;
fig. 9 is a schematic interface diagram of the anchor terminal after the live room is switched in the method according to the eighth embodiment of the present invention;
fig. 10 is a schematic interface diagram illustrating that a viewer terminal joins a target live broadcast room in a live broadcast network method according to a ninth embodiment of the present invention;
fig. 11 is a schematic interface diagram of a viewer terminal after a viewer enters a window in the method according to the tenth embodiment of the present invention;
fig. 12 is a schematic interface diagram of a viewer terminal after switching of a window of a live broadcast room in the method according to the eleventh embodiment of the present invention;
fig. 13 is a schematic interface diagram of a viewer terminal after switching of live broadcast rooms in the method according to a twelfth embodiment of the present invention;
fig. 14 is a flowchart of a live webcasting method according to a thirteenth embodiment of the present invention;
fig. 15 is a schematic structural diagram of a live webcast apparatus according to a fourteenth embodiment of the present invention;
fig. 16 is a schematic structural diagram of a live webcasting apparatus according to a fifteenth embodiment of the present invention;
fig. 17 is a schematic structural diagram of a live webcast apparatus according to a sixteenth embodiment of the present invention;
fig. 18 is a schematic structural diagram of an apparatus provided by a seventeenth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Currently, for a live broadcast room with extremely strong social functionality, a live broadcast mode of a single anchor live broadcast or a live broadcast mode of nine-house live broadcasts with equally divided live broadcast pictures cannot meet the requirement of audiences who want to highlight own talent and skill on live broadcast diversified interaction with the anchor; the embodiment of the invention specifically introduces the live webcast method capable of realizing multi-window display in the live webcast mode from the perspective of the anchor terminal, the audience terminal and the server, so as to improve the interactivity and interestingness of live webcast.
Fig. 1 is a block diagram of a live webcast system according to an embodiment of the present invention. Referring to fig. 1, the webcast system may include: server 110, anchor terminal 120, and viewer terminal 130.
The server 110 is a background server corresponding to any kind of webcast software Application program (APP), and may correspondingly store information such as account id of each webcast user; the anchor terminal 120 and the viewer terminal 130 may be pre-installed with front-end application products corresponding to the server 110, that is, corresponding live webcast APPs; the anchor or the viewer may establish a communication connection with the anchor terminal 120 and the viewer terminal 130, respectively, by running live webcast APPs on the anchor terminal 120 and the viewer terminal 130 and inputting corresponding accounts for login.
Specifically, the server 110 is configured with a webcast device as shown in fig. 15, the anchor terminal 120 is configured with a webcast device as shown in fig. 16, and the viewer terminal 130 is configured with a webcast device as shown in fig. 17. The number of viewer terminals 130 may be plural.
In this embodiment, the number of the audience terminals 130 is not limited, and is determined according to the number of the audience participating in the live webcast. Meanwhile, the server 110, the anchor terminal 120, and the viewer terminal 130 in this embodiment may respectively execute the following corresponding webcast methods, and specific execution processes are further described in the following webcast methods, which are not described herein.
Example one
Fig. 2A is a flowchart of a live webcasting method according to an embodiment of the present invention. The live webcasting method provided by the embodiment can be applied to any background server capable of live webcasting. The live webcasting method provided in this embodiment may be executed by a live webcasting device applied to a server provided in an embodiment of the present invention, where the live webcasting device may be implemented in a software and/or hardware manner, and is integrated in a device for executing the live webcasting method, where the device for executing the live webcasting method in this embodiment may be a server in a live webcasting system, and the server may be a background server device corresponding to any live webcasting APP.
Specifically, referring to fig. 2A, the webcast method may include the following steps:
s210, receiving a broadcasting command of the anchor terminal.
The playing instruction comprises room attributes and room identifiers of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window. Specifically, the broadcasting instruction is instruction information generated by inputting a corresponding account number for logging in and executing a corresponding broadcasting operation when a corresponding live webcast APP is run on the anchor terminal. In this embodiment, before network live broadcasting, each anchor requiring live broadcasting can ensure normal operation of live broadcasting by purchasing a corresponding live broadcasting room in advance on the network live broadcasting APP, that is, a corresponding live broadcasting memory location provided by a server; or when the network live broadcast is carried out, the corresponding live broadcast memory position is obtained by selecting the corresponding live broadcast room in the display interface of the network live broadcast APP. Therefore, when each anchor is in network live broadcasting, the correspondingly generated broadcasting command is matched with the room identifier of the live broadcasting room of the current live broadcasting, and the room identifier is the unique identifier information for determining the corresponding live broadcasting room in all the live broadcasting rooms, such as the room number of each live broadcasting room; meanwhile, the anchor can select the room attribute of the corresponding live broadcast room in a display interface of the live broadcast APP according to the live broadcast requirement, wherein the room attribute is the specific number of people contained in the live broadcast room selected by the anchor, and the live broadcast APP has a single room and a multi-person room.
Furthermore, aiming at the network live broadcast of a plurality of rooms, a plurality of live broadcast display windows can be correspondingly arranged in the live broadcast picture and are used for displaying the live broadcast picture of the anchor broadcast and the live broadcast picture of the audience participating in the live broadcast. In order to display a live broadcast picture which needs to be highlighted in a multi-user live broadcast, multiple windows in a live broadcast room can be set as a main window and at least one secondary window, and the display size of the main window is larger than that of each secondary window. For example, for a set four-people room and a set six-people room, taking the anchor terminal as an example, the window distribution positions in the live broadcast pictures corresponding to the four-people room may be as shown in fig. 2B and fig. 2C, respectively, and the window distribution positions in the live broadcast pictures corresponding to the six-people room may be as shown in fig. 2D and fig. 2E. It should be noted that, in this embodiment, the distribution positions of the windows in the live view corresponding to the multiple rooms are not limited, as long as the display size of the main window is larger than the size of each sub window. In this embodiment, when performing live webcasting, the live webcasting screen where the default anchor is located is displayed in the main window of the live webcasting room.
Optionally, when the anchor broadcasts live in a certain live webcast APP, the anchor firstly makes a broadcast preparation according to a live webcast demand, and at this time, the anchor selects a room attribute of a live webcast room required by the current live webcast in a display interface of the live webcast APP provided by the anchor terminal, that is, determines whether the live webcast room of the current live webcast is a single room or a multi-person room, and specifically, several people in the multi-person room; as shown in fig. 2F, the anchor selects a corresponding room attribute in the display interface of the live webcast APP on the anchor terminal, clicks a corresponding launch button, executes a corresponding launch operation to generate a corresponding launch instruction, and sends the corresponding launch instruction to the server through a long connection of a Transmission Control Protocol (TCP) established between the anchor terminal and the server, where the server receives the launch instruction from the anchor terminal, that is, obtains the room attribute of the live webcast corresponding to the current launch, and can determine a room identifier of the live webcast, which is matched in advance by the anchor, according to the user identifier of the anchor. When the anchor terminal selects the room attribute of the live broadcast room, the anchor terminal can persist the selected room attribute, that is, the selected room attribute is used as the default room attribute during subsequent broadcast, so that the additional operation of the anchor in subsequent broadcast can be reduced, and the room attribute can be reselected when the room attribute needs to be modified.
And S220, determining the currently played target live broadcast room according to the room attribute and the room identifier, and feeding back a corresponding playing notification to the anchor terminal.
The broadcast notification is a notification message which is fed back to the anchor terminal to determine whether the current live broadcast is normally started or not by judging the conditions of memory occupation, operation and the like of the live broadcast room of the current broadcast after the server receives a broadcast instruction of the anchor terminal.
Optionally, after receiving the start command of the anchor terminal, the server may analyze the start command to determine a room attribute and a room identifier of a live broadcast room selected by the anchor, which are included in the start command, and at this time, according to the determined room attribute and the room identifier, the server may mark the live broadcast room selected by the current live broadcast in all live broadcast rooms stored in the server, and determine the room attribute of the live broadcast room, that is, determine a target live broadcast room currently being started in all live broadcast rooms. And after the target live broadcast room is determined to be capable of normally broadcasting, generating a corresponding broadcasting notification, and feeding back the broadcasting notification to the anchor terminal through the established TCP long connection, so that the anchor confirms that the live broadcast is successfully broadcast.
And S230, receiving a live broadcast joining instruction of the audience terminal.
And the live broadcast joining instruction comprises a room identifier of the target live broadcast room. Specifically, the live broadcast join instruction is instruction information generated by executing a target live broadcast room selection operation in a live broadcast room list displayed on a live broadcast APP interface installed in the audience terminal when the audience terminal wants to participate in the target live broadcast room for interaction after the start of the live broadcast room is confirmed.
Specifically, after the target live broadcast room is played, the audience terminals may want to participate in the target live broadcast room for interaction at an indefinite time, as shown in fig. 2G, at this time, each audience terminal selects a live broadcast room to participate in from a live broadcast room list displayed on a live broadcast APP interface and confirms, the participation operation correspondingly generates a live broadcast join instruction and sends the live broadcast join instruction to the server, and the server receives the live broadcast join instruction of the audience terminal and analyzes the live broadcast join instruction to determine a room identifier of the target live broadcast room that the audience terminal wants to participate in, so that the audience terminal is subsequently added to the target live broadcast room.
And S240, adding the audience terminal into the target live broadcast room according to the room identifier, and sending the room attribute and the live broadcast data of the target live broadcast room to the audience terminal.
Optionally, when receiving a live broadcast join instruction of the audience terminal, analyzing the live broadcast join instruction to obtain a room identifier of a target live broadcast room that the audience terminal wants to participate in this time, selecting a corresponding target live broadcast room according to the room identifier included in the live broadcast join instruction, joining the audience terminal into the target live broadcast room, simultaneously sending room attributes and live broadcast data of the target live broadcast room to the audience terminal in a unified manner, that is, sending window information included in the target live broadcast room and live broadcast data displayed by each window to the audience terminal, so that the audience terminal correspondingly displays each live broadcast data. The live broadcast data comprises various live broadcast data correspondingly displayed in various windows in the target live broadcast room.
Optionally, in this embodiment, the transmission of the live data among the server, the anchor terminal, and the viewer terminal may be implemented by using existing pull and push streaming technologies. Specifically, the live broadcast data stream of the anchor terminal is taken as an example for explanation, the anchor terminal sends a broadcast instruction to the server, a corresponding TCP long connection is established, when the server feeds back a broadcast notification to the anchor terminal, a streaming address is correspondingly fed back, so that the anchor terminal pushes the live broadcast data stream of the anchor terminal to the server according to the streaming address, when the audience terminal joins a target live broadcast room, the server feeds back a streaming address where the live broadcast data stream of the anchor terminal is located to the audience terminal, so that the audience terminal obtains the corresponding live broadcast data stream of the anchor terminal from the server according to the streaming address, thereby realizing the live broadcast picture display of the audience terminal. And subsequently, transmitting the live audience data stream of the window-entering audience terminal among the server, the anchor terminal and the audience terminal according to the flow, and performing corresponding live broadcast display.
The technical scheme provided by the embodiment determines to play the target live broadcast room comprising a main window and a plurality of secondary windows according to the room attribute and the room identification of the live broadcast room included in the playing instruction, confirms that the size of the main window is larger than that of the secondary windows, solves the problems that the live broadcast mode is single in the prior art and the important live broadcast window is not highlighted, realizes multi-window display in the live broadcast mode, highlights important live broadcast pictures in the main window, improves interactivity and interestingness of live broadcast, and meets the requirement of most audiences on diversified live broadcast interaction.
Example two
Fig. 3 is a flowchart of a live webcasting method according to a second embodiment of the present invention. Based on the above technical solution, the present embodiment explains a specific process of executing a windowing operation by a viewer terminal in a server. Optionally, as shown in fig. 3, the method may specifically include the following steps:
s310, receiving a broadcasting instruction of the main broadcasting terminal, wherein the broadcasting instruction comprises room attributes and room identifiers of a live broadcasting room, the live broadcasting room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window.
And S320, determining the currently played target live broadcast room according to the room attribute and the room identifier, and feeding back a corresponding playing notification to the anchor terminal.
S330, receiving a live broadcast joining instruction of the audience terminal, wherein the live broadcast joining instruction comprises a room identifier of a target live broadcast room.
And S340, adding the audience terminal into the target live broadcast room according to the room identifier, and sending the room attribute and the live broadcast data of the target live broadcast room to the audience terminal.
And S350, receiving the window entering request of the audience terminal and forwarding the window entering request to the anchor terminal.
Wherein the windowing request comprises a viewer identification of the viewer terminal. Specifically, after the audience terminal joins the target live broadcast room for interaction, if the audience terminal does not meet the requirement of only sending comments and praise operations to participate in the live broadcast, the audience terminal also wants to join the live broadcast in order to display the audience or want to participate in the live broadcast through more direct joining to the live broadcast picture, and then the audience terminal interacts with other audiences in the target live broadcast room. At this time, the viewer terminal executes a corresponding window entering operation in the live broadcast interface, generates a corresponding window entering request, and sends the window entering request to the server, where the window entering request may include a viewer identifier of the viewer terminal, where the viewer identifier may be a device number of the viewer terminal, or an account number of a current viewer logged in the viewer terminal.
At this time, the server receives a window access request of the audience terminal, and sends the window access request to the anchor terminal through the established TCP long connection, so that the anchor terminal configures a corresponding display window for the audience terminal according to the audience identification in the window access request, and the audience live broadcast data of the audience terminal is displayed in the corresponding window in the target live broadcast room.
And S360, receiving a window identifier configured for the audience terminal by the anchor terminal according to the audience identifier, and correspondingly storing the audience identifier and the window identifier.
Optionally, after forwarding the window entry request to the anchor terminal, the server receives a window identifier of a certain window in each window of the live broadcast interface configured for the audience terminal according to the audience identifier in the window entry request, where the certain window is used to display the audience live broadcast data of the audience terminal, and stores the window identifier and the corresponding audience identifier in the relationship matching table in the server. The relation matching table can correspond to the binding relation between each user identifier of a live broadcast picture added into a window to display corresponding live broadcast in network live broadcast and a window identifier displayed corresponding to the user live broadcast data, and the user identifier comprises a main broadcast identifier and an audience identifier; if the window mark of the main window is 0, correspondingly displaying the main broadcast live data of the main broadcast; the window marks of the secondary window are respectively 1, 2 and 3, and the window marks respectively correspond to the live audience data corresponding to the audience terminal A, B, C; the relational matching table at this time is shown in table 1 below.
TABLE 1 relationship matching Table
User Identification (UID) Window identification(Win_ID)
Anchor (R) 0
Audience A 1
Audience B 2
Audience C 3
At this time, the window identifier stored in the server is only a logical number of the window, and does not represent a specific display position of the window in the live view, which is not described in detail in this embodiment, but is described in detail below.
S370, the viewer terminal is fed back with the window success notification.
Wherein the window entry success notification includes a window identification. Specifically, after receiving a window identifier configured by the anchor terminal for the viewer terminal according to the viewer identifier, the server indicates that the anchor terminal allows the viewer terminal to add to a live broadcast window corresponding to a target live broadcast room, and at this time, when the server stores the viewer identifier of the viewer terminal and the corresponding window identifier in the relationship matching table, the server can also generate a window entry success notification of the viewer terminal, and correspondingly feeds back the window entry success notification to the viewer terminal according to the viewer identifier, so that the viewer terminal uploads corresponding viewer live broadcast data to the server. Meanwhile, when the viewer terminal is notified of the successful feedback window, a push stream address aiming at the live data of the viewer can be fed back, so that the viewer terminal uploads the corresponding live data of the viewer according to the push stream address. In addition, in order to enable other audience terminals in the target live broadcast room to obtain the window entering information of the audience terminals so as to display corresponding live broadcast pictures, the server can also correspondingly send the window entering success notification to the other audience terminals, so that the other audience terminals can correspondingly refresh and display the audience live broadcast data of the audience terminals in the follow-up process according to the window identification included in the window entering success notification.
And S380, receiving the live audience data of the audience terminal, and forwarding the live audience data to the anchor terminal and other audience terminals.
Optionally, after the server side successfully notifies the counter feed window to the audience terminal, the server side receives the live audience data uploaded by the audience terminal, and forwards the live audience data to the anchor terminal and other audience terminals, so that the anchor terminal and other audience terminals can correspondingly display the live audience data according to the determined window identifier to obtain a refreshed live broadcast picture. In this embodiment, the anchor terminal and other audience terminals mainly obtain the corresponding audience live broadcast data uploaded to the server by the audience terminal according to the streaming address sent by the server and issued for the audience live broadcast data, so as to implement the forwarding process of the audience live broadcast data to the anchor terminal and other audience terminals.
According to the technical scheme, live broadcast data of the anchor terminal and live broadcast data of different audience terminals are simultaneously displayed in each window in a live broadcast picture, multi-window display in a live broadcast mode is achieved, interactivity and interestingness of live broadcast are improved, and the requirement of most audiences for live broadcast diversified interaction is met.
EXAMPLE III
Fig. 4 is a flowchart of a live webcasting method according to a third embodiment of the present invention. The present embodiment explains a specific process of executing a window switching operation by an anchor terminal in a server on the basis of the above-mentioned technical solutions. Optionally, as shown in fig. 4, the method may specifically include the following steps:
s410, receiving a broadcasting instruction of the main broadcasting terminal, wherein the broadcasting instruction comprises room attributes and room identifiers of a live broadcasting room, the live broadcasting room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window.
And S420, determining the currently played target live broadcast room according to the room attribute and the room identifier, and feeding back a corresponding playing notification to the anchor terminal.
S430, receiving a live broadcast joining instruction of the audience terminal, wherein the live broadcast joining instruction comprises a room identifier of the target live broadcast room.
And S440, adding the audience terminal into the target live broadcast room according to the room identifier, and sending the room attribute and the live broadcast data of the target live broadcast room to the audience terminal.
S450, receiving a window switching instruction of the anchor terminal.
The window switching instruction comprises window identifications of two sides of the window to be switched.
Specifically, if the anchor terminal wants to switch the live broadcast frames correspondingly displayed on each window in the target live broadcast room, so that the anchor window can display the audience live broadcast data of a certain audience terminal which wants to be highlighted, the anchor terminal executes corresponding window switching operation in a network live broadcast interface of the anchor terminal, generates a corresponding window switching instruction and sends the window switching instruction to the server. When the server receives the window switching instruction, the server can analyze the window switching instruction to obtain window identifications of both sides of the window to be switched, and if the anchor determines to switch the live broadcast pictures in the window 0 and the window 1, the window identifications of both sides of the window to be switched are respectively 0 and 1.
It should be noted that, in this embodiment, not only the live broadcast pictures of the main window and any one of the sub-windows can be switched, but also the live broadcast pictures of the two sub-windows can be switched, and both sides of the window to be switched are determined by the anchor according to their own will.
In addition, in order to ensure the effectiveness of the window switching, the server can also check the window switching operation according to the window identifications of the two sides of the window to be switched included in the window switching instruction, so as to prevent the generation of false triggering operation.
And S460, updating the pre-stored window mark information according to the window marks of the two sides of the window to be switched, and sending the window mark information to each audience terminal of the target live broadcast room.
Specifically, the window marking information may mark whether the corresponding window is the main window or the sub-window, or mark which window is specific in the sub-window, and the window marking information may directly determine the corresponding display position of each window in the target live broadcast room. In this embodiment, the switching between the primary window and the secondary window is mainly described, and the window marking information at this time may be used to determine whether the window is the primary window; if the specific secondary window switching needs to be explained, other window mark information can be redetermined, so that the redetermined window mark information can accurately judge whether the two secondary windows are switched or not.
Specifically, the window mark information in the present embodiment may be correspondingly stored in the matching relationship table mentioned above. Illustratively, for the switching situation of the main window and any one of the secondary windows, if the window identifier of the main window is 0, the live broadcast data of the main broadcast is correspondingly displayed; the window marks of the secondary window are respectively 1, 2 and 3, and the window marks respectively correspond to the live audience data corresponding to the audience terminal A, B, C; the relationship matching table after storing the window flag information at this time may be as shown in table 2 below.
TABLE 2 matching relationship table
User Identification (UID) Window identification (Win _ ID) Window mark information (whether it is a main window)
Anchor (R) 0 Is that
Audience A 1 Whether or not
Audience B 2 Whether or not
Audience C 3 Whether or not
At this time, after receiving the window switching instruction of the anchor terminal, the server may determine the window identifiers of both sides of the window to be switched included in the window switching instruction, and at this time, the window mark information pre-stored in the matching relationship table may be updated correspondingly according to the window identifiers of both sides of the window to be switched, for example, the anchor picture displayed in the window 0 and the window 1 is switched with the picture of the viewer a, that is, the anchor picture is transferred into the sub-window, the picture of the viewer a is transferred into the anchor window, at this time, the window mark information corresponding to the window 0 may be modified to "no", the window mark information corresponding to the window 1 is modified to "yes", and the modified window mark information is stored. In order to enable each viewer terminal to update the live broadcast picture after window switching, the modified matching relation table containing the window mark information needs to be sent to each viewer terminal, so that each viewer terminal can clearly switch both windows.
According to the technical scheme, the main window and the secondary window are switched in the live broadcast picture, so that live broadcast data of audience terminals needing key highlighting can be displayed in the main window, multi-window display in a live broadcast mode is realized, the interactivity and interestingness of live broadcast are improved, and the requirement of most audiences for live broadcast diversified interaction is met.
Example four
Fig. 5 is a flowchart of a live webcasting method according to a fourth embodiment of the present invention. The present embodiment explains a specific process of executing a room attribute switching operation by a host terminal in a server on the basis of the above-described technical solutions. Optionally, as shown in fig. 5, the method may specifically include the following steps:
s510, receiving a broadcasting instruction of the main broadcasting terminal, wherein the broadcasting instruction comprises room attributes and room identifiers of a live broadcasting room, the live broadcasting room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window.
S520, determining the currently played target live broadcast room according to the room attribute and the room identifier, and feeding back a corresponding playing notification to the anchor terminal.
S530, receiving a live broadcast joining instruction of the audience terminal, wherein the live broadcast joining instruction comprises a room identifier of a target live broadcast room.
And S540, adding the audience terminal into the target live broadcast room according to the room identifier, and sending the room attribute and the live broadcast data of the target live broadcast room to the audience terminal.
And S550, receiving a room attribute switching instruction of the anchor terminal.
And the room attribute switching instruction comprises the switched target room attribute.
Specifically, if the anchor terminal receives a window entry request forwarded by a plurality of audience terminals through the server, and a window in a current live broadcast picture is completely occupied, and no additional window is provided to satisfy the window entry request of other audience terminals, in this embodiment, the anchor terminal may execute a corresponding room attribute switching operation at the anchor terminal to generate a corresponding room attribute switching instruction, so that a target live broadcast room may be switched from an attribute type of a current few windows to an attribute type of a more window, such as a current four-person room is switched to a six-person room. It should be noted that, because the audience participation in the live webcast is gradually increased, the audience who wants to join the live webcast window is also increased at this time, so that there is a high demand for switching from few windows to many windows in the live webcast process, and there is a low demand for switching from many windows to few windows, and there may exist some audience terminals that need to be removed from the existing live webcast window when switching from many windows to few windows, so that the audience generates a low live webcast experience.
Optionally, when receiving the room attribute switching instruction of the anchor terminal, the server may analyze the room attribute switching instruction to obtain the included target room attribute after switching. Meanwhile, in order to ensure the validity of the current room attribute switching, the server can also verify the current room attribute switching according to the target room attribute, so that repeated frequent switching in a short time is prevented.
And S560, sending the target room attribute to each audience terminal of the target live broadcast room.
Optionally, when the target room attribute after the room attribute switching is obtained, the target room attribute may be sent to all the audience terminals in the target live broadcast room, so that each audience terminal may correspondingly refresh the display picture and the live broadcast data in the target live broadcast room according to the target room attribute.
According to the technical scheme, the room attributes in the live broadcasting room are switched in the live broadcasting process, so that the live broadcasting can meet the requirement that a plurality of audiences participate in live broadcasting interactive pictures in real time, multi-window display in a live broadcasting mode is realized, the interactivity and interestingness of live broadcasting are improved, and the requirement of most audiences on live broadcasting diversified interaction is met.
EXAMPLE five
Fig. 6 is a schematic interface diagram of a broadcast display of a anchor terminal in a live network broadcast method according to a fifth embodiment of the present invention. . The network live broadcast method provided by the embodiment of the invention can be suitable for any anchor terminal capable of carrying out network live broadcast. The webcast method provided by this embodiment of the present invention may be executed by a webcast device applied to a webcast terminal provided by an embodiment of the present invention, where the device may be implemented in a software and/or hardware manner, and is integrated in a device for executing the method, the device for executing the method in this embodiment may be a webcast terminal in a webcast system, and the webcast terminal may be any client installed with a webcast APP, such as a mobile phone, a tablet computer, a notebook, and the like.
Specifically, the webcast method may include the following steps:
s610, sending a broadcasting instruction to the server.
The playing instruction comprises room attributes and room identifiers of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window. Specifically, the broadcasting instruction is instruction information generated by inputting a corresponding account number for logging in and executing a corresponding broadcasting operation when a corresponding live webcast APP is run on the anchor terminal. In this embodiment, each anchor may correspond to a matching live broadcast room, and the broadcast command may include a room identifier of the live broadcast room matching the anchor identifier.
At the moment, when the anchor broadcasts in a certain live webcast APP, firstly, the anchor can make broadcast preparation according to the live webcast demand, and at the moment, the anchor can select the room attribute of the live webcast room required by the live webcast APP in a display interface of the live webcast APP provided by an anchor terminal, namely, the live webcast room is determined to be a single room or a multi-person room, and particularly, the live webcast rooms are several-person rooms in the multi-person room; the anchor generates a corresponding playing instruction by executing playing operation in a display interface of the network live broadcast APP, wherein the playing instruction comprises room attributes and room identifiers of a live broadcast room, and the playing instruction is sent to the server, so that the server executes subsequent playing operation.
In addition, when the anchor terminal selects the room attribute of the live broadcast room, the anchor terminal can persist the selected room attribute, that is, the selected room attribute is used as the default room attribute during subsequent broadcasting, so that the additional operation of the anchor in subsequent broadcasting can be reduced, and the room attribute can be reselected when the room attribute needs to be modified.
And S620, receiving a broadcast notification of the target live broadcast room fed back by the server according to the room attribute and the room identifier.
Optionally, after the anchor terminal sends the broadcast command to the server, the server may analyze the broadcast command to determine a room attribute and a room identifier of the live broadcast room selected by the anchor included in the broadcast command, and at this time, according to the determined room attribute and the room identifier, the live broadcast room selected by the current live broadcast may be marked in all the live broadcast rooms stored in the server, and a corresponding broadcast notification is generated and fed back to the anchor terminal. And the anchor terminal receives a broadcast notification of the target live broadcast room fed back by the server according to the room attribute and the room identifier, confirms that the live broadcast is successfully broadcast, and displays corresponding live broadcast data in the target live broadcast room determined to be broadcast according to the room attribute on the anchor terminal.
The technical scheme provided by the embodiment determines to play the target live broadcast room comprising a main window and a plurality of secondary windows according to the room attribute and the room identification of the live broadcast room included in the playing instruction, confirms that the size of the main window is larger than that of the secondary windows, solves the problems that the live broadcast mode is single in the prior art and the important live broadcast window is not highlighted, realizes multi-window display in the live broadcast mode, highlights important live broadcast pictures in the main window, improves interactivity and interestingness of live broadcast, and meets the requirement of most audiences on diversified live broadcast interaction.
EXAMPLE six
Fig. 7 is a schematic diagram illustrating interface switching of the anchor terminal after a viewer enters a window in the method according to the sixth embodiment of the present invention. Based on the above technical solution, the present embodiment explains a specific process of executing a windowing operation by a viewer terminal in a anchor terminal. Optionally, the method may specifically include the following steps:
s710, sending a playing instruction to a server, wherein the playing instruction comprises room attributes and room identifiers of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window.
And S720, receiving a broadcast notification of the target live broadcast room fed back by the server according to the room attribute and the room identifier.
And S730, receiving the window entering request of the audience terminal forwarded by the server.
Wherein the windowing request comprises a viewer identification of the viewer terminal. Specifically, after the audience terminal joins the target live broadcast room for interaction, if the audience terminal does not meet the requirement of only sending comments and praise operations to participate in the live broadcast, the audience terminal also wants to join the live broadcast in order to display the audience or want to participate in the live broadcast through more direct joining to the live broadcast picture, and then the audience terminal interacts with other audiences in the target live broadcast room. At this time, the audience terminal executes corresponding window entering operation in a live broadcast interface, generates a corresponding window entering request and sends the window entering request to the server, and the server forwards the window entering request to the anchor terminal, wherein the window entering request can include an audience identifier of the audience terminal, the audience identifier can be a device number of the audience terminal or the like, and can also be an account number of a current audience logged in the audience terminal or the like.
Optionally, the anchor terminal receives a window entry request of the viewer terminal forwarded by the server, so that the anchor terminal performs a subsequent window entry operation according to the window entry request.
And S740, configuring a corresponding window identifier for the audience terminal according to the audience identifier, and feeding back the window identifier to the server.
Optionally, when the anchor terminal receives a window entry request of the audience terminal forwarded by the server, at this time, it may be determined whether the audience terminal of the window entry request can enter the window according to the occupation condition of each current live broadcast window, if there is an empty live broadcast window, the anchor terminal selects a certain empty live broadcast window, and configures the window identifier of the empty live broadcast window as the display position of the audience live broadcast data of the audience terminal according to the audience identifier, so that the audience live broadcast data of the audience terminal can be displayed in the corresponding window in the target live broadcast room. Meanwhile, the anchor terminal configures the corresponding window identification for the audience terminal and feeds back the window identification to the server, so that the server stores the matching relationship between the corresponding audience identification and the displayed window identification in the live broadcast picture.
And S750, receiving the live audience data of the audience terminal forwarded by the server, and displaying the live audience data according to the window identifier.
Optionally, after the anchor terminal feeds back the configured window identifier to the server, the server feeds back a corresponding window entry success notification to the audience terminal, at this time, the audience terminal uploads corresponding audience live broadcast data to the server according to the window entry success notification, and the server forwards the audience live broadcast data to the anchor terminal in a pull stream manner, so that the anchor terminal displays the audience live broadcast data in a corresponding window position according to the configured window identifier in a live broadcast interface of a target live broadcast room, thereby implementing live broadcast display of multiple windows.
According to the technical scheme, live broadcast data of the anchor terminal and live broadcast data of different audience terminals are simultaneously displayed in each window in a live broadcast picture, multi-window display in a live broadcast mode is achieved, interactivity and interestingness of live broadcast are improved, and the requirement of most audiences for live broadcast diversified interaction is met.
EXAMPLE seven
Fig. 8 is a schematic interface diagram of the anchor terminal after switching of the live broadcast window in the method according to the seventh embodiment of the present invention. In this embodiment, a specific process of executing a window switching operation by a anchor terminal in the anchor terminal is explained on the basis of the above-mentioned technical solutions. Optionally, as shown in fig. 8, the method may specifically include the following steps:
s810, sending a playing instruction to a server, wherein the playing instruction comprises room attributes and room identifiers of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window.
And S820, receiving the broadcasting notice of the target live broadcast room fed back by the server according to the room attribute and the room identifier.
S830, a window switching instruction is sent to the server.
The window switching instruction comprises window identifications of two sides of the window to be switched.
Specifically, if the anchor terminal wants to switch the live broadcast pictures correspondingly displayed on each window in the target live broadcast room, so that the anchor window can display the live broadcast data of audiences of a certain audience terminal which wants to be highlighted, the anchor can execute corresponding window switching operation in a network live broadcast interface of the anchor terminal, generate a corresponding window switching instruction and send the window switching instruction to the server, so that the server updates pre-stored window mark information according to window identifications of two sides of a window to be switched, and executes subsequent window switching operation.
It should be noted that, in this embodiment, not only the live broadcast pictures of the main window and any one of the sub-windows can be switched, but also the live broadcast pictures of the two sub-windows can be switched, and both sides of the window to be switched are determined by the anchor according to their own will.
And S840, updating the pre-stored mapping relation table according to the window identifications of the two sides of the window to be switched.
The mapping relation table comprises window identifications and corresponding physical display positions of all windows in the target live broadcast room. Specifically, taking window distribution of four-people rooms in fig. 2B as an example, the physical display position of the main window 0 in the live broadcast picture is a left position, the physical display position of the sub window 1 in the live broadcast picture is a right position, the physical display position of the sub window 2 in the live broadcast picture is a right position, and the physical display position of the sub window 3 in the live broadcast picture is a left position, where the mapping relationship table stored in advance is as shown in table 3 below.
TABLE 3 mapping relationship Table
Window identification (Win _ ID) Physical display location
0 First position of the left
1 Right position
2 Right two position
3 Two left positions
Optionally, after the anchor terminal sends the window switching instruction to the server, it may directly determine the window identifiers of both the windows to be switched, and modify the mapping relationship between the window identifier of each window in the pre-stored mapping relationship table and the corresponding physical display position according to the window identifiers of both the windows to be switched, and update the mapping relationship table. If the main broadcast picture displayed in the window 0 and the window 1 is switched with the picture of the audience A, namely the main broadcast picture is transferred into the secondary window, the picture of the audience A is transferred into the main window, at this time, the physical display position corresponding to the window 0 in the mapping relation table is modified into a right position, the physical display position corresponding to the window 1 is modified into a left position, and the modified mapping relation table is stored.
And S850, switching the live broadcast data corresponding to the two sides of the window to be switched in the target live broadcast room according to the updated mapping relation between the window identifier and the physical display position.
Optionally, after the mapping relationship between the window identifier and the physical display position in the pre-stored mapping relationship table is updated and modified, the modified mapping relationship table is correspondingly stored. At this time, in order to refresh the live broadcast display interface after the window switching, the live broadcast frame of the corresponding window in the target live broadcast room can be displayed on the updated physical display position according to the mapping relationship between the updated window identifier and the physical display position stored in the modified mapping relationship table, so as to realize the switching of the live broadcast data corresponding to both sides of the window to be switched in the target live broadcast room, and the switched live broadcast frame is obtained through refreshing.
According to the technical scheme, the main window and the secondary window are switched in the live broadcast picture, so that live broadcast data of audience terminals needing key highlighting can be displayed in the main window, multi-window display in a live broadcast mode is realized, the interactivity and interestingness of live broadcast are improved, and the requirement of most audiences for live broadcast diversified interaction is met.
Example eight
Fig. 9 is a schematic interface diagram of the anchor terminal after the live room is switched in the method according to the eighth embodiment of the present invention. In this embodiment, a specific process of executing a room attribute switching operation by a anchor terminal in the anchor terminal is explained on the basis of the above-mentioned technical solutions. Optionally, the method may specifically include the following steps:
s910, sending a playing instruction to the server, wherein the playing instruction comprises room attributes and room identifiers of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window.
And S920, receiving a broadcast notification of the target live broadcast room fed back by the server according to the room attribute and the room identifier.
S930, sends a room attribute switching instruction to the server.
And the room attribute switching instruction comprises the switched target room attribute.
Specifically, if the anchor terminal receives a window entry request forwarded by a plurality of audience terminals through the server, and a window in a current live broadcast picture is completely occupied, and no additional window is provided to satisfy the window entry request of other audience terminals, in this embodiment, the anchor terminal may execute a corresponding room attribute switching operation at the anchor terminal to generate a corresponding room attribute switching instruction, so that a target live broadcast room may be switched from an attribute type of a current few windows to an attribute type of a more window, such as a current four-person room is switched to a six-person room. It should be noted that, in order to adapt to nine-people live rooms in the old version, the present embodiment only allows the room attribute to switch from the few-window live room to the multi-window live room, and does not apply to the case of switching from the multi-window live room to the few-window live room. Optionally, the anchor may select the switched room attribute, that is, the target room attribute, in the live broadcast interface of the anchor terminal, generate a corresponding room attribute switching instruction, and send the room attribute switching instruction to the server, so that the server forwards the switched target room attribute to each viewer terminal, so that each viewer terminal correspondingly refreshes the current live broadcast picture to the switched live broadcast picture.
And S940, updating and displaying the live broadcast data according to the target room attribute.
Optionally, in this embodiment, after the anchor terminal sends the room attribute switching instruction to the server, the anchor terminal also needs to refresh its live view to the live view of the switched room attribute. And at the moment, the anchor terminal correspondingly displays the live broadcast data of each window in the live broadcast according to each window contained in the switched target room attribute.
According to the technical scheme, the room attributes in the live broadcasting room are switched in the live broadcasting process, so that the live broadcasting can meet the requirement that a plurality of audiences participate in live broadcasting interactive pictures in real time, multi-window display in a live broadcasting mode is realized, the interactivity and interestingness of live broadcasting are improved, and the requirement of most audiences on live broadcasting diversified interaction is met.
Example nine
Fig. 10 is a schematic interface diagram illustrating that a viewer terminal joins a target live broadcast room in a live broadcast network method according to a ninth embodiment of the present invention. The network live broadcast method provided by the embodiment of the invention can be suitable for any audience terminal capable of performing network live broadcast. The webcast method provided by this embodiment of the present invention may be implemented by a webcast device applied to a viewer terminal provided by an embodiment of the present invention, where the device may be implemented in a software and/or hardware manner, and is integrated into a device for implementing the method, the device for implementing the method in this embodiment may be a viewer terminal in a webcast system, and the viewer terminal may be any client installed with a webcast APP, such as a mobile phone, a tablet computer, a notebook, and the like.
Specifically, the webcast method may include the following steps:
and S1010, sending a live broadcast joining instruction to the server.
The live broadcast joining instruction comprises a room identifier of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window.
Specifically, after the target live broadcast room is started, audience terminals may want to participate in the target live broadcast room for interaction at an indefinite time, and when each audience terminal selects a live broadcast room to participate in a live broadcast room list displayed on a network live broadcast APP interface, the participation operation correspondingly generates a live broadcast join instruction and sends the live broadcast join instruction to the server, so that the server executes subsequent operations of joining the audience terminals into the target live broadcast room.
And S1020, receiving the room attribute and the live broadcast data of the target live broadcast room determined by the server according to the room identifier.
Optionally, when receiving a live broadcast join instruction of the audience terminal, the server may analyze the live broadcast join instruction to obtain a room identifier of a target live broadcast room that the audience terminal wants to participate in this time, select a corresponding target live broadcast room according to the room identifier included in the live broadcast join instruction, join the audience terminal into the target live broadcast room, and simultaneously send the room attribute and the live broadcast data of the target live broadcast room to the audience terminal. And the audience terminal receives the room attribute and the live broadcast data of the target live broadcast room determined by the server according to the room identifier, and determines the corresponding window information in the room attribute, the physical display position of each window and the live broadcast data of the user side matched with each window identifier so as to correspondingly display each live broadcast data in each window in the target live broadcast room subsequently.
And S1030, displaying the live broadcast data according to the room attribute.
Optionally, after receiving the room attribute and the live broadcast data of the target live broadcast room determined by the server according to the room identifier, the audience terminal may determine the window identifiers corresponding to the room attribute, the physical display positions of the windows, and the user identifiers matched with the window identifiers, and correspondingly display the live broadcast data corresponding to the user terminals matched with the window identifiers according to the physical display positions of the windows in the target live broadcast room.
The technical scheme provided by the embodiment determines to play the target live broadcast room comprising a main window and a plurality of secondary windows according to the room attribute and the room identification of the live broadcast room included in the playing instruction, confirms that the size of the main window is larger than that of the secondary windows, solves the problems that the live broadcast mode is single in the prior art and the important live broadcast window is not highlighted, realizes multi-window display in the live broadcast mode, highlights important live broadcast pictures in the main window, improves interactivity and interestingness of live broadcast, and meets the requirement of most audiences on diversified live broadcast interaction.
Example ten
Fig. 11 is a schematic interface diagram of a viewer terminal after a viewer enters a window in the method according to the tenth embodiment of the present invention. Based on the above technical solution, the present embodiment explains a specific process of executing a windowing operation in a viewer terminal. Optionally, the method may specifically include the following steps:
s1110, sending a live broadcast joining instruction to the server, wherein the live broadcast joining instruction comprises a room identifier of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window.
And S1120, receiving the room attribute and the live broadcast data of the target live broadcast room determined by the server according to the room identifier.
And S1130, displaying the live broadcast data according to the room attribute.
S1140, a send-in window request is sent to the server.
Wherein the windowing request comprises a local viewer identification.
Specifically, after the audience terminal joins the target live broadcast room for interaction, if the audience terminal does not meet the requirement of only sending comments and praise operations to participate in the live broadcast, the audience terminal also wants to join the live broadcast in order to display the audience or want to participate in the live broadcast through more direct joining to the live broadcast picture, and then the audience terminal interacts with other audiences in the target live broadcast room. At this time, the audience terminal executes corresponding window entering operation in the live broadcast interface, generates a corresponding window entering request and sends the window entering request to the server, so that the server forwards the local audience identification included in the window entering request to the anchor terminal, and the anchor terminal configures the corresponding window identification for the audience terminal.
S1150, receiving the window entering success notification fed back by the server.
Wherein, the successful notification of the window entry comprises a window identifier configured by the anchor terminal according to the audience identifier.
Specifically, after receiving the window identifier configured by the anchor terminal for the viewer terminal according to the viewer identifier, the server indicates that the anchor terminal allows the viewer terminal to join the live broadcast window corresponding to the target live broadcast room, and at this time, a window entry success notification of the viewer terminal can be generated and fed back to the viewer terminal, so as to notify the viewer terminal that the window entry is successful this time.
S1160, sending the audience live broadcast data to a server, and displaying the audience live broadcast data according to the window identification.
Optionally, after receiving the window entry success notification fed back by the server, the audience terminal sends corresponding audience live broadcast data of the audience terminal, which needs to be displayed in a live broadcast window, to the server, so that the server forwards the data to the anchor terminal and other audience terminals, and refreshes and displays the data in corresponding windows in live broadcast interfaces of the anchor terminal and other audience terminals. And meanwhile, the audience terminal refreshes and displays the audience live broadcast data in a corresponding window of a local live broadcast interface according to the window identifier configured for the audience terminal by the anchor terminal in the received window entering success notice.
According to the technical scheme, live broadcast data of the anchor terminal and live broadcast data of different audience terminals are simultaneously displayed in each window in a live broadcast picture, multi-window display in a live broadcast mode is achieved, interactivity and interestingness of live broadcast are improved, and the requirement of most audiences for live broadcast diversified interaction is met.
EXAMPLE eleven
Fig. 12 is a schematic interface diagram of a viewer terminal after switching a window of a live broadcast room in the method according to the eleventh embodiment of the present invention. The present embodiment explains a specific process of executing a window switching operation by a main terminal in a viewer terminal on the basis of the above-mentioned technical solutions. Optionally, the method may specifically include the following steps:
s1210, sending a live broadcast joining instruction to a server, wherein the live broadcast joining instruction comprises a room identifier of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window.
And S1220, receiving the room attribute and the live broadcast data of the target live broadcast room determined by the server according to the room identifier.
And S1230, displaying the live broadcast data according to the room attribute.
And S1240, receiving the window mark information updated by the server according to the window marks of the two sides of the window to be switched, and updating the pre-stored mapping relation table according to the window mark information.
The mapping relation table comprises window identifications and corresponding physical display positions of all windows in the target live broadcast room. Specifically, when the anchor terminal switches the live broadcast frame displayed on each window in the live broadcast interface, the audience terminal receives the window mark information which is sent by the server and is updated according to the window marks of the two sides of the window to be switched, that is, receives the matching relation table containing the updated window mark information. At this time, the viewer terminal may determine both switched windows according to the updated window flag information in the received matching relationship table, and update the pre-stored mapping relationship table according to the corresponding window flag information. The mapping table in the viewer terminal is consistent with the mapping table in the anchor terminal, and the corresponding updating manner is the same as that of the mapping table in the anchor terminal, which is not specifically described herein.
S1250, switching the live broadcast data corresponding to the two sides of the window to be switched in the target live broadcast room according to the updated mapping relation between the window identifier and the physical display position.
The specific execution process of S1250 in this embodiment is identical to the execution process of S850 in the anchor terminal, and is not specifically described here, and reference is made to the description of S850.
According to the technical scheme, the main window and the secondary window are switched in the live broadcast picture, so that live broadcast data of audience terminals needing key highlighting can be displayed in the main window, multi-window display in a live broadcast mode is realized, the interactivity and interestingness of live broadcast are improved, and the requirement of most audiences for live broadcast diversified interaction is met.
Example twelve
Fig. 13 is a schematic interface diagram of a viewer terminal after a live room is switched in the method according to the twelfth embodiment of the present invention. The present embodiment explains a specific process of executing the room attribute switching operation by the anchor terminal in the audience terminals on the basis of the above-mentioned technical solutions. Optionally, as shown in fig. 13, the method may specifically include the following steps:
s1310, sending a live broadcast joining instruction to a server, wherein the live broadcast joining instruction comprises a room identifier of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window.
S1320, receiving the room attribute and the live broadcast data of the target live broadcast room determined by the server according to the room identification.
And S1330, displaying the live data according to the room attributes.
And S1340, receiving the target room attribute sent by the server, and updating and displaying the live broadcast data according to the target room attribute.
Optionally, if the anchor terminal receives a window entry request forwarded by a plurality of viewer terminals through the server, and a window in the current live broadcast picture is completely occupied, and there is no additional window to satisfy the window entry request of other viewer terminals, in this embodiment, the anchor may execute a corresponding room attribute switching operation at the anchor terminal, and generate a corresponding room attribute switching instruction, so that the target live broadcast room may be switched from the attribute type of the current few windows to the attribute type of the more windows, such as switching from the current four-person room to the six-person room.
Specifically, when receiving a room attribute switching instruction of the anchor terminal, the server may analyze the room attribute switching instruction to obtain a switched target room attribute, and send the target room attribute to each audience terminal in the target live broadcast room. When receiving the target room attribute sent by the server, the audience terminal can correspondingly update and display the live broadcast data in each window through the target room attribute.
According to the technical scheme, the room attributes in the live broadcasting room are switched in the live broadcasting process, so that the live broadcasting can meet the requirement that a plurality of audiences participate in live broadcasting interactive pictures in real time, multi-window display in a live broadcasting mode is realized, the interactivity and interestingness of live broadcasting are improved, and the requirement of most audiences on live broadcasting diversified interaction is met.
EXAMPLE thirteen
Fig. 14 is a flowchart of a live webcasting method according to a thirteenth embodiment of the present invention. On the basis of the above technical solutions, the present embodiment further describes a process of an interaction between a anchor terminal, a server, and a viewer terminal in a webcast method. Specifically, as shown in fig. 14, the webcast method may include the following steps:
s1401, the anchor terminal sends a broadcast start instruction to the server.
S1402, the server determines the current played target live broadcast room according to the room attribute and the room identifier.
S1403, the server feeds back an announcement to the anchor terminal.
And S1404, the audience terminal sends a live broadcast joining instruction to the server.
And S1405, the server adds the audience terminal into the target live broadcast room according to the room identifier.
S1406, the server sends the room attribute and the live broadcast data of the target live broadcast room to the audience terminal.
S1407, the viewer terminal transmits a send window request to the server.
S1408, the server forwards the access request to the anchor terminal.
S1409, the anchor terminal configures the corresponding window mark for the audience terminal according to the audience mark in the window entering request.
And S1410, the anchor terminal feeds back the configured window identifier to the server.
S1411, the server stores the viewer identification corresponding to the window identification.
S1412, the server feeds back the window success notification to the viewer terminal.
S1413, the audience terminal displays the live audience data according to the window identifier.
And S1414, the audience terminal sends the audience live broadcast data to the server.
S1415, the server transmits the audience live broadcast data to the anchor terminal
S1416, the anchor terminal displays the live data of the audience according to the window identifier.
S1417, the anchor terminal sends a window switching instruction to the server.
S1418, the anchor terminal updates the pre-stored mapping relation table according to the window identifications of the two sides of the window to be switched.
S1419, the anchor terminal switches the live broadcast data corresponding to the two sides of the window to be switched in the target live broadcast room according to the updated mapping relation between the window identifier and the physical display position.
S1420, the server updates the pre-stored window mark information according to the window marks of the two sides of the window to be switched.
S1421, the server transmits the updated window flag information to the viewer terminal.
And S1422, the viewer terminal updates the pre-stored mapping relation table according to the updated window mark information.
S1423, the audience terminal switches the live broadcast data corresponding to both sides of the window to be switched in the target live broadcast room according to the updated mapping relationship between the window identifier and the physical display position.
S1424, the anchor terminal sends a room attribute switching instruction to the server.
And S1425, the anchor terminal updates and displays the live broadcast data according to the target room attribute in the room attribute switching instruction.
S1426, the server forwards the room attribute switching instruction to the viewer terminal.
And S1427, the audience terminal updates and displays the live broadcast data according to the target room attribute in the room attribute switching instruction.
The technical scheme provided by the embodiment determines to play the target live broadcast room comprising a main window and a plurality of secondary windows according to the room attribute and the room identification of the live broadcast room included in the playing instruction, confirms that the size of the main window is larger than that of the secondary windows, solves the problems that the live broadcast mode is single in the prior art and the important live broadcast window is not highlighted, realizes multi-window display in the live broadcast mode, highlights important live broadcast pictures in the main window, improves interactivity and interestingness of live broadcast, and meets the requirement of most audiences on diversified live broadcast interaction.
Example fourteen
Fig. 15 is a schematic structural diagram of a live webcast apparatus according to a fourteenth embodiment of the present invention. As shown in fig. 15, the network live device includes:
a broadcast instruction receiving module 1510, configured to receive a broadcast instruction of a main broadcast terminal, where the broadcast instruction includes a room attribute and a room identifier of a live broadcast room, the live broadcast room includes a main window and at least one sub-window, and the size of the main window is greater than that of the sub-window;
the broadcast determining module 1520, configured to determine a currently broadcast target live broadcast room according to the room attribute and the room identifier, and feed back a corresponding broadcast notification to the anchor terminal;
a join instruction receiving module 1530, configured to receive a live join instruction of a viewer terminal, where the live join instruction includes a room identifier of a target live broadcast room;
a spectator joining module 1540, configured to join the spectator terminal into the target live broadcast room according to the room identifier, and send the room attribute and the live broadcast data of the target live broadcast room to the spectator terminal.
The technical scheme provided by the embodiment determines to play the target live broadcast room comprising a main window and a plurality of secondary windows according to the room attribute and the room identification of the live broadcast room included in the playing instruction, confirms that the size of the main window is larger than that of the secondary windows, solves the problems that the live broadcast mode is single in the prior art and the important live broadcast window is not highlighted, realizes multi-window display in the live broadcast mode, highlights important live broadcast pictures in the main window, improves interactivity and interestingness of live broadcast, and meets the requirement of most audiences on diversified live broadcast interaction.
Further, the webcast apparatus may further include:
the window entering request forwarding module is used for receiving a window entering request of the audience terminal and forwarding the window entering request to the anchor terminal, wherein the window entering request comprises an audience identifier of the audience terminal;
the window entry identification receiving module is used for receiving a window identification configured for the audience terminal by the anchor terminal according to the audience identification and correspondingly storing the audience identification and the window identification;
the window entering success notification feedback module is used for feeding back a window entering success notification to the audience terminal, wherein the window entering success notification comprises a window identifier;
and the window data receiving module is used for receiving the audience live broadcast data of the audience terminal and forwarding the audience live broadcast data to the anchor terminal and other audience terminals.
Further, the webcast apparatus may further include:
the window switching instruction receiving module is used for receiving a window switching instruction of the anchor terminal, wherein the window switching instruction comprises window identifications of two sides of a window to be switched;
and the mark information updating module is used for updating the pre-stored window mark information according to the window marks of the two sides of the window to be switched and sending the window mark information to each audience terminal of the target live broadcast room.
Further, the webcast apparatus may further include:
the attribute switching instruction receiving module is used for receiving a room attribute switching instruction of the anchor terminal, wherein the room attribute switching instruction comprises a switched target room attribute;
and the target attribute sending module is used for sending the target room attribute to each audience terminal of the target live broadcast room.
The network live broadcast device can execute the network live broadcast method applied to the server provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example fifteen
Fig. 16 is a schematic structural diagram of a live webcasting apparatus according to a fifteenth embodiment of the present invention. As shown in fig. 16, the webcast apparatus includes:
a broadcast instruction sending module 1610, configured to send a broadcast instruction to a server, where the broadcast instruction includes a room attribute and a room identifier of a live broadcast room, the live broadcast room includes a main window and at least one sub-window, and the size of the main window is greater than that of the sub-window;
and the broadcast notification receiving module 1620 is configured to receive a broadcast notification of the target live broadcast room fed back by the server according to the room attribute and the room identifier.
The technical scheme provided by the embodiment determines to play the target live broadcast room comprising a main window and a plurality of secondary windows according to the room attribute and the room identification of the live broadcast room included in the playing instruction, confirms that the size of the main window is larger than that of the secondary windows, solves the problems that the live broadcast mode is single in the prior art and the important live broadcast window is not highlighted, realizes multi-window display in the live broadcast mode, highlights important live broadcast pictures in the main window, improves interactivity and interestingness of live broadcast, and meets the requirement of most audiences on diversified live broadcast interaction.
Further, the webcast apparatus may further include:
a window access request receiving module, configured to receive a window access request of a viewer terminal forwarded by a server, where the window access request includes a viewer identifier of the viewer terminal;
the window entry identifier configuration module is used for configuring a corresponding window identifier for the audience terminal according to the audience identifier and feeding back the window identifier to the server;
and the window data display module is used for receiving the audience live broadcast data of the audience terminal forwarded by the server and displaying the audience live broadcast data according to the window identification.
Further, the webcast apparatus may further include:
the window switching instruction sending module is used for sending a window switching instruction to the server, wherein the window switching instruction comprises window identifications of two sides of a window to be switched;
the mapping relation updating module is used for updating a pre-stored mapping relation table according to window identifications of two sides of a window to be switched, and the mapping relation table comprises window identifications of all windows in a target live broadcast room and corresponding physical display positions;
and the first window switching module is used for switching the live broadcast data corresponding to the two sides of the window to be switched in the target live broadcast room according to the updated mapping relation between the window identifier and the physical display position.
Further, the webcast apparatus may further include:
the first room switching module is used for sending a room attribute switching instruction to the server, wherein the room attribute switching instruction comprises a switched target room attribute; and updating and displaying the live broadcast data according to the target room attribute.
The network live broadcast device can execute the network live broadcast method applied to the anchor terminal provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example sixteen
Fig. 17 is a schematic structural diagram of a live webcast apparatus according to a sixteenth embodiment of the present invention. As shown in fig. 17, the live streaming apparatus includes:
a join instruction sending module 1710, configured to send a live join instruction to a server, where the live join instruction includes a room identifier of a live broadcast room, the live broadcast room includes a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
a live broadcast room receiving module 1720, configured to receive room attributes and live broadcast data of a target live broadcast room, where the room attributes and the live broadcast data are determined by a server according to a room identifier;
the webcast module 1730 is configured to display live broadcast data according to the room attribute.
The technical scheme provided by the embodiment determines to play the target live broadcast room comprising a main window and a plurality of secondary windows according to the room attribute and the room identification of the live broadcast room included in the playing instruction, confirms that the size of the main window is larger than that of the secondary windows, solves the problems that the live broadcast mode is single in the prior art and the important live broadcast window is not highlighted, realizes multi-window display in the live broadcast mode, highlights important live broadcast pictures in the main window, improves interactivity and interestingness of live broadcast, and meets the requirement of most audiences on diversified live broadcast interaction.
Further, the webcast apparatus may further include:
a window request sending module, configured to send a window request to a server, where the window request includes a local viewer identifier;
the window entry success notification receiving module is used for receiving a window entry success notification fed back by the server, wherein the window entry success notification comprises a window identifier configured by the anchor terminal according to the audience identifier;
and the window data sending module is used for sending the audience live broadcast data to the server and displaying the audience live broadcast data according to the window identification.
Further, the webcast apparatus may further include:
the mark information receiving module is used for receiving window mark information updated by the server according to window marks of two sides of a window to be switched and updating a pre-stored mapping relation table according to the window mark information, wherein the mapping relation table comprises the window marks of all windows in a target live broadcast room and corresponding physical display positions;
and the second window switching module is used for switching the live broadcast data corresponding to the two sides of the window to be switched in the target live broadcast room according to the updated mapping relation between the window identifier and the physical display position.
Further, the webcast apparatus may further include:
and the second room switching module is used for receiving the target room attribute sent by the server and updating and displaying the live broadcast data according to the target room attribute.
The network live broadcast device can execute the network live broadcast method applied to the audience terminal provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example seventeen
Fig. 18 is a schematic structural diagram of an apparatus according to an embodiment of the present invention. As shown in fig. 18, the apparatus includes a processor 180, a storage device 181, and a communication device 182; the number of the processors 180 in the device may be one or more, and one processor 180 is taken as an example in fig. 18; the processor 180, the storage means 181 and the communication means 182 of the device may be connected by a bus or other means, as exemplified by the bus connection in fig. 18.
The storage device 181 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and modules, such as modules corresponding to the webcasting method in any of the embodiments of the present invention. The processor 180 executes various functional applications and data processing of the device by executing software programs, instructions and modules stored in the storage 181, that is, the above-described webcast method is realized.
The storage unit 181 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. In addition, the storage 181 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 181 may further include memory located remotely from the processor 180, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication device 182 may be used to implement a network connection or a mobile data connection.
The device provided by the embodiment of the invention can be used for executing the network live broadcast method provided by any embodiment of the invention, and has corresponding functions and beneficial effects.
EXAMPLE eighteen
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement the live webcasting method provided in any embodiment of the present invention. The method specifically comprises the following steps:
receiving a broadcasting instruction of a main broadcasting terminal, wherein the broadcasting instruction comprises room attributes and room identifiers of a live broadcasting room, the live broadcasting room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
determining a currently played target live broadcast room according to the room attribute and the room identifier, and feeding back a corresponding playing notification to the anchor terminal;
receiving a live broadcast joining instruction of a viewer terminal, wherein the live broadcast joining instruction comprises a room identifier of a target live broadcast room;
and adding the audience terminal into the target live broadcast room according to the room identifier, and sending the room attribute and the live broadcast data of the target live broadcast room to the audience terminal. Alternatively, the first and second electrodes may be,
sending a broadcasting instruction to a server, wherein the broadcasting instruction comprises room attributes and room identifiers of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
and receiving a broadcasting notice of the target live broadcast room fed back by the server according to the room attribute and the room identifier. Alternatively, the first and second electrodes may be,
sending a live broadcast adding instruction to a server, wherein the live broadcast adding instruction comprises a room identifier of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
receiving room attributes and live broadcast data of a target live broadcast room, which are determined by a server according to room identifiers;
and displaying the live broadcast data according to the room attribute.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in any network live method provided by the embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the foregoing live webcasting apparatus, each included unit and module are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (11)

1. A network live broadcast method is applied to a server under network live broadcast, and comprises the following steps:
receiving a broadcasting instruction of a main broadcasting terminal, wherein the broadcasting instruction comprises room attributes and room identifiers of a live broadcasting room, the live broadcasting room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
determining a currently played target live broadcast room according to the room attribute and the room identifier, and feeding back a corresponding playing notification to the anchor terminal;
receiving a live broadcast joining instruction of a viewer terminal, wherein the live broadcast joining instruction comprises a room identifier of a target live broadcast room;
adding the audience terminal into the target live broadcast room according to the room identifier, and sending the room attribute and the live broadcast data of the target live broadcast room to the audience terminal;
receiving a room attribute switching instruction of the anchor terminal, wherein the room attribute switching instruction comprises a target room attribute after switching from a few windows to a plurality of windows;
and sending the target room attribute to each audience terminal of the target live broadcast room.
2. The method of claim 1, further comprising, after transmitting the room attributes and live data of the target live room to the viewer terminal:
receiving a window entering request of the audience terminal, and forwarding the window entering request to the anchor terminal, wherein the window entering request comprises an audience identifier of the audience terminal;
receiving a window identifier configured for the audience terminal by the anchor terminal according to the audience identifier, and correspondingly storing the audience identifier and the window identifier;
feeding back a window success notification to the audience terminal, the window success notification including the window identification;
receiving the audience live broadcast data of the audience terminal, and forwarding the audience live broadcast data to the anchor terminal and other audience terminals.
3. The method of claim 1, further comprising, after feeding back a corresponding on-air notification to the anchor terminal:
receiving a window switching instruction of the anchor terminal, wherein the window switching instruction comprises window identifications of two sides of a window to be switched;
and updating pre-stored window mark information according to the window marks of the two sides of the window to be switched, and sending the window mark information to each audience terminal of the target live broadcast room.
4. A network live broadcast method is applied to a main broadcast terminal under network live broadcast, and comprises the following steps:
sending a playing instruction to a server, wherein the playing instruction comprises room attributes and room identifiers of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
receiving a broadcast notification of a target live broadcast room fed back by the server according to the room attribute and the room identifier;
sending a room attribute switching instruction to the server, wherein the room attribute switching instruction comprises a target room attribute after switching from a few windows to a plurality of windows;
and updating and displaying live broadcast data according to the target room attribute.
5. The method of claim 4, further comprising, after receiving a broadcast notification of a target live room fed back by the server according to the room properties and the room identification:
receiving a window entering request of a viewer terminal forwarded by the server, wherein the window entering request comprises a viewer identifier of the viewer terminal;
configuring a corresponding window identifier for the audience terminal according to the audience identifier, and feeding back the window identifier to the server;
and receiving the audience live broadcast data of the audience terminal forwarded by the server, and displaying the audience live broadcast data according to the window identification.
6. The method of claim 4, further comprising, after receiving a broadcast notification of a target live room fed back by the server according to the room properties and the room identification:
sending a window switching instruction to the server, wherein the window switching instruction comprises window identifications of both sides of a window to be switched;
updating a pre-stored mapping relation table according to the window identifications of the two sides of the window to be switched, wherein the mapping relation table comprises the window identification of each window in the target live broadcast room and the corresponding physical display position;
and switching the live broadcast data corresponding to the two sides of the window to be switched in the target live broadcast room according to the updated mapping relation between the window identifier and the physical display position.
7. A live streaming apparatus configured in a server under live streaming, comprising:
the broadcasting instruction receiving module is used for receiving a broadcasting instruction of a main broadcasting terminal, wherein the broadcasting instruction comprises room attributes and room identifiers of a live broadcasting room, the live broadcasting room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
the broadcasting determining module is used for determining a currently broadcasted target live broadcast room according to the room attribute and the room identifier and feeding back a corresponding broadcasting notice to the anchor terminal;
the joining instruction receiving module is used for receiving a live-broadcast joining instruction of a viewer terminal, wherein the live-broadcast joining instruction comprises a room identifier of a target live broadcast room;
the audience adding module is used for adding the audience terminal into the target live broadcast room according to the room identifier and sending the room attribute and the live broadcast data of the target live broadcast room to the audience terminal;
the attribute switching instruction receiving module is used for receiving a room attribute switching instruction of the anchor terminal, wherein the room attribute switching instruction comprises a target room attribute after switching from a few windows to a plurality of windows;
and the target attribute sending module is used for sending the target room attribute to each audience terminal of the target live broadcast room.
8. A live webcasting apparatus configured in a anchor terminal under live webcasting, comprising:
the broadcasting instruction sending module is used for sending a broadcasting instruction to the server, wherein the broadcasting instruction comprises room attributes and room identifiers of a live broadcast room, the live broadcast room comprises a main window and at least one secondary window, and the size of the main window is larger than that of the secondary window;
the broadcast notification receiving module is used for receiving a broadcast notification of a target live broadcast room fed back by the server according to the room attribute and the room identifier;
the first room switching module is used for sending a room attribute switching instruction to the server, wherein the room attribute switching instruction comprises a target room attribute after switching from a few windows to a plurality of windows; and updating and displaying live broadcast data according to the target room attribute.
9. A live network system, comprising: a server, a anchor terminal and a viewer terminal; the server is configured with the webcast device as claimed in claim 7, and the anchor terminal is configured with the webcast device as claimed in claim 8.
10. An apparatus, comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the live webcasting method of any of claims 1-6.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a live webcasting method according to any one of claims 1 to 6.
CN201811446636.3A 2018-11-29 2018-11-29 Network live broadcast method, device, equipment and storage medium Active CN109511007B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811446636.3A CN109511007B (en) 2018-11-29 2018-11-29 Network live broadcast method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811446636.3A CN109511007B (en) 2018-11-29 2018-11-29 Network live broadcast method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109511007A CN109511007A (en) 2019-03-22
CN109511007B true CN109511007B (en) 2021-05-04

Family

ID=65751386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811446636.3A Active CN109511007B (en) 2018-11-29 2018-11-29 Network live broadcast method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109511007B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112243137A (en) * 2019-07-17 2021-01-19 北京密境和风科技有限公司 Live broadcast interface updating method, device, server and system
CN112752136B (en) * 2020-12-09 2023-06-27 广东各有所爱信息科技有限公司 Crowd funding and opening method
CN113949888B (en) * 2021-09-28 2023-02-24 北京达佳互联信息技术有限公司 Live broadcast interface display method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394432A (en) * 2014-11-26 2015-03-04 广州华多网络科技有限公司 Video studio creating method and service device
CN104581221A (en) * 2014-12-25 2015-04-29 广州酷狗计算机科技有限公司 Video live broadcasting method and device
EP2986008A1 (en) * 2014-08-13 2016-02-17 Samsung Electronics Co., Ltd Cloud system and method of displaying, by cloud system, content
CN106331754A (en) * 2016-08-18 2017-01-11 北京奇虎科技有限公司 Method of via-microphone live broadcast in live Internet broadcast, and anchor-side device
CN106713945A (en) * 2016-12-06 2017-05-24 广州华多网络科技有限公司 Client microbonding live processing method and device, live server and live system
CN107124652A (en) * 2017-04-19 2017-09-01 武汉斗鱼网络科技有限公司 One kind connects wheat live middle windows switching method and device
CN107342978A (en) * 2017-05-27 2017-11-10 广州市百果园信息技术有限公司 Direct broadcasting room connects wheat control method, device and corresponding terminal device
CN108235042A (en) * 2016-12-14 2018-06-29 腾讯科技(深圳)有限公司 A kind of more people's live network broadcast methods, device, adding apparatus and system
CN108574879A (en) * 2018-03-30 2018-09-25 乐蜜有限公司 Joint live broadcasting method, device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2986008A1 (en) * 2014-08-13 2016-02-17 Samsung Electronics Co., Ltd Cloud system and method of displaying, by cloud system, content
CN104394432A (en) * 2014-11-26 2015-03-04 广州华多网络科技有限公司 Video studio creating method and service device
CN104581221A (en) * 2014-12-25 2015-04-29 广州酷狗计算机科技有限公司 Video live broadcasting method and device
CN106331754A (en) * 2016-08-18 2017-01-11 北京奇虎科技有限公司 Method of via-microphone live broadcast in live Internet broadcast, and anchor-side device
CN106713945A (en) * 2016-12-06 2017-05-24 广州华多网络科技有限公司 Client microbonding live processing method and device, live server and live system
CN108235042A (en) * 2016-12-14 2018-06-29 腾讯科技(深圳)有限公司 A kind of more people's live network broadcast methods, device, adding apparatus and system
CN107124652A (en) * 2017-04-19 2017-09-01 武汉斗鱼网络科技有限公司 One kind connects wheat live middle windows switching method and device
CN107342978A (en) * 2017-05-27 2017-11-10 广州市百果园信息技术有限公司 Direct broadcasting room connects wheat control method, device and corresponding terminal device
CN108574879A (en) * 2018-03-30 2018-09-25 乐蜜有限公司 Joint live broadcasting method, device and electronic equipment

Also Published As

Publication number Publication date
CN109511007A (en) 2019-03-22

Similar Documents

Publication Publication Date Title
CN109511007B (en) Network live broadcast method, device, equipment and storage medium
WO2017202243A1 (en) Multimedia playback method and related device
US8830294B2 (en) Method and system for video conference control, videoconferencing network equipment, and videoconferencing site
CN108235042B (en) Multi-user network live broadcast method, device, joining device, system, server and computer readable storage medium
CN108924662B (en) Continuous microphone interaction method, device, equipment and storage medium
US20140344286A1 (en) Method and apparatus for displaying webcast roomss
WO2014183427A1 (en) Method and apparatus for displaying webcast rooms
CN112714330A (en) Gift presenting method and device based on live broadcast with wheat and electronic equipment
CN104363476A (en) Online-live-broadcast-based team-forming activity method, device and system
CN109525851A (en) Live broadcasting method, device and storage medium
WO2015032277A1 (en) Transmission method and device for media stream in video conference
US20130067331A1 (en) Method and System of Simultaneous Display of Multiple Screens on a Target Display
CN111385663A (en) Live broadcast interaction method, device, equipment and storage medium
CN107517399B (en) Media information synchronization method and server
CN110012362B (en) Live broadcast voice processing method, device, equipment and storage medium
CN112954615B (en) Communication method, device, medium and electronic equipment for multicast broadcast service
CN104363475A (en) Audience grouping association method, device and system
CN112383832B (en) Live broadcast room interaction method, electronic equipment and computer readable storage medium
WO2016074326A1 (en) Channel switching method, apparatus and system
CN113179414A (en) Live broadcast interaction method, device, equipment and storage medium
CN109634597B (en) Data processing method and device, electronic equipment and storage medium
CN110677696A (en) Live broadcast interaction system and method, equipment and storage medium
CN102185856A (en) Team organizing video method, device and system used in team organizing game
CN109982101B (en) Live broadcast processing method, device, equipment and storage medium
WO2023005199A1 (en) Data processing method and apparatus

Legal Events

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

Effective date of registration: 20220614

Address after: 31a, 15 / F, building 30, maple mall, bangrang Road, Brazil, Singapore

Patentee after: Baiguoyuan Technology (Singapore) Co.,Ltd.

Address before: 511442 23-39 / F, building B-1, Wanda Plaza North, Wanbo business district, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU BAIGUOYUAN INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right