CN102075456B - Group creating and member adding method in distributed domain management system - Google Patents

Group creating and member adding method in distributed domain management system Download PDF

Info

Publication number
CN102075456B
CN102075456B CN 201110046482 CN201110046482A CN102075456B CN 102075456 B CN102075456 B CN 102075456B CN 201110046482 CN201110046482 CN 201110046482 CN 201110046482 A CN201110046482 A CN 201110046482A CN 102075456 B CN102075456 B CN 102075456B
Authority
CN
China
Prior art keywords
group
management
user
server
person
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.)
Expired - Fee Related
Application number
CN 201110046482
Other languages
Chinese (zh)
Other versions
CN102075456A (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.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN 201110046482 priority Critical patent/CN102075456B/en
Publication of CN102075456A publication Critical patent/CN102075456A/en
Application granted granted Critical
Publication of CN102075456B publication Critical patent/CN102075456B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a group creating and member adding method in a distributed domain management system, which is characterized by comprising the following steps: step 1, a user logs in a current local domain group management server, the local domain group management server distinguishes that the user is a local in-domain user or a non-local roaming user, and stores the current user login state; step 2, a group creator logs in the local domain group management server, creates a new group on the local domain group management server, and maintains the locally created groups and group member information of the locally accessed groups; and a step 3, the user applies for joining the group or is invited by a group manager to join the group. The invention implements the group creating and the group member adding in the distributed domain management system.

Description

Group in the distributed domain management system sets up and member adding method
Technical field
The present invention relates to instant messaging, the group that particularly relates in a kind of distributed domain management system sets up and member adding method.
Background technology
Current, the JICQ development is more and more faster, has become one of indispensable critical software of resident's life on line, and the role of instant messaging amusement and recreation has from the beginning become one of individual basic communication information till now.Group service is one of major function in instant messaging, can provide a good intercommunion platform for the crowd with features such as same interest hobby or similar actions by group service, make telex network have more real-time, specific aim and high efficiency, the user can participate in various dissimilar exchanges and communication in different groups, can greatly improve like this specific aim that the user uses, the use cost of also having saved the user simultaneously.
The group management function that relates in the current main-stream JICQ is generally all based on client/center cluster server pattern, the interpolation of group and deletion, group members invite add with withdraw from etc. be all the Administrator Client directly and center management and group server interaction realize, brought great pressure for like this center management and group server.Simultaneously, increasing group management function demand concentrates on more careful group's classification day by day, according to different scopes, user preferences, recreation etc.Sometimes, the certain user need to add certain group temporarily, can continue to transfer to other groups after specifically exchanging or linking up, this just needs group service to provide based on setting up of user's request different provisional group and the normal group that uses, and the above-mentioned Classification Management ability of shortcoming in the function technical scheme of the group of present realization.
development along with NGN Core Technologies, increasing network application is based on the distributed domain management mode, the situation of namely being in charge of local domain by server or the gateway of the current field management, the user in other territories or group are responsible for maintenance by the corresponding management server in other territories, can greatly alleviate the pressure that center management and group server is set like this, simultaneously, group client can be set up interim or normal group by local domain management and group server at local domain easily, invite or accept other users and add, withdraw from, safeguard group advertisement, the functions such as group chatting, application simultaneously adds other specific group, and the shortcoming technical scheme corresponding with distributed management still in the group management system of current realization.
Summary of the invention
The object of the present invention is to provide the group in a kind of distributed domain management system to set up and member adding method, be used for solving prior art and bring larger pressure and user to add, participate in the problem of the movable underaction of group to center management and group server.
To achieve these goals, the group that the invention provides in a kind of distributed domain management system sets up and member adding method, comprising:
Step 1, the user logins current local domain management and group server, and it is local intra domain user or outer region roamer that local domain management and group server is distinguished this user, and preserves active user's logging status;
Step 2, group creator login local territory management and group server is set up new group on local domain management and group server, and is maintained in the local group that sets up and in the group member information of this locality access;
Step 3, the user applies for or is invited by management and group person adding group.
Described group sets up and member adding method, wherein, in described step 1, comprising:
The user sends log messages, and it be local intra domain user or outer region roamer that local domain management and group server is distinguished the user according to log messages, obtains user's login result and the information list of this user affiliated group;
Local domain management and group server feeds back to the user with the information list of group under this user's login result and this user, the information that other members under this user of management and group server notification under this user under group in group have the member to login, other members upgrade current login user list.
Described group sets up and member adding method, wherein, in described step 1, comprising:
Local domain management and group server will be inquired about this user place group information in local data base when the user is the local user, form the information list of group under this user, return to the login result; When the user is outer region roamer, inquire about to the management and group server in this territory, user place, and Query Result is formed the information list of group under this user, return to the login result.
Described group sets up and member adding method, and wherein, the content of described log messages comprises: user ID, user's pet name, the ID of group to be logined, user's logging status, extension.
Described group sets up and member adding method, wherein, in described step 2, comprising:
Group creator sends the message packet that creates group, local domain management and group server receives and parses group information, and carry out group and set up operation, and group information is kept in the database of local domain management and group server, and reply group creator group and set up acknowledge message, management and group server to other territories sends the notification message that new group sets up, and the group user in the territory is administered in the management and group server notification in these other territories.
Described group sets up and member adding method, wherein, the described content that creates the message packet of group comprises: group name, group set up character, group creator ID, management and group person ID, the extension of purposes, group, the character of group comprises whether being interim group or normal group, if the character of group is interim group, extension comprises the life cycle of interim group.
Described group sets up and member adding method, wherein, in described step 2, also comprise: set up different database storage item for interim group and normal group respectively, if the character of group is interim group, add up the life cycle of this interim group when this interim group sets up, out-of-date when the life cycle of interim group, local domain management and group server is deleted the information of this interim group automatically, and no longer preserves the information about firms in this interim group.
Described group sets up and member adding method, and wherein, the content that described group sets up acknowledge message comprises: group sets up character, the ID of group, the extension of result, group name, group, and the character of group comprises whether being interim group or normal group.
Described group sets up and member adding method, and wherein, for interim group and the normal group allocation ID of group, if the character of group is interim group, the ID of group of this interim group is the interim ID of group respectively.
Described group sets up and member adding method, wherein, the content of the notification message that described new group sets up comprises: management server ID, the group creator ID in the character of the ID of group, group name, group, group's purposes, territory, group place, the character of group comprises whether being interim group or normal group, when the character of the group of described new group was interim group, the content of the notification message that described new group sets up also comprised the life cycle of interim group.
Described group sets up and member adding method, and wherein, in described step 3, described user's application adds the step of group to comprise:
The user sends to local domain management and group server the message packet that group adds application;
Local domain management and group server receives the message packet that described group adds application, add the message packet of application to judge the group whether the application group that adds creates and manage as local domain management and group server according to described group, and make corresponding processing;
Application adds the management and group person of group to reply group to add message, is forwarded to the user through the management and group server of local or other input fields.
Described group sets up and member adding method, and wherein, in described step 3, described user's application adds the step of group to comprise:
The group that user's application adds comprises interim group, normal group;
When the user applied for that the group that adds is interim group, this user enjoyed service and interim member's authority of this interim group; Or
When group that user's provisional application adds is normal group, and when becoming the casual user of this normal group, the management and group server of management and group person and institute's corresponding domain thereof is this login service of this user, and automatically deletes this user after the user logs off from user list; Or
The group that adds when user application is normal group, and when becoming the normal users of this normal group, this user enjoys the open function of this normal group.
Described group sets up and member adding method, and wherein, in described step 3, described user's application adds the step of group to comprise:
If it is that local domain management and group server creates and management that application adds group, local domain management and group server will preferentially be retrieved the member who whether has this management and group person in other group members in local domain, if existence and this management and group person are online, add the message packet of application to be sent to this management and group person this group, this management and group person receives that this group adds and carries out corresponding confirmation after the message packet of application and process; If there is not this management and group person in local domain, add the message packet of application to send to group creator this group, add the message packet of application to process by group creator to this group;
If it is that outer region management and group server creates and management that application adds group, local domain management and group server will find according to the ID of group the management and group server in this territory, group place, the management and group server in this territory, group place will preferentially be retrieved the member who whether has this management and group person in other group members in local domain, if existence and this management and group person are online, add the message packet of application to be sent to this management and group person this group, this management and group person receives that this group adds and carries out corresponding confirmation after the message packet of application and process; If there is not this management and group person in local domain, add the message packet of application to issue group creator this group, add the message packet of application to process by group creator to this group;
After group creator receives the message packet that this group adds application, reply group and add message, be forwarded to the user through the management and group server of local or other input fields.
Described group sets up and member adding method, and wherein, in described step 3, described user's application adds the step of group to comprise:
Management and group servers local or other input fields are made corresponding processing according to the suggestion of management and group person or group creator:
if management and group person or group creator are agreed this user and are added, management and group servers local or other input fields are given this user different authorities according to user's application and the result of management and group person's approval, and when the territory, group place that application adds is territory, management and group person place, this group member is added acknowledge message notify management and group server to this territory, management and group person place, maybe when the territory, group place that application adds is not territory, current management and group person place, this group member is added acknowledge message notify management and group server to territory, the creator of this group place, after the management and group server in the management and group server in this territory, management and group person place or territory, the creator of this group place receives this group's interpolation acknowledge message, concrete outcome is added in the database of management and group server of corresponding domain, reply simultaneously group and add success message to this user,
If management and group person or group creator disagree with this user and add, management and group servers local or other input fields are replied refuse information to this user.
Described group sets up and member adding method, and wherein, described group adds the content of the message packet of application to comprise: user ID, application add the ID of group, application to add reason and the user right of group.
Described group sets up and member adding method, and wherein, in described step 3, described user is invited by management and group person and adds the step of group to comprise:
Management and group person sends group and adds invitation message to local domain management and group server, and local domain management and group server judges whether this intra domain user of invited user, if add invitation message to be sent to this invited user this group; If not, this group is added invitation message to be sent to the management and group server in this territory, invited user place, add invitation message to be sent to this invited user this group by the management and group server in this territory, invited user place;
Invited user is replied corresponding group and is added acknowledge message;
The management and group server in territory, management and group person place receives this group and adds acknowledge message, and adds acknowledge message according to this group and carry out corresponding the processing.
Described group sets up and member adding method, and wherein, in described step 3, described user is invited by management and group person and adds the step of group to comprise:
when this group's interpolation acknowledge message is adhereed to for this invited user, the result of the group member type that the management and group server in this territory, management and group person place is adhereed to according to this invited user and management and group person's approval gives this invited user different authorities, and when the territory, group place that application adds is territory, management and group person place, this group member is added acknowledge message notify management and group server to this territory, management and group person place, maybe when the territory, group place that application adds is not territory, current management and group person place, this group member is added acknowledge message notify management and group server to territory, the creator of this group place, after the management and group server in the management and group server in this territory, management and group person place or territory, the creator of this group place receives this group's interpolation acknowledge message, concrete outcome is added in the database of management and group server of corresponding domain, reply simultaneously group and add success message to this invited user.
Compared with prior art, useful technique effect of the present invention:
Use technical scheme of the present invention, make group set up process implementation distributed domain management mode on the one hand, the management and group server that is each territory only is responsible for foundation and the maintenance of the group in this territory, therefore save cost and the performance cost that center management server is set in the past, and solved to a certain extent the Single Point of Faliure problem; Introduced simultaneously the concept of interim group, make the user to set up interim group according to demands such as different purposes, hobbies easily, other members that are provided with common interest add, and carry out interim discussion or report, compare with normal group, the use of interim group is convenient flexibly; Simultaneously, introduce interim member's concept in normal group, facilitated the user to add group to discuss temporarily, can withdraw from flexibly again, reduced the interference that information too much and that the user has nothing to do causes the user.On the other hand, the present invention has also carried out distributed treatment in group member adding technique scheme, has saved equally expense and has eliminated the Single Point of Faliure problem, by keeper, user's two-way authentication, has strengthened fail safe and validity that group adds.
Description of drawings
Fig. 1 is that in distributed domain management system of the present invention, group sets up and the member adding method flow chart;
Fig. 2 is network topology structure figure of the present invention;
Fig. 3 is that user of the present invention logins current local domain management and group server and sets up the embodiment of new group;
Fig. 4 is that user of the present invention initiatively requires to add the embodiment that has group;
Fig. 5 is that management and group person of the present invention invites the user to add the embodiment of group.
Embodiment
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
As shown in Figure 1, set up and the member adding method flow chart for group in distributed domain management system of the present invention.This flow process has been described the method that in the distributed domain management system, group sets up and the member adds, and comprising:
Steps A, the current local domain management and group server of user's place client login, local domain management and group server is classified by user identifier, distinguishes local intra domain user and outer region roamer, and preserves active user's logging status;
Step B, client login local territory, group creator place management and group server, set up new group by interacting message on local domain management and group server, local domain management and group server is carried out group and is set up operation, is maintained in simultaneously the group member information of the local group that sets up and local access;
Step C, for the group that has been successfully established, in network, the member in each territory can apply for adding, and comprises that the user initiatively applies for adding with management and group person or group creator to invite the two kinds of situations that add.
Described steps A further comprises:
A1, user send log messages to local domain management and group server, content comprises user ID identifier, the pet name, logging status (online, stealthy) etc., at first local domain management and group server belongs to local user or outer region roamer according to ID identifier judgement user, preserve active user's logging status, log messages is as shown in table 1 below:
Table 1
User ID User's pet name The ID of group to be logined User's logging status Extension
A11, for the local user, current local domain management and group server will be in local data base direct this user of inquiry place group information, then form the information list (comprising the user current login member of each group of place list, each member's logging status information and group's announcement information list etc.) of the affiliated group of user, return to the login result; While local domain management and group server update user logging status.
A 12, for outer region roamer, at first current local domain management and group server is inquired about to the management and group server in this territory, user place, and Query Result is formed the information list (comprising the user current login member of each group of place list, each member's logging status information and group's announcement information list etc.) of group under the user, return to the login result; The method of inquiry adopts universal distributed querying method, for example, based on the distributed algorithm etc. of searching of DHT framework, while local domain management and group server update user logging status.
A2, current local domain management and group server feed back to login user with the information list that this user logins result and groups of users; The information that in management and group server notification this group under this group, other members have the member to login simultaneously, the current login user list so that other users upgrade in time.
Described step B further comprises:
In the present invention, the management and group server in each territory only is in charge of the essential information of the group that sets up in local domain and the user profile of logining at local domain; Wherein, the user who has same domain identifier (as IP address prefix, SIP domain addresses symbol or other relam identifiers) with local domain management and group server is the local user, other users are the nonlocal user that outer region roams into this place login group group management sever, management and group server in local domain is only safeguarded local user's essential information, does not safeguard outer region roamer's personal information.Further supplementary notes is, only has the local user could carry out group in local domain and sets up operation, for the nonlocal user who roams into other territories, to set up in other territories the authority of group.
Described step B further comprises:
B1, group creator send the message packet that creates group, and wherein message information comprises the attribute information of the group that creates, and comprises that the character of group creator ID, group name, group, group set up purposes etc.; Wherein the character of group further comprises whether being interim group or normal group: for interim group, also need further to indicate T life cycle of interim group, in interim group, all members are the interim member of group, after life cycle T, all information of interim group will be deleted from the management and group server automatically, and its temporary group member information also will no longer be preserved subsequently; Corresponding is normal group with it, and without time restriction life cycle, until group creator deletes it, the message packet content that concrete group sets up is with reference to following table 2:
Table 2
At first B2, local domain management and group server parse relevant groups information after receiving the message packet of this establishment group, then carry out group and set up operation, and then relevant groups information is kept in local data base; To set up different database storage item for the interim group that mentions in step B1 and normal group, for interim group, T referred to when this group sets up and added up life cycle, after T hour, this group's life span expires, local domain management and group server will be deleted the information of interim group automatically this moment, and no longer preserve the information about firms in this interim group;
The relevant groups information of above mentioning refers to that group sets up group name contained in message packet, group's character, group creator ID and extension information.
B3, local domain management and group server reply group creator group and set up acknowledge message, comprise group in this message packet and set up result; For the groups operation that success creates, the ID that also further comprises the character of group and distribute to this group in this message packet.Be the interim interim ID of group of group allocation; The message packet form is with reference to following table 3:
Table 3
Group sets up result Group name The character of group The ID of group Extension
The management and group server of (being the territory beyond user's place client local domain of living in) sends the notification message that new group sets up to other territories by network for B4, local domain management and group server, content comprises the character of the title, the ID of group, group creator ID, the place field managing server ID of group and the group that newly set up group etc., each other field managing servers notify immediately administer group user in the territory, user friendlyly search and add.Similarly, for newly-established interim group, this notification message also comprises T life cycle of interim group; The message packet form is with reference to following table 4:
Table 4
Figure BDA0000047987050000091
For the group that sets up and have the user to add, often online whether group creator will specify some management and group persons according to user's actual conditions (, in group speech number of times etc.), facilitate subsequent user to add; The user who has added also can initiatively apply for being management and group person.
Described step C further comprises:
Group adds the member, and is different according to the invited party of adding member's operation, and the member adds can be divided into following dual mode:
1, the user accords with applying for adding group according to group's special sign;
2, management and group person initiatively invites a certain user to add this group;
Be directed to the 1st kind of member's addition manner, carry out following operation:
C1, user place client sends to local domain management and group server the message packet that group adds application, comprise user ID in this message packet, application adds the ID of group, application to add the reason of group and user's the essential informations such as authority, the message packet content is with reference to following table 5:
Table 5
User ID Application adds the ID of group The application user right Application adds the reason of group Extension
Be directed to the group type of mentioning in steps A, the user initiatively applies for adding group can be divided into following two kinds of situations:
If a) the user application group that adds is interim group, the user adds the interim Member Users who is after group in interim group so, enjoys interim group service and member's authority temporarily;
B) if the group that user's application adds is normal group, can be divided into again following two kinds of situations when the user adds group so:
B1, user can apply for adding a normal group temporarily, this moment, the user was a casual user of this normal group, this moment, the management and group server of management and group person and corresponding domain was only this login service of this user, namely authorize this user to enjoy partial function temporarily, as forward this user and send partial sharing resource of group message, temporary visit part group etc.; After treating that this user logs off, the management and group server of corresponding domain automatically in the user list of safeguarding with its deletion;
B2, a kind of situation are a normal users of normal group for user's application, and this moment, the user enjoyed the open all functions of normal group.
C2, local domain management and group server receive the message packet that user's application adds group, therefrom obtain corresponding application and add the information such as the ID of group, at first search to judge at local domain whether this group creates and management as local domain management and group server;
C21) if being local domain management and group server, the group that application adds creates and management, local domain management and group server will preferentially be retrieved the member who whether has this management and group person in other group members in local domain, if existence and this management and group person are online, this application is added the message of group to be sent to this management and group person, this management and group person receives that this application adds and carries out corresponding confirmation after the message of group and process; If there is not this management and group person in this territory, this application is added the message of group to issue group creator, add the message of group to process by group creator to this application, turn step C3.
C22) be that outer region management and group server creates and management if application adds group, local domain management and group server will find the management and group server in this territory, group place with the distributed enquiring method distributed algorithm of searching of DHT framework (for example based on) according to the ID of group, and next the operation of the management and group server in this territory, group place is with step C21) in the server operation of local domain management and group;
C3, management and group person or group creator are replied corresponding group and are added message, are forwarded to user in C1 through the management and group server of local or other input fields.Simultaneously, according to the suggestion of management and group person or group creator, management and group servers local or other input fields are done corresponding operating:
C31) if management and group person or group creator are agreed this user to add, the management and group server is carried out following respective operations: give the different authority of this user (as casual user or other) according to the result of user's application and management and group person's approval.simultaneously, differ and be decided to be territory, current management and group person place in the territory, group place that adds due to application, therefore, when the territory, group place that application adds is territory, management and group person place, this group member is added the further notice of acknowledge message to the management and group server in this territory, management and group person place, when the territory, group place that application adds is not territory, management and group person place, this group member is added the further notice of acknowledge message to the management and group server in territory, the creator of this group place, after the management and group server in the management and group server in this territory, management and group person place or territory, the creator of this group place receives this notification message, concrete outcome is added in the database of management and group server of corresponding domain, reply simultaneously group and add the user that success message application to the C1 adds group,
C32) if management and group person or group creator disagree with that the user adds, this management and group server is directly replied the user that refuse information application to the C1 adds group.
For C31) in management and group person or group creator agree the situation that the user adds, management and group person or group creator also need to send corresponding new user and add notification message to other each Member Users of this group.
Be directed to the 2nd kind of member's addition manner, carry out following operation:
C (1), management and group person are directly according to user ID, sending group adds invitation message to corresponding invited user, this group adds invitation message at first to be sent to local domain management and group server, then is sent to invited user by local domain management and group server.Differ and be decided to be territory, current management and group person place due to territory, invited user place, therefore, at first local domain management and group server judges whether invited user is this intra domain user.
C (11) is if directly send this application to invited user;
At first C (12) finds the management and group server in territory, invited user place if not according to user ID, then this group is added invitation message to send to this management and group server, and then be sent to invited user;
C (2), invited user reply corresponding group member and add acknowledge message, and the suggestion of reply comprises to be agreed or refusal, can further include the group member type (casual user or normal users) that the user that mentions in C1 adds.
The management and group server in C (3), territory, management and group person place receives invited user and sends the group member of returning and add acknowledge message.
C (31) if invited user adhere to, directly send this application to the management and group server in territory, management and group person place, the group member type that this management and group server adds according to user in C (2) is given the different authority of this invited user (as casual user or other).Simultaneously, carry out similar C31) step.
C (32) is if invited user is disagreed with to add, and the local user adds flow process and finishes.
Agree for management and group person in C (31) or group creator the situation that the user adds, management and group person or group creator also need to send corresponding new user and add notification message to other each Member Users of this group.
For above-mentioned situation, management and group person can have two kinds of selections, a kind of for invite the user to add temporarily, this moment, the management and group server in management and group person and territory, the corresponding creator of group place was only this login service of this user, namely authorize this user to enjoy partial function temporarily, as forward this user and send group message, partial sharing resource of temporary visit part group etc.; After treating that this user logs off, namely in the user list of safeguarding with its deletion; A kind of for inviting the user normally to add, enjoy the open all functions of group.
In addition, the user adds the situation that the user participates in certain group's activity infrequently that is directed to temporarily, and a user can add in the middle of a plurality of groups simultaneously temporarily.
Below each embodiment will be take the domain management system of SIP/SIMPLE agreement as the core session management protocol, the SIP/SIMPLE agreement is one of Next Generation Internet core session protocol, technical scheme of the present invention and its combine and have more universality and high efficiency.
As shown in Figure 2, paint in Fig. 2 and comprise 4 communication domain in core network, for the sake of simplicity, its domain name is domain1.com, domain2.com, domain3.com and domain4.com, and the management and group server S IP address in 4 territories is: GroupServer1@domain1.com, GroupServer2@domain2.com, GroupServer3@domain3.com and GroupServer4@domain4.com; In following examples, will be with management and group server S IP address, user's sip address as separately characteristic ID, be also user ID and management and group server ID, each territory is associated with similar overlay framework form, can carry out the address map locating as keyword with sip address mutually.
As shown in Figure 3, provided embodiment, this embodiment has described the flow process that the user logins current local domain management and group server, and key step is as follows:
S301, domain name are that the user A (sip address is A@domain1.com) in domain1.com (adopts SIP Register message with conventional SIP flow process in this example, corresponding message type field is " login ") login local territory management and group server (sip address is GroupServer1@domain1.com), message body further comprises the information such as user ID identifier, the pet name, the ID of group to be logined, logging status (online, stealthy), and table 1 thes contents are as follows:
Table 1
User ID User's pet name The ID of group to be logined User's logging status Extension
In corresponding the present embodiment, the message content item is filled as shown in table 6 below:
Table 6
A@domain1.com Alias GroupServer1@domain1.com Online
At first S302, local domain management and group server GroupServer1 judge whether to belong to local user or outer region roamer according to the user ID identifier, preserve active user's logging status; Because user A belongs to user in domain1.com, belong to the local user, therefore, local domain management and group server GroupServer1 will be in local data base direct this user of inquiry place group information, if not local user, namely belong to outer region roamer, adopt the distributed method distributed algorithm of searching of DHT framework (for example based on) to inquire about the information in territory under this user, then formed the information list of group under the user by the information in territory under user's place group information or user, return to the login result; Local domain management and group server GroupServer1 upgrades user's logging status, and then local domain management and group server GroupServer1 replys the normal login response 200OK of user A message.
S303, user A (being management and group person in the present embodiment) send the message of setting up new group and (adopt SIP Register message in this example, corresponding message type field is " create "), wherein message information comprises the attribute information of the group that creates, comprise that group creator ID, group name, group's character, group set up purposes etc., in its message body, content is with reference to following table 2:
Table 2
Figure BDA0000047987050000131
In corresponding the present embodiment, the message content item is filled as shown in table 7 below:
Table 7
IMS1 for?IMS?technology Template A@domain1.com A@domain1.com 12
After S304, local domain management and group server GroupServer1 receive this message packet, at first parse relevant groups information, then carry out group and set up operation, and then relevant groups information is kept in the database of local domain management and group server; The group that sets up due to user A in this operation is interim group,, all add the member of this group to be the interim member of interim group, the list item of group is set up the beginning timing from database, after T hour, interim group life cycle expires, and this management and group server will be deleted this group automatically.
S305, local domain management and group server GroupServer1 reply user A group sets up acknowledge message, comprises group in this message packet and sets up result; For the groups operation that success creates, the ID that this message packet also further comprises the character of group and distributes to this group.For interim group distributes interim ID; In the technical program, this message informing realizes by SIP Notify message, and wherein type of message is " createresult ", and in its message body, content is with reference to following table 3:
Table 3
Group sets up result Group name The character of group The ID of group Extension
In corresponding the present embodiment, the message content item is filled as shown in table 8 below:
Table 8
Success IMS1 Template T12
S306, local domain management and group server GroupServer1 send the notification message of new group foundation to the management and group server in other territories by network, content comprises the character of the title, the ID of group, group creator ID, the place field managing server ID of group and the group that newly set up group etc., each field managing server is notified the group user in institute's scope immediately, user friendlyly searches and adds.Similarly, for newly-established interim group, this notification message also should comprise T life cycle of interim group; The message packet form is with reference to following table 4:
Table 4
Figure BDA0000047987050000141
In corresponding the present embodiment, the message content item is filled as shown in table 9 below:
Table 9
T12 IMS1 Template forIMS GroupServer1@domain1.com A@domain1.com 12
technology
The present invention has provided the second embodiment, this embodiment has described the flow process that the user sets up new group, the step of this embodiment and the first embodiment is basic identical, just set up and group is " normal " in character one hurdle of group in setting up the content of results messages body in group, in its extension, the Life Cycle time value is 0.
As shown in Figure 4, provided the 3rd embodiment, this embodiment has described the user and has initiatively required to add the flow process that has group.
user B (sip address is B@domain1.com), C (sip address is C@domain3.com) logins the management and group server in territory, current place separately according to the flow process in embodiment one respectively, GroupServer1 (sip address is GroupServer1@domain1.com) and GrouServer2 (sip address is GroupServer2@domain2.com), can find out, for user B, the server of its login is exactly the management and group server in own affiliated territory own, user B belongs to the local user, what user C logined is not affiliated territory, therefore C is outer region roamer.
The concrete steps of the flow process in the 3rd embodiment are as follows:
S401, user B, C place client sends respectively group and adds application, requirement adds the group " IMS1 " that has set up, this group adds and comprises user ID in the solicitation message message, application adds the ID of group, application to add the reason of group and user's the essential informations such as authority, in this example, this application message realizes by expansion Session Initiation Protocol message Subscribe, type of message is defined as " groupmemberadd ", the content of message body is with reference to following table 5, and the message packet that sends take user B is as example:
Table 5
User ID Application adds the ID of group The application user right Application adds the reason of group Extension
In corresponding the present embodiment, the message content item is filled as shown in table 10 below:
Table 10
B@domain1.com T12 Template?User Discussion&Meeting
S402, above-mentioned user B, C the management and group server in territory, current place separately receive the message packet that groups of users adds application, therefrom obtain corresponding application and add the information such as the ID of group, at first search to judge at local domain whether this group creates and manage as local domain;
(1), for server GroupServer1, due to the user of user B for safeguarding in its territory, therefore local domain management and group server will preferentially be retrieved the member who whether has this management and group person in other group members in local, if existence and this management and group person are online, add the message of application to be sent to management and group person this group, management and group person carries out corresponding confirmation processing after receiving message; If there is not this management and group person in this territory, add the message of application to issue group creator this group; And then execution in step S403.In this example, user A is the founder of this group and current online, so server GroupServer1 directly sends to user A with this request.
(2), for server GroupServer2, not the user who safeguards in its territory due to user C, local domain management and group server will find according to the ID of group the management and group server (domain name is as the management and group server of domain3.com) in this territory, group place take the method for the distributed search distributed algorithm of searching of DHT framework (for example based on), then this group is added the message of application to be sent to the management and group server in this territory, group place, next, the operation of local domain management and group server in the same step of operation (1) of the management and group server in this territory, group place.
S403, management and group person's (being user A in this example) or group creator are replied corresponding group and are added message (SIP 200OK message), are forwarded to user place client in S302 through the management and group server of local or other input fields.Simultaneously, according to management and group person's suggestion, management and group servers local or other input fields are done corresponding operating.
For user A mentioned above, when this user is this group creator or during for the keeper of this group creator appointment, user A is this management and group person.
S404, does user A judge whether to adhere to? if agree, local data base operation is added successfully, enters next step, otherwise, send the member and add failed message, finish.S405 sends the member and adds success message.
As shown in Figure 5, provided the 4th embodiment, the present embodiment has been described management and group person and has been invited the user to add the step of group.
Application scenarios in the present embodiment is with above-mentioned the 3rd embodiment, and user A in the present embodiment is also that the keeper of group " IMS1 " will initiatively invite user C to add this group.
The concrete steps of the flow process in the 4th embodiment are as follows:
S501, user A are at first according to user ID (C@domain3.com), sending group adds invitation message to invited user, at first message be sent to local domain management and group server, then is sent to invited user by local domain management and group server.In the present embodiment, this application message is by expansion Session Initiation Protocol message Subscribe realization, and type of message is defined as " groupinvite ".
S502, owing to differing and be decided to be territory, current management and group person place in territory, invited user place, therefore, local domain management and group server GroupServer1 (sip address is GroupServer1@domain1.com) at first resolves message, judges whether invited user is this intra domain user.
If user C is this intra domain user, directly group is added invitation message to be sent to invited user C.
If user C is not this intra domain user, local domain management and group server will be according to user ID, adopt the distributed enquiring method distributed algorithm of searching of DHT framework (for example based on) to find territory management and group server GroupServer3 (sip address is GroupServer3@domain1.com) under this user, then group is added invitation message to send to the management and group server in territory, invited user place, and then be sent to invited user C.
S503, invited user C reply group and add acknowledge message, and the suggestion of reply comprises to be adhereed to or refuse to add, and can further include the group member type (casual user or normal users) that the user adds.If adhere to, enter S504, if refusal adds, enter S505;
S504, management and group person A receive invited user C and send the group of returning and add acknowledge message, because adding territory, group place to differ, application is decided to be territory, current management and group person A place, therefore this group's interpolation acknowledge message to be notified the management and group server to territory, the creator of this group place, the group that in the present embodiment, application adds is territory, current management and group person A place, therefore will directly carry out the operation in similar S403.
S505 adds flow process and finishes.
The group that the invention provides in a kind of distributed domain management system sets up and member adding method, overcoming prior art brings larger pressure and user to add, participate in the problem of the movable underaction of group to center management and group server, realized that in the distributed domain management system, group sets up, by introducing the classification of interim group and normal group, for using, the user provides convenience.Realized that also in distributed domain management group, group member adds, service by local domain management and group server, nearest keeper serves for the application user assignment, saved the cost expense of group communication message, introduce simultaneously casual user's concept, make the user enjoy group service more flexible.
Certainly; the present invention also can have other various embodiments; in the situation that do not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (16)

1. the group in a distributed domain management system sets up and member adding method, it is characterized in that, comprising:
Step 1, the user logins current local domain management and group server, and it is local intra domain user or outer region roamer that local domain management and group server is distinguished this user, and preserves active user's logging status;
Step 2, group creator login local territory management and group server is set up new group on local domain management and group server, and is maintained in the local group that sets up and in the group member information of this locality access;
Step 3, the user applies for or is invited by management and group person adding group;
In described step 1, comprising:
The user sends log messages, and it be local intra domain user or outer region roamer that local domain management and group server is distinguished the user according to log messages, obtains user's login result and the information list of this user affiliated group;
Local domain management and group server feeds back to the user with the information list of group under this user's login result and this user, the information that other members under this user of management and group server notification under this user under group in group have the member to login, other members upgrade current login user list.
2. group according to claim 1 sets up and member adding method, it is characterized in that, in described step 1, comprising:
Local domain management and group server will be inquired about this user place group information in local data base when the user is the local user, form the information list of group under this user, return to the login result; When the user is outer region roamer, inquire about to the management and group server in this territory, user place, and Query Result is formed the information list of group under this user, return to the login result.
3. group according to claim 1 and 2 sets up and member adding method, it is characterized in that, the content of described log messages comprises: user ID, user's pet name, the ID of group to be logined, user's logging status and extension.
4. group according to claim 1 and 2 sets up and member adding method, it is characterized in that, in described step 2, comprising:
Group creator sends the message packet that creates group, local domain management and group server receives and parses group information, and carry out group and set up operation, and group information is kept in the database of local domain management and group server, and reply group creator group and set up acknowledge message, management and group server to other territories sends the notification message that new group sets up, and the group user in the territory is administered in the management and group server notification in these other territories.
5. group according to claim 4 sets up and member adding method, it is characterized in that, the described content that creates the message packet of group comprises: group name, group set up character, group creator ID, management and group person ID and the extension of purposes, group, the character of group comprises whether being interim group or normal group, if the character of group is interim group, extension comprises the life cycle of interim group.
6. group according to claim 5 sets up and member adding method, it is characterized in that, in described step 2, also comprise: set up different database storage item for interim group and normal group respectively, if the character of group is interim group, add up the life cycle of this interim group when this interim group sets up, out-of-date when the life cycle of interim group, local domain management and group server is deleted the information of this interim group automatically, and no longer preserves the information about firms in this interim group.
7. group according to claim 4 sets up and member adding method, it is characterized in that, the content that described group sets up acknowledge message comprises: group sets up character, the ID of group, the extension of result, group name, group, and the character of group comprises whether being interim group or normal group.
8. group according to claim 7 sets up and member adding method, it is characterized in that, for interim group and the normal group allocation ID of group, if the character of group is interim group, the ID of group of this interim group is the interim ID of group respectively.
9. group according to claim 4 sets up and member adding method, it is characterized in that, the content of the notification message that described new group sets up comprises: management server ID, the group creator ID in the character of the ID of group, group name, group, group's purposes, territory, group place, the character of group comprises whether being interim group or normal group, when the character of the group of described new group was interim group, the content of the notification message that described new group sets up also comprised the life cycle of interim group.
10. according to claim 1,2, arbitrary described group sets up and member adding method in 5-9, it is characterized in that, in described step 3, described user's application adds the step of group to comprise:
The user sends to local domain management and group server the message packet that group adds application;
Local domain management and group server receives the message packet that described group adds application, add the message packet of application to judge the group whether the application group that adds creates and manage as local domain management and group server according to described group, and make corresponding processing;
Application adds the management and group person of group to reply group to add message, is forwarded to the user through the management and group server of local or other input fields.
11. group according to claim 10 sets up and member adding method, it is characterized in that, in described step 3, described user's application adds the step of group to comprise:
The group that user's application adds comprises interim group, normal group;
When the user applied for that the group that adds is interim group, this user enjoyed service and interim member's authority of this interim group; Or
When group that user's provisional application adds is normal group, and when becoming the casual user of this normal group, the management and group server of management and group person and institute's corresponding domain thereof is this login service of this user, and automatically deletes this user after the user logs off from user list; Or
The group that adds when user application is normal group, and when becoming the normal users of this normal group, this user enjoys the open function of this normal group.
12. group according to claim 10 sets up and member adding method, it is characterized in that, in described step 3, described user's application adds the step of group to comprise:
If it is local domain group that application adds group, local domain management and group server will preferentially be retrieved the member who whether has this management and group person in other group members in local domain, if existence and this management and group person are online, add the message packet of application to be sent to this management and group person this group, this management and group person receives that this group adds and carries out corresponding confirmation after the message packet of application and process; If there is not this management and group person in local domain, add the message packet of application to send to group creator this group, add the message packet of application to process by group creator to this group;
If it is outer region group that application adds group, local domain management and group server will find according to the ID of group the management and group server in this territory, group place, the management and group server in this territory, group place will preferentially be retrieved the member who whether has this management and group person in other group members in local domain, if existence and this management and group person are online, add the message packet of application to be sent to this management and group person this group, this management and group person receives that this group adds and carries out corresponding confirmation after the message packet of application and process; If there is not this management and group person in local domain, add the message packet of application to issue group creator this group, add the message packet of application to process by group creator to this group;
After group creator receives the message packet that this group adds application, reply group and add message, be forwarded to the user through the management and group server of local or other input fields.
13. group according to claim 10 sets up and member adding method, it is characterized in that, in described step 3, described user's application adds the step of group to comprise:
Management and group servers local or other input fields are made corresponding processing according to the suggestion of management and group person or group creator:
if management and group person or group creator are agreed this user and are added, management and group servers local or other input fields are given this user different authorities according to user's application and the result of management and group person's approval, and when the territory, group place that application adds is territory, management and group person place, this group member is added acknowledge message notify management and group server to this territory, management and group person place, maybe when the territory, group place that application adds is not territory, current management and group person place, this group member is added acknowledge message notify management and group server to territory, the creator of this group place, after the management and group server in the management and group server in this territory, management and group person place or territory, the creator of this group place receives this group's interpolation acknowledge message, the result of management and group person approval is added in the database of management and group server of corresponding domain, reply simultaneously group and add success message to this user,
If management and group person or group creator disagree with this user and add, management and group servers local or other input fields are replied refuse information to this user.
14. according to claim 11,12 or 13 described groups set up and member adding method, it is characterized in that, described group adds the content of the message packet of application to comprise: user ID, application add the ID of group, application to add reason and the user right of group.
15. according to claim 1,2, arbitrary described group sets up and member adding method in 5-9, it is characterized in that, in described step 3, described user is invited by management and group person and adds the step of group to comprise:
Management and group person sends group and adds invitation message to local domain management and group server, and local domain management and group server judges whether this intra domain user of invited user, if add invitation message to be sent to this invited user this group; If not, this group is added invitation message to be sent to the management and group server in this territory, invited user place, add invitation message to be sent to this invited user this group by the management and group server in this territory, invited user place;
Invited user is replied corresponding group and is added acknowledge message;
The management and group server in territory, management and group person place receives this group and adds acknowledge message, and adds acknowledge message according to this group and carry out corresponding the processing.
16. group according to claim 15 sets up and member adding method, it is characterized in that, in described step 3, described user is invited by management and group person and adds the step of group to comprise:
when this group's interpolation acknowledge message is adhereed to for this invited user, the result of the group member type that the management and group server in this territory, management and group person place is adhereed to according to this invited user and management and group person's approval gives this invited user different authorities, and when the territory, group place that application adds is territory, management and group person place, this group member is added acknowledge message notify management and group server to this territory, management and group person place, maybe when the territory, group place that application adds is not territory, current management and group person place, this group member is added acknowledge message notify management and group server to territory, the creator of this group place, after the management and group server in the management and group server in this territory, management and group person place or territory, the creator of this group place receives this group's interpolation acknowledge message, concrete outcome is added in the database of management and group server of corresponding domain, reply simultaneously group and add success message to this invited user.
CN 201110046482 2011-02-25 2011-02-25 Group creating and member adding method in distributed domain management system Expired - Fee Related CN102075456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110046482 CN102075456B (en) 2011-02-25 2011-02-25 Group creating and member adding method in distributed domain management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110046482 CN102075456B (en) 2011-02-25 2011-02-25 Group creating and member adding method in distributed domain management system

Publications (2)

Publication Number Publication Date
CN102075456A CN102075456A (en) 2011-05-25
CN102075456B true CN102075456B (en) 2013-06-19

Family

ID=44033806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110046482 Expired - Fee Related CN102075456B (en) 2011-02-25 2011-02-25 Group creating and member adding method in distributed domain management system

Country Status (1)

Country Link
CN (1) CN102075456B (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015014317A1 (en) * 2013-08-01 2015-02-05 Zte Corporation Group communication with configurable geographic service area
CN103428007B (en) * 2013-08-22 2016-08-10 北京优佳荣科技有限公司 A kind of method and device setting up communication group
CN103646060B (en) * 2013-11-29 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Method and device for searching for group
CN103731281B (en) * 2013-12-30 2017-10-20 广州华多网络科技有限公司 Channel treating method and apparatus
CN104125143B (en) * 2014-06-24 2018-02-16 小米科技有限责任公司 Recommend the method and device of group
CN105530164A (en) * 2014-10-22 2016-04-27 阿里巴巴集团控股有限公司 Session control method and device in instant message
CN110460978B (en) * 2014-11-04 2021-12-14 华为技术有限公司 Resource access method and device
CN104394430B (en) * 2014-11-20 2018-03-16 广州华多网络科技有限公司 A kind of resource transmission method and its system, service equipment based on interactive application
CN106533896A (en) * 2015-09-15 2017-03-22 阿里巴巴集团控股有限公司 Identity authorization method and device in instant messaging
CN106549988B (en) * 2015-09-18 2020-06-30 腾讯科技(深圳)有限公司 Group joining method, device and system
CN105610681B (en) * 2015-10-23 2019-08-09 阿里巴巴集团控股有限公司 Information processing method and device based on instant messaging
CN107171925B (en) * 2016-03-07 2019-07-23 腾讯科技(深圳)有限公司 The treating method and apparatus of session data
CN105847125A (en) * 2016-04-29 2016-08-10 乐视控股(北京)有限公司 Method and device for realizing classified chat
CN105898508A (en) * 2016-06-01 2016-08-24 北京奇艺世纪科技有限公司 Video synchronous sharing playing method and device
CN107707595B (en) * 2017-03-17 2018-06-15 贵州白山云科技有限公司 A kind of member organizes variation and device
CN109039669B (en) * 2017-06-08 2021-03-16 北京嘀嘀无限科技发展有限公司 Information processing method and device
CN109067639B (en) * 2018-08-23 2021-02-26 北京工业大学 Method for establishing communication group and joining communication group
CN109995543B (en) * 2019-04-12 2022-04-22 上海掌门科技有限公司 Method and apparatus for adding group members
CN110572491B (en) * 2019-10-09 2022-04-22 深圳云之家网络有限公司 Information sharing method, information sharing device and network equipment
CN110838371A (en) * 2019-12-03 2020-02-25 中国医学科学院北京协和医院 Rare disease research group management system, client and server
CN111009329A (en) * 2019-12-03 2020-04-14 中国医学科学院北京协和医院 Rare disease study group management method, storage medium, and computer program product
CN112104888B (en) * 2020-09-18 2022-07-05 北京一起教育信息咨询有限责任公司 Method and system for grouping live broadcast users
CN112866091B (en) * 2021-01-21 2022-09-13 即时匹配(上海)网络科技有限公司 Instant communication system and communication method
CN112988017A (en) * 2021-04-12 2021-06-18 无锡奥特维科技股份有限公司 Method and device for managing groups

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794834A (en) * 2005-09-26 2006-06-28 华为技术有限公司 Method of establishing group and adding group member
CN1941718A (en) * 2005-09-30 2007-04-04 腾讯科技(深圳)有限公司 Method for managing instant-telecommunication group
CN1968117A (en) * 2005-11-19 2007-05-23 腾讯科技(深圳)有限公司 Method for adding LAN subscriber into group communication in instant communication
CN101184104A (en) * 2007-12-21 2008-05-21 腾讯科技(深圳)有限公司 Distributed memory system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4352959B2 (en) * 2004-03-25 2009-10-28 日本電気株式会社 Group communication system based on presence information and client device
CN100556004C (en) * 2006-04-10 2009-10-28 腾讯科技(深圳)有限公司 In a kind of instant communicating system to the method to set up of group message receiving mode
CN101123568B (en) * 2007-09-20 2010-12-08 腾讯科技(深圳)有限公司 An instant communication system and transmission method of self-defined information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794834A (en) * 2005-09-26 2006-06-28 华为技术有限公司 Method of establishing group and adding group member
CN1941718A (en) * 2005-09-30 2007-04-04 腾讯科技(深圳)有限公司 Method for managing instant-telecommunication group
CN1968117A (en) * 2005-11-19 2007-05-23 腾讯科技(深圳)有限公司 Method for adding LAN subscriber into group communication in instant communication
CN101184104A (en) * 2007-12-21 2008-05-21 腾讯科技(深圳)有限公司 Distributed memory system and method

Also Published As

Publication number Publication date
CN102075456A (en) 2011-05-25

Similar Documents

Publication Publication Date Title
CN102075456B (en) Group creating and member adding method in distributed domain management system
CN101237336B (en) Multi-party communication method, system and method for distribution event status
CN104811371B (en) A kind of brand-new instantaneous communication system
CN105897444B (en) Multicast group management method and device
CN101257460B (en) Instantaneous message temporary cluster group conversational system and method for creating and transmitting instantaneous message
US20110295957A1 (en) Continuous replication for session initiation protocol based communication systems
CN101567798A (en) System and method for realizing electronic whiteboard conference based on IP multimedia system configuration
CN1832414B (en) Method of providing a plurality of group communication service communication system, group communication service system and group
CN104509073A (en) Discovering ip multicast group memberships in software defined networks
CN102299810B (en) Method and system for notifying group change event
CN109981305B (en) Group communication method, apparatus and computer-readable storage medium
CN101188862A (en) A routing method in wireless network
EP2096792B1 (en) Method for configuring service and entity for storing service configuration
CN100525197C (en) Subscribing, publishing and updating method for existing information
WO2016175647A1 (en) A secured instant messaging (im) system structure based on identification
US20110246581A1 (en) Method and System for Group Event Communications
CN102202060A (en) Method for importing group members
CN100358283C (en) Business appearing system and method of issuring and obtaining appeared information
CN104821908A (en) Exclusive service-supporting instant messaging method and system
CN105812229A (en) Terminal communication method, system and related device
CN101267325B (en) Method, conference server and terminal for originating and joining in conference session
CN101047691B (en) Method for integral controlling subscribe
CN101378392A (en) Method and apparatus for searching resource in P2P circumstance
CN101425982A (en) Method, system and apparatus for chat implementation
WO2010115322A1 (en) Method and system for joining group session with pre-defined joining

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130619

Termination date: 20200225