Summary of the invention
Based on this, the invention provides a group conversation method and a group conversation device.
One group conversation method, comprises the following steps:
For each member in group distributes a cluster conversation identification code; Wherein, described cluster conversation identification code is corresponding with described group;
For a cluster conversation resource of described group's configuration;
According to described cluster conversation identification code, the member in described group is added in described cluster conversation resource.
Compared with prior art, cluster conversation method of the present invention, by the corresponding cluster conversation resource of a cluster conversation identification code (can be a unique character string), allows each client in same group add rapidly and accurately in a cluster conversation.Role without caller first goes to apply for cluster conversation resource, also without the information of notifying other cluster conversation resource that client application is arrived.Can allow a plurality of clients enter fast same voice conversation channel, and need to for other client, not apply in advance channel resource by server or a certain client, reduce the complexity of integrating group's phonetic function.Reduce the step of setting up cluster conversation, and reduced the communication load between client.
One group conversation device, comprises distribution module, configuration module and receiving module;
Described distribution module, is used to each member in group to distribute a cluster conversation identification code; Wherein, described cluster conversation identification code is corresponding with described group;
Described configuration module, is used to a cluster conversation resource of described group's configuration;
Described receiving module, for according to described cluster conversation identification code, adds the member in described group in described cluster conversation resource.
Compared with prior art, cluster conversation device of the present invention, by the corresponding cluster conversation resource of a cluster conversation identification code (can be a unique character string), allows each client in same group add rapidly and accurately in a cluster conversation.Role without caller first goes to apply for cluster conversation resource, also without the information of notifying other cluster conversation resource that client application is arrived.Can allow a plurality of clients enter fast same voice conversation channel, and need to for other client, not apply in advance channel resource by server or a certain client, reduce the complexity of integrating group's phonetic function.Reduce the step of setting up cluster conversation, and reduced the communication load between client.
Embodiment
For further setting forth the technological means that the present invention takes and the effect obtaining, below in conjunction with accompanying drawing and preferred embodiment, to technical scheme of the present invention, know and complete description.
Referring to Fig. 1, is the schematic flow sheet of cluster conversation method of the present invention.
Cluster conversation method of the present invention, comprises the following steps:
S101 is that each member in group distributes a cluster conversation identification code; Wherein, described cluster conversation identification code is corresponding with described group;
S102 is a cluster conversation resource of described group's configuration;
S103, according to described cluster conversation identification code, adds the member in described group in described cluster conversation resource.
Preferably, the cluster conversation in technical solution of the present invention is group's voice conversation.
Described group is the group in online game.According to group's name of the game name of described online game and described group, distribute described cluster conversation identification code.
Except the group's name according to the game name of described online game and described group, distribute cluster conversation identification code, can also adopt other variety of way.As long as the cluster conversation identification code and the group that distribute have relation one to one, just can guarantee an exclusive cluster conversation resource of Wei Gai group configuration.
In the application of online game, more and more higher to the demand of group's voice conversation at present.Member in same online game group often need to initiate cluster conversation, especially group's voice conversation.In addition, described group can also be the group in mobile phone games, thereby the present invention is obtained to application widely.
Along with the fast development of Android and iOS cell phone platform, also more and more abundanter for the cell phone software of these two platforms, except current micro-letter, the application such as microblogging, also constantly have an effect in mobile phone games market.Generally on mobile phone, be relatively applicable to operating simpler, the game that sociability is stronger, a plurality of players carry out interaction by voice group chat in game process, are reasonable functions.
Therefore, apply the present invention to mobile phone games, be with a wide range of applications.And, in current mobile phone games, also in the urgent need to the cluster conversation method as the present invention.
As one of them embodiment, during the cluster conversation request of the member in receiving first described group, be a cluster conversation resource of described group's configuration.After a cluster conversation resource of described group's configuration, the member who sends first cluster conversation request is added in described cluster conversation resource.
After group sets up, for each member in group allocates the corresponding cluster conversation identification code of Yi Geyugai group in advance, as long as there is a member to initiate cluster conversation request to server in group, background server is according to a cluster conversation resource of this pre-assigned cluster conversation identification code configuration.
As a typical application scenarios, in Mobile phone Games Software, set up after Yi Ge group, if there is cluster conversation demand in group, a player in group clicks the button of the cluster conversation request that this mobile game provides.Mobile phone games server is unique string of this mobile phone games group allocation according to the predefined rule of this mobile game, and mobile phone games server end, according to this unique string, distributes unique group's resource to each mobile phone games player.The player that mobile phone games server sends request first adds in cluster conversation, and after other player's request, they is added in cluster conversation in receiving mobile phone games group.
Cluster conversation identification code can not allocated in advance yet, but reallocates when having member to initiate cluster conversation request.
Before member in described group is added in described cluster conversation resource, receive the cluster conversation request of the member in described group.
Above-mentioned way makes the present invention have higher flexibility in practical operation aspect.For example, if there is one group of player to play one innings of game together, each player can, according to current " game name+room number+table number " such unique string of playing, directly go server application to enter corresponding cluster conversation.Server end can, according to this unique string, distribute unique group's resource to each player.When having a player to initiate voice conversation request by button click, server can complete on backstage the configuration of the member of group resource, and the request that receives this player is added in cluster conversation.
Preferably, after the cluster conversation request of the member in receiving described group, this member's cluster conversation identification code is verified; If the verification passes, this member is added in described cluster conversation resource.
In group, have after a member initiates cluster conversation request, other member in group can wait for the message of above-mentioned member or server, and according to described cluster conversation identification code, directly enters the cluster conversation channel of foundation.So both guarantee the efficient of cluster conversation process of establishing, and there is high accuracy and fail safe.
The process of above-mentioned checking can be carried out on backstage, can not affect crowd group member's experience.If have member outside group to want to add the cluster conversation of this group, because this member does not have Yu Gai group cluster conversation identification code one to one, therefore cannot enter.In the present invention, cluster conversation resource is corresponding one by one with group, and group group member enters cluster conversation by unique cluster conversation identification code.While applying the present invention to mobile game or other network game software, the request that enters cluster conversation normally realizes by button click, can be for cluster conversation arranges individual passage, so the personnel outside group cannot send request, and also cannot enter cluster conversation.
Compared with prior art, cluster conversation method of the present invention, by the corresponding cluster conversation resource of a cluster conversation identification code (can be a unique character string), allows each client in same group add rapidly and accurately in a cluster conversation.Role without caller first goes to apply for cluster conversation resource, also without the information of notifying other cluster conversation resource that client application is arrived.Can allow a plurality of clients enter fast same voice conversation channel, and need to for other client, not apply in advance channel resource by server or a certain client, reduce the complexity of integrating group's phonetic function.Reduce the step of setting up cluster conversation, and reduced the communication load between client.
The present invention, by the corresponding cluster conversation resource of unique string, can allow each client enter in a cluster conversation simultaneously, does not need caller and calledly carries out communication.The present invention is particularly suitable for mobile phone games developer.Manufacturer for being absorbed in exploitation mobile phone games, removes to realize a set of instant communicating system for the communication realizing between client, will be a very hard work.
For example, the present invention is embedded in game function, while having one group of player to play certain money game in game, player can, according to current " game name+room number+table number " such unique string, directly go server application to enter corresponding cluster conversation.Server can, according to this unique string, distribute unique group's resource to each player, thereby realize quickly and easily cluster conversation function.
Referring to Fig. 2, is the structural representation of cluster conversation device of the present invention.
Cluster conversation device of the present invention, comprises distribution module 201, configuration module 202 and receives module 203;
Described distribution module 201, is used to each member in group to distribute a cluster conversation identification code; Wherein, described cluster conversation identification code is corresponding with described group;
Described configuration module 202, is used to a cluster conversation resource of described group's configuration;
Described receiving module 203, for according to described cluster conversation identification code, adds the member in described group in described cluster conversation resource.
Preferably, during the cluster conversation request of the member in receiving first described group, described configuration module is a cluster conversation resource of described group's configuration.
Above-mentioned way makes the present invention have higher flexibility in practical operation aspect.For example, if there is one group of player to play one innings of game together, when having a player to initiate voice conversation request by button click, server can complete on backstage the configuration of the member of group resource, and the request that receives this player is added in cluster conversation.
Referring to Fig. 3, is the structural representation of a specific embodiment of cluster conversation device of the present invention.
Preferably, cluster conversation device of the present invention also comprises authentication module 204; Described authentication module is for verifying sending the member's of cluster conversation request cluster conversation identification code; If the verification passes, described receiving module adds this member in described cluster conversation resource.
In group, have after a member initiates cluster conversation request, other member in group can wait for the message of above-mentioned member or server, and according to described cluster conversation identification code, directly enters the cluster conversation channel of foundation.So both guarantee the efficient of cluster conversation process of establishing, and there is high accuracy and fail safe.For example, if there is member outside group to want to add the cluster conversation of this group, because this member does not have Yu Gai group cluster conversation identification code one to one, therefore cannot enter.
Compared with prior art, cluster conversation device of the present invention, by the corresponding cluster conversation resource of a cluster conversation identification code (can be a unique character string), allows each client in same group add rapidly and accurately in a cluster conversation.Role without caller first goes to apply for cluster conversation resource, also without the information of notifying other cluster conversation resource that client application is arrived.Can allow a plurality of clients enter fast same voice conversation channel, and need to for other client, not apply in advance channel resource by server or a certain client, reduce the complexity of integrating group's phonetic function.Reduce the step of setting up cluster conversation, and reduced the communication load between client.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.