CN106210027B - Group's voice authority control method, server and system in a kind of distributed system - Google Patents

Group's voice authority control method, server and system in a kind of distributed system Download PDF

Info

Publication number
CN106210027B
CN106210027B CN201610526091.1A CN201610526091A CN106210027B CN 106210027 B CN106210027 B CN 106210027B CN 201610526091 A CN201610526091 A CN 201610526091A CN 106210027 B CN106210027 B CN 106210027B
Authority
CN
China
Prior art keywords
voice
white list
client
seat
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610526091.1A
Other languages
Chinese (zh)
Other versions
CN106210027A (en
Inventor
罗少奇
张聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201610526091.1A priority Critical patent/CN106210027B/en
Publication of CN106210027A publication Critical patent/CN106210027A/en
Application granted granted Critical
Publication of CN106210027B publication Critical patent/CN106210027B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 

Abstract

The embodiment of the invention discloses group's voice authority control method, server and systems in a kind of distributed system, it solves at present since there is the permission of user number in group, if the user each in queuing process is switched on voice permission, so that the user for not actually entering group can also carry out voice, the technical problem of user experience difference is caused.Group's voice authority control method in distributed system of the embodiment of the present invention, comprising: what micro- room server was got requests from the seat of honour that client is sent;Micro- room server requests list that corresponding user takes a seat according to the seat of honour, and returns and take a seat response bag to client, while the request of voice white list is added in corresponding user and is sent to white list service device;After client, which is got, takes a seat response bag, client determines whether there is in voice white list to white list service device, connect if so, establishing voice communication with voice server.

Description

Group's voice authority control method, server and system in a kind of distributed system
Technical field
The present invention relates to group's voice permission controlling parties in technical field of data processing more particularly to a kind of distributed system Method, server and system.
Background technique
Network voice communication is based on Internet team voice communication platform, and powerful, sound clarity, safety are steady It is fixed, do not account for that resource, repercussion is good, adapts to the free voice software of game player.Not only it can also be and be based on instant messaging Voice communication in the group of foundation.
Current network voice communication platform in order to guarantee speech quality and real-time, be normally based on distributed system into Voice transfer between each user terminal of row, distributed system (distributed system) are built upon the software on network System.Exactly because the characteristic of software, so distributed system has the cohesion and the transparency of height.
However, when the network voice communication platform carried out in a distributed system carries out group's voice, since group is useful The permission of family number, if the user each in queuing process is switched on voice permission, so that not actually entering the user of group Voice can also be carried out, the technical problem of user experience difference is caused.
Summary of the invention
Group's voice authority control method, server and system in a kind of distributed system provided in an embodiment of the present invention, solution It has determined at present since there is the permission of user number in group, if the user each in queuing process is switched on voice permission, so that The user for not actually entering group can also carry out voice, cause the technical problem of user experience difference.
Group's voice authority control method in a kind of distributed system provided in an embodiment of the present invention, comprising:
What micro- room server was got requests from the seat of honour that client is sent;
Micro- room server requests list that corresponding user takes a seat according to the seat of honour, and returns to response of taking a seat It wraps to the client, while the request of voice white list is added in corresponding user and is sent to white list service device;
After response bag of taking a seat described in getting when the client, the client is to the white list service device determination It is no there are in voice white list, connect if so, the client establishes voice communication with voice server.
Preferably, group's voice authority control method in distributed system further include:
If the client to the white list service device determine there is no in voice white list, micro- room service Device gets the voice white list that rejoins that the client is sent and requests;
Micro- room server will rejoin the voice white list request and be again sent to the white list clothes Business device;
Micro- room server get that the white list service device returns with rejoin the voice white list and arrange Table request is corresponding to rejoin response bag;
The response bag that rejoins is returned to the client by micro- room server, so that the client is again It is determined whether there is in the voice white list to the white list service device, until determining the user, there are institute's predicates After in sound white list, the client is established voice communication with the voice server and is connect.
Preferably, group's voice authority control method in distributed system further include:
Micro- room server gets the lower seat request that the client is sent;
Micro- room server deletes the user from the list of taking a seat according to the lower seat request, and returns to lower seat Response bag gives the client, while corresponding user is deleted the request of voice white list and is sent to white list service device;
It is deleted when the client gets the white list service device according to what the deletion voice white list request returned After response bag, the client disconnects the communication connection with the voice server.
Preferably, group's voice authority control method in distributed system further include:
The micro- room server starting is taken a seat Lists task every preset time segment sync;
The list of taking a seat is sent to the white list service by micro- room server Lists task of taking a seat according to Device carries out the voice white list refresh process.
Group's voice authority control method in a kind of distributed system provided in an embodiment of the present invention, comprising:
It gets micro- room server and request corresponding user's addition voice white list request in the seat of honour is sent according to client, And the user is added in voice white list;
Pass through the micro- room server got according to the client and returns to the white list sent after response bag of taking a seat Inquiry instruction, determining the user of the client, there are in the voice white list;
By the user, there are the response messages in the voice white list to return to the client, so that the visitor Family end is established voice communication with voice server and is connect.
Preferably, group's voice authority control method in distributed system further include:
It is white to get user's deletion voice that the lower seat request that micro- room server is sent according to the client is sent List request;
The request of voice white list is deleted according to the user to delete the user from the voice white list.
Preferably, group's voice authority control method in distributed system further include:
The list of taking a seat that micro- room server is sent every preset time period is got, and according to the list brush of taking a seat The new voice white list.
A kind of white list service device provided in an embodiment of the present invention, comprising:
First acquisition unit requests corresponding user to add for getting micro- room server according to the client transmission seat of honour Enter the request of voice white list, and the user is added in voice white list;
Determination unit, after returning to response bag of taking a seat by the micro- room server got according to the client The white list inquiry instruction of transmission, determining the user of the client, there are in the voice white list;
First returning response unit, for there are the response message returns in the voice white list by the user The client is connect so that the client establishes voice communication with voice server.
Preferably, white list service device further include:
Second acquisition unit is sent for getting the lower seat request that micro- room server is sent according to the client User delete voice white list request;
Delete processing unit is white from the voice by the user for deleting the request of voice white list according to the user List list is deleted.
Preferably, white list service device further include:
Third acquiring unit, the list of taking a seat sent for getting micro- room server every preset time period, and Refresh the voice white list according to the list of taking a seat.
Population voice authority control system provided in an embodiment of the present invention, comprising:
White list service device described in any one referred in micro- room server, client and the present invention;
Micro- room server includes:
First transmission unit is requested for what is got from the seat of honour that client is sent;
Second transmission unit for requesting list that corresponding user takes a seat according to the seat of honour, and is returned and is taken a seat Response bag gives the client, while the request of voice white list is added in corresponding user and is sent to white list service device;
The client includes:
White list determination unit, for when get it is described take a seat response bag after, Xiang Suoshu white list service device determination is It is no there are in voice white list, connect if so, establishing voice communication with voice server.
Preferably, micro- room server further include:
4th acquiring unit is not present and voice white list if determining for the client to the white list service device In, then it gets the voice white list that rejoins that the client is sent and requests;
Transmission unit again is again sent to the white list for that will rejoin the voice white list request Server;
5th acquiring unit, for getting that the white list service device returns and rejoining the voice white list List request is corresponding to rejoin response bag;
Second returning response unit, for the response bag that rejoins to be returned to the client, so that the visitor Family end determines whether there is in the voice white list to the white list service device again, until determining that the user deposits After in the voice white list, the client is established voice communication with the voice server and is connect.
Preferably, micro- room server further include:
6th acquiring unit, the lower seat request sent for getting the client;
Lower seat response unit is returned, for the user to be deleted from the list of taking a seat according to the lower seat request, and Lower seat response bag is returned to the client, while corresponding user is deleted into the request of voice white list and is sent to white list service Device;
The client further include:
Switching units are communicated to connect, are asked for the white list service device ought to be got according to the deletion voice white list After the deletion response bag for asking return, the communication connection with the voice server is disconnected.
Preferably, micro- room server further include:
Task start unit is taken a seat Lists task for starting every preset time segment sync;
List cell of taking a seat is synchronized, the list of taking a seat is sent to the white name for taking a seat Lists task according to Single server carries out the voice white list refresh process.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
Group's voice authority control method, server and system in a kind of distributed system provided in an embodiment of the present invention, In, group's voice authority control method in distributed system, comprising: the seat of honour from client transmission that micro- room server is got Request;Micro- room server requests to take a seat corresponding user list according to the seat of honour, and return takes a seat response bag to client, The request of voice white list is added in corresponding user simultaneously and is sent to white list service device;When client gets response bag of taking a seat Afterwards, client determines whether there is in voice white list to white list service device, if so, establishing language with voice server Sound communication connection.In the present embodiment, list that corresponding user is taken a seat is requested according to the seat of honour by micro- room server, and return A response bag is backed into client, while the request of voice white list is added in corresponding user and is sent to white list service device, when Client is got take a seat response bag after, determined whether there is in voice white list to white list service device, if so, with Voice server establishes voice communication connection, realizes the permission that just can be carried out voice after user takes a seat in group really, solves At present since there is the permission of user number in group, if the user each in queuing process is switched on voice permission, so that not The user for actually entering group can also carry out voice, cause the technical problem of user experience difference.
Further, micro- room server according to Lists task of taking a seat will take a seat list be sent to white list service device carry out language Sound white list refresh process, if the user solved on seat exits room or heartbeat timeout, although can trigger will use Family does not guarantee the successful technical problem of clear removing voice white list from list and the white list removing of taking a seat.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other attached drawings according to these attached drawings.
Fig. 1 is one embodiment of group's voice authority control method in a kind of distributed system provided in an embodiment of the present invention Flow diagram;
Fig. 2 is one embodiment of group's voice authority control method in a kind of distributed system provided in an embodiment of the present invention Flow diagram;
Fig. 3 is an implementation of group's voice authority control method in another distributed system provided in an embodiment of the present invention The flow diagram of example;
Fig. 4 is a kind of structural schematic diagram of one embodiment of white list service device provided in an embodiment of the present invention;
Fig. 5 is the structural representation of one embodiment of population voice authority control system provided in an embodiment of the present invention Figure;
Fig. 6 is the structural representation of another embodiment of population voice authority control system provided in an embodiment of the present invention Figure;
Fig. 7 is to control voice permission application examples schematic diagram using white list.
Specific embodiment
Group's voice authority control method, server and system in a kind of distributed system provided in an embodiment of the present invention, solution It has determined at present since there is the permission of user number in group, if the user each in queuing process is switched on voice permission, so that The user for not actually entering group can also carry out voice, cause the technical problem of user experience difference.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention Range.
Referring to Fig. 1, one of group's voice authority control method in a kind of distributed system provided in an embodiment of the present invention Embodiment includes:
101, what is got requests from the seat of honour that client is sent;
In the present embodiment, in the network voice communication of group-wise, in order to avoid the user in being lined up arbitrarily opens voice Influence other users, it is necessary first to which what is got requests from the seat of honour that client is sent.
102, list that corresponding user takes a seat is requested according to the seat of honour, and returns and takes a seat response bag to client, together When by corresponding user be added voice white list request be sent to white list service device;
When getting after request from the seat of honour that client is sent, need to request to add corresponding user according to the seat of honour It takes a seat list, and returns and take a seat response bag to client, while the request of voice white list is added in corresponding user and is sent to White list service device.
103, after client, which is got, takes a seat response bag, voice white list column are determined whether there is to white list service device In table, if so, thening follow the steps 104;
When corresponding user is taken a seat list according to seat of honour request, and return takes a seat response bag to client, simultaneously Voice white list is added in corresponding user to request after being sent to white list service device, client is needed to get sound of taking a seat It after should wrapping, is determined whether there is in voice white list to white list service device, if so, thening follow the steps 104.
104, client and voice server establish voice communication connection.
When the determination of white list service device is there are in voice white list, then client and voice server establish voice Communication connection.
In the present embodiment, by requesting list that corresponding user takes a seat according to the seat of honour, and response bag of taking a seat is returned to To client, while the request of voice white list is added in corresponding user and is sent to white list service device, when client is got It after response bag of taking a seat, is determined whether there is in voice white list to white list service device, if so, being built with voice server Vertical voice communication connection, realizes the permission that just can be carried out voice after user takes a seat in group really, solves at present due to group Group has the permission of user number, if the user each in queuing process is switched on voice permission, so that not actually entering group User can also carry out voice, cause the technical problem of user experience difference.
The above is that the process of group's voice authority control method in distributed system is described in detail, below will be to tool Body or additional process are described in detail, referring to Fig. 2, group's language in a kind of distributed system provided in an embodiment of the present invention Another embodiment of sound authority control method includes:
201, what is got requests from the seat of honour that client is sent;
In the present embodiment, in the network voice communication of group-wise, in order to avoid the user in being lined up arbitrarily opens voice Influence other users, it is necessary first to which what is got requests from the seat of honour that client is sent.
202, list that corresponding user takes a seat is requested according to the seat of honour, and returns and takes a seat response bag to client, together When by corresponding user be added voice white list request be sent to white list service device;
When getting after request from the seat of honour that client is sent, need to request to add corresponding user according to the seat of honour It takes a seat list, and returns and take a seat response bag to client, while the request of voice white list is added in corresponding user and is sent to White list service device.
203, after client, which is got, takes a seat response bag, voice white list column are determined whether there is to white list service device In table, if so, 204 are thened follow the steps, if it is not, thening follow the steps 205;
When corresponding user is taken a seat list according to seat of honour request, and return takes a seat response bag to client, simultaneously Voice white list is added in corresponding user to request after being sent to white list service device, client is needed to get sound of taking a seat It after should wrapping, is determined whether there is in voice white list to white list service device, if so, 204 are thened follow the steps, if it is not, then Execute step 205.
204, client and voice server establish voice communication connection.
When being there are in voice white list to the determination of white list service device, then client and voice server establish language Sound communication connection.
205, the voice white list that rejoins that micro- room server gets client transmission is requested;
It is not present in voice white list when being determined to white list service device, then micro- room server gets client hair That send rejoins the request of voice white list.
206, micro- room server will rejoin the request of voice white list and be again sent to white list service device;
When micro- room server gets after rejoining the request of voice white list of client transmission, micro- room service Device will rejoin the request of voice white list and be again sent to white list service device.
207, micro- room server get white list service device return with rejoin voice white list request pair That answers rejoins response bag;
It is micro- after micro- room server, which will rejoin the request of voice white list, is again sent to white list service device Room server gets the corresponding with the request of voice white list is rejoined of white list service device return and rejoins sound It should wrap.
208, micro- room server will rejoin response bag and return to client, so that client is again to white list service Device determines whether there is in voice white list, until determining user there are in voice white list, client with Voice server establishes voice communication connection;
When micro- room server gets the corresponding with the request of voice white list is rejoined of white list service device return Rejoin after response bag, micro- room server will rejoin response bag and return to client so that client again to White list service device determines whether there is in voice white list, and until determining user, there are they in voice white list Afterwards, client is established voice communication with voice server and is connect.
209, micro- room server gets the lower seat request of client transmission;
In the present embodiment, when user needs the lower seat from room, room server micro- first gets client transmission Lower seat request.
210, micro- room server requests to delete user from list of taking a seat according to lower seat, and returns to lower seat response bag to client End, while corresponding user is deleted into the request of voice white list and is sent to white list service device;
After micro- room server gets the lower seat request of client transmission, micro- room server will be used according to the request of lower seat Family is deleted from list of taking a seat, and is returned to lower seat response bag and deleted the request of voice white list to client, while by corresponding user It is sent to white list service device.
211, when client gets the deletion response bag that white list service device is returned according to the request of voice white list is deleted Afterwards, client disconnects the communication connection with voice server;
When micro- room server requests to delete user from list of taking a seat according to lower seat, and lower seat response bag is returned to client End, at the same by corresponding user delete voice white list request be sent to white list service device after, when client get it is white After list server is according to the deletion response bag that the request of voice white list returns is deleted, client disconnects logical with voice server Letter connection.
212, the starting of micro- room server is taken a seat Lists task every preset time segment sync;
In the present embodiment, timing is needed to carry out the processing with list consistency of taking a seat to voice white list, it is micro- first Server starting in room is taken a seat Lists task every preset time segment sync.
213, micro- room server according to Lists task of taking a seat will take a seat list be sent to white list service device carry out voice it is white List list refresh process.
After the starting of micro- room server takes a seat Lists task every preset time segment sync, micro- room server is according to taking a seat Lists task will take a seat list be sent to white list service device carry out voice white list refresh process.
The present embodiment is described in detail with a concrete application scene below, as shown in fig. 7, application examples includes:
In the room in micro- room, there are six can talk or the seat of voice, the user on seat can freely make a speech or Group chat.Room user can become seat user by the seat of honour, to obtain the permission of speech, similarly, seat user passes through The permission of lower seat release speech.Here it needs to guarantee from product to only have the user on seat that could make a speech, and the seat of honour can be stood Horse speech, lower seat cannot immediately make a speech.
1) seat of honour process
A) client sends seat of honour request to micro- room service;
B) after micro- room service receives request, user is taken a seat and list and returns response bag to client, while asynchronously It sends and white list request is added to white list service;
C) after white list service receives request, voice white list is added in user;
D) client is taken a seat after receiving response bag, and inquires oneself whether in voice white list to white list service;
If e) user finds in voice white list, connects voice server and start to make a speech, go to jth step;
If f) user finds not in voice white list, transmission rejoins white list request to micro- room service;
G) it after micro- room service receives request, then retransmits and white list request is added to white list service;
H) it after micro- room service receives the response results of white list service, returns and rejoins white list response bag to client;
I) after client receives response bag, oneself is inquired whether in voice white list to white list service, and go to e Step;
J) terminate.
The seat of honour process operates and makes a speech operation separately the seat of honour, preferential to guarantee the quick seat of honour operation of user, guarantees product Then experience guarantees user's competence of speech in a manner of asynchronous exacerbation examination.
2) seat process under
A) client sends lower seat and requests to micro- room service;
B) after micro- room service receives request, user is deleted from list of taking a seat and returns response bag to client, while is asynchronous Ground sends deletion white list and requests to white list service;
C) after white list service receives request, user is deleted from voice white list;
D) client leaves seat after receiving success response, and turns off the connection of voice server, otherwise returns to a step Suddenly;
E) terminate.
If the user on seat exits room or heartbeat timeout, can trigger user from list and the white list of taking a seat It removes, but does not guarantee to remove the success of voice white list, this problem is to be taken a seat list synchronization process by following and solved, and is guaranteed List of taking a seat is consistent with voice white list data.
3) it takes a seat list synchronization process
A) micro- room service starting Timing Synchronization is taken a seat Lists task;
B) task transmission takes a seat list to white list service;
C) white list service receives take a seat list after, full dose refresh white list.
Voice permission is controlled using white list, while cooperateing with voice white list service device with micro- room server to guarantee Only have user on seat that could freely make a speech in micro- room.Wherein voice white list service device manages user's competence of speech, micro- room User list on server admin seat.
In the present embodiment, list that corresponding user is taken a seat is requested according to the seat of honour by micro- room server, and return Response bag take a seat to client, while the request of voice white list is added in corresponding user and is sent to white list service device, works as visitor Family end is got take a seat response bag after, determined whether there is in voice white list to white list service device, if so, and language Sound server establishes voice communication connection, realizes the permission that just can be carried out voice after user takes a seat in group really, solves At present since there is the permission of user number in group, if the user each in queuing process is switched on voice permission, so that untrue Voice just can also be carried out into the user of group, causes the technical problem of user experience difference.
Further, micro- room server according to Lists task of taking a seat will take a seat list be sent to white list service device carry out language Sound white list refresh process, if the user solved on seat exits room or heartbeat timeout, although can trigger will use Family does not guarantee the successful technical problem of clear removing voice white list from list and the white list removing of taking a seat.
Referring to Fig. 3, group's voice authority control method in another distributed system provided in the embodiment of the present invention One embodiment includes:
301, it gets micro- room server and request corresponding user's addition voice white list in the seat of honour is sent according to client Request, and user is added in voice white list;
In the present embodiment, how to guarantee to guarantee only have the user on seat that could make a speech, and the seat of honour can immediately make a speech, under When the technical solution that seat cannot immediately make a speech, it is necessary first to get micro- room server according to client and send seat of honour request relatively The request of voice white list is added in the user answered, and user is added in voice white list.
302, pass through the micro- room server got according to client and return to the white list inquiry sent after response bag of taking a seat Instruction, determining the user of client, there are in voice white list;
Corresponding user's addition voice white list is requested to be asked according to the client transmission seat of honour when getting micro- room server It asks, and after user is added in voice white list, needs to pass through micro- room server for getting according to client and return The white list inquiry instruction sent after response bag of taking a seat, determining the user of client, there are in voice white list.
303, by user, there are the response messages in voice white list to return to client, so that client and voice take Business device establishes voice communication connection;
The white list inquiry sent after passing through the micro- room server got according to client and returning and take a seat response bag refers to It enables, determining the user of client, by user, there are in voice white list there are needing after in voice white list Response message returns to client, connect so that client establishes voice communication with voice server.
304, it gets the user that the lower seat request that micro- room server is sent according to client is sent and deletes voice white list Request;
When by user, there are the response messages in voice white list to return to client, so that client and voice service Device is established after voice communication connection, needs to get the user that the lower seat request that micro- room server is sent according to client is sent Delete the request of voice white list.
305, the request of voice white list is deleted according to user to delete user from voice white list;
It is asked when getting user's deletion voice white list that the lower seat request that micro- room server is sent according to client is sent After asking, needs to delete the request of voice white list according to user and delete user from voice white list.
306, the list of taking a seat that micro- room server is sent every preset time period is got, and language is refreshed according to list of taking a seat Sound white list.
During step 301 to step 305, it will get what micro- room server was sent every preset time period at any time It takes a seat list, and voice white list is refreshed according to list of taking a seat.
The present embodiment, which realizes, simply and effectively realizes the user's voice permission of seat and seat user control up and down.
Referring to Fig. 4, a kind of one embodiment of the white list service device provided in the embodiment of the present invention includes:
First acquisition unit 401 sends the corresponding use of seat of honour request according to client for getting micro- room server The request of voice white list is added in family, and user is added in voice white list;
Determination unit 402 is sent for being passed through after the micro- room server got returns to response bag of taking a seat according to client White list inquiry instruction, determining the user of client, there are in voice white list;
First returning response unit 403, for there are the response messages in voice white list to return to client by user End, connect so that client establishes voice communication with voice server.
Second acquisition unit 404, the use sent for getting the lower seat request that micro- room server is sent according to client Delete the request of voice white list in family;
Delete processing unit 405, for deleting the request of voice white list for user from voice white list according to user It deletes.
Third acquiring unit 406, the list of taking a seat sent for getting micro- room server every preset time period, and root According to taking a seat, list refreshes voice white list.
The present embodiment, which realizes, simply and effectively realizes the user's voice permission of seat and seat user control up and down.
Referring to Fig. 5, one embodiment of the population voice authority control system provided in the embodiment of the present invention includes:
The white list service device 53 that micro- room server 51, client 52 and Fig. 4 embodiment refer to;
Micro- room server 51 includes:
First transmission unit 511 is requested for what is got from the seat of honour that client 52 is sent;
Second transmission unit 512 for requesting list that corresponding user takes a seat according to the seat of honour, and returns to sound of taking a seat It should wrap to client 52, while the request of voice white list is added in corresponding user and is sent to white list service device 53;
Client 52 includes:
White list determination unit 521, for when get take a seat response bag after, determine whether to deposit to white list service device 53 In voice white list, it is connect if so, establishing voice communication with voice server.
In the present embodiment, list that corresponding user is taken a seat is requested according to the seat of honour by micro- room server 51, and return A response bag is backed into client 52, while the request of voice white list is added in corresponding user and is sent to white list service device 53, after client 52, which is got, takes a seat response bag, determined whether there is in voice white list to white list service device 53, It is connect if so, establishing voice communication with voice server, realizing after user takes a seat in group really just can be carried out voice Permission solves at present since there is the permission of user number in group, if the user each in queuing process is switched on voice power Limit, so that the user for not actually entering group can also carry out voice, causes the technical problem of user experience difference.
The above is that the connection relationship of group's voice authority control system and specific unit are described in detail, below will be right Extra cell is described in detail, referring to Fig. 6, the population voice authority control system provided in the embodiment of the present invention Another embodiment includes:
The white list service device 63 that micro- room server 61, client 62 and Fig. 4 embodiment refer to;
Micro- room server 61 includes:
First transmission unit 611 is requested for what is got from the seat of honour that client 62 is sent;
Second transmission unit 612 for requesting list that corresponding user takes a seat according to the seat of honour, and returns to sound of taking a seat It should wrap to client 62, while the request of voice white list is added in corresponding user and is sent to white list service device 63;
4th acquiring unit 613 is not present and voice white list if determining for client 62 to white list service device 63 In, then get the transmission of client 62 rejoins the request of voice white list;
Transmission unit 614 again are again sent to white list service for that will rejoin the request of voice white list Device 63;
5th acquiring unit 615, for get white list service device 63 return with rejoin voice white list column Table request is corresponding to rejoin response bag;
Second returning response unit 616 returns to client 62 for that will rejoin response bag, so that client 62 is again Secondary to determine whether there is in voice white list to white list service device 63, until determining user, there are voice white lists In after, client 62 is established voice communication with voice server and is connect.
6th acquiring unit 617, for getting the lower seat request of the transmission of client 62;
Lower seat response unit 618 is returned, for being deleted user from list of taking a seat according to the request of lower seat, and lower seat is returned and rings It should wrap to client 62, while corresponding user is deleted into the request of voice white list and is sent to white list service device 63;
Task start unit 619 is taken a seat Lists task for starting every preset time segment sync;
List cell 620 of taking a seat is synchronized, for being sent to white list service device according to the Lists task list that will take a seat of taking a seat 63 carry out voice white list refresh process.
Client 62 includes:
White list determination unit 621, for when get take a seat response bag after, determine whether to deposit to white list service device 63 In voice white list, it is connect if so, establishing voice communication with voice server.
Switching units 622 are communicated to connect, get white list service device 63 according to deletion voice white list request for working as After the deletion response bag of return, the communication connection with voice server is disconnected.
In the present embodiment, list that corresponding user is taken a seat is requested according to the seat of honour by micro- room server 61, and return A response bag is backed into client 62, while the request of voice white list is added in corresponding user and is sent to white list service device 63, after client 62, which is got, takes a seat response bag, determined whether there is in voice white list to white list service device 63, It is connect if so, establishing voice communication with voice server, realizing after user takes a seat in group really just can be carried out voice Permission solves at present since there is the permission of user number in group, if the user each in queuing process is switched on voice power Limit, so that the user for not actually entering group can also carry out voice, causes the technical problem of user experience difference.
Further, micro- room server 61 according to Lists task of taking a seat will take a seat list be sent to white list service device 63 into Row voice white list refresh process, if the user solved on seat exits room or heartbeat timeout, although can trigger By user from list and the white list removing of taking a seat, but the successful technical problem of clear removing voice white list is not guaranteed.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (14)

1. group's voice authority control method in a kind of distributed system characterized by comprising
What micro- room server was got requests from the seat of honour that client is sent;
Micro- room server requests to take a seat corresponding user list according to the seat of honour, and return take a seat response bag to The client, while the request of voice white list is added in corresponding user and is sent to white list service device;
After response bag of taking a seat described in getting when the client, the client determines the visitor to the white list service device Family end is connect with the presence or absence of in voice white list if so, client establishes voice communication with voice server.
2. group's voice authority control method in distributed system according to claim 1, which is characterized in that distributed system Middle group's voice authority control method further include:
If the client determines that the client is not present in voice white list to the white list service device, described micro- Room server gets the voice white list that rejoins that the client is sent and requests;
Micro- room server will rejoin the voice white list request and be again sent to the white list service device;
Micro- room server get that the white list service device returns with rejoin the voice white list and ask It asks corresponding and rejoins response bag;
The response bag that rejoins is returned to the client by micro- room server, so that the client is again to institute It states white list service device and determines that the client whether there is in the voice white list, until determining that the user exists After in the voice white list, the client is established voice communication with the voice server and is connect.
3. group's voice authority control method in distributed system according to claim 1, which is characterized in that distributed system Middle group's voice authority control method further include:
Micro- room server gets the lower seat request that the client is sent;
Micro- room server deletes the user from the list of taking a seat according to the lower seat request, and returns to lower seat response It wraps to the client, while corresponding user is deleted into the request of voice white list and is sent to white list service device;
It is rung when the client gets the white list service device according to the deletion that the deletion voice white list request returns After should wrapping, the client disconnects the communication connection with the voice server.
4. group's voice authority control method, feature exist in distributed system as claimed in any of claims 1 to 3 In group's voice authority control method in distributed system further include:
Micro- room server synchronizes Lists task of taking a seat every preset time period starting;
Micro- room server take a seat according to Lists task by the list of taking a seat be sent to the white list service device into The row voice white list refresh process.
5. group's voice authority control method in a kind of distributed system characterized by comprising
It gets micro- room server and request corresponding user's addition voice white list request in the seat of honour is sent according to client, and will The user is added in voice white list;
Pass through the micro- room server got according to the client and returns to the white list inquiry sent after response bag of taking a seat Instruction, determining the user of the client, there are in the voice white list;
By the user, there are the response messages in the voice white list to return to the client, so that the client Voice communication is established with voice server to connect.
6. group's voice authority control method in distributed system according to claim 5, which is characterized in that distributed system Middle group's voice authority control method further include:
It gets the user that the lower seat request that micro- room server is sent according to the client is sent and deletes voice white list Request;
The request of voice white list is deleted according to the user to delete the user from the voice white list.
7. group's voice authority control method in distributed system according to claim 5 or 6, which is characterized in that distributed Group's voice authority control method in system further include:
The list of taking a seat that micro- room server is sent every preset time period is got, and institute is refreshed according to the list of taking a seat Predicate sound white list.
8. a kind of white list service device characterized by comprising
First acquisition unit sends the corresponding user's addition language of seat of honour request according to client for getting micro- room server The request of sound white list, and the user is added in voice white list;
Determination unit is sent for being passed through after the micro- room server got returns to response bag of taking a seat according to the client White list inquiry instruction, determining the user of the client, there are in the voice white list;
First returning response unit, for there are described in the response message return in the voice white list by the user Client is connect so that the client establishes voice communication with voice server.
9. white list service device according to claim 8, which is characterized in that white list service device further include:
Second acquisition unit, the use sent for getting the lower seat request that micro- room server is sent according to the client Delete the request of voice white list in family;
Delete processing unit, for deleting the request of voice white list for the user from the voice white list according to the user List is deleted.
10. white list service device according to claim 8 or claim 9, which is characterized in that white list service device further include:
Third acquiring unit, the list of taking a seat sent for getting micro- room server every preset time period, and according to The list of taking a seat refreshes the voice white list.
11. a population voice authority control system characterized by comprising
Micro- room server, client, and the white list service device as described in any one of claim 8 to 10;
Micro- room server includes:
First transmission unit is requested for what is got from the seat of honour that client is sent;
Second transmission unit for requesting list that corresponding user takes a seat according to the seat of honour, and returns to response of taking a seat It wraps to the client, while the request of voice white list is added in corresponding user and is sent to white list service device;
The client includes:
White list determination unit, for when get it is described take a seat response bag after, Xiang Suoshu white list service device determines the visitor Family end is connect with the presence or absence of in voice white list if so, establishing voice communication with voice server.
12. according to claim 11 group of voice authority control systems, which is characterized in that micro- room server also wraps It includes:
4th acquiring unit, if determining that the client is not present in voice to the white list service device for the client In white list, then gets the voice white list that rejoins that the client is sent and request;
Transmission unit again is again sent to the white list service for that will rejoin the voice white list request Device;
5th acquiring unit, for getting that the white list service device returns and rejoining the voice white list It requests corresponding to rejoin response bag;
Second returning response unit, for the response bag that rejoins to be returned to the client, so that the client Determine that the client whether there is in the voice white list to the white list service device again, described in determination User there are after in the voice white list, establish voice communication with the voice server and connect by the client.
13. according to claim 11 group of voice authority control systems, it is characterised in that:
Micro- room server further include:
6th acquiring unit, the lower seat request sent for getting the client;
Lower seat response unit is returned, for being deleted the user from the list of taking a seat according to the lower seat request, and is returned Lower seat response bag gives the client, while corresponding user is deleted the request of voice white list and is sent to white list service device;
The client further include:
Switching units are communicated to connect, are returned for the white list service device ought to be got according to deletion voice white list request After the deletion response bag returned, the communication connection with the voice server is disconnected.
14. group's voice authority control system described in any one of 1 to 13 according to claim 1, which is characterized in that described micro- Room server further include:
Task start unit synchronizes Lists task of taking a seat for the starting every preset time period;
List cell of taking a seat is synchronized, the list of taking a seat is sent to the white list for Lists task of taking a seat according to and is taken Business device carries out the voice white list refresh process.
CN201610526091.1A 2016-07-05 2016-07-05 Group's voice authority control method, server and system in a kind of distributed system Active CN106210027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610526091.1A CN106210027B (en) 2016-07-05 2016-07-05 Group's voice authority control method, server and system in a kind of distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610526091.1A CN106210027B (en) 2016-07-05 2016-07-05 Group's voice authority control method, server and system in a kind of distributed system

Publications (2)

Publication Number Publication Date
CN106210027A CN106210027A (en) 2016-12-07
CN106210027B true CN106210027B (en) 2019-05-31

Family

ID=57466355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610526091.1A Active CN106210027B (en) 2016-07-05 2016-07-05 Group's voice authority control method, server and system in a kind of distributed system

Country Status (1)

Country Link
CN (1) CN106210027B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976322A (en) * 2006-12-08 2007-06-06 王先来 Method and system for realizing multimedia immediate communicating and control flow
CN101702761A (en) * 2009-10-30 2010-05-05 上海恒融数码科技有限公司 Multimedia video interactive method and system
CN103402032A (en) * 2013-04-30 2013-11-20 北京讯鸟软件有限公司 Call seat multi-skill distribution system and distribution method based on cloud computing
CN103841007A (en) * 2014-03-04 2014-06-04 腾讯科技(深圳)有限公司 Data processing method, device and system in online game system
CN104067602A (en) * 2011-11-27 2014-09-24 株式会社联合动力 Voice link system
KR20160001028A (en) * 2014-06-26 2016-01-06 주식회사 엘지유플러스 Method and apparatus for providing Push-To-Talk service using sound effect

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976322A (en) * 2006-12-08 2007-06-06 王先来 Method and system for realizing multimedia immediate communicating and control flow
CN101702761A (en) * 2009-10-30 2010-05-05 上海恒融数码科技有限公司 Multimedia video interactive method and system
CN104067602A (en) * 2011-11-27 2014-09-24 株式会社联合动力 Voice link system
CN103402032A (en) * 2013-04-30 2013-11-20 北京讯鸟软件有限公司 Call seat multi-skill distribution system and distribution method based on cloud computing
CN103841007A (en) * 2014-03-04 2014-06-04 腾讯科技(深圳)有限公司 Data processing method, device and system in online game system
KR20160001028A (en) * 2014-06-26 2016-01-06 주식회사 엘지유플러스 Method and apparatus for providing Push-To-Talk service using sound effect

Also Published As

Publication number Publication date
CN106210027A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
DE102006014684B4 (en) Systems and methods for instant messaging
DE60110727T2 (en) Method and device for opening an electronic conference
CN101160878A (en) Method, system and device of sharing presence information
CN102299810B (en) Method and system for notifying group change event
CN110391970A (en) For the message management system of communication applications, method, equipment and storage medium
CN104135640B (en) The method, apparatus and system of meeting migration
CN104579707B (en) A kind of method, relevant device and system that meeting and invitation is added
CN108809902B (en) Terminal, server and audio and video conference implementation method, device and system thereof
CN107800901A (en) User's call processing method, device, computer equipment and storage medium
DE102011114277B4 (en) Global Conference Plan for Distributed Bridges
CN105978938A (en) Service processing equipment service status determining method and scheduling equipment
CN104967559A (en) Activity convening device, activity convening method, server, client and activity initiating method
CN106210027B (en) Group's voice authority control method, server and system in a kind of distributed system
CN110198263A (en) Conversation processing method, device, equipment and system
CN104756447A (en) Method for recording session information and recording server
CN105933352B (en) Method of data synchronization, client and system between client-based server
CN108650168B (en) Method and device for acquiring member data of multi-person session, storage medium and processor
CN107295203A (en) Method for message transmission and device in a kind of MPTY meeting
CN110233791A (en) Data duplicate removal method and device
CN104063451B (en) A kind of database connection management method and system
CN103916823A (en) Method and apparatus for creating mobile conference call
CN102185870B (en) Method and system for realizing mode switch between instant messaging and network conference
JP2007215016A (en) Multipoint conference system and its control method, as well as program
CN113452950A (en) Video conference establishing method, device, equipment and storage medium
CN107846634B (en) Audio and video file sharing method, device and system, storage medium and terminal equipment

Legal Events

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

Effective date of registration: 20210114

Address after: 510000 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 511449 Wanda Plaza, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20161207

Assignee: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Contract record no.: X2021440000053

Denomination of invention: A Group voice permission control method server and system in distributed system

Granted publication date: 20190531

License type: Common License

Record date: 20210208

EE01 Entry into force of recordation of patent licensing contract