CN107635155B - Information sending method, device, equipment and storage medium - Google Patents

Information sending method, device, equipment and storage medium Download PDF

Info

Publication number
CN107635155B
CN107635155B CN201710854170.XA CN201710854170A CN107635155B CN 107635155 B CN107635155 B CN 107635155B CN 201710854170 A CN201710854170 A CN 201710854170A CN 107635155 B CN107635155 B CN 107635155B
Authority
CN
China
Prior art keywords
live broadcast
broadcast room
audience
terminal
target 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
CN201710854170.XA
Other languages
Chinese (zh)
Other versions
CN107635155A (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.)
Zhuomi Private Ltd
Original Assignee
Hong Kong LiveMe Corp 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 Hong Kong LiveMe Corp ltd filed Critical Hong Kong LiveMe Corp ltd
Priority to CN201710854170.XA priority Critical patent/CN107635155B/en
Publication of CN107635155A publication Critical patent/CN107635155A/en
Application granted granted Critical
Publication of CN107635155B publication Critical patent/CN107635155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides an information sending method, an information sending device, information sending equipment and a storage medium. The method comprises the following steps: when a first audience terminal enters a target live broadcast room, a main broadcast terminal acquires the number of audience terminals currently entering the target live broadcast room from a server; judging whether the number of audience terminals currently entering a target live broadcast room is larger than a preset number or not; and if so, sending first feedback information to the server so that the server stops sending a prompt message for the first audience terminal to enter the target live broadcast room to all terminals in the target live broadcast room. Through the technical scheme, the situation that a large number of prompt messages are displayed in the screens of all terminals in the target live broadcast room at the same time and interactive information of the audience and the anchor is displayed in all terminals in the target live broadcast room can be avoided, so that the audience and the anchor can interact normally, the situation that the video picture is shielded due to the fact that too many prompt messages in the screens of the audience terminals exist can be avoided, and the audience can watch the video normally.

Description

Information sending method, device, equipment and storage medium
Technical Field
The present invention relates to the field of online live broadcast technologies, and in particular, to an information sending method, an information sending apparatus, a device, and a computer-readable storage medium.
Background
An online live broadcast system is an internet system that broadcasts a live video stream generated by an anchor terminal to a plurality of viewer terminals for viewing. An online live broadcast system is generally divided into live broadcast rooms, and all terminals included in a same live broadcast room are: a main broadcasting terminal and a plurality of audience terminals.
In the live broadcasting process, when audience terminals enter a live broadcasting room, prompt messages of the audience terminals entering the live broadcasting room can be popped up in the screens of the anchor terminal and the audience terminals in the same live broadcasting room.
In the prior art, when a large number of audience terminals enter the same live broadcast room at the same time, a large number of prompt messages prompting the audience terminals to enter the live broadcast room are displayed on the screens of the anchor terminal and the audience terminals in the live broadcast room, for example, the prompt message is "a certain person enters the live broadcast room". These alert messages can lead to a reduced experience for the anchor and the viewer in the live room. In particular, normal viewer interaction with the anchor may be affected, as well as normal viewing of live video by the viewer.
Disclosure of Invention
The embodiment of the invention aims to provide a prompt message display method, a prompt message display device, prompt message display equipment and a storage medium, so as to improve the experience of a main broadcast and audiences in a live broadcast room. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an information sending method, which is applied to a anchor terminal, and the method includes:
when a first audience terminal enters a target live broadcast room, acquiring the number of the audience terminals currently entering the target live broadcast room from a server, wherein the target live broadcast room is a live broadcast room in which the anchor terminal is located, and the first audience terminal is any audience terminal of the audience terminals;
judging whether the number is larger than a preset number;
if so, sending first feedback information to the server so that the server stops sending prompt messages to all terminals in the target live broadcast room, wherein the prompt messages are messages prompting the first audience terminal to enter the target live broadcast room.
Optionally, when it is determined that the number is not greater than the predetermined number, the method further includes:
and sending second feedback information to the server so that the server sends prompt messages to all terminals of the target live broadcast room.
Optionally, if it is determined that the number is greater than the predetermined number, before sending the first feedback information to the server, the method further includes:
acquiring identification information of the first viewer terminal from the server;
judging whether the identification information in the anchor terminal history record contains the identification information of the first audience terminal;
if so, executing the step of sending the first feedback information to the server;
if not, sending third feedback information to the server, so that the server only sends a prompt message for the first audience terminal to enter the target live broadcast room to all terminals in the target live broadcast room;
and returning to the step of acquiring the number of the audience terminals currently entering the target live broadcast room from the server when the first audience terminal enters the target live broadcast room.
Optionally, the method further includes:
acquiring the number of messages sent by all audience terminals in the target live broadcast room within a first preset time interval from the server;
judging whether the number of the messages is larger than a preset message number or not;
if so, sending a fourth feedback message to the server, so that the server sends the messages to all terminals in the target live broadcast room in batches according to a second preset time interval.
In a second aspect, an embodiment of the present invention further provides an information sending method, which is applied to a server, where the method includes:
when monitoring that a first audience terminal enters a target live broadcast room, counting the number of the audience terminals currently entering the target live broadcast room so that a main broadcast terminal can obtain the number of the audience terminals currently entering the target live broadcast room, judging whether the number is larger than a preset number or not, and sending first feedback information to a server when the number is larger than the preset number, wherein the target live broadcast room is a live broadcast room where the main broadcast terminal is located, and the first audience terminal is any audience terminal of the audience terminals;
monitoring whether the first feedback information is received;
if so, stopping sending prompt messages to all terminals of the target live broadcast room, wherein the prompt messages are messages for prompting the first audience terminal to enter the target live broadcast room.
Optionally, the method further includes:
monitoring whether second feedback information sent by the anchor terminal is received, wherein the second feedback information is feedback information sent by the anchor terminal to the server after judging that the number of audience terminals currently entering a target live broadcast room is not more than a preset number;
if so, sending a prompt message to all terminals in the target live broadcast room, wherein the prompt message is a message prompting the first audience terminal to enter the target live broadcast room.
Optionally, the method further includes:
monitoring whether third feedback information sent by the anchor terminal is received, wherein the third feedback information is feedback information sent to a server when the anchor terminal judges that the number of audience terminals currently entering a target live broadcast room is larger than a preset number and judges that identification information in a history record of the anchor terminal does not contain the identification information of the first audience terminal before the anchor terminal sends the first feedback information to the server;
and if so, only sending the prompt message of the first audience terminal entering the target live broadcast room to all terminals in the target live broadcast room.
Optionally, the method further includes:
monitoring whether fourth feedback information sent by the anchor terminal is received, wherein the fourth feedback information is feedback information sent to a server when the anchor terminal judges that the number of messages sent by all audience terminals in a target live broadcast room in a first preset time interval is larger than a preset message number;
if yes, sending messages sent by all audience terminals in the target live broadcast room to all terminals in the target live broadcast room in batches according to a preset time interval.
In a third aspect, an embodiment of the present invention further provides a request sending method, applied to a first viewer terminal, where the method includes:
when a first audience terminal enters a target live broadcast room, sending a request for entering the target live broadcast room to a server, so that a main broadcast terminal obtains the number of audience terminals currently entering the target live broadcast room from the server, judging whether the number is greater than a preset number or not, and sending first feedback information to the server when the number is greater than the preset number, wherein the target live broadcast room is the live broadcast room where the main broadcast terminal is located.
Optionally, the method further includes:
acquiring a message to be sent;
judging whether the message to be sent contains a first preset vocabulary or not;
if so, displaying a reminding message in a screen of the first audience terminal, wherein the reminding message is used for reminding the first audience terminal that a message to be sent contains a first preset vocabulary;
and if not, sending the message to be sent to a server so that the server sends the message to be sent to all terminals in a live broadcast room where the first audience terminal is located.
Optionally, after the obtaining of the message to be sent, the method further includes:
judging whether the message to be sent contains a second preset vocabulary or not;
if so, displaying the message to be sent in a screen of the first audience terminal;
and if not, sending the message to be sent to a server so that the server sends the message to be sent to all terminals in a live broadcast room where the first audience terminal is located.
Optionally, the acquiring a message to be sent includes:
receiving message content input by a user;
judging whether the time interval between the moment of receiving the message content and the moment of sending the previous message is greater than or equal to a preset time interval or not;
if so, determining the message content as a message to be sent.
In a fourth aspect, an embodiment of the present invention provides an information sending apparatus, which is applied to an anchor terminal, and the apparatus includes:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the number of audience terminals currently entering a target live broadcast room from a server when the first audience terminals enter the target live broadcast room, the target live broadcast room is a live broadcast room in which a main broadcast terminal is located, and the first audience terminals are any audience terminals of the audience terminals;
the first judging module is used for judging whether the number is larger than the preset number or not;
and the first sending module is used for sending first feedback information to the server if the first feedback information is yes, so that the server stops sending prompt messages to all terminals in the target live broadcast room, wherein the prompt messages are messages for prompting the first audience terminal to enter the target live broadcast room.
Optionally, the apparatus further comprises:
and the second sending module is used for sending second feedback information to the server when the first judging module judges that the number is not greater than the preset number, so that the server sends prompt messages to all terminals of the target live broadcast room.
Optionally, the apparatus further comprises:
a second obtaining module, configured to obtain, if the first determining module determines that the number is greater than the predetermined number, identification information of the first viewer terminal from the server before sending the first feedback information to the server;
the second judging module is used for judging whether the identification information in the anchor terminal history record contains the identification information of the first audience terminal;
a first triggering module, configured to execute the step of sending the first feedback information to the server if the second determining module determines that the identification information in the anchor terminal history record includes the identification information of the first viewer terminal;
a second sending module, configured to send third feedback information to the server if the second determining module determines that the identification information in the anchor terminal history record does not include the identification information of the first viewer terminal, so that the server sends only a prompt message that the first viewer terminal enters the target live broadcast room to all terminals in the target live broadcast room;
and the second triggering module is used for triggering the first acquisition module to execute the step of acquiring the number of the audience terminals currently entering the target live broadcast room from the server when the first audience terminal enters the target live broadcast room.
Optionally, the apparatus further comprises:
a third obtaining module, configured to obtain, from the server, the number of messages sent by all viewer terminals in the target live broadcast room within a first preset time interval;
the third judging module is used for judging whether the number of the messages is larger than the preset number of the messages or not;
and if the third judging module judges that the number of the messages is larger than the preset number of the messages, the fourth sending module sends a fourth feedback message to the server, so that the server sends the messages to all terminals in the target live broadcast room in batches according to a second preset time interval.
In a fifth aspect, an embodiment of the present invention further provides an information sending apparatus, which is applied to a server, where the apparatus includes:
the system comprises a counting module, a first live broadcast room and a server, wherein the counting module is used for counting the number of audience terminals currently entering the target live broadcast room when monitoring that a first audience terminal enters the target live broadcast room, so that a main broadcast terminal can obtain the number of the audience terminals currently entering the target live broadcast room, judging whether the number is larger than a preset number or not, and sending first feedback information to the server when the number is larger than the preset number, wherein the target live broadcast room is a live broadcast room where the main broadcast terminal is located, and the first audience terminal is any audience terminal of the audience terminals;
the first monitoring module is used for monitoring whether the first feedback information is received or not;
and the sending stopping module is used for stopping sending a prompt message to all terminals of the target live broadcast room if the monitoring module monitors that the first feedback information is received, wherein the prompt message is a message for prompting the first audience terminal to enter the target live broadcast room.
Optionally, the apparatus further comprises:
the second monitoring module is used for monitoring whether second feedback information sent by the anchor terminal is received or not, wherein the second feedback information is feedback information sent by the anchor terminal to the server after judging that the number of audience terminals currently entering a target live broadcast room is not more than a preset number;
and a fifth sending module, configured to send a prompt message to all terminals in the target live broadcast room if the second monitoring module monitors that second feedback information sent by the anchor terminal is received, where the prompt message is a message prompting the first viewer terminal to enter the target live broadcast room.
Optionally, the apparatus further comprises:
the third monitoring module is used for monitoring whether third feedback information sent by the anchor terminal is received, wherein the third feedback information is feedback information sent to the server when the anchor terminal judges that the number of audience terminals currently entering a target live broadcast room is larger than a preset number and judges that identification information in a history record of the anchor terminal does not contain the identification information of the first audience terminal before the anchor terminal sends the first feedback information to the server;
and the sixth sending module is configured to send, if the third monitoring module monitors that the third feedback information sent by the anchor terminal is received, only a prompt message that the first viewer terminal enters the target live broadcast room to all terminals in the target live broadcast room.
Optionally, the apparatus further comprises:
the fourth monitoring module is used for monitoring whether fourth feedback information sent by the anchor terminal is received, wherein the fourth feedback information is feedback information sent to the server when the anchor terminal judges that the number of messages sent by all audience terminals in a target live broadcast room in a first preset time interval is larger than the preset number of messages;
and the seventh sending module is configured to send, in batches, messages sent by all audience terminals in the target live broadcast room to all terminals in the target live broadcast room according to a predetermined time interval if the fourth monitoring module monitors that the fourth feedback information sent by the anchor terminal is received.
In a sixth aspect, an embodiment of the present invention provides a request sending apparatus, applied to a first viewer terminal, where the apparatus includes:
and the eighth sending module is used for sending a request for entering the target live broadcast room to the server when the first audience terminal enters the target live broadcast room, so that the anchor terminal obtains the number of the audience terminals currently entering the target live broadcast room from the server, judges whether the number is greater than the preset number, and sends first feedback information to the server when the number is greater than the preset number, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located.
Optionally, the apparatus further comprises:
a fourth obtaining module, configured to obtain a message to be sent;
the fourth judging module is used for judging whether the message to be sent contains a first preset vocabulary;
the first display module is configured to display a prompting message in a screen of the first viewer terminal if the fourth determining module determines that the message to be sent includes a first preset vocabulary, where the prompting message is used to prompt the first viewer terminal that the message to be sent includes the first preset vocabulary;
and the ninth sending module is configured to send the message to be sent to a server if the fourth determining module determines that the message to be sent does not include the first preset vocabulary, so that the server sends the message to be sent to all terminals in a live broadcast room where the first audience terminal is located.
Optionally, the apparatus further comprises:
a fifth judging module, configured to judge whether the message to be sent includes a second preset vocabulary after the message to be sent is obtained;
the second display module is used for displaying the message to be sent in a screen of the first audience terminal if the fifth judging module judges that the message to be sent contains a second preset vocabulary;
and the tenth sending module is configured to send the message to be sent to a server if the fifth judging module judges that the message to be sent does not include a second preset vocabulary, so that the server sends the message to be sent to all terminals in a live broadcast room where the first audience terminal is located.
Optionally, the fourth obtaining module is specifically configured to:
receiving message content input by a user;
judging whether the time interval between the moment of receiving the message content and the moment of sending the previous message is greater than or equal to a preset time interval or not;
if so, determining the message content as a message to be sent.
A seventh aspect, an embodiment of the present invention provides a terminal device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor configured to implement the method steps of the first aspect applied to the information sending method of the anchor terminal when executing the program stored in the memory.
In an eighth aspect, an embodiment of the present invention provides a server, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
and a processor, configured to implement the method steps of the information sending method applied to the server according to the second aspect when executing the program stored in the memory.
In a ninth aspect, an embodiment of the present invention provides a terminal device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of the third aspect as applied to the method of request transmission for a first viewer terminal when executing a program stored in the memory.
In a tenth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of the information sending method applied to the anchor terminal in the first aspect.
In an eleventh aspect, the embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the information sending method applied to the server according to the second aspect.
In a twelfth aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of the third aspect applied to the request sending method of the first viewer terminal.
Compared with the prior art, according to the technical scheme of the embodiment of the invention, when the first audience terminal enters the target live broadcast room, the anchor terminal acquires the number of the audience terminals currently entering the target live broadcast room from the server, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located; judging whether the number of audience terminals currently entering a target live broadcast room is larger than a preset number or not; and if so, sending first feedback information to the server so that the server stops sending a prompt message for the first audience terminal to enter the target live broadcast room to all terminals in the target live broadcast room.
Through the technical scheme, when a large number of audience terminals enter the target live broadcast room at the same time, the server stops sending the prompt messages of each audience terminal entering the target live broadcast room to all terminals in the target live broadcast room, the situation that a large number of prompt messages are displayed in the screens of all terminals in the target live broadcast room at the same time can be avoided, but the interactive information of the audience and the anchor is displayed in all terminals in the target live broadcast room, so that the audience and the anchor can normally interact, the situation that the video pictures are shielded due to the fact that too many prompt messages in the screens of the audience terminals are caused can be avoided, and the audience can normally watch videos.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an information sending method applied to a anchor terminal according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an information sending method applied to a server according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an information sending apparatus applied to an anchor terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of information transmission applied to a server according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the technical problems that in the prior art, when a large number of audience terminals enter a target live broadcast room at the same time, a large number of prompt messages are displayed on screens of all terminals in the target live broadcast room, so that the audience and a main broadcast cannot normally interact, and the audience cannot normally watch live broadcast videos, the embodiment of the invention provides a message sending method, a device, equipment and a storage medium.
In the first aspect, the following first introduces an information sending method provided in an embodiment of the present invention.
As shown in fig. 1, an information sending method applied to a anchor terminal according to an embodiment of the present invention includes the following steps:
s101, when a first audience terminal enters a target live broadcast room, acquiring the number of the audience terminals currently entering the target live broadcast room from a server, wherein the target live broadcast room is a live broadcast room in which a main broadcast terminal is located, and the first audience terminal is any audience terminal of the audience terminals;
in the process that the anchor terminal carries out live broadcast in the target live broadcast room, when a first audience terminal enters the target live broadcast room, wherein the first audience terminal does not enter any audience terminal of the target live broadcast room, and the server acquires the number of the audience terminals currently entering the target live broadcast room. The anchor terminal needs to acquire the number of the audience terminals currently entering the target live broadcast room from the server in order to judge whether the number of the audience terminals currently entering the target live broadcast room exceeds a preset number.
S102, judging whether the number is larger than a preset number or not;
after the number of the audience terminals entering the target live broadcast room at present is obtained, the anchor terminal judges whether the number is larger than the preset number or not so as to avoid that in the next step, when the number is larger than the preset number, the server still sends a prompt message that the first audience terminal enters the target live broadcast room to the anchor terminal and the audience terminals in the target live broadcast room to cause that prompt messages of 'XXX enters the live broadcast room' are simultaneously displayed in screens of all terminals in the target live broadcast room, so that the anchor and the audience cannot normally interact, and the audience cannot normally watch live broadcast videos.
It should be noted that the size of the predetermined number is set according to actual conditions, and after the predetermined number is set, the following conditions are required to be satisfied: when the number of prompt messages which is less than or equal to the preset number are displayed in the screens of all the terminals in the target live broadcast room, normal interaction between the anchor broadcast and audiences is not influenced, and normal video watching of the audiences is not influenced. In addition, it is reasonable that the predetermined number may be set in advance by the anchor terminal, or may be generated by the anchor terminal after entering the target live broadcast room. The size of the predetermined number and the generation manner of the predetermined number are not particularly limited in the present invention.
S103, if the number of the audience terminals entering the target live broadcast room is larger than the preset number, first feedback information is sent to the server, so that the server stops sending a prompt message that the first audience terminals enter the target live broadcast room to all terminals in the target live broadcast room.
If the anchor terminal judges that the number of the audience terminals currently entering the target live broadcast room is larger than the preset number, the normal interaction between the anchor and the audience and the normal video watching of the audience can be influenced if the number of the prompt messages are displayed on the screens of the anchor terminal and the audience terminals of the target live broadcast room. At the moment, in order to avoid that the anchor can not normally interact with audiences and the audiences can not normally watch videos, the anchor terminal sends first feedback information to the server, and the server stops sending prompt messages of the first audience terminal entering the target live broadcasting room to the anchor terminal and the audience terminal in the target live broadcasting room when receiving the first feedback information sent by the anchor terminal, so that a large number of prompt messages are prevented from being simultaneously displayed in the anchor terminal or the audience terminal in the target live broadcasting room, but interactive information of the anchor and the audiences is displayed in screens of the anchor terminal and the audience terminal, the anchor can normally interact with the audiences, the condition that the video pictures are blocked due to the fact that the number of the prompt messages in the screens of the audience terminals is too large can be avoided, and the audiences can normally watch videos.
For example, the predetermined number set by the anchor terminal in the target live broadcast room is 5, if the number of the audience terminals currently entering the target live broadcast room, which is acquired by the anchor terminal to the server, is 10, and at this time, the number is greater than the predetermined number, the anchor terminal sends first feedback information to the server, and when receiving the first feedback information, the server stops sending a prompt message that the first audience terminal enters the live broadcast room to the anchor terminal and the audience terminals in the target live broadcast room.
It should be noted that when the number of the audience terminals currently entering the target live broadcast room is greater than the predetermined number, the prompt message that the first audience terminal enters the target live broadcast room is not displayed in the screens of the anchor terminal and the audience terminal of the target live broadcast room, and of course, the total number of people and the historical number of people watching the target live broadcast room can be displayed in the screens of the anchor terminal and the audience terminal of the target live broadcast room, which are reasonable, so that the clients who are in anchor and watch the video of the target live broadcast room can see the number of users watching the video of the target live broadcast room and how many users enter the target live broadcast room.
Compared with the prior art, according to the technical scheme of the embodiment of the invention, when the first audience terminal enters the target live broadcast room, the anchor terminal acquires the number of the audience terminals currently entering the target live broadcast room from the server, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located; judging whether the number of audience terminals currently entering a target live broadcast room is larger than a preset number or not; and if so, sending first feedback information to the server so that the server stops sending a prompt message for the first audience terminal to enter the target live broadcast room to all terminals in the target live broadcast room.
Through the technical scheme, when a large number of audience terminals enter the target live broadcast room at the same time, the server stops sending the prompt messages of each audience terminal entering the target live broadcast room to all terminals in the target live broadcast room, the situation that a large number of prompt messages are displayed in the screens of all terminals in the target live broadcast room at the same time can be avoided, but the interactive information of the audience and the anchor is displayed in all terminals in the target live broadcast room, so that the audience and the anchor can normally interact, the situation that the video pictures are shielded due to the fact that too many prompt messages in the screens of the audience terminals are caused can be avoided, and the audience can normally watch videos.
Optionally, in an embodiment, when it is determined that the number of the audience terminals currently entering the target live broadcast room is not greater than the predetermined number, the information sending method further includes:
and sending second feedback information to the server so that the server sends a prompt message for the first audience terminal to enter the target live broadcast room to all terminals in the target live broadcast room.
When the anchor terminal judges that the number of the audience terminals entering the target live broadcast room is not more than the preset number, the anchor terminal still can normally interact with the audience and the audience can normally watch videos if the prompt message that the first audience terminals of the number enter the target live broadcast room is displayed on the anchor terminal and the audience terminals of the target live broadcast room. In order to ensure that the anchor can normally interact with audiences and the audiences can normally watch videos, the anchor and the audiences can simultaneously see which first audience terminals enter a target live broadcast room, the anchor terminal sends second feedback information to the server, and the server sends a prompt message that the first audience terminals enter the target live broadcast room to the anchor terminal and the audience terminals in the target live broadcast room when receiving the second feedback information sent by the anchor terminal.
For example, the predetermined number set by the anchor terminal in the target live broadcast room is 5, if the number of the audience terminals currently entering the target live broadcast room, which is acquired by the anchor terminal to the server, is 3, and at this time, the number is smaller than the predetermined number, the anchor terminal sends second feedback information to the server, and the server sends a prompt message that the first audience terminal enters the live broadcast room to the anchor terminal and the audience terminals in the target live broadcast room when receiving the second feedback information. In this way, the anchor and the viewer who are already in the entry to the target live room can know which first viewer terminals are entering the target live room.
Compared with the prior art, the technical scheme provided by the embodiment of the invention has the advantages that on the premise that the anchor can normally interact with the audience and the audience can normally watch the video, the anchor and the audience can simultaneously see which first audience terminals enter the target live broadcast room, and the experience of the anchor and the audience is further improved.
Optionally, in an embodiment, if it is determined that the number of the audience terminals currently entering the target live broadcast room is greater than the predetermined number, before sending the first feedback information to the server, the information sending method further includes:
acquiring identification information of a first viewer terminal from a server;
judging whether the identification information in the anchor terminal history record contains the identification information of the first audience terminal;
if so, executing a step of sending first feedback information to the server;
if not, sending third feedback information to the server, so that the server only sends a prompt message for the first audience terminal to enter the target live broadcast room to all terminals in the target live broadcast room;
and returning to the step of acquiring the number of the audience terminals currently entering the target live broadcast room from the server when the first audience terminal enters the target live broadcast room.
In order to enable an anchor terminal and audience terminals in a target live broadcast room to know that a first audience terminal entering the target live broadcast room enters the target live broadcast room for the first time, namely, the anchor and audiences watching videos in the target live broadcast room can know that a new audience enters the target live broadcast room, the anchor terminal acquires identification information of the first audience terminal entering the target live broadcast room from a server, judges whether the identification information in a history record of the anchor terminal contains identification information of the first audience terminal, and if the history record of the anchor terminal contains the identification information of the first audience terminal, the anchor terminal sends first feedback information to the server. That is, the server is caused to stop sending the cue message that the first viewer terminal entered the target live broadcast room to the anchor terminal and the viewer terminals in the anchor live broadcast room.
If the anchor terminal history record does not contain the identification information of the first audience terminal, the new user enters the target live broadcast room at the moment, in order to enable the anchor terminal and the audience terminals in the anchor live broadcast room to know that the new audience enters the target live broadcast room, the anchor terminal sends third feedback information to the server, and when the server receives the third feedback information, only a prompt message that the first audience terminal enters the target live broadcast room is sent to the anchor terminal and the audience terminals in the target live broadcast room.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, when a large number of users enter the target live broadcast room, the anchor and the audience can simultaneously see which new audience terminals enter the target live broadcast room on the premise that the anchor can normally interact with the audience and the audience can normally watch videos, so that the experience of the anchor and the audience is further improved.
Optionally, in an embodiment, the information sending method further includes:
acquiring the number of messages sent by all audience terminals in a target live broadcast room within a first preset time interval from a server;
judging whether the number of the messages is larger than the preset number of the messages;
if so, sending a fourth feedback message to the server, so that the server sends the messages to all terminals in the target live broadcast room in batches according to a second preset time interval.
The first preset time interval may be large or small, and may be, for example, 1 second, 2 seconds, 5 seconds, or the like; the predetermined number of messages is related to the screen sizes of the anchor terminal and the viewer terminals of the target live room. For example, if 5 pieces of information are clearly shown in the screens of the anchor terminal and the audience terminal of the target live broadcast room at a time when the 5 pieces of information are displayed in the screens of the anchor terminal and the audience terminal of the target live broadcast room at a time, the predetermined number of messages may be set to 5. The size of the second preset time interval may be set according to the needs of the anchor and the user. The second preset time interval may be set to be small if the anchor and the user want to see the messages in the screen quickly and clearly, and vice versa. The first preset time interval, the preset message quantity and the second preset time interval are not specifically limited in the embodiment of the present invention.
In order to prevent a large number of messages from scrolling too fast in the screens of the anchor terminal and the audience terminal in the target live broadcast room due to too many interactive messages sent by the anchor or audience, so that the anchor and the audience cannot interact well. The anchor terminal obtains a third number of messages sent by the anchor terminal and the audience terminal in the target live broadcast room within a first preset time interval from the server, judges whether the third number is larger than a preset message number, if the third number is larger than the preset message number, the fact that the number of the messages sent by the target terminal and the audience terminal is large is indicated, and the anchor and the audience can possibly not perform good interaction.
For example, if the predetermined number of messages is 5 and the third number counted by the anchor terminal in the predetermined time interval is 10, the anchor terminal sends the messages twice to the anchor terminal and the audience terminal of the target live broadcast room, that is, first, 5 messages are sent to the anchor terminal and the audience terminal of the target live broadcast room, and then, the other 5 messages are sent to the anchor terminal and the audience terminal of the target live broadcast room. For another example, if the predetermined number of messages is 5 and the third number counted by the anchor terminal in the predetermined time interval is 7, the anchor terminal sends the messages to the anchor terminal and the audience terminal of the target live broadcast room twice, that is, first, 5 messages are sent to the anchor terminal and the audience terminal of the target live broadcast room, and then, the other 2 messages are sent to the anchor terminal and the audience terminal of the target live broadcast room. Of course, it is also possible to send 2 messages to the anchor terminal and the audience terminal in the target live broadcast room first, and then send the other 5 messages to the anchor terminal and the audience terminal in the target live broadcast room. The embodiment of the invention does not specifically limit the number of messages sent by the server to all terminals in the target live broadcast room each time.
Compared with the prior art, the technical scheme provided by the embodiment of the invention can prevent a large amount of messages from rolling too fast in the screens of the anchor terminal and the audience terminal in the target live broadcast room due to too many interactive messages sent by the anchor or the audience, so that the anchor and the audience can not have good interaction.
As shown in fig. 2, an information sending method applied to a server according to an embodiment of the present invention includes the following steps:
s201, when it is monitored that a first audience terminal enters a target live broadcast room, counting the number of audience terminals currently entering the target live broadcast room, so that a main broadcast terminal can obtain the number of audience terminals currently entering the target live broadcast room, judging whether the number is larger than a preset number or not, and sending first feedback information to a server when the number is larger than the preset number, wherein the target live broadcast room is a live broadcast room where the main broadcast terminal is located, and the first audience terminal is any audience terminal of the audience terminals;
s202, monitoring whether first feedback information is received or not;
s203, if the first feedback information is monitored to be received, stopping sending the prompt message to all the terminals of the target live broadcast room, wherein the prompt message is a message for prompting the first audience terminal to enter the target live broadcast room.
When monitoring that a first audience terminal enters a target live broadcast room, the server counts the number of the current live broadcast rooms, so that the anchor terminal can obtain the number, and judges whether the number is larger than a preset number, so that when the number is larger than the preset number, the server still sends a prompt message that the first audience terminal enters the target live broadcast room to the anchor terminal and the audience terminals in the target live broadcast room, and the prompt message that XXX enters the live broadcast room is simultaneously displayed in screens of all terminals in the target live broadcast room, so that the anchor and the audience cannot normally interact, and the audience cannot normally watch live broadcast video.
Therefore, if the server receives the first feedback information sent by the anchor terminal, it indicates that the anchor terminal judges that the number of audience terminals currently entering the target live broadcast room is greater than the preset number, and at this time, if the number of prompt messages are displayed in the anchor terminal of the target live broadcast room and the screens of the audience terminals, normal interaction between the anchor and the audience is influenced, and the audience is influenced to watch the video normally. In order to avoid that the anchor can not normally interact with audiences and the audiences can not normally watch videos, the server stops sending prompt messages of the first audience terminal entering the target live broadcasting room to the anchor terminal and the audience terminal in the target live broadcasting room when receiving the first feedback information sent by the anchor terminal, so that the phenomenon that a large number of prompt messages are simultaneously displayed in the anchor terminal or the audience terminal in the target live broadcasting room is avoided, but the interactive information of the anchor and the audiences is displayed in screens of the anchor terminal and the audience terminal, the anchor can normally interact with the audiences, the phenomenon that the video pictures are blocked due to the fact that the number of the prompt messages in the screen of the audience terminal is too large can be avoided, and the audiences can normally watch videos.
Compared with the prior art, through the technical scheme, when a large number of audience terminals enter the target live broadcast room at the same time, the server stops sending the prompt messages of each audience terminal entering the target live broadcast room to all terminals in the target live broadcast room, the situation that a large number of prompt messages are displayed on the screens of the anchor terminal and the audience terminal in the target live broadcast room at the same time can be avoided, the interactive information of the audience and the anchor is displayed in the anchor terminal and the audience terminal in the target live broadcast room, therefore, the audience and the anchor can interact normally, the situation that the video pictures are shielded due to too many prompt messages in the screens of the audience terminals can be avoided, and the audience can watch live broadcast videos normally.
Optionally, the information sending method applied to the server further includes:
monitoring whether second feedback information sent by the anchor terminal is received, wherein the second feedback information is feedback information sent to a server by the anchor terminal after judging that the first number of the first audience terminals entering the target live broadcast room is not more than the preset number;
and if the second feedback information sent by the anchor terminal is monitored to be received, sending a prompt message that the first audience terminal enters the target live broadcast room to all terminals in the target live broadcast room.
When the server receives second feedback information sent by the anchor terminal, the anchor terminal judges that the number of audience terminals currently entering the target live broadcast room is not more than the preset number, if the prompt messages of the audience terminals entering the target live broadcast room are displayed on the anchor terminal and the audience terminals of the target live broadcast room, the anchor can still normally interact with the audience, and the audience can normally watch videos. In order to ensure that the anchor can normally interact with the audience and the audience can normally watch the video, the anchor and the audience can simultaneously see which first audience terminals enter the target live broadcast room, and the server sends a prompt message that the first audience terminals enter the target live broadcast room to the anchor terminal and the audience terminals in the target live broadcast room when receiving second feedback information sent by the anchor terminal.
Compared with the prior art, the technical scheme provided by the embodiment of the invention has the advantages that on the premise that the anchor can normally interact with the audience and the audience can normally watch the video, the anchor and the audience can simultaneously see which first audience terminals enter the target live broadcast room, and the experience of the anchor and the audience is further improved.
Optionally, the information sending method applied to the server further includes:
monitoring whether third feedback information sent by the anchor terminal is received, wherein the third feedback information is feedback information sent to the server when the anchor terminal judges that the first quantity is larger than the preset quantity and before the first feedback information is sent to the server, the identification information in the history record of the anchor terminal does not contain the identification information of the first audience terminal;
and if the server monitors that the third feedback information sent by the anchor terminal is received, only sending a prompt message that the first audience terminal enters the target live broadcast room to all terminals in the target live broadcast room.
If the server monitors that the third feedback information sent by the anchor terminal is received, the anchor terminal judges that the history of the anchor terminal does not contain the identification information of the first audience terminal, namely, a new user enters a target live broadcast room at the moment, in order to enable the anchor terminal and the audience terminals in the anchor live broadcast room to know that a new audience enters the target live broadcast room, the anchor terminal sends the third feedback information to the server, and when the server receives the third feedback information, only a prompt message that the first audience terminal enters the target live broadcast room is sent to the anchor terminal and the audience terminals in the target live broadcast room. Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, when a large number of users enter the target live broadcast room, the anchor and the audience can simultaneously see which new audience terminals enter the target live broadcast room on the premise that the anchor can normally interact with the audience and the audience can normally watch videos, so that the experience of the anchor and the audience is further improved.
Optionally, the information sending method applied to the server further includes:
monitoring whether fourth feedback information sent by the anchor terminal is received, wherein the fourth feedback information is feedback information sent to the server when the anchor terminal judges that the third quantity is larger than the preset message quantity;
and if monitoring that the fourth feedback information sent by the anchor terminal is received, the server sends messages sent by all terminals in the target live broadcast room to the terminals in the target live broadcast room in batches according to a preset time interval.
If the server monitors that the fourth feedback information sent by the anchor terminal is received, the fourth feedback information shows that the anchor or the audience sends more messages, and in order to prevent too many interactive messages sent by the anchor or the audience from causing a large number of messages to roll too fast in the screens of the anchor terminal and the audience terminal in the target live broadcast room, the anchor and the audience cannot perform good interaction. Therefore, when the server receives the fourth feedback information, the messages sent by the anchor terminal and the audience terminals in the target live broadcast room are sent to all the terminals in the target live broadcast room in batches.
Compared with the prior art, the technical scheme provided by the embodiment of the invention can prevent a large amount of messages from rolling too fast in the screens of the anchor terminal and the audience terminal in the target live broadcast room due to too many interactive messages sent by the anchor or the audience, so that the anchor and the audience can not have good interaction.
In a second aspect, a request sending method provided in an embodiment of the present invention is described below.
The request sending method applied to the first viewer terminal provided by the embodiment of the invention comprises the following steps:
when a first audience terminal enters a target live broadcast room, sending a request for entering the target live broadcast room to a server, so that a main broadcast terminal obtains the number of audience terminals currently entering the target live broadcast room from the server, judging whether the number is greater than a preset number, and sending first feedback information to the server when the number is greater than the preset number, wherein the target live broadcast room is the live broadcast room where the main broadcast terminal is located.
When the server receives a request sent by a first audience terminal, the server can count the number of requests of audience terminals entering a target live broadcast room at present, and then can count the number of audience terminals entering the target live broadcast room at present, so that the anchor terminal obtains the number of audience terminals entering the target live broadcast room at present from the server, judges whether the number is larger than a preset number or not, and sends first feedback information to the server when the number is larger than the preset number, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located.
Optionally, the method for requesting transmission applied to the first viewer terminal further includes the following steps:
acquiring a message to be sent;
judging whether a message to be sent contains a first preset vocabulary or not;
if the message to be sent is judged to contain the first preset vocabulary, displaying a reminding message in a screen of the first audience terminal, wherein the reminding message is used for reminding the first audience terminal that the message to be sent contains the first preset vocabulary;
and if the message to be sent does not contain the first preset vocabulary, sending the message to be sent to the server so that the server sends the message to be sent to all terminals in a target live broadcast room, wherein the target live broadcast room is a live broadcast room in which the audience terminals are located.
It should be noted that, it is reasonable that the message to be sent may be a text message or a voice message input by the viewer at the viewer terminal. The first predetermined vocabulary may be sensitive vocabulary, such as abuse, pornography, and the like.
When receiving a message to be sent, a viewer terminal indicates that the viewer wants to interact with a main broadcast or other viewers, and in order to ensure that the message sent by the viewer does not contain a first preset vocabulary but is used for well communicating with the main broadcast and the viewers, the viewer terminal presets a first preset vocabulary library locally, and when receiving the message to be sent, judges whether the message to be sent contains the first preset vocabulary.
If the audience terminal judges that the message to be sent contains the first preset vocabulary, which indicates that the message to be sent contains the sensitive vocabulary, at this moment, in order to enable the audience to well communicate with the anchor and other audiences, the audience terminal does not send the message to be sent to the server, namely the message to be sent fails to be sent, but sends a reminding message such as 'your message is illegal, please notice your word', and the like, so as to remind the audience of the word.
For example, if the viewer terminal acquires that the message to be sent is: abuse or other viewer messages, at which time the viewer terminal displays in its own screen a reminder message "your message has been violated, please notice your user," etc.
If the audience terminal judges that the message to be sent does not contain the first preset vocabulary, namely, the message to be sent does not contain sensitive vocabularies, at the moment, the audience terminal sends the message to be sent to the server, and the server sends the message to be sent to an anchor terminal and an audience terminal in a target live broadcast room when receiving the message to be sent, so that the audience sending the message can normally communicate with an anchor terminal and other audiences in the target live broadcast room.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, when the audience terminal acquires the message to be sent; judging whether a message to be sent contains a first preset vocabulary or not; if the message to be sent contains the first preset vocabulary, the audience terminal does not send the message to be sent to the server, but sends a reminding message to the audience terminal; and if the message to be sent does not contain the first preset vocabulary, sending the message to be sent to the server so that the server sends the message to be sent to the anchor terminal and the audience terminal in the target live broadcast room. Through the technical scheme provided by the embodiment of the invention, the message containing the first preset vocabulary can be prevented from being sent to the anchor terminal and the audience terminal in the target live broadcast room, so that the anchor and the audience in the target live broadcast room can be ensured to be well interacted.
Optionally, after obtaining the message to be sent, the request sending method further includes:
judging whether the message to be sent contains a second preset vocabulary or not;
if the message to be sent contains a second preset vocabulary, displaying the message to be sent in a screen of the first audience terminal;
and if the message to be sent does not contain the second preset vocabulary, sending the message to be sent to the server so that the server sends the message to be sent to all terminals in the target live broadcast room.
It should be noted that the second predetermined vocabulary is a vocabulary with a small meaning for communication between the anchor and the audience, and between the audience and the audience, such as "hi" and "hello". That is, these second predetermined words do not enable the anchor and the viewers to obtain any information of interest from them, and may affect the viewing videos of the viewers. Currently, the second preset vocabulary may be not only the vocabularies such as "hi", "hello", etc., but also other vocabularies, which are not specifically limited in the embodiment of the present invention.
Therefore, in order to enable the anchor and the audience as well as the audience and the audience to effectively communicate, when the audience terminal obtains the message to be sent, whether the message to be sent contains the second preset vocabulary is judged, if the message to be sent contains the second preset vocabulary, the message to be sent cannot enable the audience and the anchor and the audience to effectively communicate, and at the moment, the first audience terminal only displays the information to be sent in a screen of the first audience terminal. If the message to be sent does not contain the first preset vocabulary, the message to be sent can enable the audience to effectively communicate with the anchor and the audience, therefore, the first audience terminal sends the message to be sent to the server, and the server sends the message to be sent to the anchor terminal and the audience terminal in the target live broadcast room when receiving the message to be sent, so that the anchor can effectively communicate with the audience, and the audience can effectively communicate with the audience.
Compared with the prior art, the technical scheme provided by the embodiment of the invention can enable the audience to effectively communicate with the anchor and the audience.
Optionally, in an implementation, the obtaining of the message to be sent may include:
receiving message content input by a user;
judging whether the time interval between the moment of receiving the message content and the moment of sending the previous message is greater than a preset time interval or not;
if so, determining the message content as a message to be sent.
The method and the device avoid the phenomenon that a large number of messages sent by the user appear on the screens of the anchor terminal and the audience terminals in the target live broadcast room due to the fact that the same audience frequently sends the messages, and therefore normal communication of other users in the target live broadcast room is influenced. When receiving a message content input by a user, the audience terminal judges whether a time interval between a moment of receiving the message content and a moment of sending a previous message is greater than a preset time interval, if the time interval between the sending time of a previous message of the message to be sent and the generation time of the message to be sent is greater than or equal to the preset time interval, the audience of the audience terminal does not send the message frequently, and at the moment, the audience terminal can determine the received message content as the message to be sent.
If the time interval between the moment of receiving the message content and the moment of sending the previous message is judged to be smaller than the preset time interval, the fact that the audience terminal frequently sends the message is indicated, the received content is not determined to be the message to be sent at the moment, of course, the audience terminal can store the received message content locally, and when the time interval is larger than the preset time interval, the received content is determined to be the message to be sent; it is reasonable that the received message content may not be saved.
Compared with the prior art, the technical scheme provided by the embodiment of the invention can avoid the situation that a large amount of messages sent by the user appear on the screens of the anchor terminal and the audience terminal in the target live broadcast room due to the fact that the same audience frequently sends the messages, so that each audience in the target live broadcast room can normally communicate with the anchor and other audiences.
In the third aspect, an information transmitting apparatus according to an embodiment of the present invention is described below.
As shown in fig. 3, a message sending apparatus applied to a host terminal according to an embodiment of the present invention includes:
a first obtaining module 310, configured to obtain, from a server, a number of audience terminals currently entering a target live broadcast room when a first audience terminal enters the target live broadcast room, where the target live broadcast room is a live broadcast room in which the anchor terminal is located, and the first audience terminal is any audience terminal of the audience terminals;
a first determining module 320, configured to determine whether the number is greater than a predetermined number;
a first sending module 330, configured to send first feedback information to the server if the first determining module determines that the number is greater than the predetermined number, so that the server stops sending a prompt message to all terminals in the target live broadcast room, where the prompt message is a message prompting the first viewer terminal to enter the target live broadcast room.
Compared with the prior art, according to the technical scheme of the embodiment of the invention, when the first audience terminal enters the target live broadcast room, the anchor terminal acquires the number of the audience terminals currently entering the target live broadcast room from the server, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located; judging whether the number of audience terminals currently entering a target live broadcast room is larger than a preset number or not; and if so, sending first feedback information to the server so that the server stops sending a prompt message for the first audience terminal to enter the target live broadcast room to all terminals in the target live broadcast room.
Through the technical scheme, when a large number of audience terminals enter the target live broadcast room at the same time, the server stops sending the prompt messages of each audience terminal entering the target live broadcast room to all terminals in the target live broadcast room, the situation that a large number of prompt messages are displayed in the screens of all terminals in the target live broadcast room at the same time can be avoided, but the interactive information of the audience and the anchor is displayed in all terminals in the target live broadcast room, so that the audience and the anchor can normally interact, the situation that the video pictures are shielded due to the fact that too many prompt messages in the screens of the audience terminals are caused can be avoided, and the audience can normally watch videos.
Optionally, the apparatus further comprises:
and the second sending module is used for sending second feedback information to the server when the first judging module judges that the number is not greater than the preset number, so that the server sends prompt messages to all terminals of the target live broadcast room.
Optionally, the apparatus further comprises:
a second obtaining module, configured to obtain, if the first determining module determines that the number is greater than the predetermined number, identification information of the first viewer terminal from the server before sending the first feedback information to the server;
the second judging module is used for judging whether the identification information in the anchor terminal history record contains the identification information of the first audience terminal;
a first triggering module, configured to execute the step of sending the first feedback information to the server if the second determining module determines that the identification information in the anchor terminal history record includes the identification information of the first viewer terminal;
a second sending module, configured to send third feedback information to the server if the second determining module determines that the identification information in the anchor terminal history record does not include the identification information of the first viewer terminal, so that the server sends only a prompt message that the first viewer terminal enters the target live broadcast room to all terminals in the target live broadcast room;
and the second triggering module is used for triggering the first acquisition module to execute the step of acquiring the number of the audience terminals currently entering the target live broadcast room from the server when the first audience terminal enters the target live broadcast room.
Optionally, the apparatus further comprises:
a third obtaining module, configured to obtain, from the server, the number of messages sent by all viewer terminals in the target live broadcast room within a first preset time interval;
the third judging module is used for judging whether the number of the messages is larger than the preset number of the messages or not;
and if the third judging module judges that the number of the messages is larger than the preset number of the messages, the fourth sending module sends a fourth feedback message to the server, so that the server sends the messages to all terminals in the target live broadcast room in batches according to a second preset time interval.
As shown in fig. 4, an information sending apparatus applied to a server according to an embodiment of the present invention includes:
a counting module 410, configured to count the number of audience terminals currently entering a target live broadcast room when it is monitored that a first audience terminal enters the target live broadcast room, so that a anchor terminal can obtain the number of audience terminals currently entering the target live broadcast room, and determine whether the number is greater than a predetermined number, and send first feedback information to the server when the number is greater than the predetermined number, where the target live broadcast room is a live broadcast room in which the anchor terminal is located, and the first audience terminal is any audience terminal of the audience terminals;
a first monitoring module 420, configured to monitor whether the first feedback information is received;
a sending stopping module 430, configured to stop sending a prompt message to all terminals of the target live broadcast room if the monitoring module monitors that the first feedback information is received, where the prompt message is a message prompting the first viewer terminal to enter the target live broadcast room.
Optionally, the apparatus further comprises:
the second monitoring module is used for monitoring whether second feedback information sent by the anchor terminal is received or not, wherein the second feedback information is feedback information sent by the anchor terminal to the server after judging that the number of audience terminals currently entering a target live broadcast room is not more than a preset number;
and a fifth sending module, configured to send a prompt message to all terminals in the target live broadcast room if the second monitoring module monitors that second feedback information sent by the anchor terminal is received, where the prompt message is a message prompting the first viewer terminal to enter the target live broadcast room.
Optionally, the apparatus further comprises:
the third monitoring module is used for monitoring whether third feedback information sent by the anchor terminal is received, wherein the third feedback information is feedback information sent to the server when the anchor terminal judges that the number of audience terminals currently entering a target live broadcast room is larger than a preset number and judges that identification information in a history record of the anchor terminal does not contain the identification information of the first audience terminal before the anchor terminal sends the first feedback information to the server;
and the sixth sending module is configured to send, if the third monitoring module monitors that the third feedback information sent by the anchor terminal is received, only a prompt message that the first viewer terminal enters the target live broadcast room to all terminals in the target live broadcast room.
Optionally, the apparatus further comprises:
the fourth monitoring module is used for monitoring whether fourth feedback information sent by the anchor terminal is received, wherein the fourth feedback information is feedback information sent to the server when the anchor terminal judges that the number of messages sent by all audience terminals in a target live broadcast room in a first preset time interval is larger than the preset number of messages;
and the seventh sending module is configured to send, in batches, messages sent by all audience terminals in the target live broadcast room to all terminals in the target live broadcast room according to a predetermined time interval if the fourth monitoring module monitors that the fourth feedback information sent by the anchor terminal is received.
In a fourth aspect, a request transmission apparatus provided in an embodiment of the present invention is described below.
The request sending device applied to the first audience terminal provided by the embodiment of the invention comprises:
and the eighth sending module is used for sending a request for entering the target live broadcast room to the server when the first audience terminal enters the target live broadcast room, so that the anchor terminal obtains the number of the audience terminals currently entering the target live broadcast room from the server, judges whether the number is greater than the preset number, and sends first feedback information to the server when the number is greater than the preset number, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located.
When the server receives a request sent by a first audience terminal, the server can count the number of requests of audience terminals entering a target live broadcast room at present, and then can count the number of audience terminals entering the target live broadcast room at present, so that the anchor terminal obtains the number of audience terminals entering the target live broadcast room at present from the server, judges whether the number is larger than a preset number or not, and sends first feedback information to the server when the number is larger than the preset number, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located.
Optionally, the apparatus may further include:
a fourth obtaining module, configured to obtain a message to be sent;
the fourth judging module is used for judging whether the message to be sent contains a first preset vocabulary;
the first display module is configured to display a prompting message in a screen of the first viewer terminal if the fourth determining module determines that the message to be sent includes a first preset vocabulary, where the prompting message is used to prompt the first viewer terminal that the message to be sent includes the first preset vocabulary;
and the ninth sending module is configured to send the message to be sent to a server if the fourth determining module determines that the message to be sent does not include the first preset vocabulary, so that the server sends the message to be sent to all terminals in a live broadcast room where the first audience terminal is located.
Compared with the prior art, according to the technical scheme provided by the embodiment of the invention, when the audience terminal acquires the message to be sent; judging whether a message to be sent contains a first preset vocabulary or not; if the message to be sent contains the first preset vocabulary, the audience terminal does not send the message to be sent to the server, but sends a reminding message to the audience terminal; and if the message to be sent does not contain the first preset vocabulary, sending the message to be sent to the server so that the server sends the message to be sent to the anchor terminal and the audience terminal in the target live broadcast room. Through the technical scheme provided by the embodiment of the invention, the message containing the first preset vocabulary can be prevented from being sent to the anchor terminal and the audience terminal in the target live broadcast room, so that the anchor and the audience in the target live broadcast room can be ensured to be well interacted.
Optionally, the apparatus further comprises:
a fifth judging module, configured to judge whether the message to be sent includes a second preset vocabulary after the message to be sent is obtained;
the second display module is used for displaying the message to be sent in a screen of the first audience terminal if the fifth judging module judges that the message to be sent contains a second preset vocabulary;
and the tenth sending module is configured to send the message to be sent to a server if the fifth judging module judges that the message to be sent does not include a second preset vocabulary, so that the server sends the message to be sent to all terminals in a live broadcast room where the first audience terminal is located.
Optionally, the fourth obtaining module is specifically configured to:
receiving message content input by a user;
judging whether the time interval between the moment of receiving the message content and the moment of sending the previous message is greater than or equal to a preset time interval or not;
if so, determining the message content as a message to be sent.
In a fifth aspect, an embodiment of the present invention further provides a terminal device, as shown in fig. 5, including a processor 501, a communication interface 502, a memory 503 and a communication bus 504, where the processor 501, the communication interface 502 and the memory 503 complete mutual communication through the communication bus 504,
a memory 503 for storing a computer program;
the processor 501 is configured to implement the information transmission method applied to the anchor terminal according to the method embodiment when executing the program stored in the memory 503.
The communication bus mentioned in the above-mentioned anchor terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
Compared with the prior art, according to the technical scheme of the embodiment of the invention, when the first audience terminal enters the target live broadcast room, the anchor terminal acquires the number of the audience terminals currently entering the target live broadcast room from the server, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located; judging whether the number of audience terminals currently entering a target live broadcast room is larger than a preset number or not; and if so, sending first feedback information to the server so that the server stops sending a prompt message for the first audience terminal to enter the target live broadcast room to all terminals in the target live broadcast room.
Through the technical scheme, when a large number of audience terminals enter the target live broadcast room at the same time, the server stops sending the prompt messages of each audience terminal entering the target live broadcast room to all terminals in the target live broadcast room, the situation that a large number of prompt messages are displayed in the screens of all terminals in the target live broadcast room at the same time can be avoided, but the interactive information of the audience and the anchor is displayed in all terminals in the target live broadcast room, so that the audience and the anchor can normally interact, the situation that the video pictures are shielded due to the fact that too many prompt messages in the screens of the audience terminals are caused can be avoided, and the audience can normally watch videos.
In a sixth aspect, an embodiment of the present invention further provides a server, as shown in fig. 6, including a processor 601, a communication interface 602, a memory 603, and a communication bus 604, where the processor 601, the communication interface 602, and the memory 603 complete mutual communication through the communication bus 604,
a memory 603 for storing a computer program;
the processor 601 is configured to implement the information sending method applied to the server according to the foregoing method embodiment when executing the program stored in the memory 603.
The communication bus mentioned in the above server may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
Compared with the prior art, through the technical scheme, when a large number of audience terminals enter the target live broadcast room at the same time, the server stops sending the prompt messages of each audience terminal entering the target live broadcast room to all terminals in the target live broadcast room, the situation that a large number of prompt messages are displayed on the screens of the anchor terminal and the audience terminal in the target live broadcast room at the same time can be avoided, the interactive information of the audience and the anchor is displayed in the anchor terminal and the audience terminal in the target live broadcast room, therefore, the audience and the anchor can interact normally, the situation that the video pictures are shielded due to too many prompt messages in the screens of the audience terminals can be avoided, and the audience can watch live broadcast videos normally.
In a seventh aspect, an embodiment of the present invention further provides a terminal device, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement the request sending method applied to the first viewer terminal according to the method embodiment when executing the program stored in the memory 703.
The communication bus mentioned in the above-mentioned anchor terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
Compared with the prior art, according to the technical scheme, when the server receives the request sent by the first audience terminal, the request number of the audience terminals entering the target live broadcast room at present can be counted, the number of the audience terminals entering the target live broadcast room at present can be counted, so that the anchor terminal obtains the number of the audience terminals entering the target live broadcast room at present from the server, judges whether the number is larger than the preset number or not, and sends the first feedback information to the server when the number is larger than the preset number, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located.
In an eighth aspect, in yet another embodiment provided by the present invention, there is further provided a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the information transmission method applied to the anchor terminal described in the above method embodiment.
Compared with the prior art, according to the technical scheme of the embodiment of the invention, when the first audience terminal enters the target live broadcast room, the anchor terminal acquires the number of the audience terminals currently entering the target live broadcast room from the server, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located; judging whether the number of audience terminals currently entering a target live broadcast room is larger than a preset number or not; and if so, sending first feedback information to the server so that the server stops sending a prompt message for the first audience terminal to enter the target live broadcast room to all terminals in the target live broadcast room.
Through the technical scheme, when a large number of audience terminals enter the target live broadcast room at the same time, the server stops sending the prompt messages of each audience terminal entering the target live broadcast room to all terminals in the target live broadcast room, the situation that a large number of prompt messages are displayed in the screens of all terminals in the target live broadcast room at the same time can be avoided, but the interactive information of the audience and the anchor is displayed in all terminals in the target live broadcast room, so that the audience and the anchor can normally interact, the situation that the video pictures are shielded due to the fact that too many prompt messages in the screens of the audience terminals are caused can be avoided, and the audience can normally watch videos.
In a ninth aspect, in a further embodiment provided by the present invention, there is further provided a computer-readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to execute the information sending method applied to a server described in the above method embodiment.
Compared with the prior art, through the technical scheme, when a large number of audience terminals enter the target live broadcast room at the same time, the server stops sending the prompt messages of each audience terminal entering the target live broadcast room to all terminals in the target live broadcast room, the situation that a large number of prompt messages are displayed on the screens of the anchor terminal and the audience terminal in the target live broadcast room at the same time can be avoided, the interactive information of the audience and the anchor is displayed in the anchor terminal and the audience terminal in the target live broadcast room, therefore, the audience and the anchor can interact normally, the situation that the video pictures are shielded due to too many prompt messages in the screens of the audience terminals can be avoided, and the audience can watch live broadcast videos normally.
In a tenth aspect, in a further embodiment provided by the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the request sending method described in the above method embodiment.
Compared with the prior art, according to the technical scheme, when the server receives the request sent by the first audience terminal, the request number of the audience terminals entering the target live broadcast room at present can be counted, the number of the audience terminals entering the target live broadcast room at present can be counted, so that the anchor terminal obtains the number of the audience terminals entering the target live broadcast room at present from the server, judges whether the number is larger than the preset number or not, and sends the first feedback information to the server when the number is larger than the preset number, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the embodiments of the apparatus, the anchor terminal, the server, the viewer terminal and the storage medium, since they are basically similar to the embodiments of the method, the description is simple, and the relevant points can be referred to the partial description of the embodiments of the method.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (26)

1. An information sending method, applied to a anchor terminal, the method comprising:
when a first audience terminal enters a target live broadcast room, acquiring the number of the audience terminals currently entering the target live broadcast room from a server, wherein the target live broadcast room is a live broadcast room in which the anchor terminal is located, and the first audience terminal is any audience terminal of the audience terminals;
judging whether the number is larger than a preset number;
if so, acquiring the identification information of the first audience terminal from the server;
judging whether the identification information in the anchor terminal history record contains the identification information of the first audience terminal;
if the identification information in the anchor terminal history record contains the identification information of the first audience terminal, sending first feedback information to the server so that the server stops sending prompt messages to all terminals in the target live broadcast room, wherein the prompt messages are messages prompting the first audience terminal to enter the target live broadcast room;
if the identification information in the anchor terminal history record does not contain the identification information of the first audience terminal, sending third feedback information to the server, so that the server only sends a prompt message for the first audience terminal to enter the target live broadcast room to all terminals in the target live broadcast room;
and returning to the step of acquiring the number of the audience terminals currently entering the target live broadcast room from the server when the first audience terminal enters the target live broadcast room.
2. The method of claim 1, wherein when determining that the number is not greater than the predetermined number, the method further comprises:
and sending second feedback information to the server so that the server sends prompt messages to all terminals of the target live broadcast room.
3. The method of claim 1, further comprising:
acquiring the number of messages sent by all audience terminals in the target live broadcast room within a first preset time interval from the server;
judging whether the number of the messages is larger than a preset message number or not;
if so, sending a fourth feedback message to the server, so that the server sends the messages to all terminals in the target live broadcast room in batches according to a second preset time interval.
4. An information sending method, applied to a server, the method comprising:
when monitoring that a first audience terminal enters a target live broadcast room, counting the number of audience terminals currently entering the target live broadcast room, so that an anchor terminal can acquire the number of audience terminals currently entering the target live broadcast room, and the anchor terminal executes: judging whether the number is greater than a preset number, and acquiring the identification information of the first audience terminal from the server when the number is greater than the preset number; judging whether the identification information in the anchor terminal history record contains the identification information of the first audience terminal; when the identification information in the anchor terminal history record contains the identification information of the first audience terminal, sending first feedback information to the server, wherein the target live broadcast room is a live broadcast room where the anchor terminal is located, the first audience terminal is any audience terminal of the audience terminals, and when the identification information in the anchor terminal history record does not contain the identification information of the first audience terminal, sending third feedback information to the server;
the server monitors whether the first feedback information is received or not;
if so, stopping sending prompt messages to all terminals of the target live broadcast room, wherein the prompt messages are messages for prompting the first audience terminal to enter the target live broadcast room;
monitoring whether third feedback information sent by the anchor terminal is received or not;
and if so, only sending the prompt message of the first audience terminal entering the target live broadcast room to all terminals in the target live broadcast room.
5. The method of claim 4, further comprising:
monitoring whether second feedback information sent by the anchor terminal is received, wherein the second feedback information is feedback information sent by the anchor terminal to the server after judging that the number of audience terminals currently entering a target live broadcast room is not more than a preset number;
if so, sending a prompt message to all terminals in the target live broadcast room, wherein the prompt message is a message prompting the first audience terminal to enter the target live broadcast room.
6. The method of claim 4, further comprising:
monitoring whether fourth feedback information sent by the anchor terminal is received, wherein the fourth feedback information is feedback information sent to a server when the anchor terminal judges that the number of messages sent by all audience terminals in a target live broadcast room in a first preset time interval is larger than a preset message number;
if yes, sending messages sent by all audience terminals in the target live broadcast room to all terminals in the target live broadcast room in batches according to a preset time interval.
7. A request sending method applied to a first viewer terminal, the method comprising:
when a first audience terminal enters a target live broadcast room, sending a request for entering the target live broadcast room to a server, so that an anchor terminal obtains the number of audience terminals currently entering the target live broadcast room from the server, and the anchor terminal executes: judging whether the number is greater than a preset number, and acquiring the identification information of the first audience terminal from the server when the number is greater than the preset number; judging whether the identification information in the anchor terminal history record contains the identification information of the first audience terminal; when identification information in the anchor terminal historical record contains identification information of the first audience terminal, first feedback information is sent to the server, so that the server stops sending prompt messages to all terminals in the target live broadcast room, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located, the prompt messages are used for prompting that the first audience terminal enters the target live broadcast room, and when the identification information in the anchor terminal historical record does not contain the identification information of the first audience terminal, third feedback information is sent to the server, so that the server only sends the prompt messages of the first audience terminal entering the target live broadcast room to all terminals in the target live broadcast room.
8. The method of claim 7, further comprising:
acquiring a message to be sent;
judging whether the message to be sent contains a first preset vocabulary or not;
if so, displaying a reminding message in a screen of the first audience terminal, wherein the reminding message is used for reminding the first audience terminal that a message to be sent contains a first preset vocabulary;
and if not, sending the message to be sent to a server so that the server sends the message to be sent to all terminals in a live broadcast room where the first audience terminal is located.
9. The method of claim 8, wherein after the obtaining the message to be sent, the method further comprises:
judging whether the message to be sent contains a second preset vocabulary or not;
if so, displaying the message to be sent in a screen of the first audience terminal;
and if not, sending the message to be sent to a server so that the server sends the message to be sent to all terminals in a live broadcast room where the first audience terminal is located.
10. The method according to claim 8 or 9, wherein the obtaining the message to be sent comprises:
receiving message content input by a user;
judging whether the time interval between the moment of receiving the message content and the moment of sending the previous message is greater than or equal to a preset time interval or not;
if so, determining the message content as a message to be sent.
11. An information transmission apparatus, applied to an anchor terminal, the apparatus comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the number of audience terminals currently entering a target live broadcast room from a server when the first audience terminals enter the target live broadcast room, the target live broadcast room is a live broadcast room in which a main broadcast terminal is located, and the first audience terminals are any audience terminals of the audience terminals;
the first judging module is used for judging whether the number is larger than the preset number or not;
a second obtaining module, configured to obtain, from the server, the identification information of the first viewer terminal if the first determining module determines that the number is greater than the predetermined number;
the second judging module is used for judging whether the identification information in the anchor terminal history record contains the identification information of the first audience terminal;
a first triggering module, configured to send first feedback information to the server if the second determining module determines that the identification information in the anchor terminal history record includes the identification information of the first viewer terminal, so that the server stops sending a prompt message to all terminals in the target live broadcast room, where the prompt message is a message prompting the first viewer terminal to enter the target live broadcast room;
a second sending module, configured to send third feedback information to the server if the second determining module determines that the identification information in the anchor terminal history record does not include the identification information of the first viewer terminal, so that the server sends only a prompt message that the first viewer terminal enters the target live broadcast room to all terminals in the target live broadcast room;
and the second triggering module is used for triggering the first acquisition module to execute the step of acquiring the number of the audience terminals currently entering the target live broadcast room from the server when the first audience terminal enters the target live broadcast room.
12. The apparatus of claim 11, further comprising:
and the second sending module is used for sending second feedback information to the server when the first judging module judges that the number is not greater than the preset number, so that the server sends prompt messages to all terminals of the target live broadcast room.
13. The apparatus of claim 11, further comprising:
a third obtaining module, configured to obtain, from the server, the number of messages sent by all viewer terminals in the target live broadcast room within a first preset time interval;
the third judging module is used for judging whether the number of the messages is larger than the preset number of the messages or not;
and if the third judging module judges that the number of the messages is larger than the preset number of the messages, the fourth sending module sends a fourth feedback message to the server, so that the server sends the messages to all terminals in the target live broadcast room in batches according to a second preset time interval.
14. An information transmission apparatus, applied to a server, the apparatus comprising:
the counting module is used for counting the number of audience terminals currently entering the target live broadcast room when monitoring that the first audience terminal enters the target live broadcast room, so that the anchor terminal can acquire the number of audience terminals currently entering the target live broadcast room, and the anchor terminal executes: judging whether the number is greater than a preset number, and acquiring the identification information of the first audience terminal from the server when the number is greater than the preset number; judging whether the identification information in the anchor terminal history record contains the identification information of the first audience terminal; when the identification information in the anchor terminal history record contains the identification information of the first audience terminal, sending first feedback information to the server, wherein the target live broadcast room is a live broadcast room where the anchor terminal is located, the first audience terminal is any audience terminal of the audience terminals, and when the identification information in the anchor terminal history record does not contain the identification information of the first audience terminal, sending third feedback information to the server;
the first monitoring module is used for monitoring whether the first feedback information is received by the server;
a sending stopping module, configured to stop sending a prompt message to all terminals of the target live broadcast room if the monitoring module monitors that the first feedback information is received, where the prompt message is a message prompting the first viewer terminal to enter the target live broadcast room;
the third monitoring module is used for monitoring whether third feedback information sent by the anchor terminal is received or not;
and the sixth sending module is configured to send, if the third monitoring module monitors that the third feedback information sent by the anchor terminal is received, only a prompt message that the first viewer terminal enters the target live broadcast room to all terminals in the target live broadcast room.
15. The apparatus of claim 14, further comprising:
the second monitoring module is used for monitoring whether second feedback information sent by the anchor terminal is received or not, wherein the second feedback information is feedback information sent by the anchor terminal to the server after judging that the number of audience terminals currently entering a target live broadcast room is not more than a preset number;
and a fifth sending module, configured to send a prompt message to all terminals in the target live broadcast room if the second monitoring module monitors that second feedback information sent by the anchor terminal is received, where the prompt message is a message prompting the first viewer terminal to enter the target live broadcast room.
16. The apparatus of claim 14, further comprising:
the fourth monitoring module is used for monitoring whether fourth feedback information sent by the anchor terminal is received, wherein the fourth feedback information is feedback information sent to the server when the anchor terminal judges that the number of messages sent by all audience terminals in a target live broadcast room in a first preset time interval is larger than the preset number of messages;
and the seventh sending module is configured to send, in batches, messages sent by all audience terminals in the target live broadcast room to all terminals in the target live broadcast room according to a predetermined time interval if the fourth monitoring module monitors that the fourth feedback information sent by the anchor terminal is received.
17. A request transmission apparatus for use in a first viewer terminal, the apparatus comprising:
an eighth sending module, configured to send, when the first viewer terminal enters the target live broadcast room, a request to enter the target live broadcast room to the server, so that the anchor terminal obtains, from the server, the number of viewer terminals currently entering the target live broadcast room, and the anchor terminal executes: judging whether the number is greater than a preset number, and acquiring the identification information of the first audience terminal from the server when the number is greater than the preset number; judging whether the identification information in the anchor terminal history record contains the identification information of the first audience terminal; when identification information in the anchor terminal historical record contains identification information of the first audience terminal, first feedback information is sent to the server, so that the server stops sending prompt messages to all terminals in the target live broadcast room, wherein the target live broadcast room is the live broadcast room where the anchor terminal is located, the prompt messages are used for prompting that the first audience terminal enters the target live broadcast room, and when the identification information in the anchor terminal historical record does not contain the identification information of the first audience terminal, third feedback information is sent to the server, so that the server only sends the prompt messages of the first audience terminal entering the target live broadcast room to all terminals in the target live broadcast room.
18. The apparatus of claim 17, the apparatus further comprising:
a fourth obtaining module, configured to obtain a message to be sent;
the fourth judging module is used for judging whether the message to be sent contains a first preset vocabulary;
the first display module is configured to display a prompting message in a screen of the first viewer terminal if the fourth determining module determines that the message to be sent includes a first preset vocabulary, where the prompting message is used to prompt the first viewer terminal that the message to be sent includes the first preset vocabulary;
and the ninth sending module is configured to send the message to be sent to a server if the fourth determining module determines that the message to be sent does not include the first preset vocabulary, so that the server sends the message to be sent to all terminals in a live broadcast room where the first audience terminal is located.
19. The apparatus of claim 18, further comprising:
a fifth judging module, configured to judge whether the message to be sent includes a second preset vocabulary after the message to be sent is obtained;
the second display module is used for displaying the message to be sent in a screen of the first audience terminal if the fifth judging module judges that the message to be sent contains a second preset vocabulary;
and the tenth sending module is configured to send the message to be sent to a server if the fifth judging module judges that the message to be sent does not include a second preset vocabulary, so that the server sends the message to be sent to all terminals in a live broadcast room where the first audience terminal is located.
20. The apparatus according to claim 18 or 19, wherein the fourth obtaining module is specifically configured to:
receiving message content input by a user;
judging whether the time interval between the moment of receiving the message content and the moment of sending the previous message is greater than or equal to a preset time interval or not;
if so, determining the message content as a message to be sent.
21. The terminal equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 3 when executing a program stored in the memory.
22. A server is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 4 to 6 when executing a program stored in the memory.
23. The terminal equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 7 to 10 when executing a program stored in the memory.
24. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-3.
25. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 4-6.
26. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any of the claims 7-10.
CN201710854170.XA 2017-09-20 2017-09-20 Information sending method, device, equipment and storage medium Active CN107635155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710854170.XA CN107635155B (en) 2017-09-20 2017-09-20 Information sending method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710854170.XA CN107635155B (en) 2017-09-20 2017-09-20 Information sending method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107635155A CN107635155A (en) 2018-01-26
CN107635155B true CN107635155B (en) 2020-08-07

Family

ID=61101281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710854170.XA Active CN107635155B (en) 2017-09-20 2017-09-20 Information sending method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107635155B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110022259B (en) * 2018-12-19 2021-09-24 卓米私人有限公司 Message arrival rate determining method and device, data statistics server and storage medium
CN109729375B (en) * 2018-12-29 2020-01-17 北京字节跳动网络技术有限公司 Interactive data distribution control method, device, equipment and storage medium
CN112399241A (en) * 2020-12-08 2021-02-23 深圳市富途网络科技有限公司 Message processing method of live broadcast room and related product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635180A (en) * 2016-03-04 2016-06-01 广州酷狗计算机科技有限公司 Message pushing method and device
CN105721891A (en) * 2016-03-30 2016-06-29 宁波元鼎电子科技有限公司 Method and system for interaction between anchor and audiences in webcast process
CN106937136A (en) * 2017-03-29 2017-07-07 武汉斗鱼网络科技有限公司 Data delay method and system based on statistical information between network direct broadcasting

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125141B (en) * 2013-04-28 2017-03-01 腾讯科技(深圳)有限公司 A kind of method for pushing of notification message, server and system
CN104468395B (en) * 2014-10-20 2018-11-06 广州华多网络科技有限公司 The channel access method and system of direct broadcasting room
CN106254954B (en) * 2016-07-26 2019-11-05 广州酷狗计算机科技有限公司 A kind of method and apparatus sending live streaming notice
CN107071566B (en) * 2017-03-14 2020-02-18 北京潘达互娱科技有限公司 Method and device for displaying watching number of people in live broadcast room
CN106982381B (en) * 2017-03-31 2021-02-02 武汉斗鱼网络科技有限公司 Home page recommendation processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635180A (en) * 2016-03-04 2016-06-01 广州酷狗计算机科技有限公司 Message pushing method and device
CN105721891A (en) * 2016-03-30 2016-06-29 宁波元鼎电子科技有限公司 Method and system for interaction between anchor and audiences in webcast process
CN106937136A (en) * 2017-03-29 2017-07-07 武汉斗鱼网络科技有限公司 Data delay method and system based on statistical information between network direct broadcasting

Also Published As

Publication number Publication date
CN107635155A (en) 2018-01-26

Similar Documents

Publication Publication Date Title
US11418841B2 (en) Inhibiting display of advertisements with age-inappropriate content
CN107635155B (en) Information sending method, device, equipment and storage medium
CN107770571B (en) Live broadcast room recommendation method and device and storage medium
CN110324793B (en) Information reminding method and device and electronic terminal
CN105550899B (en) Media delivery service and method on intelligent terminal
CN104866591B (en) Video recommendation method and device
CN103828387A (en) Systems and methods for rendering user interface objects in accordance with a variable scaling factor
CN108174267B (en) Device and method for sending interactive information in live broadcast and computer readable storage medium
CN109495378B (en) Method, device, server and storage medium for detecting abnormal account
CN108337568A (en) A kind of information replies method, apparatus and equipment
CN107197355B (en) Bullet screen display method and device
CN106921870A (en) A kind of video broadcasting method and device
CN110913237A (en) Live broadcast control method and device, live broadcast initiating device and storage medium
CN113596492A (en) Gift display method and system in network live broadcast
US10701442B2 (en) Coordinated background tv recognition
US20160094896A1 (en) Information providing system and information providing method
TW550914B (en) Automatically delaying client responses to broadcast uniform resource locators
CN110570257A (en) multimedia data delivery method, device and computer readable storage medium
CN113727167B (en) Video resource playing method, device, equipment and readable storage medium
CN112153324A (en) Monitoring video display method, device and system
CN111400549B (en) User portrait processing method and system
CN113965795A (en) Anchor interaction display method and device
CN111356006A (en) Video playing method, device, server and storage medium
CN113365112B (en) Remote assistance method and device, electronic equipment and storage medium
CN109729370A (en) A kind of net cast stream generating method, device and electronic equipment

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
TA01 Transfer of patent application right

Effective date of registration: 20190612

Address after: Room 1101, Santai Commercial Building, 139 Connaught Road, Hong Kong, China

Applicant after: Hong Kong Lemi Co., Ltd.

Address before: Kamana Bay

Applicant before: Happy honey Company Limited

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210531

Address after: 25, 5th floor, shuangjingfang office building, 3 frisha street, Singapore

Patentee after: Zhuomi Private Ltd.

Address before: Room 1101, Santai Commercial Building, 139 Connaught Road, Hong Kong, China

Patentee before: HONG KONG LIVE.ME Corp.,Ltd.

TR01 Transfer of patent right