【The content of the invention】
It is an object of the invention to provide a kind of client and the ballot receiving/transmission method of server end, by being multiplexed present system
Unite and quickly access ballot system, the ballot demand for solving ballot activity in direct broadcasting room.
To realize the purpose, the present invention adopts the following technical scheme that:
In a first aspect, the present invention provides a kind of ballot receiving/transmission method of client, applied to the ballot activity in direct broadcasting room,
Comprise the following steps:
Receive the vote information that user submits;
When the vote information is the first ticket kind information, using the ballot system of client by the first ticket kind information
Send to server end;
When the vote information is the second ticket kind information, ballot system is received using the present system of client
Second ticket kind information is sent to server end as present information;
At least one client of the reception server end push sends the first ticket kind information and/or the second ticket kind information
Corresponding voting results information;
Voting results information described in output display.
Specifically, it is described when the vote information is the second ticket kind information, it will be voted using the present system of client
The step of the second ticket kind information that system receives is sent to server end as present information, including:
When the vote information is the second ticket kind information, the ballot system of client submits the second ticket kind information
To the present system of client;
The present system of client sends the second ticket kind information to server end as present information.
Further, the first ticket kind information and the second ticket kind packet contain the identity information for being voted-for user.
Further, after the step of vote information that the reception user submits, in addition to:
First ticket kind information described in output display and/or the second ticket kind information and the corresponding identity letter for being voted-for user
Breath.
Second aspect, the present invention provide a kind of ballot receiving/transmission method of server end, are lived applied to the ballot in direct broadcasting room
It is dynamic, comprise the following steps:
Receive client send present information and/or the first ticket kind information, the present information include give a present information or
Second ticket kind information;
When the present information is the second ticket kind information, the present information is turned using the present system of server end
The ballot system of server end is sent to allow the present information to be converted into the second ticket kind information;
To client push the first ticket kind information and/or the second corresponding voting results information of ticket kind information to allow client
Voting results information described in output display.
Specifically, described when the present information is the second ticket kind information, using the present system of server end by institute
State present information and be forwarded to the step of ballot system of server end is to allow the present information to be converted into the second ticket kind information, wrap
Include:
Judge whether the present information is the second ticket kind information;
When the present packet contains the identity information for being voted-for user, determine that the present information is believed for the second ticket kind
Breath, the present information of reception is forwarded to the ballot system of server end using the present system of server end;
The present information is converted into the second ticket kind information by the ballot system of server end.
Further, the present information and/or the first ticket kind information for receiving client and sending, the present packet
Before including the step of giving a present information and the second ticket kind information, in addition to:
Obtain the characteristic value of direct broadcasting room;
When the characteristic value of the direct broadcasting room meets preparatory condition, the ballot activity of corresponding direct broadcasting room is opened.
Further, it is described to determine that the present information is the second ticket kind information, will using the present system of server end
After the step of present information of reception is forwarded to the ballot system of server end, in addition to:
Ideal money corresponding to the present information of the second ticket kind information, believe by the preset pro rate that is divided into the second ticket kind
Breath is voted-for user and direct broadcasting room main broadcaster user.
Corresponding with first aspect, the present invention also provides a kind of ballot R-T unit of client, including:
Ballot receiving module:For receiving the vote information of user's submission;
Ballot system module:For when the vote information is the first ticket kind information, the first ticket kind information to be sent out
Deliver to server end;
Present system module:For when the vote information is the second ticket kind information, ballot system module to be received
The second ticket kind information sent as present information to server end;
Message reception module:At least one client for the push of the reception server end sends the first ticket kind information
And/or the second corresponding voting results information of ticket kind information;
Display module:For voting results information described in output display.
Corresponding with second aspect, the present invention also provides a kind of ballot R-T unit of server end, including:
Receiving unit:For receiving the present information and/or the first ticket kind information of client transmission, the present packet
Include give a present information and the second ticket kind information;
Present system unit:For when the present information is the second ticket kind information, the present information to be forwarded to
The ballot system unit of server end is to allow the present information to be converted into the second ticket kind information;
Push unit:For to client push the first ticket kind information and/or the second corresponding voting results of ticket kind information
Information is to allow voting results information described in client output display.
The third aspect, the present invention also provide a kind of terminal device, including memory and processor, and the memory storage has
Computer program, the step of realizing first aspect any methods described is performed when the computer program is executed by processor.
Fourth aspect, the present invention also provide a kind of server, including memory and processor, and the memory storage has meter
Calculation machine program, the step of realizing methods described as any such as second aspect is performed when the computer program is executed by processor.
Compared with prior art, the present invention possesses following advantage:
The present invention enters voting mechanism to carry out ballot activity in direct broadcasting room, ballot activity be provided with include the first ticket kind with
Second two kinds of ticket kind ticket, client provides corresponding ballot system, and client is multiplexed original present system, by client
The present system of the ballot system access client at end, the vote information for receiving user's submission is utilized to the ballot system of client
First ticket kind information of uniting and the second ticket kind information is sent to server end from client using present system, complete client
Ballot request, and by being multiplexed the present system of client so that the ballot demand of the client of compatible legacy version, drops simultaneously
The development difficulty of the ballot system of low client, accelerate the development process of the ballot system of client.Also, ballot activity is beneficial to
Enliven direct broadcasting room atmosphere, enhancing user participation, further main broadcaster and spectators and the distance between spectators and spectators.
Likewise, also providing corresponding ballot system in server end, it is adapted to the first ticket kind letter of client transmission
Breath and present information, the first ticket kind information for receiving client transmission is passed through into clothes with the second ticket kind information in present information
The vote information at business device end, which is formed after corresponding voting results information, pushes to each client of direct broadcasting room to allow client to export
Corresponding voting results information.
Further, ballot action and the corresponding identity letter for being voted-for user are exported in the user interface of client
Breath, allow ballot user to be perceive intuitively that the support to being voted-for user, strengthen the activity sense of participation of user, enliven direct broadcasting room gas
Atmosphere.
In addition, the ballot activity is set as that the characteristic value of direct broadcasting room meets that certain condition is just opened, main broadcaster is encouraged with this
Attract more spectators users to open ballot activity, so as to which the atmosphere of direct broadcasting room is pushed into climax point, strengthen the participation of user
Sense, lift the viewing experience of user.
Obviously, the above-mentioned description about advantage of the present invention is recapitulative, it is more the advantages of description will be embodied in it is follow-up
During embodiment discloses, and, the content that those skilled in the art can also be disclosed reasonably finds its of the present invention
His plurality of advantages.
The additional aspect of the present invention and advantage will be set forth in part in the description, and these will become from the following description
Obtain substantially, or recognized by the practice of the present invention.
【Embodiment】
The present invention is further described with exemplary embodiment below in conjunction with the accompanying drawings, identical label wherein in accompanying drawing
All refer to identical part.In addition, if it is known that the detailed description of technology is for showing the invention is characterized in that unnecessary
, then omitted.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one
It is individual ", " described " and "the" may also comprise plural form.It is to be further understood that what is used in the specification of the present invention arranges
Diction " comprising " refer to the feature, integer, step, operation, element and/or component be present, but it is not excluded that in the presence of or addition
One or more other features, integer, step, operation, element, component and/or their groups.
Those skilled in the art of the present technique are appreciated that user interface/operation interface of the present invention refers to and can be used in
The display interface of the control instruction is sent to terminal, for example, can be the option set in the page of android system
(or button, by application program addition wherein, similarly hereinafter) or from the informing of desktop exhalation or interaction page
An option, can also be one in the page that a movable component of application program/client/Webpage is constructed
Option.
The method of the invention is applied in internet video live broadcasting field, and internet video live broadcasting is needed for social in real time
Ask, it is common by building collection audio, video, Desktop Share, a document on network using internet and multimedia communication technology
Enjoy, the live platform of multifunctional network that interactive link is integrated, enterprise or personal can carry out voice, video, data online
Exchange and interaction comprehensively.One feature in internet video live broadcasting field is direct broadcasting room, and direct broadcasting room is created based on network direct broadcasting platform
The Virtual Space (or virtual room) built, direct broadcasting room are typically created by main broadcaster's client and are connected with multiple viewing clients
End, i.e., include main broadcaster and multiple spectators, the viewing client in direct broadcasting room can watch main broadcaster's client in direct broadcasting room
Live content, while the user of main broadcaster's client with viewing client user, watch client user with viewing client
The interaction of voice, picture or word can also be carried out between the user at end.The client is the information of the user in direct broadcasting room
Receiving terminal, can be main broadcaster's client or spectator client, and the form of expression of client is included in WEB page
Live plug-in unit, the software client on PC ends, the application program on mobile terminal is understandable, other to run in any form
Client belong to the present invention client.Following clients illustrate by taking the application program on mobile terminal as an example.
Activity form in direct broadcasting room is increasingly abundanter, and the ballot activity in the direct broadcasting room of the embodiment of the present invention is a work
The activity for the direct broadcasting room atmosphere, enhancing user participation, further the distance between main broadcaster and spectators and spectators and spectators of jumping.
In a first aspect, being the ballot receiving/transmission method of client of the present invention as shown in Figure 1, lived applied to the ballot in direct broadcasting room
It is dynamic, comprise the following steps:
Step S100:Receive the vote information that user submits.
Wherein, the vote information includes the first ticket kind information and the second ticket kind information, when the ballot activity of direct broadcasting room is opened
Qi Shi, the client of each user exports the ballot window that vote information is submitted for receiving user on a user interface in direct broadcasting room
Mouthful, specifically, being provided with two kinds of tickets of the first ticket kind and the second ticket kind and each self-corresponding select button in the ballot window, use
The button for such as " throwing the tickets of TA mono- " provided in user interface, client are clicked on after corresponding ticket kind is selected in window of voting in family
Receive the vote information of user's submission.
Further, in embodiments of the invention, the vote information is also comprising the identity information of user is voted-for, i.e., and the
One vote information and the second vote information include the identity information for being voted-for user.User in direct broadcasting room include main broadcaster user,
Spectators user and visitor user, wherein main broadcaster user and spectators user are logging status user, and visitor user is non-Entered state
User, usually, net cast client allow user to watch the live content of direct broadcasting room in the state of not logging in, and to
Participating in the ballot activity in direct broadcasting room then needs user in logging status, the present embodiment, the quilt in the ballot activity
The user that votes is logging status user, i.e., the user that is voted-for in ballot activity includes main broadcaster user and spectators user.It is a kind of
Embodiment is that promoter of the main broadcaster user as ballot activity, or even main broadcaster user can choose specific objective user's conduct
It is voted-for user;Another embodiment is that ballot activity is opened when the characteristic value of direct broadcasting room meets certain condition, such as when
When the number of direct broadcasting room reaches 100,000 people, the ballot activity is opened;Another embodiment is opened when reaching a certain moment
Ballot activity is opened, such as sets the activity of daily 21 points of unlatchings direct broadcasting room.When user participates in ballot activity as user is voted-for
Afterwards, the identity information for being voted-for user is recorded and shows in ballot window, wherein, the identity information for being voted-for user includes
One or more combinations of the user name, ID, head portrait of user are voted-for, when user submits vote information, synchronously submit quilt
The identity information of ballot user.Specifically, after ballot user selects ticket kind information in window of voting and is voted-for user, click on
The button for such as " throwing the tickets of TA mono- " provided in user interface, now client is to receive the ballot letter that ballot user submits
Breath, the vote information contains the first ticket kind information or the second ticket kind information, and is voted-for the identity information of user.
In the embodiment of the present invention, the second ticket kind can be exchanged for by the ideal money in net cast client, will
Second ticket kind is referred to as " payment ticket ", and the first ticket kind can be exchanged for by default manner in client, by the first ticket
Kind is referred to as " free vote ", and in embodiments of the invention, the first ticket kind can be exchanged for by following default manner:
1. user reaches certain numerical value by the duration of client watching video live broadcast daily;
2. user shares direct broadcasting room entrance by third-party application;
3. user invites other users to register live platform account;
4. user gives virtual present when watching live to main broadcaster user.
After user meets the condition of default manner, to user reward described in " free vote ", subsequent user
With the sense of participation for being voted-for user, user being improved with this in " free vote " the approval voting activity, enhancing user uses this
Client watches live viscosity.
Step S110:When the vote information is the first ticket kind information, using the ballot system of client by described
One ticket kind information is sent to server end.
Step S120:When the vote information is the second ticket kind information, will be voted using the present system of client is
The the second ticket kind information received of uniting is sent to server end as present information.
In the embodiment of the present invention, the client includes present system and ballot system.Wherein, when user is with virtual goods
Coin exchange for virtual present and to targeted customer give virtual present when, gift is sent to server end by the present system of client
Thing information;When user, which participates in ballot activity, to be voted, received by the ballot system of client after vote information to service
Device end sends the vote information.Understand that alternative ticket kind includes the first ticket kind and the second ticket kind during ballot according to above-mentioned,
And the second ticket kind is " the payment ticket " that is exchanged for by ideal money, identical, the present invention that exchanges mode for virtual present
" payment ticket " will be thrown in embodiment to be regarded as giving virtual present, and the ballot system of client is accessed into present system that will receive
To the second ticket kind information for submitting of user send to server end, specifically:
When the vote information is the second ticket kind information, the second ticket kind information that the ballot system of client receives carries
Hand over to the present system of client;
The present system of client sends the second ticket kind information to server end as present information.
The ballot system access present system of client in the embodiment of the present invention, when user have selected the in window of voting
Two ticket kinds and after submitting corresponding second ticket kind information, the second ticket kind information is committed to client by the ballot system of client
The present system at end.Specifically, the second ticket kind information is committed to the present of client by the ballot system of the client
A kind of embodiment of system, after the ballot system of client receives the second ticket kind information, the second ticket kind information data is turned
It is sent to present system;Another embodiment, the second ticket kind information of user's submission is directly received by the present system of client,
The second ticket kind information now is corresponding present information.Then by the present system of client by the second ticket kind information
Sent as present information to server end.It regard the second ticket kind information as present information by present system to send to server
The process at end is transparent for user, i.e., no matter the vote information that user submits is the first ticket kind information or the second ticket kind letter
Breath, the processing procedure of client do not influence the use of user.
When the vote information that client receives is the first ticket kind information, using the ballot system of client by described
One ticket kind information is sent to server end.Specifically, when user have chosen the first ticket kind in window of voting and submit corresponding
After first ticket kind information, the ballot system of client sends the first ticket kind information to server end.
The present embodiment is multiplexed the present system of client, and the ballot system of client is accessed to the present system of client,
The vote information of user's submission will be received using the ballot system and present system of client by the first ticket kind information therein
And/or second ticket kind information sent from client to server end, the ballot request of client is completed, and by being multiplexed client
The ballot demand of the client of the present system compatible legacy version at end, while the development difficulty of the ballot system of client is reduced,
Accelerate the development process of the ballot system of client.
The present invention a kind of embodiment in, receive user submit vote information, client by vote information send to
After server end, in addition to:
Output display the first ticket kind information and/or the second ticket kind information and the corresponding identity information for being voted-for user.
User votes to the user for participating in ballot activity on the client, and client receives the vote information of user's submission
Afterwards, the vote information and the corresponding identity information for being voted-for user are exported in the user interface of client, it is described to be voted-for
The identity information of user includes being voted-for one or more combinations of the user name, ID, head portrait of user, in the present embodiment, excellent
Select the identity information that user is voted-for described in be voted-for the head portrait of user.User to be voted-for user ballot after,
The ticket kind information and the corresponding head for being voted-for user that predeterminable area output display user in the user interface of client is thrown
Picture, more preferably, the vote information of user and the corresponding head portrait for being voted-for user are showed with streamer effect on a user interface, and
And streamer effect is set to be disappeared after default duration to avoid taking user interface for a long time and influence the viewing body of user
Test, the ballot activity in direct broadcasting room allows ballot user to be perceive intuitively that the support to being voted-for user, strengthens the activity of user
Sense of participation, enliven direct broadcasting room atmosphere.
Step S130:At least one client of the reception server end push sends the first ticket kind information and/or the
The two corresponding voting results information of ticket kind information;
Step S140:Voting results information described in output display.
In general, the quantity more than one of the user to be voted in ballot activity, each client in direct broadcasting room need
The vote information of the user of other ballots is shown in real time, specifically, the institute that received server-side is sent to client each time
After stating the first ticket kind information and/or the second ticket kind information, each user for corresponding voting results information being pushed in direct broadcasting room
Client.For example, the user in direct broadcasting room is corresponding with customer end A, B, C, D, E, wherein customer end A is the execution of the present embodiment
Main body, customer end A have sent the first vote information thrown to user X is voted-for to server end, and received server-side is described in
After first vote information, customer end A, B, C, D, E into direct broadcasting room push first vote information and voted accordingly knot
Fruit information, preferably, the user of customer end A of the server end also into direct broadcasting room, B, C, D, E push customer end A is to being voted-for
User X has thrown the message of the first ticket kind.
After client receives the voting results information of server end push, predeterminable area output on a user interface is aobvious
Show the voting results information, voting results information can show the poll for being respectively voted-for user in ballot activity in real time,
Bring the more intuitive viewing experience of user.Preferably, voting results information is represented by vertical bar chart, on vertical bar chart
The identity information for being voted-for user and acquired poll are shown, after client sends vote information, clothes
Business device receives and corresponding voting results information is pushed into each client after the vote information, according to being connect in client
The voting results on the vertical bar chart of voting results information real-time update received, to be voted-for in this Dynamic Announce ballot activity
The poll change of user, increase activity atmosphere.
In one embodiment, server end collects the vote information received synchronous for corresponding voting results letter
Breath, then to the client push voting results information, directly output display is corresponding after client receives the object information
Voting results.Specifically, received server-side counts to after the first ticket kind information and/or the second ticket kind information in server end
The poll of user is voted-for, corresponding voting results are updated with this, voting results information is then pushed into client, client
Receive direct output display after the voting results information, you can watch the change of votes in real time, strengthen user's
Sense of participation, while the voting results of synchronous different clients viewing direct broadcasting room to greatest extent.
In another embodiment, the first ticket kind information and/or second that server end submits the client received
The all clients that ticket kind information is pushed in direct broadcasting room as voting results information, client receive the object information
Afterwards, the poll of user is voted-for in this geo-statistic to obtain corresponding voting results, and real-time update shows voting results information.
The present embodiment by client count corresponding voting results, renewal and output display voting results information, server end be responsible for by
The vote information of the different clients received is forwarded to each client in direct broadcasting room.For example, there is client in direct broadcasting room
A, B, C, D, E, customer end A, B have sent the first vote information thrown to user a is voted-for, server end to server end respectively
After receiving first vote information, customer end A, B, C, D, E into direct broadcasting room push customer end A, B to being voted-for using
The voting results information of family a ballots, customer end A, B, C, D, E each count voting results after receiving the voting results information
The corresponding voting results information of output display afterwards.
Second aspect, as shown in Fig. 2 the ballot that station also provides a kind of server end in the visual angle present invention of server end is received
Forwarding method, comprise the following steps:
Step S200:Present information and/or the first ticket kind information that client is sent are received, the present information includes sending
Gift information and the second ticket kind information.
When the ballot activity of direct broadcasting room is opened, the client of each user exports for connecing on a user interface in direct broadcasting room
The ballot window that user submits vote information is received, provided with two kinds of tickets of the first ticket kind and the second ticket kind and respectively in the ballot window
Self-corresponding select button, user click on such as " throwing provided in user interface after corresponding ticket kind is selected in window of voting
The button of the tickets of TA mono- ", when the vote information is the first ticket kind information, the ballot system of client believes the first ticket kind
Breath is sent to server end, and when the vote information is the second ticket kind information, the present system of client is by the throwing of client
The second ticket kind information that bill system receives is sent to server end as present information.
Further, the user in direct broadcasting room includes main broadcaster user, spectators user and visitor user, wherein main broadcaster user with
Spectators user is logging status user, and visitor user is non-Entered state user, is voted-for in the ballot activity with per family
For logging status user, i.e., the user that is voted-for in ballot activity includes main broadcaster user and spectators user, while the first ballot letter
Breath and the second vote information include the identity information for being voted-for user, and the identity information for being voted-for user includes being voted-for using
One or more combinations of the user name, ID, head portrait at family, when user submits vote information from client, synchronously submit quilt
The identity information of ballot user.
While ballot activity is carried out, spectators user can give virtual present, the present of client to main broadcaster user
System sends present information to server end, and present information now is to give the information of giving a present of virtual present, i.e., is lived in ballot
It is dynamic when carry out, received server-side to present information in comprising giving a present information and present information is converted into by client
Second ticket kind information.In embodiments of the invention, the server end includes ballot system and present system, the present system
For receiving the present information of client submission, the ballot system is used for the first ticket kind information for receiving client submission.
Step S210:When the present information is the second ticket kind information, using the present system of server end by described in
Present information is forwarded to the ballot system of server end to allow the present information to be converted into the second ticket kind information.
From the description of above-mentioned first aspect it is recognised that the ballot system of client accesses the present system of client, and
And the second ticket kind information for submitting the user received is sent to server end as present information, therefore, works as server end
Present system when receiving present information, determine whether the present information is the second ticket kind information, when the information of giving a present is
During the second ticket kind information, the present information is forwarded to the ballot system of server end by the present system of server end, to allow this
Present information is converted into corresponding second ticket kind information.
A kind of embodiment of the present invention, the step S210 comprise the following steps S211-S213:
Step S211:Judge whether the present information is the second ticket kind information;
Step S212:When the present packet contains the identity information for being voted-for user, determine that the present information is
Second ticket kind information, the present information of reception is forwarded to the ballot system of server end using the present system of server end;
Step S213:The present information is converted into the second ticket kind information by the ballot system of server end.
First ticket kind information and the second ticket kind packet contain the identity information for being voted-for user, when the second ticket kind information by
Client is converted into present information when sending to server end, equally includes the identity for being voted-for user in the present information
Information, the present system of server end are voted-for user's when receiving present information by the way that whether present information includes
Identity information judges whether the present information is the second ticket kind information, if present information is the second ticket kind information, the present embodiment
In, the present information is forwarded to the ballot system of server end by the present system of server end, passes through the throwing of server end
The present information is converted into the second ticket kind information by bill system.
In another embodiment, if present information is the second ticket kind information, as the present system of server end by described in
Present information is converted into the ballot system that the second ticket kind information is subsequently forwarded to server end.
Step S220:To client push the first ticket kind information and/or the second corresponding voting results information of ticket kind information
To allow voting results information described in client output display.
In general, the quantity more than one of the user to be voted in ballot activity, each client in direct broadcasting room need
The vote information of the user of other ballots is shown in real time, specifically, the institute that received server-side is sent to client each time
After stating the first ticket kind information and/or the second ticket kind information, each user for corresponding voting results information being pushed in direct broadcasting room
Client.
In one embodiment, server end collects the vote information received synchronous for corresponding voting results letter
Breath, then to the client push voting results information, directly output display is corresponding after client receives the object information
Voting results.Specifically, received server-side counts to after the first ticket kind information and/or the second ticket kind information in server end
The poll of user is voted-for, corresponding voting results are updated with this, voting results information is then pushed into client, client
Receive direct output display after the voting results information, you can watch the change of votes in real time.
In another embodiment, the first ticket kind information and/or second that server end submits the client received
The all clients that ticket kind information is pushed in direct broadcasting room as voting results information, client receive the object information
Afterwards, the poll of user is voted-for in this geo-statistic to obtain corresponding voting results, and real-time update shows voting results information.
Further, in a kind of embodiment of the invention, before the vote information that the client for receiving direct broadcasting room is sent,
Also need to open the ballot activity entrance of direct broadcasting room, specifically include step:
Obtain the characteristic value of direct broadcasting room;
When the characteristic value of the direct broadcasting room meets preparatory condition, the ballot activity of corresponding direct broadcasting room is opened.
Specifically, the characteristic value of direct broadcasting room include the current viewing number of direct broadcasting room, direct broadcasting room be averaged give a present number or
One or more combinations of the popularity ranking of direct broadcasting room, when the characteristic value of direct broadcasting room meets preparatory condition, server end should
The ballot activity switchgear distribution of direct broadcasting room is opening, and then into direct broadcasting room, each client sends open command to open pair
The ballot activity of direct broadcasting room is answered, and then, after it is determined that being voted-for user, client can export ballot activity and vote accordingly window
Mouthful, user can be voted-for user's ballot from the ballot window to support.For example, when the current viewing number of direct broadcasting room reaches
During 100000 people, the ballot activity switchgear distribution of the direct broadcasting room is opening by server end, then each client into direct broadcasting room
End sends open command to open the ballot activity of corresponding direct broadcasting room.It is appreciated that its of direct broadcasting room can be equally set
Its characteristic value is as the precondition for opening direct broadcasting room ballot activity, such as sets direct broadcasting room to open ballot activity at daily 21 points
Deng.
In another embodiment of the present invention, the ballot activity can also be opened by the main broadcaster user of direct broadcasting room, in order to carry
The public praise of high live platform and main broadcaster, main broadcaster user is encouraged to carry out ballot activity so as to strengthen the interaction of main broadcaster and spectators, in institute
State and determine that the present information is the second ticket kind information, be forwarded to the present information of reception using the present system of server end
After the step of ballot system of server end, in addition to:
Ideal money corresponding to the present information of the second ticket kind information, believe by the preset pro rate that is divided into the second ticket kind
Breath is voted-for user and direct broadcasting room main broadcaster user.
Specifically, after main broadcaster user opens ballot activity in direct broadcasting room, server end counts the ballot of the direct broadcasting room
Total votes after activity end, if total votes reach preset value, predetermined number is sent to main broadcaster according to total votes
Live platform ideal money, main broadcaster is encouraged to carry out ballot activity with spectators with this.Such as:Main broadcaster invites multiple viewer to be sung
PK, ballot activity then is opened after singing PK and terminating, the spectators user of 3 before poll in ballot activity is entered into next round
PK is sung, then the last champion that sings is campaigned for out after carrying out a wheel ballot activity, then can be given accordingly from main broadcaster to champion
Reward, the activity of this kind of form can greatly increase the activity atmosphere in direct broadcasting room, while in order to encourage main broadcaster, when direct broadcasting room
When aggregate votes are more than preset value, the live platform ideal money of predetermined number is sent to main broadcaster, not only improves the enthusiasm of main broadcaster,
Improve the viewing experience of spectators.
It is corresponding with first aspect, as shown in figure 3, the present invention also provides a kind of ballot R-T unit of client, bag
Include:
Ballot receiving module 100:For receiving the vote information of user's submission;
Ballot system module 110:For when the vote information is the first ticket kind information, by the first ticket kind information
Send to server end;
Present system module 120:For when the vote information is the second ticket kind information, ballot system module to be received
To the second ticket kind information sent as present information to server end;
Message reception module 130:At least one client for the push of the reception server end sends the first ticket kind
Information and/or the second corresponding voting results information of ticket kind information;
Display module 140:For voting results information described in output display.
Wherein, the vote information includes the first ticket kind information and the second ticket kind information, when the ballot activity of direct broadcasting room is opened
Qi Shi, the client of each user exports the ballot window that vote information is submitted for receiving user on a user interface in direct broadcasting room
Mouthful, the button for such as " throwing the tickets of TA mono- " provided in user interface is clicked in family after corresponding ticket kind is selected in window of voting, and throws
Ticket receiving module 100 is the vote information for receiving user's submission.
When the vote information is the first ticket kind information, ballot system module 110 sends the first ticket kind information
To server end, when the vote information is the second ticket kind information, present system module 120 receives ballot system module
The second ticket kind information sent as present information to server end.In one embodiment, ballot system module 110 will receive
To the second ticket kind information be forwarded to present system module 120, the second ticket kind information is converted into by present system module 120
Sent after present information to server end.
At least one client of the reception server end of message reception module 130 push sends the first ticket kind information
And/or the second corresponding voting results information of ticket kind information, then voting results information described in the output display of display module 140.
It is corresponding with second aspect, as shown in figure 4, the present invention also provides a kind of ballot R-T unit of server end,
Including:
Receiving unit 200:For receiving the present information and/or the first ticket kind information of client transmission, the present letter
Breath includes give a present information and the second ticket kind information;
Present system unit 210:For when the present information is the second ticket kind information, the present information to be forwarded
To the ballot system unit of server end to allow the present information to be converted into the second ticket kind information;
Push unit 220:For being voted accordingly knot to client push the first ticket kind information and/or the second ticket kind information
Fruit information is to allow voting results information described in client output display.
While ballot activity is carried out, spectators user can give virtual present, the present of client to main broadcaster user
System sends present information to server end, and present information now is to give the information of giving a present of virtual present, i.e., is lived in ballot
Included when dynamic progress, in the present information that receiving unit 200 receives and give a present information and present letter is converted into by client
Second ticket kind information of breath.When the present information is the second ticket kind information, present system unit 210 is by the present information
The ballot system unit of server end is forwarded to allow the present information to be converted into the second ticket kind information, then push unit
220 to client push the first ticket kind information and/or the second corresponding voting results information of ticket kind information to allow client to export
Show the voting results information.
The third aspect, the present invention also provide a kind of terminal device, including memory and processor, and the memory storage has
Computer program, the step of realizing first aspect any methods described, bag are performed when the computer program is executed by processor
Include:
Receive the vote information that user submits;
When the vote information is the first ticket kind information, using the ballot system of client by the first ticket kind information
Send to server end;
When the vote information is the second ticket kind information, ballot system is received using the present system of client
Second ticket kind information is sent to server end as present information;
At least one client of the reception server end push sends the first ticket kind information and/or the second ticket kind information
Corresponding voting results information;
Voting results information described in output display.
Fourth aspect, the present invention also provide a kind of server, including memory and processor, and the memory storage has meter
Calculation machine program, the step of realizing second aspect any methods described is performed when the computer program is executed by processor, including:
Receive client send present information and/or the first ticket kind information, the present information include give a present information and
Second ticket kind information;
When the present information is the second ticket kind information, the present information is turned using the present system of server end
The ballot system of server end is sent to allow the present information to be converted into the second ticket kind information;
To client push the first ticket kind information and/or the second corresponding voting results information of ticket kind information to allow client
Voting results information described in output display.
The present invention enters voting mechanism to carry out ballot activity in direct broadcasting room, ballot activity be provided with include the first ticket kind with
Second two kinds of ticket kind ticket, client provides corresponding ballot system, and client is multiplexed original present system, by client
The present system of the ballot system access client at end, the vote information for receiving user's submission is utilized to the ballot system of client
First ticket kind information of uniting and the second ticket kind information is sent to server end from client using present system, complete client
Ballot request, and by being multiplexed the present system of client so that the ballot demand of the client of compatible legacy version, drops simultaneously
The development difficulty of the ballot system of low client, accelerate the development process of the ballot system of client.Also, ballot activity is beneficial to
Enliven direct broadcasting room atmosphere, enhancing user participation, further main broadcaster and spectators and the distance between spectators and spectators.
Likewise, also providing corresponding ballot system in server end, it is adapted to the first ticket kind letter of client transmission
Breath and present information, the first ticket kind information for receiving client transmission is passed through into clothes with the second ticket kind information in present information
The vote information at business device end, which is formed after corresponding voting results information, pushes to each client of direct broadcasting room to allow client to export
Corresponding voting results information.
Further, ballot action and the corresponding identity letter for being voted-for user are exported in the user interface of client
Breath, allow ballot user to be perceive intuitively that the support to being voted-for user, strengthen the activity sense of participation of user, enliven direct broadcasting room gas
Atmosphere.
In addition, the ballot activity is set as that the characteristic value of direct broadcasting room meets that certain condition is just opened, main broadcaster is encouraged with this
Attract more spectators users to open ballot activity, so as to which the atmosphere of direct broadcasting room is pushed into climax point, strengthen the participation of user
Sense, lift the viewing experience of user.
Although having been illustrated with some exemplary embodiments of the present invention above, those skilled in the art will manage
Solution, in the case where not departing from the principle or spirit of the present invention, these exemplary embodiments can be made a change, it is of the invention
Scope is limited by claim and its equivalent.