The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of prompt message display methods, device, equipment and storage medium,
To improve the experience of main broadcaster and spectators in direct broadcasting room.Concrete technical scheme is as follows:
In a first aspect, the embodiments of the invention provide a kind of method for sending information, applied to main broadcaster's terminal, methods described
Including:
When the first vlewer terminals enter target direct broadcasting room, obtained from server and be currently entering the target direct broadcasting room
The quantity of vlewer terminals, wherein, the target direct broadcasting room is the direct broadcasting room where main broadcaster's terminal, and first spectators are whole
Hold any vlewer terminals for the vlewer terminals;
Judge whether the quantity is more than predetermined quantity;
If it is, the first feedback information is sent to the server, to cause the server to stop in the target
All terminals in direct broadcasting room send prompting message, and the prompting message enters the mesh for prompting first vlewer terminals
Mark the message of direct broadcasting room.
Optionally, when judging that the quantity is not more than predetermined quantity, methods described also includes:
The second feedback information is sent to the server, to cause the server to all of the target direct broadcasting room
Terminal sends prompting message.
Optionally, if judging, the quantity is more than predetermined quantity, to the server send the first feedback information it
Before, methods described also includes:
The identification information of first vlewer terminals is obtained from the server;
Judge the identification information in main broadcaster's terminal historical record whether believe by the mark comprising first vlewer terminals
Breath;
If it is, the step of performing first feedback information of transmission to the server;
If it has not, the 3rd feedback information is sent to the server, to cause the server only by first spectators
The prompting message that terminal enters the target direct broadcasting room is sent to all terminals in the target direct broadcasting room;
Return when the first vlewer terminals enter target direct broadcasting room, it is live to be currently entering the target from server acquisition
Between vlewer terminals quantity the step of.
Optionally, methods described also includes:
All vlewer terminals in the target direct broadcasting room are obtained from the server in the first prefixed time interval
The quantity of the message of transmission;
Judge whether the quantity of the message is more than predetermined message quantity;
If it is, the 4th feedback message is sent to the server, to cause the server according to the second preset time
Interval, the message is sent to all terminals in the target direct broadcasting room in batches.
Second aspect, the embodiment of the present invention additionally provide a kind of method for sending information, applied to server, methods described
Including:
When monitoring that the first vlewer terminals enter target direct broadcasting room, statistics is currently entering the target direct broadcasting room
Vlewer terminals quantity so that main broadcaster's terminal can get the quantity of the vlewer terminals for being currently entering target direct broadcasting room,
And judge whether the quantity is more than predetermined quantity, when the quantity is more than predetermined quantity, first is sent to the server
Feedback information, wherein, the target direct broadcasting room is the direct broadcasting room where main broadcaster's terminal, and first vlewer terminals are institute
State any vlewer terminals of vlewer terminals;
Monitor whether to receive first feedback information;
If it is, stopping sending prompting message to all terminals of the target direct broadcasting room, the prompting message is prompting
First vlewer terminals enter the message of the target direct broadcasting room.
Optionally, methods described also includes:
Monitor whether to receive the second feedback information that main broadcaster's terminal is sent, wherein, second feedback information is
Main broadcaster's terminal is after judging to be currently entering the quantity of vlewer terminals of target direct broadcasting room and being not more than predetermined quantity to described
The feedback information that server is sent;
If it is, all terminals into the target direct broadcasting room send prompting message, wherein, the prompting message is
First vlewer terminals are prompted to enter the message of the target direct broadcasting room.
Optionally, methods described also includes:
Monitor whether to receive the 3rd feedback information that main broadcaster's terminal is sent, wherein, the 3rd feedback information is
Main broadcaster's terminal judges that the quantity for being currently entering the vlewer terminals of target direct broadcasting room is more than predetermined quantity, and to service
Before device sends first feedback information, judge that the identification information in its own historical record is not seen comprising described first
The feedback information sent during the identification information of many terminals to server;
If it is, the prompting message that first vlewer terminals are only entered to the target direct broadcasting room is sent to the mesh
Mark all terminals in direct broadcasting room.
Optionally, methods described also includes:
Monitor whether to receive the 4th feedback information that main broadcaster's terminal is sent, wherein, the 4th feedback information is
Main broadcaster's terminal judges the message that all vlewer terminals in target direct broadcasting room are sent in the first prefixed time interval
Quantity is more than the feedback information sent during predetermined message quantity to server;
If it is, it is spaced to schedule, the message that all vlewer terminals in the target direct broadcasting room are sent point
The wholesale all terminals delivered in the target direct broadcasting room.
The third aspect, the embodiment of the present invention additionally provides a kind of request sending method, applied to the first vlewer terminals, institute
The method of stating includes:
When the first vlewer terminals enter target direct broadcasting room, the request for being transmitted into the target direct broadcasting room extremely services
Device, so that obtaining main broadcaster's terminal obtains the quantity for the vlewer terminals for being currently entering the target direct broadcasting room from server, and judge institute
State whether quantity is more than predetermined quantity, when the quantity is more than predetermined quantity, the first feedback letter is sent to the server
Breath, wherein, the target direct broadcasting room is the direct broadcasting room where main broadcaster's terminal.
Optionally, methods described also includes:
Obtain message to be sent;
Whether judge in the message to be sent comprising the first default vocabulary;
If it is, the display alarm message in the screen of first vlewer terminals itself, wherein, the reminder message
For prompting in the first vlewer terminals message to be sent comprising the first default vocabulary;
If it has not, the message to be sent is sent to server, to cause the server by the message to be sent
Send to all terminals in direct broadcasting room where first vlewer terminals.
Optionally, after the acquisition message to be sent, methods described also includes:
Whether judge in the message to be sent comprising the second default vocabulary;
If it is, the message to be sent is included in the screen of first vlewer terminals itself;
If it has not, the message to be sent is sent to server, to cause the server by the message to be sent
Send to all terminals in direct broadcasting room where first vlewer terminals.
Optionally, the acquisition message to be sent, including:
Receive the message content of user's input;
Whether the time interval between at the time of judging to receive the message content and at the time of upper a piece of news is sent
More than or equal to predetermined time interval;
If it is, the message content is defined as message to be sent.
Fourth aspect, the embodiments of the invention provide a kind of information transmitting apparatus, applied to main broadcaster's terminal, described device
Including:
First acquisition module, for when the first vlewer terminals enter target direct broadcasting room, obtaining and being currently entering from server
The quantity of the vlewer terminals of the target direct broadcasting room, wherein, the target direct broadcasting room is live where main broadcaster's terminal
Between, first vlewer terminals are any vlewer terminals of the vlewer terminals;
First judge module, for judging whether the quantity is more than predetermined quantity;
First sending module, if being yes for described first, the first feedback information is sent to the server, so that
Obtain the server to stop sending prompting message to all terminals in the target direct broadcasting room, the prompting message is to carry
Show that first vlewer terminals enter the message of the target direct broadcasting room.
Optionally, described device also includes:
Second sending module, for when first judge module judges that the quantity is not more than predetermined quantity, to
The server sends the second feedback information, to cause the server is sent to all terminals of the target direct broadcasting room to carry
Show message.
Optionally, described device also includes:
Second acquisition module, if judging that the quantity is more than predetermined quantity for first judge module, to institute
Before stating server the first feedback information of transmission, the identification information of first vlewer terminals is obtained from the server;
Second judge module, for judging the identification information in main broadcaster's terminal historical record whether comprising described the
The identification information of one vlewer terminals;
First trigger module, if judging the mark in main broadcaster's terminal historical record for second judge module
Know identification information of the packet containing first vlewer terminals, execution is described to send the first feedback information to the server
Step;
Second sending module, if judging the mark in main broadcaster's terminal historical record for second judge module
Know the identification information that information does not include first vlewer terminals, the 3rd feedback information is sent to the server, to cause
Server is stated only to send the prompting message of first vlewer terminals into the target direct broadcasting room to the target direct broadcasting room
In all terminals;
Second trigger module, it is described when the first vlewer terminals enter target for triggering the first acquisition module execution
During direct broadcasting room, from server obtain be currently entering the target direct broadcasting room vlewer terminals quantity the step of.
Optionally, described device also includes:
3rd acquisition module, exist for obtaining all vlewer terminals in the target direct broadcasting room from the server
The quantity of the message sent in first prefixed time interval;
3rd judge module, for judging whether the quantity of the message is more than predetermined message quantity;
4th sending module, if the 3rd judge module judges that the quantity of the message is more than predetermined message quantity,
The 4th feedback message is sent to the server, to cause the server according to the second prefixed time interval, by the message
Send in batches to all terminals in the target direct broadcasting room.
5th aspect, the embodiment of the present invention additionally provides a kind of information transmitting apparatus, applied to server, described device
Including:
Statistical module, for when monitoring that the first vlewer terminals enter target direct broadcasting room, statistics to be currently entering institute
The quantity of the vlewer terminals of target direct broadcasting room is stated, so that the sight for being currently entering target direct broadcasting room can be got by obtaining main broadcaster's terminal
The quantity of many terminals, and judge whether the quantity is more than predetermined quantity, when the quantity is more than predetermined quantity, to described
Server sends the first feedback information, wherein, the target direct broadcasting room is the direct broadcasting room where main broadcaster's terminal, described the
One vlewer terminals are any vlewer terminals of the vlewer terminals;
First monitoring modular, for monitoring whether to receive first feedback information;
Stop sending module, if stopping for the monitoring module monitors to first feedback information is received to institute
All terminals for stating target direct broadcasting room send prompting message, and the prompting message enters institute for prompting first vlewer terminals
State the message of target direct broadcasting room.
Optionally, described device also includes:
Second monitoring modular, the second feedback information sent for monitoring whether to receive main broadcaster's terminal, wherein,
Second feedback information is that main broadcaster's terminal is little in the quantity for the vlewer terminals for judging to be currently entering target direct broadcasting room
The feedback information sent after predetermined quantity to the server;
5th sending module, if for second monitoring module monitors to receive that main broadcaster's terminal sends the
Two feedback informations, all terminals into the target direct broadcasting room send prompting message, wherein, the prompting message is prompting
First vlewer terminals enter the message of the target direct broadcasting room.
Optionally, described device also includes:
3rd monitoring modular, the 3rd feedback information sent for monitoring whether to receive main broadcaster's terminal, wherein,
3rd feedback information is that main broadcaster's terminal judges that the quantity for being currently entering the vlewer terminals of target direct broadcasting room is more than in advance
Fixed number amount, and before first feedback information is sent to server, judge the identification information in its own historical record
The feedback information sent during the identification information for not including first vlewer terminals to server;
6th sending module, if for the 3rd monitoring module monitors to receive that main broadcaster's terminal sends the
Three feedback informations, only the prompting message of first vlewer terminals into the target direct broadcasting room is sent straight to the target
All terminals between broadcasting.
Optionally, described device also includes:
4th monitoring modular, the 4th feedback information sent for monitoring whether to receive main broadcaster's terminal, wherein,
4th feedback information is that main broadcaster's terminal judges all vlewer terminals in target direct broadcasting room in the first preset time
The quantity of the message sent in interval is more than the feedback information sent during predetermined message quantity to server;
7th sending module, if for the 4th monitoring module monitors to receive that main broadcaster's terminal sends the
Four feedback informations, are spaced to schedule, and the message that all vlewer terminals in the target direct broadcasting room are sent is sent out in batches
All terminals delivered in the target direct broadcasting room.
6th aspect, it is described applied to the first vlewer terminals the embodiments of the invention provide a kind of send-request unit
Device includes:
8th sending module, for when the first vlewer terminals enter target direct broadcasting room, it is straight to be transmitted into the target
Request between broadcasting is to server, so that obtaining main broadcaster's terminal obtains the spectators' end for being currently entering the target direct broadcasting room from server
The quantity at end, and judge whether the quantity is more than predetermined quantity, when the quantity is more than predetermined quantity, to the service
Device sends the first feedback information, wherein, the target direct broadcasting room is the direct broadcasting room where main broadcaster's terminal.
Optionally, described device also includes:
4th acquisition module, for obtaining message to be sent;
4th judge module, for whether judging in the message to be sent comprising the first default vocabulary;
First display module, if judging for the 4th judge module pre- comprising first in the message to be sent
If vocabulary, the display alarm message in the screen of first vlewer terminals itself, wherein, the reminder message is used to prompt
The first default vocabulary is included in the first vlewer terminals message to be sent;
9th sending module, if judging not include first in the message to be sent for the 4th judge module
Default vocabulary, the message to be sent is sent to server, with cause the server by the message to be sent send to
All terminals in direct broadcasting room where first vlewer terminals.
Optionally, described device also includes:
5th judge module, for after the acquisition message to be sent, judging whether wrapped in the message to be sent
Containing the second default vocabulary;
Second display module, if judging for the 5th judge module pre- comprising second in the message to be sent
If vocabulary, the message to be sent is included in the screen of first vlewer terminals itself;
Tenth sending module, if judging not include second in the message to be sent for the 5th judge module
Default vocabulary, the message to be sent is sent to server, with cause the server by the message to be sent send to
All terminals in direct broadcasting room where first vlewer terminals.
Optionally, the 4th acquisition module, is specifically used for:
Receive the message content of user's input;
Whether the time interval between at the time of judging to receive the message content and at the time of upper a piece of news is sent
More than or equal to predetermined time interval;
If it is, the message content is defined as message to be sent.
7th aspect, the embodiments of the invention provide a kind of terminal device, including processor, communication interface, memory and
Communication bus, wherein, processor, communication interface, memory completes mutual communication by communication bus;
Memory, for depositing computer program;
Processor, during for performing the program deposited on memory, realize described in first aspect to be applied to main broadcaster whole
The method and step of the method for sending information at end.
Eighth aspect, the embodiments of the invention provide a kind of server, including processor, communication interface, memory and logical
Believe bus, wherein, processor, communication interface, memory completes mutual communication by communication bus;
Memory, for depositing computer program;
Processor, during for performing the program deposited on memory, realizing and being applied to server described in second aspect
Method for sending information method and step.
9th aspect, the embodiments of the invention provide a kind of terminal device, including processor, communication interface, memory and
Communication bus, wherein, processor, communication interface, memory completes mutual communication by communication bus;
Memory, for depositing computer program;
Processor, during for performing the program deposited on memory, realizing and being applied to first see described in the third aspect
The method and step of the request sending method of many terminals.
Tenth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage
Dielectric memory contains computer program, and the computer program is realized when being executed by processor to be applied to described in first aspect
The method and step of the method for sending information of main broadcaster's terminal.
Tenth on the one hand, described computer-readable to deposit the embodiments of the invention provide a kind of computer-readable recording medium
Storage media internal memory contains computer program, and the computer program realizes answering described in second aspect when being executed by processor
Method for sending information method and step for server.
12nd aspect, it is described computer-readable to deposit the embodiments of the invention provide a kind of computer-readable recording medium
Storage media internal memory contains computer program, and the computer program realizes the application described in the third aspect when being executed by processor
In the method and step of the request sending method of the first vlewer terminals.
Compared with prior art, the technical scheme of the embodiment of the present invention, target direct broadcasting room is entered in the first vlewer terminals
When, main broadcaster's terminal obtains the quantity for the vlewer terminals for being currently entering target direct broadcasting room from server, wherein, target direct broadcasting room is
Direct broadcasting room where main broadcaster's terminal;Whether the quantity for the vlewer terminals for judging to be currently entering target direct broadcasting room is more than predetermined quantity;
If it does, the first feedback information is sent to server, to cause server to stop to all terminals in target direct broadcasting room
Send the prompting message that the first vlewer terminals enter target direct broadcasting room.
By the technical scheme, when having mass viewer audiences terminal while entering target direct broadcasting room, server stops to target
All terminals in direct broadcasting room send the prompting message that each vlewer terminals enter target direct broadcasting room, can avoid the same time
There are a large amount of prompting messages to be shown in the screen of all terminals in target direct broadcasting room, but by the interactive letter of spectators and main broadcaster
Breath is shown in all terminals in target direct broadcasting room, so as to which spectators and main broadcaster can be normally interactive, and can be avoided because seeing
Prompting message in many terminal screens is excessive and causes to block video pictures, and then spectators can normally watch video.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its
His embodiment, belongs to the scope of protection of the invention.
In order to solve present in prior art when the same time thering is mass viewer audiences terminal to enter target direct broadcasting room, because
There are a large amount of prompting messages to be shown in the screen of all terminals in target direct broadcasting room and cause spectators can not be normally mutual with main broadcaster
Move, and spectators can not normally watch the technical problem of live video, the embodiments of the invention provide a kind of message sender
Method, device, equipment and storage medium.
In a first aspect, the method for sending information provided first below the embodiment of the present invention is introduced.
As shown in figure 1, a kind of method for sending information applied to main broadcaster's terminal that the embodiment of the present invention is provided, including
Following steps:
S101, when the first vlewer terminals enter target direct broadcasting room, obtained from server and be currently entering the target direct broadcasting room
Vlewer terminals quantity, wherein, the target direct broadcasting room is the direct broadcasting room where main broadcaster's terminal, and first vlewer terminals are
Any vlewer terminals of the vlewer terminals;
Main broadcaster's terminal enters target direct broadcasting room during the progress of target direct broadcasting room is live when there is the first vlewer terminals
When, wherein, first vlewer terminals are introduced into any vlewer terminals of target direct broadcasting room, and server obtains and is currently entering target
The quantity of the vlewer terminals of direct broadcasting room.Main broadcaster's terminal is to judge to be currently entering the quantity of the vlewer terminals of target direct broadcasting room
No a predetermined level is exceeded is, it is necessary to obtain the quantity for the vlewer terminals for being currently entering target direct broadcasting room from server.
S102, judges whether the quantity is more than predetermined quantity;
After the quantity for the vlewer terminals for being currently entering target direct broadcasting room is got, whether main broadcaster's terminal judges the quantity
More than predetermined quantity, in case in a subsequent step, when the quantity is more than predetermined quantity, server is still straight to target
Main broadcaster's terminal and vlewer terminals between broadcasting send the first vlewer terminals and enter the prompting message of the live direct broadcasting room of target, and lead
Cause to show the prompting message of " XXX enters direct broadcasting room " in the screen of all terminals in target direct broadcasting room simultaneously, so as to main broadcaster and
Spectators can not be normally interactive, and spectators can not normally watch live video.
It should be noted that the size of predetermined quantity is set according to actual conditions, set after predetermined quantity, it is necessary to
The condition of satisfaction is:When display disappears less than or equal to the prompting of predetermined quantity bar in the screen of all terminals in target direct broadcasting room
During breath, it is normally interactive with spectators not interfere with main broadcaster, and does not interfere with spectators and normally watch video.In addition, predetermined quantity can
To be that main broadcaster's terminal is set in advance or main broadcaster's terminal generates after target direct broadcasting room is entered, this is all reasonable
's.The present invention is to the size of predetermined quantity and the generating mode of predetermined quantity and is not specifically limited.
S103, if the quantity for being currently entering the vlewer terminals of target direct broadcasting room is more than predetermined quantity, sent to server
First feedback information, to cause server to stop sending the entrance of the first vlewer terminals to all terminals in target direct broadcasting room
The prompting message of target direct broadcasting room.
If main broadcaster's terminal judges that the quantity for the vlewer terminals being currently entering in target direct broadcasting room is more than predetermined quantity,
Illustrate if by the quantity prompting message include in main broadcaster's terminal of target direct broadcasting room and the screen of vlewer terminals when, meeting
Influence main broadcaster and spectators are normally interactive, and spectators can be influenceed and normally watch video.Now, in order to avoid main broadcaster can not be with spectators
Normal interaction, and spectators can not normally watch video, and main broadcaster's terminal to server sends the first feedback information, and server exists
When receiving first feedback information of main broadcaster's terminal transmission, stop main broadcaster's terminal and vlewer terminals into target direct broadcasting room
The prompting message that the first vlewer terminals enter target direct broadcasting room is sent, so as to avoid substantial amounts of prompting message from being simultaneously displayed on mesh
Mark in main broadcaster's terminal or the vlewer terminals in direct broadcasting room, but by the presentation of information of main broadcaster and audience interaction in main broadcaster's terminal
And in the screen of vlewer terminals, so as to which main broadcaster can be normally interactive with spectators, and it can avoid carrying in the screen of vlewer terminals
Show message number excessive and block video pictures, and then spectators can normally watch video.
For example, the predetermined quantity of main broadcaster's terminal profile in target direct broadcasting room is 5, if main broadcaster's terminal is to service
The quantity of what device was got be currently entering vlewer terminals of target direct broadcasting room is 10, and now the quantity is more than predetermined quantity, main broadcaster
Terminal to server sends the first feedback information, and server stops into target direct broadcasting room when receiving the first feedback information
Main broadcaster's terminal and vlewer terminals send the first vlewer terminals enter direct broadcasting room prompting message.
It should be noted that when being currently entering the quantity of vlewer terminals of target direct broadcasting room and being more than predetermined quantity, target
Do not show that the prompting of the first vlewer terminals into target direct broadcasting room disappears in main broadcaster's terminal of direct broadcasting room and the screen of vlewer terminals
Breath, of course, it is possible to show total people of current goal direct broadcasting room in main broadcaster's terminal of target direct broadcasting room and the screen of vlewer terminals
Number and history viewing number, these are all rational, so that main broadcaster and the client of viewing target direct broadcasting room video
It can be seen that the number of users of currently viewing target direct broadcasting room video and how many user entered the target direct broadcasting room.
Compared with prior art, the technical scheme of the embodiment of the present invention, target direct broadcasting room is entered in the first vlewer terminals
When, main broadcaster's terminal obtains the quantity for the vlewer terminals for being currently entering target direct broadcasting room from server, wherein, target direct broadcasting room is
Direct broadcasting room where main broadcaster's terminal;Whether the quantity for the vlewer terminals for judging to be currently entering target direct broadcasting room is more than predetermined quantity;
If it does, the first feedback information is sent to server, to cause server to stop to all terminals in target direct broadcasting room
Send the prompting message that the first vlewer terminals enter target direct broadcasting room.
By the technical scheme, when having mass viewer audiences terminal while entering target direct broadcasting room, server stops to target
All terminals in direct broadcasting room send the prompting message that each vlewer terminals enter target direct broadcasting room, can avoid the same time
There are a large amount of prompting messages to be shown in the screen of all terminals in target direct broadcasting room, but by the interactive letter of spectators and main broadcaster
Breath is shown in all terminals in target direct broadcasting room, so as to which spectators and main broadcaster can be normally interactive, and can be avoided because seeing
Prompting message in many terminal screens is excessive and causes to block video pictures, and then spectators can normally watch video.
Optionally, in one embodiment, the quantity for the vlewer terminals for judging to be currently entering target direct broadcasting room is not more than
During predetermined quantity, method for sending information also includes:
The second feedback information is sent to server, to cause server to be sent to all terminals in target direct broadcasting room
First vlewer terminals enter the prompting message of target direct broadcasting room.
When main broadcaster's terminal judges that the quantity for being currently entering the vlewer terminals of target direct broadcasting room is not more than predetermined quantity,
Illustrate now to include in target direct broadcasting room if the first vlewer terminals of the quantity to be entered to the prompting message of target direct broadcasting room
When main broadcaster's terminal and vlewer terminals, main broadcaster remains to carry out normal interaction with spectators, and spectators can normally watch video.In order to
On the premise of ensureing that main broadcaster can be normal interactive with spectators' progress, and spectators normally can watch video, main broadcaster and spectators' energy
Enough to see having which the first vlewer terminals to enter target direct broadcasting room simultaneously, main broadcaster's terminal to server sends the second feedback information,
For server when receiving the second feedback information of main broadcaster's terminal transmission, the main broadcaster's terminal and spectators into target direct broadcasting room are whole
End sends the prompting message that the first vlewer terminals enter target direct broadcasting room.
For example, the predetermined quantity of main broadcaster's terminal profile in target direct broadcasting room is 5, if main broadcaster's terminal is to service
The quantity of what device was got be currently entering vlewer terminals of target direct broadcasting room is 3, and now the quantity is less than predetermined quantity, main broadcaster
Terminal to server sends the second feedback information, and server is when receiving second feedback information, into target direct broadcasting room
Main broadcaster's terminal and vlewer terminals send the prompting message that the first vlewer terminals enter direct broadcasting room.So, straight into target
Main broadcaster and spectators between broadcasting have been able to know which the first vlewer terminals enters target direct broadcasting room.
Compared with prior art, technical scheme provided in an embodiment of the present invention, ensureing that main broadcaster can be with spectators' progress just
It is often interactive, and on the premise of spectators normally can watch video, main broadcaster and spectators can see having which the first spectators whole simultaneously
End enters target direct broadcasting room, further increases the experience of main broadcaster and spectators.
Optionally, in one embodiment, if judging, the quantity for being currently entering the vlewer terminals of target direct broadcasting room is big
In predetermined quantity, before the first feedback information is sent to server, method for sending information also includes:
The identification information of the first vlewer terminals is obtained from server;
Judge whether the identification information in main broadcaster's terminal historical record includes the identification information of first vlewer terminals;
If it is, the step of performing to server the first feedback information of transmission;
If it has not, the 3rd feedback information is sent to the server, to cause the server only by first spectators
The prompting message that terminal enters the target direct broadcasting room is sent to all terminals in the target direct broadcasting room;
Return when the first vlewer terminals enter target direct broadcasting room, it is live to be currently entering the target from server acquisition
Between vlewer terminals quantity the step of.
In order that main broadcaster's terminal in target direct broadcasting room and vlewer terminals are learnt and first enter into the of target direct broadcasting room
One vlewer terminals enter target direct broadcasting room, that is to say, that so that main broadcaster and the sight that video is watched in target direct broadcasting room
Crowd can learn that new spectators enter target direct broadcasting room, and main broadcaster's terminal is obtained into the first of target direct broadcasting room from server and seen
The identification information of many terminals, and judge whether include first vlewer terminals in the identification information in main broadcaster's terminal historical record
Identification information, if including the identification information of first vlewer terminals in main broadcaster's terminal historical record, illustrate now without new
Spectators enter target direct broadcasting room, and main broadcaster's terminal to server sends the first feedback information.That is so that server stops
Main broadcaster's terminal and vlewer terminals into main broadcaster's direct broadcasting room send the prompting message that the first vlewer terminals enter target direct broadcasting room.
If not including the identification information of first vlewer terminals in main broadcaster's terminal historical record, illustrate now there is new use
Family enters target direct broadcasting room, now, in order that main broadcaster's terminal in main broadcaster's direct broadcasting room and vlewer terminals can learn new sight
Crowd enters target direct broadcasting room, and main broadcaster's terminal to server sends the 3rd feedback information, and server is receiving the 3rd feedback letter
During breath, the prompting message that first vlewer terminals are only entered to target direct broadcasting room is sent to main broadcaster's terminal in target direct broadcasting room
And vlewer terminals.
Compared with prior art, technical scheme provided in an embodiment of the present invention, while there have a large number of users to enter target to be live
Between when, ensureing that it is normal interactive that main broadcaster can be carried out with spectators, and on the premise of spectators normally can watch video, Zhu Bohe
Spectators can see that the vlewer terminals which has new enter target direct broadcasting room simultaneously, further increase the body of main broadcaster and spectators
Test.
Optionally, in one embodiment, method for sending information also includes:
What all vlewer terminals from server in acquisition target direct broadcasting room were sent in the first prefixed time interval disappears
The quantity of breath;
Judge whether the quantity of the message is more than predetermined message quantity;
If it is, the 4th feedback message is sent to server, make it that server, will according to the second prefixed time interval
Message sends all terminals into target direct broadcasting room in batches.
It should be noted that the size of the first prefixed time interval is changeable, for example, it may be 1 second, 2 seconds, 5 seconds
Deng;Predetermined message quantity is relevant with main broadcaster's terminal of target direct broadcasting room and the screen size of vlewer terminals.For example, if
In main broadcaster's terminal of target direct broadcasting room and the screen of vlewer terminals, when once showing 5 information, this 5 information can understand
Ground is illustrated in main broadcaster's terminal of target direct broadcasting room and the screen of vlewer terminals, then the predetermined message quantity could be arranged to
5.The size of second prefixed time interval can be configured according to the needs of main broadcaster and user.If main broadcaster and user want
Quickly and the message in screen can be clearly seen, then the second prefixed time interval can be arranged to smaller, conversely, can incite somebody to action
Second prefixed time interval is arranged to larger.The embodiment of the present invention is to the first prefixed time interval, predetermined message quantity and second
The size of prefixed time interval is not specifically limited.
In order to prevent because the interactive message of main broadcaster or spectators' transmission are too many, and cause substantial amounts of message live in target
Between in main broadcaster's terminal and vlewer terminals screen in roll it is too fast, so as to cause main broadcaster and spectators can not carry out it is good mutual
It is dynamic.Main broadcaster's terminal is from main broadcaster's terminal in server acquisition target direct broadcasting room and vlewer terminals in the first prefixed time interval
3rd quantity of the message of transmission, and judge whether the 3rd quantity is more than predetermined message quantity, make a reservation for if the 3rd quantity is more than
Message number, illustrate that the message number that target terminal and vlewer terminals are sent is more, may result in main broadcaster and spectators can not enter
The good interaction of row, now, main broadcaster's terminal to server sends the 4th feedback information, and the 4th feedback letter is received in server
During breath, the message that main broadcaster's terminal in target direct broadcasting room and vlewer terminals are sent is sent into the institute into target direct broadcasting room in batches
There is terminal.
For example, if predetermined message quantity is 5, main broadcaster's terminal the 3rd number counted on interior at preset time intervals
Measure as 10, then message is successively sent to the main broadcaster's terminal and vlewer terminals of target direct broadcasting room by main broadcaster's terminal at twice, also
It is to say, 5 message is sent to the main broadcaster's terminal and vlewer terminals of target direct broadcasting room first, then again sent other 5 extremely
The main broadcaster's terminal and vlewer terminals of target direct broadcasting room.For another example if predetermined message quantity is 5, main broadcaster's terminal is in the scheduled time
The 3rd quantity counted in interval is 7, then message is successively sent to the main broadcaster of target direct broadcasting room by main broadcaster's terminal at twice
Terminal and vlewer terminals, that is to say, that first send 5 message to the main broadcaster's terminal and vlewer terminals of target direct broadcasting room, so
Other 2 are sent to the main broadcaster's terminal and vlewer terminals of target direct broadcasting room again afterwards.It is of course also possible to first 2 message are sent out
The main broadcaster's terminal and vlewer terminals of target direct broadcasting room are delivered to, then other 5 message is sent to main broadcaster's terminal of target direct broadcasting room
And vlewer terminals.The message number that the embodiment of the present invention is sent every time to all terminals of the server into target direct broadcasting room is not
It is specifically limited.
Compared with prior art, technical scheme provided in an embodiment of the present invention, can prevent because of main broadcaster or spectators' transmission
Interactive message it is too many, and cause to roll in the screen of main broadcaster's terminal and vlewer terminals of the substantial amounts of message in target direct broadcasting room
It is dynamic too fast, so as to cause main broadcaster and spectators to carry out good interaction.
As shown in Fig. 2 a kind of method for sending information applied to server that the embodiment of the present invention is provided, including such as
Lower step:
S201, when monitoring that the first vlewer terminals enter target direct broadcasting room, statistics is currently entering target direct broadcasting room
Vlewer terminals quantity so that main broadcaster's terminal can get the quantity of the vlewer terminals for being currently entering target direct broadcasting room,
And judge whether the quantity is more than predetermined quantity, when the quantity is more than predetermined quantity, the first feedback letter is sent to server
Breath, wherein, target direct broadcasting room is the direct broadcasting room where main broadcaster's terminal, and the first vlewer terminals are whole for any spectators of vlewer terminals
End;
S202, monitor whether to receive the first feedback information;
S203, if monitoring to receive the first feedback information, stop sending prompting to all terminals of target direct broadcasting room
Message, the prompting message enter the message of target direct broadcasting room for the first vlewer terminals of prompting.
When having monitored that the first vlewer terminals enter target direct broadcasting room, server statistics are currently entering target direct broadcasting room
Quantity so that main broadcaster's terminal can obtain the quantity, and judge whether the quantity is more than predetermined quantity, in order to avoid work as the number
When amount is more than predetermined quantity, it is whole that main broadcaster terminal and vlewer terminals of the server still into target direct broadcasting room send the first spectators
End causes in the screen of all terminals in target direct broadcasting room while shown into the prompting message of the live direct broadcasting room of target
The prompting message of " XXX enters direct broadcasting room ", so as to which main broadcaster and spectators can not be normally interactive, and spectators can not normally watch directly
Broadcast video.
Therefore, if server receives the first feedback information of main broadcaster's terminal transmission, illustrate that main broadcaster's terminal is judged
The quantity for the vlewer terminals being currently entering in target direct broadcasting room is more than predetermined quantity, now if by the quantity prompting message
It is shown in main broadcaster's terminal of target direct broadcasting room and the screen of vlewer terminals, it is normally interactive with spectators to influence main broadcaster, and can shadow
Ring spectators and normally watch video.In order to avoid main broadcaster can not be normally interactive with spectators, and spectators can not normally watch video,
Server when receiving first feedback information of main broadcaster's terminal transmission, stop main broadcaster's terminal into target direct broadcasting room and
Vlewer terminals send the prompting message that the first vlewer terminals enter target direct broadcasting room, so as to avoid substantial amounts of prompting message simultaneously
It is shown in main broadcaster's terminal or the vlewer terminals in target direct broadcasting room, but the presentation of information of main broadcaster and audience interaction is existed
In the screen of main broadcaster's terminal and vlewer terminals, so as to which main broadcaster can be normally interactive with spectators, and vlewer terminals can be avoided
Prompting message quantity excessively blocks video pictures in screen, and then spectators can normally watch video.
Compared with prior art, by the technical scheme, when having mass viewer audiences terminal while entering target direct broadcasting room,
All terminals that server stops into target direct broadcasting room send the prompting message that each vlewer terminals enter target direct broadcasting room,
The same time can be avoided to have the screen of main broadcaster's terminal that a large amount of prompting messages are shown in target direct broadcasting room and vlewer terminals
In, but by main broadcaster terminal of the interactive presentation of information of spectators and main broadcaster in target direct broadcasting room with vlewer terminals, so as to see
Many and main broadcaster can be normally interactive, and the prompting message in vlewer terminals screen can be avoided excessive and block video pictures,
And then spectators can normally watch live video.
Optionally, the method for sending information applied to server also includes:
Monitor whether to receive the second feedback information that main broadcaster's terminal is sent, wherein, the second feedback information is main broadcaster's terminal
Sent out judging to be currently entering the first quantity of the first vlewer terminals of target direct broadcasting room no more than after predetermined quantity to server
The feedback information sent;
If monitor to receive the second feedback information of main broadcaster's terminal transmission, all terminals into target direct broadcasting room
Send the prompting message that the first vlewer terminals enter target direct broadcasting room.
When server receives the second feedback information of main broadcaster's terminal transmission, illustrate that main broadcaster's terminal is judged when advance
The quantity for entering the vlewer terminals of target direct broadcasting room is not more than predetermined quantity, if it is straight that the quantity vlewer terminals are entered into target
When prompting message between broadcasting is shown in the main broadcaster's terminal and vlewer terminals of target direct broadcasting room, main broadcaster remains to carry out normally with spectators
Interaction, and spectators can normally watch video.Now in order to ensure that it is normal interactive that main broadcaster can be carried out with spectators, and spectators
On the premise of video normally being watched, main broadcaster and spectators can see having which the first vlewer terminals straight into target simultaneously
Between broadcasting, server is when receiving the second feedback information of main broadcaster's terminal transmission, main broadcaster's terminal and sight into target direct broadcasting room
Many terminals send the prompting message that the first vlewer terminals enter target direct broadcasting room.
Compared with prior art, technical scheme provided in an embodiment of the present invention, ensureing that main broadcaster can be with spectators' progress just
It is often interactive, and on the premise of spectators normally can watch video, main broadcaster and spectators can see having which the first spectators whole simultaneously
End enters target direct broadcasting room, further increases the experience of main broadcaster and spectators.
Optionally, the method for sending information applied to server also includes:
Monitor whether to receive the 3rd feedback information that main broadcaster's terminal is sent, wherein, the 3rd feedback information is main broadcaster's terminal
Judge that the first quantity is more than predetermined quantity, and before the first feedback information is sent to server, judge its own history
Identification information in record does not include the feedback information sent during the identification information of first vlewer terminals to server;
If monitoring server is to the 3rd feedback information for receiving the transmission of main broadcaster's terminal, only by first vlewer terminals
Prompting message into target direct broadcasting room sends all terminals into target direct broadcasting room.
If monitoring server illustrates that main broadcaster's terminal is judged to the 3rd feedback information for receiving the transmission of main broadcaster's terminal
The identification information of first vlewer terminals is not included in the historical record of its own, i.e., now has new user to enter target live
Between, in order that main broadcaster's terminal in main broadcaster's direct broadcasting room and vlewer terminals can learn that new spectators enter target direct broadcasting room, lead
Broadcast terminal to server and send the 3rd feedback information, server is when receiving three feedback informations, only by first spectators
Terminal is sent to main broadcaster's terminal and vlewer terminals in target direct broadcasting room into the prompting message of target direct broadcasting room.With existing skill
Art is compared, technical scheme provided in an embodiment of the present invention, while when having a large number of users to enter target direct broadcasting room, is ensureing main broadcaster
It can be carried out with spectators normal interactive, and on the premise of spectators normally can watch video, main broadcaster and spectators can see simultaneously
There is which new vlewer terminals to enter target direct broadcasting room, further increase the experience of main broadcaster and spectators.
Optionally, the method for sending information applied to server also includes:
Monitor whether to receive the 4th feedback information that main broadcaster's terminal is sent, wherein, the 4th feedback information is that main broadcaster is whole
Judge that the 3rd quantity is more than the feedback information sent during predetermined message quantity to server in end;
If monitoring server is spaced, incited somebody to action to the 4th feedback information for receiving the transmission of main broadcaster's terminal to schedule
The message that all terminals in target direct broadcasting room are sent is sent to the terminal in target direct broadcasting room in batches.
If monitoring server illustrates main broadcaster or spectators' hair to the 4th feedback information for receiving the transmission of main broadcaster's terminal
The message sent is more, in order to prevent because the interactive message of main broadcaster or spectators' transmission are too many, and causes substantial amounts of message in target
Main broadcaster's terminal in direct broadcasting room and rolled in the screen of vlewer terminals it is too fast, so as to cause main broadcaster and spectators to carry out well
Interaction.Therefore, when server receives four feedback informations, by the main broadcaster's terminal and vlewer terminals in target direct broadcasting room
The message of transmission sends all terminals into target direct broadcasting room in batches.
Compared with prior art, technical scheme provided in an embodiment of the present invention, can prevent because of main broadcaster or spectators' transmission
Interactive message it is too many, and cause to roll in the screen of main broadcaster's terminal and vlewer terminals of the substantial amounts of message in target direct broadcasting room
It is dynamic too fast, so as to cause main broadcaster and spectators to carry out good interaction.
Second aspect, the embodiment of the present invention is provided entered applied to the request sending method of the first vlewer terminals below
Row is introduced.
A kind of request sending method for being applied to the first vlewer terminals that the embodiment of the present invention is provided, including following step
Suddenly:
When the first vlewer terminals enter target direct broadcasting room, the request of target direct broadcasting room is transmitted into server, with
So that main broadcaster's terminal obtains the quantity for the vlewer terminals for being currently entering the target direct broadcasting room from server, and judge the number
Whether amount is more than predetermined quantity, and when the quantity is more than predetermined quantity, the first feedback information is sent to the server, its
In, the target direct broadcasting room is the direct broadcasting room where main broadcaster's terminal.
When server receives the request of the first vlewer terminals transmission, the sight for being currently entering target direct broadcasting room can be counted
The number of requests of many terminals, and then can count to obtain the quantity for the vlewer terminals for being currently entering target direct broadcasting room, so as to main broadcaster
Terminal obtains the quantity for the vlewer terminals for being currently entering target direct broadcasting room from server, and it is predetermined to judge whether the quantity is more than
Quantity, when the quantity is more than predetermined quantity, the first feedback information is sent to server, wherein, the target direct broadcasting room is the master
Broadcast the direct broadcasting room where terminal.
Optionally, the request sending method applied to the first vlewer terminals, also comprises the following steps:
Obtain message to be sent;
Whether judge in message to be sent comprising the first default vocabulary;
If it is judged that message package to be sent is containing the first default vocabulary, shown in the first vlewer terminals screens of itself
Reminder message, wherein, the reminder message is used to prompt in the first vlewer terminals message to be sent comprising the first default vocabulary;
If it is judged that message to be sent does not include the first default vocabulary, message to be sent is sent to server, so that
Server is obtained to send message to be sent to all terminals in target direct broadcasting room, wherein, target direct broadcasting room is the spectators
Direct broadcasting room where terminal.
Disappear it should be noted that message to be sent can be the text information that spectators input in vlewer terminals or voice
Breath, this is all rational.First default vocabulary can be abuse, the sensitive vocabulary such as pornographic.
When vlewer terminals receive message to be sent, illustrate that spectators want to carry out interaction with main broadcaster or other spectators,
In order to ensure that message that spectators send does not include the first default vocabulary, but for main broadcaster and spectators' progress is good exchanges,
Vlewer terminals are locally pre-setting the first default lexicon, when receiving message to be sent, judge in message to be sent
Whether the first default vocabulary is included.
If vlewer terminals are judged to illustrate to wrap in the message to be sent comprising the first default vocabulary in message to be sent
Containing sensitive vocabulary, now, in order that obtain the spectators and main broadcaster and other spectators can carry out it is good exchange, vlewer terminals
Will not by this it is pending messages be sent in server, i.e., message to be sent sends failure, but is sent to the vlewer terminals itself
Such as reminder message such as " your message violation, it is noted that your word ", so as to remind the spectators to pay attention to word.
For example, it is if vlewer terminals get its message to be sent got:Abuse main broadcaster or other sights
Many message, now, vlewer terminals are shown " your message violation, it is noted that your user " in the screen of its own
Deng prompting message.
If vlewer terminals are judged not including the first default vocabulary in message to be sent, that is to say, that message to be sent
In not comprising sensitive vocabulary, now, vlewer terminals send message to be sent to server, and server is treated receiving this
When sending message, the message to be sent is sent into the main broadcaster's terminal and vlewer terminals in target direct broadcasting room, so that hair
Send the spectators of message can be with the main broadcaster in target direct broadcasting room and other spectators' normal communications.
Compared with prior art, technical scheme provided in an embodiment of the present invention, vlewer terminals are getting message to be sent
When;Whether judge in message to be sent comprising the first default vocabulary;If seen in message to be sent comprising the first default vocabulary
Many terminals will not send the message to be sent to server, but send reminder message to its own;If message to be sent
In comprising the first default vocabulary, then message to be sent is sent to server, to cause server to send message to be sent
To the main broadcaster's terminal and vlewer terminals in target direct broadcasting room.By technical scheme provided in an embodiment of the present invention, can prevent
Message comprising the first default vocabulary is sent in main broadcaster's terminal and the vlewer terminals in target direct broadcasting room, so as to ensure in mesh
Interaction well can be carried out by marking the main broadcaster of direct broadcasting room and spectators.
Optionally, after message to be sent is obtained, request sending method also includes:
Whether judge in message to be sent comprising the second default vocabulary;
If message to be sent is included in the first vlewer terminals itself comprising the second default vocabulary in message to be sent
Screen in;
If message to be sent is not sent in message to be sent comprising the second default vocabulary to server, to cause
Message to be sent is sent to all terminals in target direct broadcasting room by server.
It should be noted that the second default vocabulary is the friendship to main broadcaster and spectators, spectators and spectators such as " hi ", " hello "
Flow the less vocabulary of meaning.That is, these second default vocabulary can not cause main broadcaster and spectators therefrom obtain it is any by
In information, moreover, the viewing video of spectators can be influenceed.Currently, the second default vocabulary can be not only " hi ", " you are good " etc.
Vocabulary, can also be other vocabulary, and the embodiment of the present invention is not specifically limited to this.
Therefore, can effectively be exchanged with spectators with spectators, spectators in order that obtaining main broadcaster, vlewer terminals are obtaining
During to message to be sent, judge whether comprising the second default vocabulary in message to be sent, if including second in message to be sent
Default vocabulary, then illustrate that the message to be sent can not be so that spectators be effectively exchanged with main broadcaster, spectators with spectators, now
First vlewer terminals are only by presentation of information to be sent in the screen of its own.If it is pre- not include first in message to be sent
If vocabulary, illustrate that the message to be sent enables to spectators effectively to be exchanged with spectators with main broadcaster, spectators, therefore, first
Vlewer terminals send the message to be sent to server, and server to be sent disappears this when receiving the message to be sent
Breath is sent to the main broadcaster's terminal and vlewer terminals in target direct broadcasting room, so as to which main broadcaster can be had with spectators, spectators and spectators
The exchange of effect ground.
Compared with prior art, technical scheme provided in an embodiment of the present invention, spectators and main broadcaster, Guan Zhongyu can make it that
Spectators can effectively be exchanged.
Optionally, in one embodiment, message to be sent is obtained, can be included:
Receive the message content of user's input;
Whether the time interval between at the time of judging to receive the message content and at the time of upper a piece of news is sent
More than predetermined time interval;
If it is, the message content is defined as message to be sent.
In order to avoid frequently sending out message because of same spectators, and cause main broadcaster's terminal and the vlewer terminals in target direct broadcasting room
Screen occur the user transmission a large amount of message, so as to influence normal communication of the other users in target direct broadcasting room.Spectators are whole
Hold when receiving the message content of user's input, sent at the time of judging to receive message content with upper a piece of news when
Whether the time interval between quarter is more than predetermined time interval, if the transmission time of the preceding a piece of news of the message to be sent
It is more than or equal to predetermined time interval with the time interval of the generation time of the message to be sent, illustrates the spectators of the vlewer terminals
Message is not sent frequently, and now the message content received can be defined as the message to be sent by the vlewer terminals.
If it is determined that the time interval between at the time of receiving message content and at the time of upper a piece of news is sent is less than
Predetermined time interval, illustrate that the vlewer terminals are frequently sending message, now the content received is not defined as to be sent disappear
Breath, certainly, the message content received can be stored in local by vlewer terminals, be more than predetermined time interval with time interval
When, then the content received is defined as message to be sent;The message content received can not also be preserved, this is all reasonable
's.
Compared with prior art, technical scheme provided in an embodiment of the present invention, can avoid disappearing because same spectators frequently send out
Breath, and cause the screen of main broadcaster's terminal in target direct broadcasting room and vlewer terminals a large amount of message of user transmission occur, so as to
Each spectators in target direct broadcasting room normally can be exchanged with main broadcaster and other spectators.
The third aspect, the information transmitting apparatus provided below the embodiment of the present invention are introduced.
As shown in figure 3, a kind of message dispensing device applied to main broadcaster's terminal that the embodiment of the present invention is provided, including:
First acquisition module 310, for when the first vlewer terminals enter target direct broadcasting room, being obtained from server current
Into the quantity of the vlewer terminals of the target direct broadcasting room, wherein, the target direct broadcasting room is straight where main broadcaster's terminal
Between broadcasting, first vlewer terminals are any vlewer terminals of the vlewer terminals;
First judge module 320, for judging whether the quantity is more than predetermined quantity;
First sending module 330, if judging that the quantity is more than predetermined quantity for first judge module,
The first feedback information is sent to the server, to cause the server to stop to all in the target direct broadcasting room
Terminal sends prompting message, and the prompting message enters the message of the target direct broadcasting room for prompting first vlewer terminals.
Compared with prior art, the technical scheme of the embodiment of the present invention, target direct broadcasting room is entered in the first vlewer terminals
When, main broadcaster's terminal obtains the quantity for the vlewer terminals for being currently entering target direct broadcasting room from server, wherein, target direct broadcasting room is
Direct broadcasting room where main broadcaster's terminal;Whether the quantity for the vlewer terminals for judging to be currently entering target direct broadcasting room is more than predetermined quantity;
If it does, the first feedback information is sent to server, to cause server to stop to all terminals in target direct broadcasting room
Send the prompting message that the first vlewer terminals enter target direct broadcasting room.
By the technical scheme, when having mass viewer audiences terminal while entering target direct broadcasting room, server stops to target
All terminals in direct broadcasting room send the prompting message that each vlewer terminals enter target direct broadcasting room, can avoid the same time
There are a large amount of prompting messages to be shown in the screen of all terminals in target direct broadcasting room, but by the interactive letter of spectators and main broadcaster
Breath is shown in all terminals in target direct broadcasting room, so as to which spectators and main broadcaster can be normally interactive, and can be avoided because seeing
Prompting message in many terminal screens is excessive and causes to block video pictures, and then spectators can normally watch video.
Optionally, described device also includes:
Second sending module, for when first judge module judges that the quantity is not more than predetermined quantity, to
The server sends the second feedback information, to cause the server is sent to all terminals of the target direct broadcasting room to carry
Show message.
Optionally, described device also includes:
Second acquisition module, if judging that the quantity is more than predetermined quantity for first judge module, to institute
Before stating server the first feedback information of transmission, the identification information of first vlewer terminals is obtained from the server;
Second judge module, for judging the identification information in main broadcaster's terminal historical record whether comprising described the
The identification information of one vlewer terminals;
First trigger module, if judging the mark in main broadcaster's terminal historical record for second judge module
Know identification information of the packet containing first vlewer terminals, execution is described to send the first feedback information to the server
Step;
Second sending module, if judging the mark in main broadcaster's terminal historical record for second judge module
Know the identification information that information does not include first vlewer terminals, the 3rd feedback information is sent to the server, to cause
Server is stated only to send the prompting message of first vlewer terminals into the target direct broadcasting room to the target direct broadcasting room
In all terminals;
Second trigger module, it is described when the first vlewer terminals enter target for triggering the first acquisition module execution
During direct broadcasting room, from server obtain be currently entering the target direct broadcasting room vlewer terminals quantity the step of.
Optionally, described device also includes:
3rd acquisition module, exist for obtaining all vlewer terminals in the target direct broadcasting room from the server
The quantity of the message sent in first prefixed time interval;
3rd judge module, for judging whether the quantity of the message is more than predetermined message quantity;
4th sending module, if the 3rd judge module judges that the quantity of the message is more than predetermined message quantity,
The 4th feedback message is sent to the server, to cause the server according to the second prefixed time interval, by the message
Send in batches to all terminals in the target direct broadcasting room.
As shown in figure 4, a kind of information transmitting apparatus applied to server that the embodiment of the present invention is provided, including:
Statistical module 410, for when monitoring that the first vlewer terminals enter target direct broadcasting room, statistics to be currently entering
To the quantity of the vlewer terminals of the target direct broadcasting room, target direct broadcasting room is currently entering so as to obtain main broadcaster's terminal and can get
Vlewer terminals quantity, and judge whether the quantity is more than predetermined quantity, when the quantity is more than predetermined quantity, to
The server sends the first feedback information, wherein, direct broadcasting room of the target direct broadcasting room where main broadcaster's terminal, institute
State any vlewer terminals that the first vlewer terminals are the vlewer terminals;
First monitoring modular 420, for monitoring whether to receive first feedback information;
Stop sending module 430, if stopping for the monitoring module monitors to first feedback information is received
Prompting message is sent to all terminals of the target direct broadcasting room, the prompting message enters for prompting first vlewer terminals
Enter the message of the target direct broadcasting room.
Optionally, described device also includes:
Second monitoring modular, the second feedback information sent for monitoring whether to receive main broadcaster's terminal, wherein,
Second feedback information is that main broadcaster's terminal is little in the quantity for the vlewer terminals for judging to be currently entering target direct broadcasting room
The feedback information sent after predetermined quantity to the server;
5th sending module, if for second monitoring module monitors to receive that main broadcaster's terminal sends the
Two feedback informations, all terminals into the target direct broadcasting room send prompting message, wherein, the prompting message is prompting
First vlewer terminals enter the message of the target direct broadcasting room.
Optionally, described device also includes:
3rd monitoring modular, the 3rd feedback information sent for monitoring whether to receive main broadcaster's terminal, wherein,
3rd feedback information is that main broadcaster's terminal judges that the quantity for being currently entering the vlewer terminals of target direct broadcasting room is more than in advance
Fixed number amount, and before first feedback information is sent to server, judge the identification information in its own historical record
The feedback information sent during the identification information for not including first vlewer terminals to server;
6th sending module, if for the 3rd monitoring module monitors to receive that main broadcaster's terminal sends the
Three feedback informations, only the prompting message of first vlewer terminals into the target direct broadcasting room is sent straight to the target
All terminals between broadcasting.
Optionally, described device also includes:
4th monitoring modular, the 4th feedback information sent for monitoring whether to receive main broadcaster's terminal, wherein,
4th feedback information is that main broadcaster's terminal judges all vlewer terminals in target direct broadcasting room in the first preset time
The quantity of the message sent in interval is more than the feedback information sent during predetermined message quantity to server;
7th sending module, if for the 4th monitoring module monitors to receive that main broadcaster's terminal sends the
Four feedback informations, are spaced to schedule, and the message that all vlewer terminals in the target direct broadcasting room are sent is sent out in batches
All terminals delivered in the target direct broadcasting room.
Fourth aspect, a kind of request for being applied to the first vlewer terminals provided below the embodiment of the present invention are sent
Device, including:
8th sending module, for when the first vlewer terminals enter target direct broadcasting room, it is straight to be transmitted into the target
Request between broadcasting is to server, so that obtaining main broadcaster's terminal obtains the spectators' end for being currently entering the target direct broadcasting room from server
The quantity at end, and judge whether the quantity is more than predetermined quantity, when the quantity is more than predetermined quantity, to the service
Device sends the first feedback information, wherein, the target direct broadcasting room is the direct broadcasting room where main broadcaster's terminal.
When server receives the request of the first vlewer terminals transmission, the sight for being currently entering target direct broadcasting room can be counted
The number of requests of many terminals, and then can count to obtain the quantity for the vlewer terminals for being currently entering target direct broadcasting room, so as to main broadcaster
Terminal obtains the quantity for the vlewer terminals for being currently entering target direct broadcasting room from server, and it is predetermined to judge whether the quantity is more than
Quantity, when the quantity is more than predetermined quantity, the first feedback information is sent to server, wherein, the target direct broadcasting room is the master
Broadcast the direct broadcasting room where terminal.
Optionally, described device can also include:
4th acquisition module, for obtaining message to be sent;
4th judge module, for whether judging in the message to be sent comprising the first default vocabulary;
First display module, if judging for the 4th judge module pre- comprising first in the message to be sent
If vocabulary, the display alarm message in the screen of first vlewer terminals itself, wherein, the reminder message is used to prompt
The first default vocabulary is included in the first vlewer terminals message to be sent;
9th sending module, if judging not include first in the message to be sent for the 4th judge module
Default vocabulary, the message to be sent is sent to server, with cause the server by the message to be sent send to
All terminals in direct broadcasting room where first vlewer terminals.
Compared with prior art, technical scheme provided in an embodiment of the present invention, vlewer terminals are getting message to be sent
When;Whether judge in message to be sent comprising the first default vocabulary;If seen in message to be sent comprising the first default vocabulary
Many terminals will not send the message to be sent to server, but send reminder message to its own;If message to be sent
In comprising the first default vocabulary, then message to be sent is sent to server, to cause server to send message to be sent
To the main broadcaster's terminal and vlewer terminals in target direct broadcasting room.By technical scheme provided in an embodiment of the present invention, can prevent
Message comprising the first default vocabulary is sent in main broadcaster's terminal and the vlewer terminals in target direct broadcasting room, so as to ensure in mesh
Interaction well can be carried out by marking the main broadcaster of direct broadcasting room and spectators.
Optionally, described device also includes:
5th judge module, for after the acquisition message to be sent, judging whether wrapped in the message to be sent
Containing the second default vocabulary;
Second display module, if judging for the 5th judge module pre- comprising second in the message to be sent
If vocabulary, the message to be sent is included in the screen of first vlewer terminals itself;
Tenth sending module, if judging not include second in the message to be sent for the 5th judge module
Default vocabulary, the message to be sent is sent to server, with cause the server by the message to be sent send to
All terminals in direct broadcasting room where first vlewer terminals.
Optionally, the 4th acquisition module, is specifically used for:
Receive the message content of user's input;
Whether the time interval between at the time of judging to receive the message content and at the time of upper a piece of news is sent
More than or equal to predetermined time interval;
If it is, the message content is defined as message to be sent.
5th aspect, the embodiment of the present invention additionally provide a kind of terminal device, as shown in figure 5, including processor 501, leading to
Believe interface 502, memory 503 and communication bus 504, wherein, processor 501, communication interface 502, memory 503 passes through logical
Letter bus 504 completes mutual communication,
Memory 503, for depositing computer program;
Processor 501, during for performing the program deposited on memory 503, realize answering as described in embodiment of the method
Method for sending information for main broadcaster's terminal.
The communication bus that above-mentioned main broadcaster's terminal is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or EISA (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just
Only represented in expression, figure with a thick line, it is not intended that an only bus or a type of bus.
The communication that communication interface is used between above-mentioned electronic equipment and other equipment.
Memory can include random access memory (Random Access Memory, RAM), can also include non-
Volatile memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory is also
It can be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital
Signal Processing, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components.
Compared with prior art, the technical scheme of the embodiment of the present invention, target direct broadcasting room is entered in the first vlewer terminals
When, main broadcaster's terminal obtains the quantity for the vlewer terminals for being currently entering target direct broadcasting room from server, wherein, target direct broadcasting room is
Direct broadcasting room where main broadcaster's terminal;Whether the quantity for the vlewer terminals for judging to be currently entering target direct broadcasting room is more than predetermined quantity;
If it does, the first feedback information is sent to server, to cause server to stop to all terminals in target direct broadcasting room
Send the prompting message that the first vlewer terminals enter target direct broadcasting room.
By the technical scheme, when having mass viewer audiences terminal while entering target direct broadcasting room, server stops to target
All terminals in direct broadcasting room send the prompting message that each vlewer terminals enter target direct broadcasting room, can avoid the same time
There are a large amount of prompting messages to be shown in the screen of all terminals in target direct broadcasting room, but by the interactive letter of spectators and main broadcaster
Breath is shown in all terminals in target direct broadcasting room, so as to which spectators and main broadcaster can be normally interactive, and can be avoided because seeing
Prompting message in many terminal screens is excessive and causes to block video pictures, and then spectators can normally watch video.
6th aspect, the embodiment of the present invention additionally provide a kind of server, as shown in fig. 6, including processor 601, communication
Interface 602, memory 603 and communication bus 604, wherein, processor 601, communication interface 602, memory 603 passes through communication
Bus 604 completes mutual communication,
Memory 603, for depositing computer program;
Processor 601, during for performing the program deposited on memory 603, realize described in above method embodiment
Method for sending information applied to server.
The communication bus that above-mentioned server is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or EISA (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just
Only represented in expression, figure with a thick line, it is not intended that an only bus or a type of bus.
The communication that communication interface is used between above-mentioned electronic equipment and other equipment.
Memory can include random access memory (Random Access Memory, RAM), can also include non-
Volatile memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory is also
It can be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital
Signal Processing, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components.
Compared with prior art, by the technical scheme, when having mass viewer audiences terminal while entering target direct broadcasting room,
All terminals that server stops into target direct broadcasting room send the prompting message that each vlewer terminals enter target direct broadcasting room,
The same time can be avoided to have the screen of main broadcaster's terminal that a large amount of prompting messages are shown in target direct broadcasting room and vlewer terminals
In, but by main broadcaster terminal of the interactive presentation of information of spectators and main broadcaster in target direct broadcasting room with vlewer terminals, so as to see
Many and main broadcaster can be normally interactive, and the prompting message in vlewer terminals screen can be avoided excessive and block video pictures,
And then spectators can normally watch live video.
7th aspect, the embodiment of the present invention additionally provides a kind of terminal device, as shown in fig. 7, comprises processor 701, logical
Believe interface 702, memory 703 and communication bus 704, wherein, processor 701, communication interface 702, memory 703 passes through logical
Letter bus 704 completes mutual communication,
Memory 703, for depositing computer program;
Processor 701, during for performing the program deposited on memory 703, the application described in implementation method embodiment
In the request sending method of the first vlewer terminals.
The communication bus that above-mentioned main broadcaster's terminal is mentioned can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, PCI) bus or EISA (Extended Industry Standard
Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just
Only represented in expression, figure with a thick line, it is not intended that an only bus or a type of bus.
The communication that communication interface is used between above-mentioned electronic equipment and other equipment.
Memory can include random access memory (Random Access Memory, RAM), can also include non-
Volatile memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory is also
It can be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital
Signal Processing, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components.
Compared with prior art, the technical scheme of the embodiment of the present invention, sent when server receives the first vlewer terminals
Request when, the number of requests for the vlewer terminals for being currently entering target direct broadcasting room can be counted, and then can count to obtain when advancing
Enter the quantity of the vlewer terminals of target direct broadcasting room, so that main broadcaster's terminal obtains the sight for being currently entering target direct broadcasting room from server
The quantity of many terminals, and judge whether the quantity is more than predetermined quantity, when the quantity is more than predetermined quantity, sent out to server
The first feedback information is sent, wherein, the target direct broadcasting room is the direct broadcasting room where main broadcaster's terminal.
Eighth aspect, in another embodiment provided by the invention, a kind of computer-readable recording medium is additionally provided,
Instruction is stored with the computer-readable recording medium, when run on a computer so that computer performs the above method
The method for sending information applied to main broadcaster's terminal described in embodiment.
Compared with prior art, the technical scheme of the embodiment of the present invention, target direct broadcasting room is entered in the first vlewer terminals
When, main broadcaster's terminal obtains the quantity for the vlewer terminals for being currently entering target direct broadcasting room from server, wherein, target direct broadcasting room is
Direct broadcasting room where main broadcaster's terminal;Whether the quantity for the vlewer terminals for judging to be currently entering target direct broadcasting room is more than predetermined quantity;
If it does, the first feedback information is sent to server, to cause server to stop to all terminals in target direct broadcasting room
Send the prompting message that the first vlewer terminals enter target direct broadcasting room.
By the technical scheme, when having mass viewer audiences terminal while entering target direct broadcasting room, server stops to target
All terminals in direct broadcasting room send the prompting message that each vlewer terminals enter target direct broadcasting room, can avoid the same time
There are a large amount of prompting messages to be shown in the screen of all terminals in target direct broadcasting room, but by the interactive letter of spectators and main broadcaster
Breath is shown in all terminals in target direct broadcasting room, so as to which spectators and main broadcaster can be normally interactive, and can be avoided because seeing
Prompting message in many terminal screens is excessive and causes to block video pictures, and then spectators can normally watch video.
9th aspect, in another embodiment provided by the invention, additionally provides a kind of computer-readable recording medium,
Instruction is stored with the computer-readable recording medium, when run on a computer so that computer performs the above method
The method for sending information applied to server described in embodiment.
Compared with prior art, by the technical scheme, when having mass viewer audiences terminal while entering target direct broadcasting room,
All terminals that server stops into target direct broadcasting room send the prompting message that each vlewer terminals enter target direct broadcasting room,
The same time can be avoided to have the screen of main broadcaster's terminal that a large amount of prompting messages are shown in target direct broadcasting room and vlewer terminals
In, but by main broadcaster terminal of the interactive presentation of information of spectators and main broadcaster in target direct broadcasting room with vlewer terminals, so as to see
Many and main broadcaster can be normally interactive, and the prompting message in vlewer terminals screen can be avoided excessive and block video pictures,
And then spectators can normally watch live video.
Tenth aspect, in another embodiment provided by the invention, additionally provides a kind of computer-readable recording medium,
Instruction is stored with the computer-readable recording medium, when run on a computer so that computer performs the above method
Request sending method described in embodiment.
Compared with prior art, the technical scheme of the embodiment of the present invention, sent when server receives the first vlewer terminals
Request when, the number of requests for the vlewer terminals for being currently entering target direct broadcasting room can be counted, and then can count to obtain when advancing
Enter the quantity of the vlewer terminals of target direct broadcasting room, so that main broadcaster's terminal obtains the sight for being currently entering target direct broadcasting room from server
The quantity of many terminals, and judge whether the quantity is more than predetermined quantity, when the quantity is more than predetermined quantity, sent out to server
The first feedback information is sent, wherein, the target direct broadcasting room is the direct broadcasting room where main broadcaster's terminal.It should be noted that herein
In, such as first and second or the like relational terms are used merely to an entity or operation and another entity or behaviour
Make a distinction, and not necessarily require either imply these entities or operation between exist any this actual relation or
Sequentially.Moreover, term " comprising ", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that
Process, method, article or the equipment of a series of elements, which must be included, not only includes those key elements, but also including without clear and definite
The other element listed, or also include for this process, method, article or the intrinsic key element of equipment.Do not having more
In the case of more limitations, the key element that is limited by sentence "including a ...", it is not excluded that the process including the key element,
Other identical element in method, article or equipment also be present.
Each embodiment in this specification is described by the way of related, identical similar between each embodiment
Part is mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for dress
Put, for main broadcaster's terminal, server, vlewer terminals, storage medium embodiment, because it is substantially similar to embodiment of the method, institute
With the fairly simple of description, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., it is all contained in the protection model of the present invention
In enclosing.