Disclosure of Invention
In order to solve the technical problem, the invention provides a multi-person voice conference chatting method and device, which can be used for chatting of a multi-person voice conference, can limit a certain number of users to speak at the same time, further avoid the loss of voice information, and enable the multi-person voice conference to be closer to conference chatting in a conference room in the real world.
The invention adopts the following technical scheme:
in one aspect, the invention provides a multi-user voice conference chat method, which is applied to a client and comprises the following steps:
receiving and storing virtual speaking seat occupation information sent by a server side, wherein the virtual speaking seat occupation information comprises the number of virtual speaking seats which speak at the same time to the maximum extent and the occupation status of the current virtual speaking seat;
judging whether an idle virtual speak seat exists at present according to the virtual speak seat occupation information; if the idle virtual speech seat exists, responding to an occupation request of a user, and sending occupation request information to a server, wherein the occupation request information comprises information of the idle virtual speech seat;
receiving allocation information sent by a server, wherein the allocation information comprises that the server allocates idle virtual speak seat information to the client, and the allocation of the idle virtual speak seat information to the client comprises an idle virtual speak seat number corresponding to an idle virtual speak seat;
mapping the idle virtual speech seat position number and the ID number of the client to form a mapping relation between the virtual speech seat position number and the ID number of the client;
and sending the mapping relation to a server side.
Preferably, after receiving and storing the virtual floor seat occupancy information sent by the server, the method further includes:
monitoring whether the occupation state of the current virtual speech seat at the server side changes;
and if the current virtual speech seat occupation condition of the server is monitored to be changed, modifying the current virtual speech seat occupation condition of the client into the current virtual speech seat occupation condition of the server.
The multi-person voice conference chat method further comprises, after sending the mapping relationship to a server side:
responding to the releasing operation of a user, releasing the virtual speaking seat currently occupied by the client to form releasing information, wherein the releasing information comprises the information of releasing the virtual speaking seat currently occupied by the client;
according to the release information, the mapping relation between the virtual speech place number currently occupied by the client and the client ID number is released;
and sending the release information to a server.
In addition, another multi-user voice conference chat method is provided in the embodiments of the present invention, which is applied to a server side, and comprises the following steps:
sending virtual speaking seat occupation information to a client, wherein the virtual speaking seat occupation information comprises the virtual speaking seat number of the maximum simultaneous speaking and the current virtual speaking seat occupation status;
receiving request occupation information sent by a client, wherein the request occupation information comprises information of requesting to occupy an idle virtual speaking seat;
allocating an idle virtual speech seat to the client according to the request occupation information, and forming allocation information comprising the information of allocating the idle virtual speech seat to the client, wherein the information of allocating the idle virtual speech seat to the client comprises an idle virtual seat number corresponding to the idle virtual speech seat;
sending the distribution information to the client;
and receiving and storing a mapping relation sent by the client, wherein the mapping relation is the mapping relation between the virtual speech place number and the client ID number.
Preferably, after allocating the idle virtual floor seat to the client, the method further includes: and broadcasting the distribution information to other clients in the virtual meeting room.
Further, after receiving the mapping relationship sent by the client, the method further includes:
receiving release information sent by the client, wherein the release information comprises information for releasing a virtual speaking seat currently occupied by the client;
according to the release information, the mapping relation between the virtual speech place number currently occupied by the client and the client ID number is released;
changing the state of the virtual speaking seat occupied by the client into an idle virtual speaking seat;
and broadcasting and informing other clients in the virtual meeting room of the release information.
The embodiment of the invention also provides a multi-person voice conference chat device, which is applied to a client and comprises:
the first receiving module is used for receiving and storing virtual speaking seat occupation information sent by the server side, wherein the virtual speaking seat occupation information comprises the number of virtual speaking seats which speak at the maximum and the occupation status of the current virtual speaking seat;
the judging module is used for judging whether an idle virtual speak seat exists at present according to the virtual speak seat occupation information; if the idle virtual speech seat exists, responding to an occupation request of a user, and sending occupation request information to a server, wherein the occupation request information comprises information of the idle virtual speech seat;
the first receiving module is further configured to receive allocation information sent by the server, where the allocation information includes allocation of idle virtual speak seat information to the client by the server, and the allocation of the idle virtual speak seat information to the client includes an idle virtual speak seat number corresponding to the idle virtual speak seat;
the mapping module is used for mapping the idle virtual speech seat position number and the ID number of the client to form a mapping relation between the virtual speech seat position number and the ID number of the client;
and the first sending module is used for sending the mapping relation to a server side.
Preferably, the multi-person voice conference chat device further comprises:
the monitoring module is used for monitoring whether the occupation state of the current virtual speech seat at the server end changes after receiving and storing the virtual speech seat occupation information sent by the server end;
and the modification module is used for modifying the current virtual speak seat occupation state of the client into the current virtual speak seat occupation state of the server if the change of the current virtual speak seat occupation state of the server is monitored.
The embodiment of the invention also provides another multi-person voice conference chat device, which is applied to a server and comprises:
the second sending module is used for sending virtual speaking seat occupation information to the client, wherein the virtual speaking seat occupation information comprises the virtual speaking seat number of the maximum simultaneous speaking and the occupation status of the current virtual speaking seat;
the second receiving module is used for receiving request occupation information sent by the client, wherein the request occupation information comprises information of requesting to occupy an idle virtual speaking seat;
the allocation module is used for allocating an idle virtual speech seat to the client according to the request occupation information and forming allocation information comprising the information of allocating the idle virtual speech seat to the client, wherein the information of allocating the idle virtual speech seat to the client comprises an idle virtual seat number corresponding to the idle virtual speech seat;
the second sending module is further configured to send the allocation information to the client;
the second receiving module is further configured to receive and store a mapping relationship sent by the client, where the mapping relationship is a mapping relationship between the virtual floor position number and the client ID number.
Preferably, the multi-person voice conference chat device further comprises:
and the notification module is used for broadcasting the allocation information to other clients in the virtual conference room after allocating the idle virtual speak seat to the client.
The multi-person voice conference chatting method in the embodiment of the invention can enable a client user to quickly know the virtual speaking seat number which speaks at the maximum and the current virtual speaking seat occupation state (which can be closer to the state of a conference room in the real world) after entering a virtual conference room by receiving and storing the virtual speaking seat occupation information sent by the server, and enable the client user to quickly and effectively occupy the idle virtual speaking seat just like occupying the speaking seat in the conference room in the real world by subsequently sending request occupation information, receiving the distribution information sent by the server and mapping the idle virtual speaking seat number with the ID number of the client, so as to speak in time, namely the multi-person voice conference chatting method in the embodiment of the invention is closer to the chatting in the conference room in the real world, which can make the user make the sitting speech quickly and efficiently. In addition, in the embodiment, because the virtual speaking seats have the maximum virtual speaking seat number which can speak simultaneously, a certain number of users can be limited to speak simultaneously, so that when the server processes the voice information, partial voice information can be prevented from being taken as noise to be eliminated, the voice information is further prevented from being lost, and further, great obstacles to communication can be reduced.
Detailed Description
In order to clearly understand the technical solution of the present invention, the following detailed description is made with reference to the accompanying drawings. The embodiments of the present invention have been described for illustrative purposes, and insubstantial modifications of the embodiments of the present invention made by those skilled in the art are intended to be within the scope of the present invention.
The terms "first" and "second" in the embodiments of the present invention are used to distinguish some features, which are set for convenience of understanding and are not limited in other aspects.
The multi-person voice conference chat method shown in fig. 1, applied to a client, comprises the following steps:
s101: and receiving and storing virtual speaking seat occupation information sent by a server side, wherein the virtual speaking seat occupation information comprises the virtual speaking seat number of the maximum simultaneous speaking and the occupation condition of the current virtual speaking seat.
The virtual speaking seat means that after a client user occupies the virtual speaking seat, the client user can send voice information of the client user and receive voice information sent by other client users located at other virtual speaking seats in the same virtual conference room.
Before the receiving and storing the virtual floor occupation information sent by the server, the method generally further includes:
responding to a joining request of a user, and sending joining request information to a server side, wherein the joining request information comprises information requesting to join a virtual conference room;
and receiving the joining permission information sent by the server side, and joining the virtual meeting room according to the joining permission information.
The virtual conference room usually includes a virtual speaking seat and a virtual listening seat, and the user is usually at the virtual listening seat when entering the virtual conference room. The virtual audition seat means that after the client user occupies the virtual audition seat, the client user cannot send the voice information of the client user, but can receive the voice information sent by other client users positioned at the virtual speaking seat in the same virtual conference room.
The maximum number of virtual speaking seats speaking simultaneously refers to the number of users capable of speaking simultaneously when all the virtual speaking seats are occupied; typically, a virtual floor chair is allowed to be occupied by a client user, and therefore, refers to the total number of virtual floor chairs in the virtual conference room.
The occupation status of the current virtual speaking seat refers to which virtual speaking seats are occupied by other client users in the virtual conference room and which virtual speaking seats are idle. Therefore, the client user can judge whether the client user can occupy the virtual speech seat according to the occupation status of the current virtual speech seat so as to freely speak in the virtual conference room.
The maximum number of virtual speaking seats which speak simultaneously can be 3-16, and 3-16 users can be qualified to speak. Users at the virtual floor may discuss the problem with each other as in a real meeting room without waiting for a microphone. When the number of participants in the virtual meeting room is large, if people send voice information at the same time, the server processes the voice information, and part of the voice information is taken as noise to be eliminated, so that voice information is lost, and communication is greatly hindered. When the number of virtual speech seats is too small and the number of people who need to participate in the conference is large, people cannot effectively discuss in time, and the communication efficiency is also reduced. Therefore, a maximum number of virtual floor seats to speak simultaneously should generally be set, and the number should not be too small.
If the number of virtual speaking seats which speak at the maximum and at the same time is 16, a 16-bit integer number can be adopted to store the seat occupation condition, the 16-bit integer number represents 16 seats (0-15), each bit takes the value of 0 or 1, 0 represents that the seat is free, and 1 represents that the seat is occupied. For example: the 16-bit integer number is 341, which translates to a binary number of 0000000101010101, representing the meaning: the number 0, 2, 4, 6, 8 virtual speech seats are occupied, and the virtual speech seats are idle virtual speech seats.
S102: judging whether an idle virtual speak seat exists at present according to the virtual speak seat occupation information; and if the idle virtual speech seat exists, responding to an occupation request of a user, and sending occupation request information to the server, wherein the occupation request information comprises information of occupying the idle virtual speech seat.
The idle virtual speaking seat refers to a virtual speaking seat which is not occupied by a client user in a virtual meeting room.
When there is an idle virtual floor seat and the client user wants to speak in the virtual conference room, the client may send request occupation information to the server. When the client user does not want to speak in the virtual conference room, the client user can occupy the virtual listening seat so as to listen to the voice information of the user on the virtual speaking seat.
S103: receiving distribution information sent by a server, wherein the distribution information comprises information of idle virtual speak seats distributed to the client by the server; the allocation of the idle virtual floor seat information to the client includes an idle virtual floor seat number corresponding to the idle virtual floor seat.
Each virtual floor has a corresponding number. For example, there are 9 virtual floor seats, and the corresponding numbers may be 1, 2, 3, 4, 5, 6, 7, 8, and 9. If the allocation information received by the client includes that the number of the idle virtual speech seat is 2, the server side allocates the number 2 virtual speech seat to the client.
S104: and mapping the idle virtual speech seat position number and the ID number of the client to form a mapping relation between the virtual speech seat position number and the ID number of the client.
The ID number of the client is an identification number that can be recognized in the conference room. The identification number may be assigned by the server after the client enters the conference room, or may be another identifiable number.
And mapping the idle virtual speech seat number with the ID number of the client, namely indicating that the client user occupies the virtual speech seat corresponding to the virtual speech seat number, wherein during the period that the client user occupies the virtual speech seat, other client users in the virtual conference room cannot repeatedly occupy the virtual speech seat.
S105: and sending the mapping relation to a server side.
And sending the mapping relation to a server side so that the server side can inform other client side users in the virtual conference room of the mapping relation, and the other client side users can know that the client side users occupy the virtual speech seat corresponding to the virtual speech seat number.
The multi-person voice conference chatting method in the embodiment of the invention can enable a client user to quickly know the virtual speaking seat number which speaks at the maximum and the current virtual speaking seat occupation state (which can be closer to the state of a conference room in the real world) after entering a virtual conference room by receiving and storing the virtual speaking seat occupation information sent by the server, and enable the client user to quickly and effectively occupy the idle virtual speaking seat just like occupying the speaking seat in the conference room in the real world by subsequently sending request occupation information, receiving the distribution information sent by the server and mapping the idle virtual speaking seat number with the ID number of the client, so as to speak in time, namely the multi-person voice conference chatting method in the embodiment of the invention is closer to the chatting in the conference room in the real world, which can make the user make the sitting speech quickly and efficiently. In addition, in the embodiment, because the virtual speaking seats have the maximum virtual speaking seat number which can speak simultaneously, a certain number of users can be limited to speak simultaneously, so that when the server processes the voice information, partial voice information can be prevented from being taken as noise to be eliminated, the voice information is further prevented from being lost, and further, great obstacles to communication can be reduced.
The multi-person voice conference chat method shown in fig. 1, wherein after receiving and storing the virtual floor occupation information sent by the server, the method further includes:
s201: monitoring whether the occupation state of the current virtual speech seat at the server side changes.
S202: and if the current virtual speech seat occupation condition of the server is monitored to be changed, modifying the current virtual speech seat occupation condition of the client into the current virtual speech seat occupation condition of the server.
The steps S201 and S202 generally continue throughout the whole session of the client user until the client user exits the conference room.
The embodiment of the invention can enable the client user to know whether other virtual speak seats are occupied or released in time by monitoring whether the current virtual speak seat occupation state of the server end changes or not and modifying the current virtual speak seat occupation state of the client to be the current virtual speak seat occupation state of the server end in time, and if the other virtual speak seats are occupied, the client user is occupied. Let this customer end user in time know promptly that it carries out the pronunciation meeting with who promptly, and have who joined in midway, who has exited, just like meeting room in the real world is opened meeting, and the user can clearly know all who has on the current speech table.
Based on the multi-user voice conference chat method shown in fig. 1, after the sending the mapping relationship to the server, the method further includes:
s301: and responding to the releasing operation of the user, releasing the virtual speaking seat currently occupied by the client to form releasing information, wherein the releasing information comprises the information for releasing the virtual speaking seat currently occupied by the client.
S302: and according to the release information, the mapping relation between the virtual speech place number currently occupied by the client and the client ID number is released.
S303: and sending the release information to a server.
When the client user does not speak any more, the virtual speaking seat occupied by the client currently can be released by responding to the releasing operation of the user, so that other client users can occupy the virtual speaking seat to speak in time, and the speaker at the position of the speaking seat can be replaced like a real conference room.
The multi-user voice conference chat method shown in fig. 2 is applied to a server side, and comprises the following steps:
s401: and sending virtual speaking seat occupation information to the client, wherein the virtual speaking seat occupation information comprises the virtual speaking seat number of the maximum simultaneous speaking and the current virtual speaking seat occupation condition.
Before sending the virtual floor seat occupancy information to the client, the method generally further includes:
receiving request joining information sent by a client, wherein the request joining information comprises information requesting to join a virtual conference room;
and judging whether the client can join the virtual meeting room, and if so, sending joining permission information to the client.
In general, after creating the virtual conference room, the server sets the virtual speaking seats and the virtual listening seats of the virtual conference room, and determines the number of virtual speaking seats that speak at the same time at the maximum.
And the current virtual speech seat occupation state is the latest virtual speech seat occupation state, and when the virtual speech seat is occupied or released, the server side can change the current virtual speech seat occupation state in time. When a new client user enters the conference room, the server side can send the virtual speak seat occupation information to the client user in time.
S402: receiving request occupation information sent by a client, wherein the request occupation information comprises information of requesting to occupy an idle virtual speaking seat.
When a client user wants to speak, the client user can send request occupation information to the server so that the server can distribute virtual speaking seats conveniently.
S403: and distributing an idle virtual speech seat to the client according to the request occupation information, and forming distribution information comprising the information of distributing the idle virtual speech seat to the client, wherein the information of distributing the idle virtual speech seat to the client comprises an idle virtual seat number corresponding to the idle virtual speech seat.
The allocation of the idle virtual speech seat to the client can be performed according to the sequence of the idle virtual seat numbers, or one idle virtual seat number can be randomly selected for allocation.
S404: and sending the distribution information to the client.
S405: and receiving and storing a mapping relation sent by the client, wherein the mapping relation is the mapping relation between the virtual speech place number and the client ID number.
The server receives and stores the mapping relation sent by the client, namely, the mapping relation is recorded, so that the virtual speak seat number is not distributed when the idle virtual seat numbers of other client users are distributed.
The multi-person voice conference chatting method in the embodiment of the invention can enable a client user to quickly know the virtual speaking seat number which utters at the maximum and simultaneously in the virtual conference room and the current virtual speaking seat occupation state (which can be closer to the state of the conference room in the real world) after entering the virtual conference room by sending the virtual speaking seat occupation information to the client, and enable the corresponding client user to quickly and effectively occupy the idle virtual speaking seat just like occupying the speaking seat in the conference room in the real world by subsequently receiving the request occupation information, allocating the idle virtual speaking seat to the client and receiving and storing the mapping relation and the like sent by the client, so as to speak in time, namely, the multi-person voice conference chatting method in the embodiment of the invention can be closer to the chatting in the conference room in the real world, which can make the user make the sitting speech quickly and efficiently. In addition, in the embodiment, because the virtual speaking seats have the maximum virtual speaking seat number which can speak simultaneously, a certain number of users can be limited to speak simultaneously, so that when the server processes the voice information, partial voice information can be prevented from being taken as noise to be eliminated, the voice information is further prevented from being lost, and further, great obstacles to communication can be reduced.
The multi-person voice conference chat method shown in fig. 2, wherein after allocating the idle virtual floor seat to the client, the method further includes: and broadcasting the distribution information to other clients in the virtual meeting room.
The distribution information is broadcasted to inform other clients in the virtual meeting room, so that other client users can know that the corresponding virtual speaking seats are distributed to the client user in time like in the real world, and the other client users can communicate with the client user in time in a voice mode.
Based on the multi-user voice conference chat method shown in fig. 2, after receiving the mapping relationship sent by the client, the method further includes:
s501: receiving release information sent by the client, wherein the release information comprises information for releasing a virtual speaking seat currently occupied by the client;
s502: according to the release information, the mapping relation between the virtual speech place number currently occupied by the client and the client ID number is released;
s503: changing the state of the virtual speaking seat occupied by the client into an idle virtual speaking seat;
s504: and broadcasting and informing other clients in the virtual meeting room of the release information.
When the client user does not speak any more, release information can be sent to the server so as to release the mapping relation between the virtual speaking seat number currently occupied by the client and the client ID number at the server and change the state of the virtual speaking seat currently occupied by the client into an idle virtual speaking seat, so that when other client users want to speak, the virtual speaking seat can be distributed to other clients. And broadcasting the release information to other clients in the virtual conference room so that other client users can know that the client user exits from the virtual talk seat.
Based on the multi-user voice conference chat method shown in fig. 1 and fig. 2, the invention also provides the following application embodiments:
s601: a server side creates a virtual conference room, sets a virtual speaking seat and a virtual listening seat of the virtual conference room, determines that the number of the virtual speaking seats speaking at the maximum simultaneously is 9, and the numbers of the 9 virtual speaking seats are 1, 2, 3, 4, 5, 6, 7, 8 and 9 respectively;
s602: the client responds to a joining request of a user and sends joining request information to the server, wherein the joining request information comprises information requesting to join the virtual conference room;
s603: the server receives the request joining information sent by the client; judging whether the client can join the virtual meeting room, if so, sending joining permission information to the client;
s604: the client receives the joining permission information sent by the server and joins the virtual meeting room according to the joining permission information;
s605: the server side sends virtual speaking seat occupation information to the client side, wherein the virtual speaking seat occupation information comprises a virtual speaking seat number 9 for speaking at the maximum and the occupation status of the current virtual speaking seat; the occupation states of the current virtual speech seats are that the virtual speech seats No. 1, No. 3, No. 4 and No. 9 are occupied, and the rest virtual speech seats are idle virtual speech seats;
s606: the server side broadcasts and informs other clients in the virtual meeting room of the distribution information;
s607: the client receives and stores the virtual speak seat occupation information sent by the server;
s608: the client monitors whether the occupation status of the current virtual speaking seat of the server changes; if the current virtual speech seat occupation status of the client is changed, the current virtual speech seat occupation status of the server is modified;
s609: the client judges that an idle virtual speak seat exists currently according to the virtual speak seat occupation information; the server side responds to the occupation request of the user and sends occupation request information to the server side, wherein the occupation request information comprises the information of occupying the idle virtual speaking seat;
s610: the server receives request occupation information sent by the client;
s611: the server allocates an idle virtual speech seat to the client according to the request occupation information, and forms allocation information comprising the information of allocating the idle virtual speech seat to the client, wherein the information of allocating the idle virtual speech seat to the client comprises an idle virtual seat number corresponding to the idle virtual speech seat; the number of the idle virtual seat is 5;
s612: the server side sends the distribution information to the client side;
s613: the client receives the distribution information sent by the server, and maps the idle virtual speech floor position number 5 with the ID number of the client to form the mapping relation between the virtual speech floor position number and the ID number of the client;
s614: the client sends the mapping relation to a server;
s615: the server receives and stores the mapping relation sent by the client, wherein the mapping relation is the mapping relation between the virtual speech floor position number and the client ID number;
s616: the client responds to the releasing operation of a user, releases the virtual speaking seat occupied by the client at present, and forms releasing information, wherein the releasing information comprises the information of releasing the virtual speaking seat occupied by the client at present;
s617: the client removes the mapping relation between the virtual speech place number currently occupied by the client and the client ID number according to the release information;
s618: the client sends the release information to the server;
s619: the server receives the release information sent by the client; according to the release information, the mapping relation between the virtual speech place number currently occupied by the client and the client ID number is released;
s620: the server changes the state of the virtual speaking seat occupied by the client into an idle virtual speaking seat;
s621: and broadcasting and informing other clients in the virtual meeting room of the release information.
The multi-person voice conference chat device shown in fig. 3 is applied to a client, and comprises:
the first receiving module is used for receiving and storing virtual speaking seat occupation information sent by the server side, wherein the virtual speaking seat occupation information comprises the number of virtual speaking seats which speak at the maximum and the occupation status of the current virtual speaking seat;
the judging module is used for judging whether an idle virtual speak seat exists at present according to the virtual speak seat occupation information; if the idle virtual speech seat exists, responding to an occupation request of a user, and sending occupation request information to a server, wherein the occupation request information comprises information of the idle virtual speech seat;
the first receiving module is further configured to receive allocation information sent by the server, where the allocation information includes allocation of idle virtual speak seat information to the client by the server, and the allocation of the idle virtual speak seat information to the client includes an idle virtual speak seat number corresponding to the idle virtual speak seat;
the mapping module is used for mapping the idle virtual speech seat position number and the ID number of the client to form a mapping relation between the virtual speech seat position number and the ID number of the client;
and the first sending module is used for sending the mapping relation to a server side.
A multi-person voice conference chat apparatus as shown in fig. 3, wherein:
the first sending module is further configured to respond to a join request of a user before receiving and storing the virtual speak seat occupancy information sent by the server, and send join request information to the server, where the join request information includes information requesting to join the virtual conference room;
the first receiving module is further configured to receive join permission information sent by the server, and join the virtual meeting room according to the join permission information.
The multi-person voice conference chat device in the embodiment of the invention can be used for realizing the multi-person voice conference chat method shown in fig. 1, and can enable a client user to quickly know the number of virtual speak seats which speak at the maximum and the occupation state of the current virtual speak seat (which can be more close to the situation of a conference room in a real world) after entering a virtual conference room by receiving and storing the occupation information of the virtual speak seat sent by a server, and enable the client user to quickly and effectively occupy the idle virtual speak seat just like occupying the speak seat in the conference room in the real world by subsequently sending request occupation information, receiving distribution information sent by the server, mapping the idle virtual speak seat number with the ID number of the client and the like, namely, the multi-person voice conference chat method in the embodiment of the invention, closer to chats in conference rooms in the real world, which can allow users to make "sitting speech" quickly and efficiently. In addition, in the embodiment, because the virtual speaking seats have the maximum virtual speaking seat number which can speak simultaneously, a certain number of users can be limited to speak simultaneously, so that when the server processes the voice information, partial voice information can be prevented from being taken as noise to be eliminated, the voice information is further prevented from being lost, and further, great obstacles to communication can be reduced.
The multi-person voice conference chat device based on fig. 3, as shown in fig. 4, further includes:
the monitoring module is used for monitoring whether the occupation state of the current virtual speech seat at the server end changes after receiving and storing the virtual speech seat occupation information sent by the server end;
and the modification module is used for modifying the current virtual speak seat occupation state of the client into the current virtual speak seat occupation state of the server if the change of the current virtual speak seat occupation state of the server is monitored.
The multi-person voice conference chat device based on fig. 4, as shown in fig. 5, further includes:
the release module is used for responding to the release operation of a user after the mapping relation is sent to the server, releasing the virtual speech seat currently occupied by the client to form release information, and the release information comprises the information of releasing the virtual speech seat currently occupied by the client;
the first removing module is used for removing the mapping relation between the virtual speech floor position number currently occupied by the client and the client ID number according to the release information;
the first sending module is further configured to send the release information to a server.
The multi-person voice conference chat apparatus shown in fig. 6, applied to a server, includes:
the second sending module is used for sending virtual speaking seat occupation information to the client, wherein the virtual speaking seat occupation information comprises the virtual speaking seat number of the maximum simultaneous speaking and the occupation status of the current virtual speaking seat;
the second receiving module is used for receiving request occupation information sent by the client, wherein the request occupation information comprises information of requesting to occupy an idle virtual speaking seat;
the allocation module is used for allocating an idle virtual speech seat to the client according to the request occupation information and forming allocation information comprising the information of allocating the idle virtual speech seat to the client, wherein the information of allocating the idle virtual speech seat to the client comprises an idle virtual seat number corresponding to the idle virtual speech seat;
the second sending module is further configured to send the allocation information to the client;
the second receiving module is further configured to receive and store a mapping relationship sent by the client, where the mapping relationship is a mapping relationship between the virtual floor position number and the client ID number.
The multi-person voice conference chat device based on the figure 6 is characterized in that:
the second receiving module is further configured to receive join request information sent by the client, where the join request information includes information requesting to join the virtual conference room;
the second sending module is further configured to determine whether the client may join the virtual conference room, and if yes, send join permission information to the client.
The multi-person voice conference chat device in the embodiment of the invention can be used for realizing the multi-person voice conference chat method shown in fig. 2, and can enable a client user to quickly know the virtual speaking seat number and the current virtual speaking seat occupation state (which can be closer to the state of a conference room in the real world) which are uttered at the maximum and simultaneously in the virtual conference room after entering the virtual conference room by sending the virtual speaking seat occupation information to the client user, and enable the corresponding client user to quickly and effectively occupy the idle virtual speaking seat just like occupying the speaking seat in the conference room in the real world by subsequently receiving the request occupation information, allocating the idle virtual speaking seat to the client user, receiving and storing the mapping relation sent by the client user and the like, so as to speak in time, namely, by using the multi-person voice conference chat method in the embodiment of the invention, it is possible to more closely approximate a chat in a conference room in the real world, which can make the user make a "sitting speech" quickly and efficiently. In addition, in the embodiment, because the virtual speaking seats have the maximum virtual speaking seat number which can speak simultaneously, a certain number of users can be limited to speak simultaneously, so that when the server processes the voice information, partial voice information can be prevented from being taken as noise to be eliminated, the voice information is further prevented from being lost, and further, great obstacles to communication can be reduced.
The multi-person voice conference chat device based on fig. 6, as shown in fig. 7, further includes:
and the notification module is used for broadcasting the allocation information to other clients in the virtual conference room after allocating the idle virtual speak seat to the client.
Based on the multi-user voice conference chat device shown in fig. 6, as shown in fig. 7, the second receiving module is further configured to receive release information sent by the client after receiving the mapping relationship sent by the client, where the release information includes information for releasing a virtual speak seat currently occupied by the client;
and further comprising:
the second removing module is used for removing the mapping relation between the virtual speech floor position number currently occupied by the client and the client ID number according to the release information;
a changing module, configured to change a state of a virtual speaking seat currently occupied by the client to an idle virtual speaking seat;
and the notification module is also used for broadcasting and notifying the release information to other clients in the virtual meeting room.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present invention, and all such changes or substitutions are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.