CN106656529B - Create the method, apparatus and computer equipment of group - Google Patents

Create the method, apparatus and computer equipment of group Download PDF

Info

Publication number
CN106656529B
CN106656529B CN201710016716.4A CN201710016716A CN106656529B CN 106656529 B CN106656529 B CN 106656529B CN 201710016716 A CN201710016716 A CN 201710016716A CN 106656529 B CN106656529 B CN 106656529B
Authority
CN
China
Prior art keywords
group
user
candidate
level
relation table
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
CN201710016716.4A
Other languages
Chinese (zh)
Other versions
CN106656529A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710016716.4A priority Critical patent/CN106656529B/en
Publication of CN106656529A publication Critical patent/CN106656529A/en
Application granted granted Critical
Publication of CN106656529B publication Critical patent/CN106656529B/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
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment

Abstract

The present invention relates to a kind of method, apparatus and computer equipment for creating group.The above method includes: the request for receiving the first Client-initiated in the first group and creating the second group;The member of user's friend relation table of the first user according to the request and first group enters group relation table;Enter candidate member's table that group relation table generates second group according to the member of user's friend relation table and first group;Search the member that first user chooses in candidate member's table, it is generated according to the member of the selection and invites membership table, wherein, if the member of the selection is next stage candidate member, the corresponding upper level candidate member of the next stage candidate member will be selected;Upper level member in the invitation membership table sends the invitation request that second group is added to corresponding next stage member.The second group is added in the non-good friend member that the above method can choose the first user, and the mode for creating group is more convenient.

Description

Create the method, apparatus and computer equipment of group
Technical field
The present invention relates to field of computer technology, set more particularly to a kind of method, apparatus for creating group and computer It is standby.
Background technique
Universal with intelligent mobile terminal with the development of internet technology, more and more users pass through intelligent mobile end Instant communication software is communicated with other people in end.In instant communication software, group management function is one of common function, and user can pass through Group simultaneously with more people's exchanges and communication.In traditional technology, when user creates group in instant communication software, if desired from Having and chooses the new group of member's addition in group, new group is added in the good friend member that user can only choose user in existing group, and Non- good friend member cannot be chosen, new group is added, the mode for creating group is not convenient enough.
Summary of the invention
The embodiment of the present invention provides a kind of method, apparatus and computer equipment for creating group, can easily create group Group.
A method of creation group, comprising:
Receive the request that the first Client-initiated in the first group creates the second group;
The member of user's friend relation table of the first user according to the request and first group enters group Relation table;
Enter group relation table according to the member of user's friend relation table and first group and generates second group Candidate member's table;
The member that first user chooses in candidate member's table is searched, is generated and is invited according to the member of the selection It please membership table, wherein if the member of the selection is next stage candidate member, the next stage candidate member corresponding upper one Grade candidate member will be selected;
Upper level member in the invitation membership table sends to corresponding next stage member is added second group Invitation request.
A kind of device creating group, comprising:
Receiving module creates the request of the second group for receiving the first Client-initiated in the first group;
Module is obtained, for user's friend relation table of the first user according to the request and first group described The member of group enters group relation table;
First generation module, for entering group relation table according to the member of user's friend relation table and first group Generate candidate member's table of second group;
Second generation module, the member chosen in candidate member's table for searching first user, according to institute The member for stating selection, which generates, invites membership table, wherein if the member of the selection is next stage candidate member, the next stage The corresponding upper level candidate member of candidate member will be selected;
It sends and invites module, for sending out the upper level member in the invitation membership table to corresponding next stage member Send the invitation request that second group is added.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor Computer program, the processor perform the steps of when executing described program
Receive the request that the first Client-initiated in the first group creates the second group;
The member of user's friend relation table of the first user according to the request and first group enters group Relation table;
Enter group relation table according to the member of user's friend relation table and first group and generates second group Candidate member's table;
The member that first user chooses in candidate member's table is searched, is generated and is invited according to the member of the selection It please membership table, wherein if the member of the selection is next stage candidate member, the next stage candidate member corresponding upper one Grade candidate member will be selected;
Upper level member in the invitation membership table sends to corresponding next stage member is added second group Invitation request.
The method, apparatus and computer equipment of creation group in the embodiment of the present invention, are used based in the first group first User's friend relation at family and the member of the first group enter candidate member's table that group relation table generates the second group, to the first user The member chosen in above-mentioned candidate member's table sends the invitation request that the second group is added.Wherein, next in candidate member's table Grade member be selected, corresponding upper level member is also selected, i.e., upper level member be next stage member good friend, by upper Level-one member invites next stage member that the mode of the second group is added, and can choose the non-good friend member addition second group of the first user Group, the mode for creating group are more convenient.
Detailed description of the invention
Fig. 1 is the application environment schematic diagram that the method for group is created in one embodiment;
Fig. 2 is the schematic diagram of internal structure of server in one embodiment;
Fig. 3 is the flow chart that the method for group is created in one embodiment;
Fig. 4 is the flow chart that the method for group is created in another embodiment;
Fig. 5 is the interface schematic diagram of terminal where user b in one embodiment;
Fig. 6 is the interface schematic diagram of terminal where user b in another embodiment;
Fig. 7 is the interface schematic diagram of terminal where user a in one embodiment;
Fig. 8 is the structural block diagram that the device of group is created in one embodiment;
Fig. 9 is the structural block diagram that the device of group is created in another embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.
It is appreciated that term " first " used in the present invention, " second " etc. can be used to describe various elements herein, But these elements should not be limited by these terms.These terms are only used to distinguish the first element from the other element.Citing comes It says, without departing from the scope of the invention, first terminal can be known as to second terminal, and similarly, it can be by second Terminal is known as first terminal.First terminal and second terminal both terminal, but it is not same terminal.
Fig. 1 is the application environment schematic diagram that the method for group is created in one embodiment.As shown in Figure 1, the application environment Including first terminal 102, server 104, second terminal 106.Pass through network connection between first terminal 102 and server 104 Communication is communicated between second terminal 106 and server 104 by network connection.Wherein, where the first user in the first group Terminal be first terminal 102, first terminal 102 to server 104 send creation the second group request.Server 104 Enter group relation table according to the user's friend relation table of the first user of request and the member of the first group that receive, and according to upper The member for stating user's friend relation table and the first group enters candidate member's table that group relation table generates the second group, by the second group Candidate member's table be sent to first terminal 102 and in the showing interface of first terminal 102.First terminal 102 obtains first and uses The member that family is chosen in candidate member's table, and member's upload server 104 that the first user is chosen in candidate member's table. Server 104 generates according to the member that the first user chooses in candidate member's table and invites membership table, and is inviting to the first user Corresponding next stage member the invitation request that the second group is added please be sent in membership table.Wherein, the first user is inviting member Terminal in table where corresponding next stage member is second terminal 106, i.e. server 104 sends to second terminal 106 and is added The invitation of second group is requested.
Fig. 2 is the schematic diagram of internal structure of server in one embodiment.As shown in Fig. 2, the server includes passing through to be Processor, non-volatile memory medium, built-in storage and the network interface of bus of uniting connection.Wherein, the server is non-volatile Property storage medium be stored with operating system, database and the device for creating group, the group identification of group is stored in database Enter group relation table with corresponding member, the device of above-mentioned creation group is for realizing a kind of creation group for being suitable for server Method.The processor of the server supports the operation of entire server for providing calculating and control ability.The server it is interior Memory provides environment for the operation of the device of the creation group in non-volatile memory medium, can store in the built-in storage Computer-readable instruction when the computer-readable instruction is executed by the processor, may make the processor to execute a kind of wound The method for building group.The network interface of the server is communicated for passing through network connection with external terminal accordingly, for example is received The request for the creation group that terminal is sent and the invitation request etc. that addition group is sent to terminal.Server can be with independent The server cluster of server either multiple servers composition is realized.It will be understood by those skilled in the art that being shown in Fig. 2 Structure, only the block diagram of part-structure relevant to application scheme, does not constitute and is applied to it to application scheme On server restriction, specific server may include more certain than more or fewer components as shown in the figure, or combination Component, or with different component layouts.
Fig. 3 is the flow chart that the method for group is created in one embodiment.As shown in figure 3, a kind of method for creating group, Run on the server in Fig. 1, including step S302 to step S310.Wherein:
S302 receives the request that the first Client-initiated in the first group creates the second group.
In one embodiment, group is the combination with a kind of affairs of same characteristic features.For example, group can be Instant Messenger Believe the set of the user in software with interest.User belongs to some group, i.e., user identifier is corresponding with group identification foundation Relationship.User identifier is the character string for unique identification user identity, character string can be a kind of in number, letter and symbol or It is a variety of, it is without being limited thereto.Group identification is the character string for unique identification group identities, the character string can for number, letter and It is one or more in symbol, it is without being limited thereto.First group is a group for including the first user.First user in first group When creating group, it may choose whether choose first crowd of group member according to the first group creating group and create group. If the first terminal where the first user gets the request according to the first group creating group, that is, get the second group of creation Request, will create the second group request upload server.For example, in the name for creating the existing group of new group's showing interface Claim, if getting the operational order to existing group name, gets the instruction according to the first group creating group.Or There is the interface addition of group to create new group's button to get if getting the operational order to above-mentioned button according to first The instruction of group creating group.The second group of creation that terminal where server receives the first user in the first group is initiated Request.
S304 enters group relation table according to the member of user's friend relation table of the first user of request and the first group.
In one embodiment, what the request lookup for the second group of creation that server can be uploaded according to first terminal prestored User's friend relation table of first user and the member of the first group enter group relation table.Wherein, the user good friend of the first user is closed It is table storage corresponding with the user identifier of the first user;The member of first group enters the group identification of group relation table and the first group Corresponding storage.User identifier is the character string for unique identification user identity, and character string can be in number, letter and symbol one Kind is a variety of, without being limited thereto.User's friend relation table be for record with the set of the other users of user-association, i.e., and user The set of other users with friend relation.Such as in instant communication software, user B is the good friend of user A, then by user B It is recorded in the friend relation table of user A.Group identification is the character string for unique identification group identities, which can be It is one or more in number, letter and symbol, it is without being limited thereto.It is that group is added for recording member in group that member, which enters group relation table, The set of the information of group, member is added the information of group to may include that group creator, member are added corresponding when group in group Inviter etc..For example, including user: user a, user a1, user a2, user a11 and user b in group A.User a creates group Group A, and user a invites user a1 and user a2 that group A is added;User a1 invites user a11 that group A is added;User a2 is invited Group A is added in user b.Then the member of group A enters group relation table List-A and may be expressed as:
List-A [3]={ { user a, user a1, user a2 }
{ user a1, user a11 }
{ user a2, user b } }
Wherein, [3] indicate that group A has 3 groups of invitation relationships in List-A [3], i.e., { user a, user a1, user a2 } is the 1 group of invitation relationship;{ user a1, user a11 } is the 2nd group of invitation relationship;{ user a2, user b } is the 3rd group of invitation relationship, often First user is inviter in one group of invitation relationship, and to be that first user is corresponding with outdoor other users invited except first It please person.Such as in the 1st group of invitation relationship, user a is inviter, and user a1 and user a2 are the corresponding invitee of user a.
S306, according to the member of user's friend relation table and the first group enter group relation table generate the second group it is candidate at Member's table.
In one embodiment, server can be according to user's friend relation table of the first user of acquisition and the first group Member enters candidate member's table that group relation table generates the second group, and candidate member's table of the second group is sent to first eventually End, makes candidate member's table of the second group in the showing interface of first terminal.Wherein, server can obtain the user of the first user The good friend of first user in friend relation table, and by the member pair of the good friend of the first user and the first group, obtain first group The good friend for the first user for including in the member of group is as first order member in candidate member's table of the second group, server traversal The member of first group enters group relation table, obtains first order member in the first group and enters corresponding invitee in group relation table As second level member, then obtains second level member and enter in group relation table corresponding invitee as third in the first group Grade member, and so on, candidate member's table of the second group of recursive generation.Wherein, server is when obtaining second level member, if It detects that second level member and first order member have repetition, does not then show repetition member in the member of the second level.For example, group A In include user: user a, user a1, user a2, user a11 and user b.User b initiates the request of the second group of creation, root It is the good friend of user b according to user a and user a1 known to user's friend relation table of user b;The member of group A enters group relation table Are as follows:
List-A [3]={ { user a, user a1, user a2 }
{ user a1, user a11 }
{ user a2, user b } }
Then user a and user a1 is first order member in candidate member's table of the second group, in the corresponding second level user a It does not include user a1 in member.
S308 searches the member that the first user chooses in candidate member's table, is generated according to the member of selection and invite member Table, wherein if the member chosen is next stage candidate member, the corresponding upper level candidate member of next stage candidate member will be by It chooses.
In one embodiment, first terminal obtains the member that the first user chooses in candidate member's table, and will be above-mentioned Member's upload server that first user chooses in candidate member's table.Server selects in candidate member's table according to the first user Level relation between the member of the member and selection that take, which generates, invites membership table, i.e., first order member is pair in invitation membership table The first order member being selected in the candidate member's table answered;Inviting second level member in membership table is in corresponding candidate member's table The second level member being selected;Invite in membership table third level member be in corresponding candidate member's table the third level that is selected at Member.
Inviting for the second group is added inviting the upper level member in membership table to send to corresponding next stage member in S310 It please request.
In one embodiment, server sends to the terminal invited in membership table where first order member and is added second group The invitation request of group, if the first order member that the terminal where receiving first order member is sent receives the feedback invited, to Invite the corresponding second level member of first order member in membership table to send the invitation request that the second group is added, and so on to inviting All members the invitation request that the second group is added please be sent in membership table.
The method of above-mentioned creation group, user's friend relation and the first group based on the first user in the first group at Member enters candidate member's table that group relation table generates the second group, the member's hair chosen in above-mentioned candidate member's table to the first user Send the invitation request that the second group is added.Wherein, next stage member is selected in candidate member's table, corresponding upper level member Also it is selected, i.e., upper level member is the good friend of next stage member, passes through upper level member and next stage member is invited to be added second The second group is added in the mode of group, the non-good friend member that can choose the first user, and the mode for creating group is more convenient.
In one embodiment, in Fig. 3 step S306 according to the member of user's friend relation table and the first group enter group close It is candidate member's table that table generates the second group, comprising: using good friend of first user in the first group as the second group First order candidate member in candidate member's table;It is right by first order candidate member institute in group relation table is entered in the member of the first group The invitee answered is as the second level candidate member in candidate member's table of the second group;The candidate of the second group of recursive generation Membership table.
In one embodiment, server obtains the good friend of the first user in user's friend relation table of the first user, and By the member pair of the good friend of the first user and the first group, the good friend for the first user for including in the member of the first group is obtained As first order member in candidate member's table of the second group, the member that server traverses the first group enters group relation table, obtains First order member enters in group relation table corresponding invitee as second level member the first group, then obtain the second level at Member enters in group relation table corresponding invitee as third level member the first group, and so on, recursive generation second Candidate member's table of group.
It is raw that relation table is added according to the member of the friend relation of the first user and the first group in the method for above-mentioned creation group At candidate member's table of the second group, the non-good friend of the first user is shown into the next stage in its corresponding inviter, passes through choosing The good friend of the first user is taken, then chooses the mode of the corresponding next stage member of good friend of the first user, can choose the first user's The second group is added in non-good friend member, and the mode for creating group is more convenient.
In one embodiment, the method for above-mentioned creation group further include: when inviting membership table to include first order member, the Second level member and third level member, first order member be second level member upper level member, second level member be the third level at Member upper level member, and third level member be first order member good friend when, by first order member to third level member send out Send the invitation request that the second group is added.
In one embodiment, upper level member sends to corresponding next stage member and is added second group in invitation membership table When the invitation request of group, the priority of good friend is higher than the priority of rank.Invite in membership table upper level member to corresponding When next stage member sends the invitation request that the second group is added, server is obtained according to the friend relation table of upper level member The good friend of level-one member obtains and invites under the corresponding next stage member of upper level member, next stage member are corresponding in membership table Level-one member, and so on obtain invite membership table in the corresponding all junior members of upper level member.By upper level member's Good friend all junior members corresponding with upper level member are compared, and obtain in the corresponding all junior members of upper level member The good friend of upper level member is sent to the good friend of upper level member in all junior members by upper level member and is added second group The invitation request of group.For example, user a is first order member in inviting membership table, user a1 is the corresponding second level user a Member, user a11 are the corresponding third level member of user a1.Terminal where from server to user a, which is sent, is added the second group Invitation request, it is good according to the user of user a if the member that sends of the terminal where receiving user a receives the feedback of invitation Friendly relation table detects that user a1 and user a11 are the good friend of user a, then sends to user a1 and user a11 and be added second The invitation of group is requested.
The method of above-mentioned creation group, it is real when upper level member invites corresponding next stage member that the second group is added The priority of existing good friend is higher than the priority of rank, i.e. upper level member can invite its corresponding junior member across grade, improve Create the efficiency of group.
In one embodiment, the method for above-mentioned creation group further include: the member for obtaining the second group enters group relation, root Enter group relation table according to the member that the member of the second group enters the second group of group relation generation;The group identification of the second group is obtained, The member of second group is entered into the storage corresponding with the group identification of the second group of group relation table.
In one embodiment, server sends to the terminal invited in membership table where member and inviting for the second group is added It please request, if the member for receiving terminal transmission receives the feedback invited, record receives the corresponding invitation of the member invited Person, that is, record member in the second group enters group relation, enters group relation according to the member of the second group and generate member to enter group relation Table.In other embodiments, member enters in group relation table that also recordable member enters group time, member enters group mode etc..
Group identification and the member of group are entered the corresponding storage of group relation table, are conducive to take by the method for above-mentioned creation group Business device enters group relation table according to the member that group identification searches corresponding group, improves the efficiency of creation group.
In one embodiment, the method for above-mentioned creation group further include: in the terminal interface exhibition where upper level member After showing the prompt information for whether inviting the corresponding next stage member of upper level member, if receive terminal upload to prompt information Confirmation operational order, the invitation request that the second group is added is sent to the corresponding next stage member of upper level member.
In one embodiment, server sends to the terminal invited in membership table where first order member and is added second group The invitation request of group, if first order member, which receives to invite, is added the second group, at the end for the first order member that the second group is added Whether end showing interface invites the prompt information of the corresponding second level member of above-mentioned first order member, and terminal is got to be mentioned to above-mentioned After showing the confirmation operational order of information, by the confirmation operational order upload server to above-mentioned prompt information, server is to first The corresponding second level member of grade member sends the invitation request that the second group is added.And so on to invite membership table in it is all at Member sends the invitation request that the second group is added.
In one embodiment, as shown in figure 4, a kind of method for creating group, including step S402 to step S410.Its In:
S402, the terminal in group where user b send the request based on group A creation group B.
S404, terminal receive the candidate member's table for the group B that server is sent and show.As shown in figure 5, in user b institute In candidate member's table of terminal display group B, wherein user a, user a2 and user a3 are the good friend of user b, are candidate member First order candidate member in table.Entering group relation table according to the member of group A, it is known that user a1 is invited by user a and group B is added, User a11 is invited by user a1 is added group B, and user a21 is invited by user a2 and group B is added, and user a31 is invited by user a3 Group B is added.Then user a1 is the corresponding second level candidate member of user a, and user a11 is that the corresponding third level of user a1 is candidate Member;User a21 is the corresponding second level candidate member of user a2;User a31 is the corresponding second level candidate member of user a3. User b is in choosing candidate member's table when member, if next stage member is selected, corresponding upper level member is also selected. As shown in figure 5, user b chooses user a11 in candidate member's table, then the corresponding upper level Member Users a1 of user a11 quilt automatically It chooses, the corresponding upper level Member Users a of user a1 is selected automatically.
S406, terminal get the triggering command that button is chosen to confirmation, whether confirm selection in terminal interface pop-up Prompt information, if so, entering step S408;If it is not, return step S404.
S408, member's upload server that terminal chooses user b in candidate member's table generate server and invite member Table, and first order Chinese idiom sends the invitation request that group B is added into invitation membership table.
S410 at the interface of the terminal display group B where user b, and is added relation table according to the member of group B and shows Situation to be added.As shown in fig. 6, at the interface of terminal display group B where user b, and show the situation to be added of group B, Such as, user b invites user a, user a2 that group B is added;Invite user a1 that group B is added to user a;User is invited to user a1 Group B is added in a11.
Wherein, good friend's priority in membership table is invited to be higher than level priorities, as shown in figure 5, user a1 is under user a Level-one member, user a11 is the next stage member of user a, and user a1 and user a11 are the good friend of user a, and user a connects After the invitation request of group B is added, at the interface of the terminal display group B where user a, and show whether invite user a1 With the prompt information of user a11.As shown in fig. 7, whether inviting user a1, user a11 in the terminal interface displaying where user a The prompt information of group B is added, if getting the triggering command to ACK button, that is, gets and user a1, user a11 is invited to add The instruction for entering group B, the terminal seen where above-metioned instruction upload server makes server to user a1 and user a11, which is sent, to be added The invitation of group B is requested.
The method of above-mentioned creation group, user's friend relation and the first group based on the first user in the first group at Member enters candidate member's table that group relation table generates the second group, the member's hair chosen in above-mentioned candidate member's table to the first user Send the invitation request that the second group is added.Wherein, next stage member is selected in candidate member's table, corresponding upper level member Also it is selected, i.e., upper level member is the good friend of next stage member, passes through upper level member and next stage member is invited to be added second The second group is added in the mode of group, the non-good friend member that can choose the first user, and the mode for creating group is more convenient.
Fig. 8 is the structural block diagram that the device of group is created in one embodiment.As shown in figure 8, a kind of create to realize in Fig. 3 The virtual bench for building the method institute framework of group, runs on the server in Fig. 1, including receiving module 802, acquisition module 804, module 810 is invited in the first generation module 806, the second generation module 808, transmission.Wherein:
Receiving module 802 creates the request of the second group for receiving the first Client-initiated in the first group.
Module 804 is obtained, for according to user's friend relation table of the first user of request and the member of the first group Enter group relation table.
First generation module 806 is generated for entering group relation table according to the member of user's friend relation table and the first group Candidate member's table of second group.
Second generation module 808, the member that is chosen in candidate member's table for searching the first user, according to selection at Member, which generates, invites membership table, wherein if the member chosen is next stage candidate member, next stage candidate member corresponding upper one Grade candidate member will be selected.
It sends and invites module 810, inviting the upper level member in membership table to send out to corresponding next stage member for making Send the invitation request that the second group is added.
The device of above-mentioned creation group, user's friend relation and the first group based on the first user in the first group at Member enters candidate member's table that group relation table generates the second group, the member's hair chosen in above-mentioned candidate member's table to the first user Send the invitation request that the second group is added.Wherein, next stage member is selected in candidate member's table, corresponding upper level member Also it is selected, i.e., upper level member is the good friend of next stage member, passes through upper level member and next stage member is invited to be added second The second group is added in the mode of group, the non-good friend member that can choose the first user, and the mode for creating group is more convenient.
In one embodiment, the first generation module 806 be also used to the good friend using the first user in the first group as First order candidate member in candidate member's table of second group;It is waited the first order in group relation table is entered in the member of the first group Invitee corresponding to the person of hanking is as the second level candidate member in candidate member's coin table of the second group;Recursive generation Candidate member's table of two groups.
It is raw that relation table is added according to the member of the friend relation of the first user and the first group in the device of above-mentioned creation group At candidate member's table of the second group, the non-good friend of the first user is shown into the next stage in its corresponding inviter, passes through choosing The good friend of the first user is taken, then chooses the mode of the corresponding next stage member of good friend of the first user, can choose the first user's The second group is added in non-good friend member, and the mode for creating group is more convenient.
In one embodiment, it sends and module 810 is invited to be also used to when inviting membership table include first order member, the second level Member and third level member, first order member are the upper level member of second level member, and second level member is third level member's Upper level member, and third level member be first order member good friend when, by first order member to third level member send plus Enter the invitation request of the second group.
The device of above-mentioned creation group, it is real when upper level member invites corresponding next stage member that the second group is added The priority of existing good friend is higher than the priority of rank, i.e. upper level member can invite its corresponding junior member across grade, improve Create the efficiency of group.
In one embodiment, sending invitation module 810 and being also used to show in the terminal interface where upper level member is After the no prompt information for inviting the corresponding next stage member of upper level member, if receive terminal upload to prompt information really Recognize operational order, the invitation request that the second group is added is sent to the corresponding next stage member of upper level member.
Fig. 9 is the structural block diagram that the device of group is created in another embodiment.As shown in figure 9, a kind of creation group Device, comprising: receiving module 902 obtains module 904, the first generation module 906, the second generation module 908, sends and invite mould Block 910 and memory module 912.Wherein, receiving module 902, acquisition module 904, the first generation module 906, the second generation module 908 and send invite module 910 it is identical as functions of modules corresponding in Fig. 8.
Memory module 912, the member for obtaining the second group enter group relation, enter group relation according to the member of the second group The member for generating the second group enters group relation table;The member of second group is entered group relation by the group identification for obtaining the second group Table storage corresponding with the group identification of the second group.
Group identification and the member of group are entered the corresponding storage of group relation table, are conducive to take by the device of above-mentioned creation group Business device enters group relation table according to the member that group identification searches corresponding group, improves the efficiency of creation group.
The division of modules is only used for for example, in other embodiments, can incite somebody to action in the device of above-mentioned creation group The device of creation group is divided into different modules as required, to complete all or part of function of the device of above-mentioned creation group Energy.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor Computer program (instruction), processor realize following steps (1) to (5) when executing program:
(1) request that the first Client-initiated in the first group creates the second group is received.
In one embodiment, group is the set in instant communication software with associated user.First group is packet Include the group of the first user.The first user may choose whether to be created according to the first group when creating group in first group Group is built, i.e., whether chooses first crowd of group member and creates group.If the first terminal where the first user is got according to The request of one group creating group gets the request of the second group of creation, will create the request upload service of the second group Device.For example, in the title for creating the existing group of new group's showing interface, if getting the operational order to existing group name, Then get the instruction according to the first group creating group.Or new group's button is created in the interface addition of existing group, if obtaining The operational order to above-mentioned button is got, that is, gets the instruction according to the first group creating group.Server receives first group The request for the second group of creation that terminal where the first user in group is initiated.
(2) group relation table is entered according to the member of user's friend relation table of the first user of request and the first group.
In one embodiment, what the request lookup for the second group of creation that server can be uploaded according to first terminal prestored User's friend relation table of first user and the member of the first group enter group relation table.Wherein, the user good friend of the first user is closed It is table storage corresponding with the user identifier of the first user;The member of first group enters the group identification of group relation table and the first group Corresponding storage.User identifier is the character string for unique identification user identity, and character string can be in number, letter and symbol one Kind is a variety of, without being limited thereto.User's friend relation table be for record with the set of the other users of user-association, i.e., and user The set of other users with friend relation.Such as in instant communication software, user B is the good friend of user A, then by user B It is recorded in the friend relation table of user A.Group identification is the character string for unique identification group identities, which can be It is one or more in number, letter and symbol, it is without being limited thereto.It is that group is added for recording member in group that member, which enters group relation table, The set of the information of group, member is added the information of group to may include that group creator, member are added corresponding when group in group Inviter etc..
(3) candidate member that group relation table generates the second group is entered according to the member of user's friend relation table and the first group Table.
In one embodiment, server can be according to user's friend relation table of the first user of acquisition and the first group Member enters candidate member's table that group relation table generates the second group, and candidate member's table of the second group is sent to first eventually End, makes candidate member's table of the second group in the showing interface of first terminal.Wherein, server can obtain the user of the first user The good friend of first user in friend relation table, and by the member pair of the good friend of the first user and the first group, obtain first group The good friend for the first user for including in the member of group is as first order member in candidate member's table of the second group, server traversal The member of first group enters group relation table, obtains first order member in the first group and enters corresponding invitee in group relation table As second level member, then obtains second level member and enter in group relation table corresponding invitee as third in the first group Grade member, and so on, candidate member's table of the second group of recursive generation.Wherein, server is when obtaining second level member, if It detects that second level member and first order member have repetition, does not then show repetition member in the member of the second level.
(4) member that the first user chooses in candidate member's table is searched, is generated according to the member of selection and invites membership table, Wherein, if the member chosen is next stage candidate member, the corresponding upper level candidate member of next stage candidate member will be chosen It takes.
In one embodiment, first terminal obtains the member that the first user chooses in candidate member's table, and will be above-mentioned Member's upload server that first user chooses in candidate member's table.Server selects in candidate member's table according to the first user Level relation between the member of the member and selection that take, which generates, invites membership table, i.e., first order member is pair in invitation membership table The first order member being selected in the candidate member's table answered;Inviting second level member in membership table is in corresponding candidate member's table The second level member being selected;Invite in membership table third level member be in corresponding candidate member's table the third level that is selected at Member.
(5) the upper level member in invitation membership table sends the invitation that the second group is added to corresponding next stage member Request.
In one embodiment, server sends to the terminal invited in membership table where first order member and is added second group The invitation request of group, if the first order member that the terminal where receiving first order member is sent receives the feedback invited, to Invite the corresponding second level member of first order member in membership table to send the invitation request that the second group is added, and so on to inviting All members the invitation request that the second group is added please be sent in membership table.
The member of above-mentioned computer equipment, user's friend relation and the first group based on the first user in the first group enters Group relation table generates candidate member's table of the second group, and the member chosen in above-mentioned candidate member's table to the first user, which sends, to be added Enter the invitation request of the second group.Wherein, next stage member is selected in candidate member's table, corresponding upper level member also by It chooses, i.e., upper level member is the good friend of next stage member, passes through upper level member and invites next stage member that the second group is added Mode, the second group is added in the non-good friend member that can choose the first user, and the mode for creating group is more convenient.
In one embodiment, the step of being realized when processor executes program in above-mentioned computer equipment: good according to user The member of friendly relation table and the first group enters candidate member's table that group relation table generates the second group, comprising: the first user exists Good friend in first group is as the first order candidate member in candidate member's table of the second group;It will be in the member of the first group Enter invitee corresponding to first order candidate member in group relation table to wait as the second level in the candidate member of the second group The person of hanking;Candidate member's table of the second group of recursive generation.
In one embodiment, server obtains the good friend of the first user in user's friend relation table of the first user, and By the member pair of the good friend of the first user and the first group, the good friend for the first user for including in the member of the first group is obtained As first order member in candidate member's table of the second group, the member that server traverses the first group enters group relation table, obtains First order member enters in group relation table corresponding invitee as second level member the first group, then obtain the second level at Member enters in group relation table corresponding invitee as third level member the first group, and so on, recursive generation second Candidate member's table of group.
Above-mentioned computer equipment is added relation table according to the member of the friend relation of the first user and the first group and generates the The non-good friend of first user is shown the next stage in its corresponding inviter by candidate member's table of two groups, by choosing the The good friend of one user, then the mode of the corresponding next stage member of good friend of the first user is chosen, the non-good of the first user can be chosen The second group is added in friendly member, and the mode for creating group is more convenient.
In one embodiment, it is also performed the steps of when processor executes program in above-mentioned computer equipment when invitation Membership table includes first order member, second level member and third level member, first order member be second level member upper level at Member, second level member are the upper level member of third level member, and when third level member is the good friend of first order member, by the Level-one member sends the invitation request that the second group is added to third level member.
In one embodiment, upper level member sends to corresponding next stage member and is added second group in invitation membership table When the invitation request of group, the priority of good friend is higher than the priority of rank.Invite in membership table upper level member to corresponding When next stage member sends the invitation request that the second group is added, server is obtained according to the friend relation table of upper level member The good friend of level-one member obtains and invites under the corresponding next stage member of upper level member, next stage member are corresponding in membership table Level-one member, and so on obtain invite membership table in the corresponding all junior members of upper level member.By upper level member's Good friend all junior members corresponding with upper level member are compared, and obtain in the corresponding all junior members of upper level member The good friend of upper level member is sent to the good friend of upper level member in all junior members by upper level member and is added second group The invitation request of group.
Above-mentioned computer equipment is realized when upper level member invites corresponding next stage member that the second group is added The priority of friend is higher than the priority of rank, i.e. upper level member can invite its corresponding junior member across grade, improve creation The efficiency of group.
In one embodiment, acquisition the is also performed the steps of when processor executes program in above-mentioned computer equipment The member of two groups enters group relation, enters group relation table according to the member that the member of the second group enters the second group of group relation generation; The member of second group, is entered that group relation table is corresponding with the group identification of the second group to be deposited by the group identification for obtaining the second group Storage.
In one embodiment, server sends to the terminal invited in membership table where member and inviting for the second group is added It please request, if the member for receiving terminal transmission receives the feedback invited, record receives the corresponding invitation of the member invited Person, that is, record member in the second group enters group relation, enters group relation according to the member of the second group and generate member to enter group relation Table.In other embodiments, member enters in group relation table that also recordable member enters group time, member enters group mode etc..
Group identification and the member of group are entered the corresponding storage of group relation table, are conducive to server by above-mentioned computer equipment Enter group relation table according to the member that group identification searches corresponding group, improves the efficiency of creation group.
In one embodiment, it also performs the steps of when processor executes program in above-mentioned computer equipment upper one After terminal interface where grade member shows the prompt information for whether inviting the corresponding next stage member of upper level member, if receiving The confirmation operational order to prompt information uploaded to terminal sends to the corresponding next stage member of upper level member and is added second The invitation of group is requested.
In one embodiment, server sends to the terminal invited in membership table where first order member and is added second group The invitation request of group, if first order member, which receives to invite, is added the second group, at the end for the first order member that the second group is added Whether end showing interface invites the prompt information of the corresponding second level member of above-mentioned first order member, and terminal is got to be mentioned to above-mentioned After showing the confirmation operational order of information, by the confirmation operational order upload server to above-mentioned prompt information, server is to first The corresponding second level member of grade member sends the invitation request that the second group is added.And so on to invite membership table in it is all at Member sends the invitation request that the second group is added.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage is situated between Matter can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) etc..
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (9)

1. a kind of method for creating group characterized by comprising
Receive the request that the first Client-initiated in the first group creates the second group;
The member of user's friend relation table of the first user according to the request and first group enters group relation Table;
Enter the time that group relation table generates second group according to the member of user's friend relation table and first group Select membership table;
Search the member that first user chooses in candidate member's table, according to the member of the selection generate invite at Member's table, wherein if the member of the selection is next stage candidate member, the corresponding upper level of the next stage candidate member is waited The person of hanking will be selected;
Upper level member in the invitation membership table sends to corresponding next stage member is added inviting for second group It please request;
The member according to user's friend relation table and first group enters group relation table and generates second group Candidate member's table, comprising:
Using the good friend of first user in the first group as first in candidate member's table of second group Grade candidate member;
Using the member of first group enter invitee corresponding to first order candidate member described in group relation table as Second level candidate member in candidate member's table of second group;
Using the member of first group enter invitee corresponding to second level candidate member described in group relation table as Third level candidate member in candidate member's table of second group;
Candidate member's table of second group described in recursive generation.
2. the method for creation group according to claim 1, which is characterized in that the method also includes:
When the invitation membership table includes first order member, second level member and third level member, the first order member is institute State the upper level member of second level member, the second level member is the upper level member of the third level member, and described the When three-level member is the good friend of the first order member, is sent by the first order member to the third level member and institute is added State the invitation request of the second group.
3. the method for creation group according to claim 1, which is characterized in that the method also includes:
The member for obtaining the second group enters group relation, according to the member of second group enter group relation generate the second group at Member enters group relation table;
The member of second group is entered the group of group relation table Yu second group by the group identification for obtaining the second group The corresponding storage of mark.
4. the method for creation group according to claim 1, which is characterized in that the method also includes:
The corresponding next stage member of the upper level member whether is invited in the terminal interface displaying where the upper level member Prompt information after, if receive terminal upload the confirmation operational order to the prompt information, Xiang Suoshu upper level member Corresponding next stage member sends the invitation request that second group is added.
5. a kind of device for creating group characterized by comprising
Receiving module creates the request of the second group for receiving the first Client-initiated in the first group;
Module is obtained, user's friend relation table and first group for the first user according to the request Member enters group relation table;
First generation module is generated for entering group relation table according to the member of user's friend relation table and first group Candidate member's table of second group;
Second generation module, the member chosen in candidate member's table for searching first user, according to the choosing The member taken, which generates, invites membership table, wherein if the member of the selection is next stage candidate member, the next stage is candidate The corresponding upper level candidate member of member will be selected;
It sends and invites module, add for sending the upper level member in the invitation membership table to corresponding next stage member Enter the invitation request of second group;
First generation module is also used to using first user good friend in the first group as described second group First order candidate member in candidate member's table of group;The first order described in group relation table will be entered in the member of first group Invitee corresponding to candidate member is as the second level candidate member in candidate member's table of second group;Will institute The member for stating the first group enters invitee corresponding to second level candidate member described in group relation table as described second group Third level candidate member in candidate member's table of group;Candidate member's table of second group described in recursive generation.
6. the device of creation group according to claim 5, which is characterized in that the transmission invites module to be also used to work as institute Stating and inviting membership table includes first order member, second level member and third level member, and the first order member is the second level The upper level member of member, the second level member are the upper level member of the third level member, and the third level member For the first order member good friend when, by the first order member to the third level member send be added it is described second group The invitation request of group.
7. the device of creation group according to claim 5, which is characterized in that described device further include:
Memory module, the member for obtaining the second group enter group relation, and it is raw to enter group relation according to the member of second group Enter group relation table at the member of the second group;The member of second group is entered group and closed by the group identification for obtaining the second group It is table storage corresponding with the group identification of second group.
8. the device of creation group according to claim 5, which is characterized in that the transmission invites module to be also used in institute Whether the terminal interface displaying where stating upper level member invites the prompt of the corresponding next stage member of the upper level member to believe After breath, if the confirmation operational order to the prompt information of terminal upload is received, under Xiang Suoshu upper level member is corresponding Level-one member sends the invitation request that second group is added.
9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, which is characterized in that the processor performs the steps of when executing described program
Receive the request that the first Client-initiated in the first group creates the second group;
The member of user's friend relation table of the first user according to the request and first group enters group relation Table;
Enter the time that group relation table generates second group according to the member of user's friend relation table and first group Select membership table;
Search the member that first user chooses in candidate member's table, according to the member of the selection generate invite at Member's table, wherein if the member of the selection is next stage candidate member, the corresponding upper level of the next stage candidate member is waited The person of hanking will be selected;
Upper level member in the invitation membership table sends to corresponding next stage member is added inviting for second group It please request;
The member according to user's friend relation table and first group enters group relation table and generates second group Candidate member's table, comprising:
Using the good friend of first user in the first group as first in candidate member's table of second group Grade candidate member;
Using the member of first group enter invitee corresponding to first order candidate member described in group relation table as Second level candidate member in candidate member's table of second group;
Using the member of first group enter invitee corresponding to second level candidate member described in group relation table as Third level candidate member in candidate member's table of second group;
Candidate member's table of second group described in recursive generation.
CN201710016716.4A 2017-01-10 2017-01-10 Create the method, apparatus and computer equipment of group Active CN106656529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710016716.4A CN106656529B (en) 2017-01-10 2017-01-10 Create the method, apparatus and computer equipment of group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710016716.4A CN106656529B (en) 2017-01-10 2017-01-10 Create the method, apparatus and computer equipment of group

Publications (2)

Publication Number Publication Date
CN106656529A CN106656529A (en) 2017-05-10
CN106656529B true CN106656529B (en) 2019-10-18

Family

ID=58843493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710016716.4A Active CN106656529B (en) 2017-01-10 2017-01-10 Create the method, apparatus and computer equipment of group

Country Status (1)

Country Link
CN (1) CN106656529B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108875993B (en) * 2017-05-16 2022-05-10 清华大学 Invitation behavior prediction method and device
CN107196773B (en) * 2017-06-09 2019-11-15 谢海春 The method and system of interim conversation is quickly established with one or more members of group
CN107317690A (en) * 2017-07-28 2017-11-03 努比亚技术有限公司 Group's processing method, mobile terminal and computer-readable storage medium
CN108055193A (en) * 2017-12-11 2018-05-18 程桂平 Using activity as the communication means of medium
CN111970133B (en) * 2019-05-20 2023-07-14 广州腾讯科技有限公司 Group processing method, group processing device, computer readable storage medium and computer equipment
CN110365498B (en) * 2019-06-28 2021-07-06 武汉广志信息科技股份有限公司 Group new construction and message interaction method and system
CN111628876B (en) * 2020-05-22 2023-04-14 腾讯科技(深圳)有限公司 Method and device for establishing group and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905466A (en) * 2005-07-30 2007-01-31 腾讯科技(深圳)有限公司 Cluster communication system and method for establishing discussing cluster
CN104216947A (en) * 2014-08-08 2014-12-17 腾讯科技(深圳)有限公司 Method and device for inviting user to join group
CN105099724A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Group creation method and device
CN105634930A (en) * 2016-03-01 2016-06-01 腾讯科技(深圳)有限公司 Method and device for inviting user to join session group
CN106230610A (en) * 2016-09-29 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of group chat method and communication terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534207B (en) * 2009-04-13 2012-05-23 腾讯科技(深圳)有限公司 Group joining system and group joining method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905466A (en) * 2005-07-30 2007-01-31 腾讯科技(深圳)有限公司 Cluster communication system and method for establishing discussing cluster
CN104216947A (en) * 2014-08-08 2014-12-17 腾讯科技(深圳)有限公司 Method and device for inviting user to join group
CN105099724A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Group creation method and device
CN105634930A (en) * 2016-03-01 2016-06-01 腾讯科技(深圳)有限公司 Method and device for inviting user to join session group
CN106230610A (en) * 2016-09-29 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of group chat method and communication terminal

Also Published As

Publication number Publication date
CN106656529A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106656529B (en) Create the method, apparatus and computer equipment of group
CN103428069B (en) Method and device for adding friends in social network
CN103412920B (en) terminal, server and information display method
CN102164170B (en) contextual correlation engine
CN103246973B (en) Method and electronic apparatus for associating note and calendar event
CN101958848B (en) There is the answer system that the social community of collaboration constraints generates
US6714981B1 (en) Addressing system and method for communicating data
CN101175051A (en) Instant communication system, method and apparatus
CN107342932A (en) A kind of information interacting method and terminal
CN100450001C (en) Method for establishing online enterprise and joining online enterprise quickly
CN105302809A (en) Group user level association method and system
CN105808649B (en) A kind of search result ordering method and its equipment
CN102572105B (en) A kind of method and terminal for processing associated person information
CN109787785A (en) Group management, background server and terminal
CN111325004B (en) File commenting and viewing method
CN107193937A (en) A kind of method and information retrieval device for searching for information
CN104506624B (en) A kind of social information management system and management method
CN106060113A (en) Account push method and device
JP2013501278A (en) Method and apparatus for sharing telephone number information
CN103117914A (en) Friend recommendation method and system based on instant messaging tools
CN109829123A (en) A kind of method for sending information and device
CN108353018A (en) Send the method, apparatus and system of message
CN107145598A (en) Quick Response Code associates page method and terminal
CN101136869A (en) Method for generating search intention based contacts group of instant communication system
CN106933458A (en) Intellectual property managing method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant