CN102769583A - User distribution device and user distribution method of instant messaging server - Google Patents

User distribution device and user distribution method of instant messaging server Download PDF

Info

Publication number
CN102769583A
CN102769583A CN2012102744197A CN201210274419A CN102769583A CN 102769583 A CN102769583 A CN 102769583A CN 2012102744197 A CN2012102744197 A CN 2012102744197A CN 201210274419 A CN201210274419 A CN 201210274419A CN 102769583 A CN102769583 A CN 102769583A
Authority
CN
China
Prior art keywords
user
grouping
instant communication
communication server
cohesion
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.)
Granted
Application number
CN2012102744197A
Other languages
Chinese (zh)
Other versions
CN102769583B (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.)
ZTE ICT Technologies Co Ltd
Original Assignee
ZTE ICT Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE ICT Technologies Co Ltd filed Critical ZTE ICT Technologies Co Ltd
Priority to CN201210274419.7A priority Critical patent/CN102769583B/en
Publication of CN102769583A publication Critical patent/CN102769583A/en
Application granted granted Critical
Publication of CN102769583B publication Critical patent/CN102769583B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a user distribution device of an instant messaging server. The user distribution device comprises a user data collecting module, a grouping control module and a management module, wherein the user data collecting module calculates intimacy of at least one user and an associated user in an instant messaging system; the grouping control module adds at least one user to corresponding user sub-group according to the intimacy; the management module distributes at least one user and corresponding user data to corresponding instant messaging server based on the user sub-group, wherein the intimacy is calculated on the basis of communication traffic of the user and the associated user within the preset time. The invention also proposes a user distribution method of the instant messaging server. By the technical scheme disclosed by the invention, users with large communication traffic are centrally stored on a server, so that these users consume fewer resources in communication.

Description

User's distributor of instant communication server and user's distribution method
Technical field
The present invention relates to communication technical field, in particular to a kind of user's distribution method of user's distributor and a kind of instant communication server of instant communication server.
Background technology
The science and technology develop rapidly in the Internet, today that various new technologies are constantly used, instant messaging (Instant Messenger is called for short IM) software has become one of software the most frequently used on the Internet.For most of people, MSN has not included fresh.Mention IM, we will expect QQ, MSN at once.Undoubtedly; QQ, MSN have become numerous computer work persons' indispensable MSN; The initial function of these softwares only is to carry out the transmitting-receiving of instant message through network; And along with development of technology, nowadays people usually use these MSNs to carry out resource to share, like the file transfer of instant or off-line, net dish transfer space etc.Yet as far as the manager of enterprise, popularizing of individual MSNs such as QQ, MSN also brings worry to them.On the one hand, many managers worry that the employee utilizes them to do some and the irrelevant thing of work, and another main worry is, QQ, MSN are mainly towards the personal user, and its fail safe, manageability are innately not enough.Worry that based on these of company manager new MSN classification-enterprise-level MSN (Enterprise Instant Message is called for short EIM) arises at the historic moment, and cause CIO gradually (company information official) concern.Enterprise-level IM needs oneself to set up server; Group enterprise for large-scale transnational cross-region; Its branch is many, and enterprise staff disperses, and trans-departmental, cross-region, strange land office, mobile office characteristic are obviously, to link up cost higher; For such enterprise, the method that the IM server user distributes is particularly important.
Therefore, need a kind of user's distribution method of instant communication server, that can the user that the mutual traffic is big concentrates leaves on the server, makes these users when communication, consume less resource.
Summary of the invention
The objective of the invention is to; For the enterprise-level instant communicating system; A kind of user's distribution method of instant communication server is provided, and that can the user that the mutual traffic is big concentrates leaves on the server, makes these users when communication, consume less resource.
According to an aspect of the present invention, propose a kind of user's distributor of instant communication server, comprising: user data acquisition module, the cohesion of intrasystem at least one user of computing instant communication and its associated user; The grouping control module is added said at least one user in the corresponding user grouping to according to said cohesion; Administration module is dispensed to corresponding instant communication server based on said user grouping with said at least one user and corresponding user data, and wherein, said cohesion is based on said user and the traffic volume calculations of its associated user in Preset Time.
User's associated user refers to user's contact person, good friend in the instant communicating system.Through this technical scheme, can divide into groups to the user in the instant communicating system according to the traffic each other, then according to the user grouping distribution server.So just can realize the user that the traffic is big is each other left on the server, make these users when communication, consume less resource.Here " Preset Time " can be provided with according to actual conditions by user or manufacturer; Such as being set to carry out in every x hour duration is y hour data acquisition; Then certain cohesion calculate accomplish after moment of x hour; With the collection of carrying out the user and the traffic of its associated user in y hour once more, thereby calculate corresponding cohesion, and carry out above-mentioned steps according to this repeatedly.
Preferably; Said grouping control module comprises: branch creation submodule; Be used to realize packet creation process, comprise: create a user grouping, from said instant communicating system, select a not grouping user; Be added in the said user grouping, and this not grouping user be set to the active user; The user adds submodule, is used to realize that the user adds process, comprising: obtain and the maximum top n associated user of said active user's cohesion; And according to the size order of cohesion; Judge that successively whether each said associated user is grouping user not, if then stop judgement to other associated users; And should be added in the said user grouping by ungrouped associated user; And after should ungrouped associated user being set to said active user, repeating said user and add process, otherwise continue other associated users are judged; The control submodule divides into groups; Be used for not existing under the situation of grouping user not at said top n associated user; Control said minute creation submodule and said user and add that submodule repeats said packet creation process respectively and said user adds process, in said instant communicating system, do not have not grouping user.
In this technical scheme, realized process to user grouping, make the user that the traffic is big each other be in the same grouping, and each user all and only in a user grouping.
Preferably, if having a plurality of not grouping user in the said instant communicating system, preferentially that the traffic is the big not grouping user of creation submodule was added into said user grouping in said minute.
Preferably; Said grouping control module also comprises: numerical value obtains submodule; Confirm to allow the numerical value of N of the associated user that obtains; Wherein, the influencing factor of the value of said numerical value of N comprise following one of at least or its combination: the long process time of number of users, each said user's maximum number of contacts, each said user grouping in the quantity of said instant communication server, the capacity of each said instant communication server, the said instant communicating system.
In this technical scheme, the value of N is relevant with multiple factor, and particularly, the quantity of instant communication server is many more, and the value of N is big more; Number of users is many more in the instant communicating system, and the value of N is big more; Each user's maximum number of contacts is many more, and the value of N is big more; The capacity of each instant communication server is big more, and the value of N is big more; The long process time of each user grouping is meant that the user data in the grouping is assigned to the maximum duration that can tolerate on a certain server, and the long process time of each user grouping is long more, and the value of N is big more.
Preferably, the said administration module user and the corresponding user data that will be in the same user grouping is distributed on the same instant communication server.
In this technical scheme, the user's traffic each other that is in the same user grouping is bigger, and these users are distributed on the same server and can when communicating by letter, take less system resource, improves the efficient of system.In addition, can a plurality of user grouping fewer in number be merged, distribute according to the residual capacity of number in the user grouping and instant communication server.
According to a further aspect in the invention, propose a kind of user's distribution method of instant communication server, comprising: step 202, the cohesion of intrasystem at least one user of computing instant communication and its associated user; Step 204 is added said at least one user in the corresponding user grouping to according to said cohesion; Step 206 is dispensed to corresponding instant communication server based on said user grouping with said at least one user and corresponding user data, and wherein, said cohesion is based on said user and the traffic volume calculations of its associated user in Preset Time.
User's associated user refers to user's contact person, good friend in the instant communicating system.Through this technical scheme, can divide into groups to the user in the instant communicating system according to the traffic each other, then according to the user grouping distribution server.So just can realize the user that the traffic is big is each other left on the server, make these users when communication, consume less resource.Here " Preset Time " can be provided with according to actual conditions by user or manufacturer; Such as being set to carry out in every x hour duration is y hour data acquisition; Then certain cohesion calculate accomplish after moment of x hour; With the collection of carrying out the user and the traffic of its associated user in y hour once more, thereby calculate corresponding cohesion, and carry out above-mentioned steps according to this repeatedly.
Preferably, said step 204 comprises: step 2042, create a user grouping, from said instant communicating system, select a not grouping user, be added in the said user grouping, and this not grouping user be set to the active user; Step 2044 is obtained and top n associated user that said active user's cohesion is maximum, and according to the size order of cohesion; Judge that successively whether each said associated user is grouping user not, if then stop judgement to other associated users; And should be added in the said user grouping by ungrouped associated user; And after should ungrouped associated user being set to said active user, repeat said step 2044, otherwise continue other associated users are judged; Step 2046 if do not have not grouping user in the said top n associated user, then repeats said step 2042 and said step 2044, in said instant communicating system, does not have not grouping user.
In this technical scheme, realized process to user grouping, make the user that the traffic is big each other be in the same grouping, and each user all and only in a user grouping.
Preferably, in said step 2042, if having a plurality of not grouping user in the said instant communicating system, the then preferential not grouping user that the traffic is big is added into said user grouping.
Preferably; Before the said step 2044; Also comprise: the numerical value of N of confirming to allow the associated user that obtains; Wherein, the influencing factor of the value of said numerical value of N comprise following one of at least or its combination: the long process time of number of users, each said user's maximum number of contacts, each said user grouping in the quantity of said instant communication server, the capacity of each said instant communication server, the said instant communicating system.
In this technical scheme, the value of N is relevant with multiple factor, and particularly, the quantity of instant communication server is many more, and the value of N is big more; Number of users is many more in the instant communicating system, and the value of N is big more; Each user's maximum number of contacts is many more, and the value of N is big more; The capacity of each instant communication server is big more, and the value of N is big more; The long process time of each user grouping is meant that the user data in the grouping is assigned to the maximum duration that can tolerate on a certain server, and the long process time of each user grouping is long more, and the value of N is big more.
Preferably, said step 206 comprises: the user and the corresponding user data that will be in the same user grouping are distributed on the same instant communication server.
In this technical scheme, the user's traffic each other that is in the same user grouping is bigger, and these users are distributed on the same server and can when communicating by letter, take less system resource, improves the efficient of system.In addition, can a plurality of user grouping fewer in number be merged, distribute according to the residual capacity of number in the user grouping and instant communication server.
Through technique scheme, that can the user that the mutual traffic is big concentrates leaves on the server, makes these users when communication, consume less resource.
Description of drawings
Fig. 1 shows the sketch map of user's distributor of instant communication server according to an embodiment of the invention;
Fig. 2 shows the flow chart of user's distribution method of instant communication server according to an embodiment of the invention;
Fig. 3 shows the sketch map of user's distributor of instant communication server according to another embodiment of the invention;
Fig. 4 shows the flow chart of user's distribution method of instant communication server according to another embodiment of the invention;
Fig. 5 is the schematic flow sheet of unique user allocation packets among the embodiment shown in Figure 4;
Fig. 6 is the detail flowchart that adds the user among the embodiment shown in Figure 4 for user grouping;
Fig. 7 is the influence condition sketch map of numerical value of N among the embodiment shown in Figure 4.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, the present invention is further described in detail below in conjunction with accompanying drawing and embodiment.
A lot of details have been set forth in the following description so that make much of the present invention; But; The present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention does not receive the restriction of following disclosed specific embodiment.
Below in conjunction with accompanying drawing and embodiment the present invention is further specified.Need to prove that under the situation of not conflicting, the application's embodiment and the characteristic among the embodiment can make up each other.
Fig. 1 shows the sketch map of user's distributor of instant communication server according to an embodiment of the invention.
As shown in Figure 1, user's distributor 100 of instant communication server comprises according to an embodiment of the invention: user data acquisition module 102, the cohesion of intrasystem at least one user of computing instant communication and its associated user; Grouping control module 104 is added at least one user in the corresponding user grouping to according to cohesion; Administration module 106 is dispensed to corresponding instant communication server based on user grouping with at least one user and corresponding user data, and wherein, cohesion is based on user and the traffic volume calculations of its associated user in Preset Time.
User's associated user refers to user's contact person, good friend in the instant communicating system.Through this technical scheme, can divide into groups to the user in the instant communicating system according to the traffic each other, then according to the user grouping distribution server.So just can realize the user that the traffic is big is each other left on the server, make these users when communication, consume less resource.Here " Preset Time " can be provided with according to actual conditions by user or manufacturer; Such as being set to carry out in every x hour duration is y hour data acquisition; Then certain cohesion calculate accomplish after moment of x hour; With the collection of carrying out the user and the traffic of its associated user in y hour once more, thereby calculate corresponding cohesion, and carry out above-mentioned steps according to this repeatedly.
Preferably, grouping control module 104 comprises: branch creation submodule 1042 is used to realize packet creation process; Comprise, create a user grouping, from instant communicating system, select a not grouping user; Be added in the user grouping, and this not grouping user be set to the active user; The user adds submodule 1044, is used to realize that the user adds process, comprises; Obtain and top n associated user that active user's cohesion is maximum, and according to the size order of cohesion, judge that successively whether each associated user is grouping user not; If; Then stop judgement, and should be added in the user grouping by ungrouped associated user other associated users, and after should ungrouped associated user being set to the active user; Repeat the user and add process, otherwise continue other associated users are judged; Control submodule 1046 divides into groups; Be used for not existing under the situation of grouping user not at the top n associated user; Control branchs creation submodule 1042 and user add that submodule 1044 repeats packet creation process respectively and the user adds process, in instant communicating system, do not have not grouping user.
In this technical scheme, realized process to user grouping, make the user that the traffic is big each other be in the same grouping, and each user all and only in a user grouping.
Preferably, if having a plurality of not grouping user in the instant communicating system, the branch creation submodule 1042 preferential not grouping user that the traffic is big are added into user grouping.
Preferably; Grouping control module 104 also comprises: numerical value obtains submodule 1048; Confirm to allow the numerical value of N of the associated user that obtains; Wherein, the influencing factor of the value of numerical value of N comprise following one of at least or its combination: the long process time of number of users, each user's maximum number of contacts, each user grouping in the quantity of instant communication server, the capacity of each instant communication server, the instant communicating system.
In this technical scheme, the value of N is relevant with multiple factor, and particularly, the quantity of instant communication server is many more, and the value of N is big more; Number of users is many more in the instant communicating system, and the value of N is big more; Each user's maximum number of contacts is many more, and the value of N is big more; The capacity of each instant communication server is big more, and the value of N is big more; The long process time of each user grouping is meant that the user data in the grouping is assigned to the maximum duration that can tolerate on a certain server, and the long process time of each user grouping is long more, and the value of N is big more.
Preferably, administration module 106 user and the corresponding user data that will be in the same user grouping is distributed on the same instant communication server.
In this technical scheme, the user's traffic each other that is in the same user grouping is bigger, and these users are distributed on the same server and can when communicating by letter, take less system resource, improves the efficient of system.In addition, can a plurality of user grouping fewer in number be merged, distribute according to the residual capacity of number in the user grouping and instant communication server.
Fig. 2 shows the flow chart of user's distribution method of instant communication server according to an embodiment of the invention.
As shown in Figure 2, user's distribution method of instant communication server comprises: step 202, the cohesion of intrasystem at least one user of computing instant communication and its associated user according to an embodiment of the invention; Step 204 is added at least one user in the corresponding user grouping to according to cohesion; Step 206 is dispensed to corresponding instant communication server based on user grouping with at least one user and corresponding user data, and wherein, cohesion is based on user and the traffic volume calculations of its associated user in Preset Time.
User's associated user refers to user's contact person, good friend in the instant communicating system.Through this technical scheme, can divide into groups to the user in the instant communicating system according to the traffic each other, then according to the user grouping distribution server.So just can realize the user that the traffic is big is each other left on the server, make these users when communication, consume less resource.Here " Preset Time " can be provided with according to actual conditions by user or manufacturer; Such as being set to carry out in every x hour duration is y hour data acquisition; Then certain cohesion calculate accomplish after moment of x hour; With the collection of carrying out the user and the traffic of its associated user in y hour once more, thereby calculate corresponding cohesion, and carry out above-mentioned steps according to this repeatedly.
Preferably, step 204 comprises: step 2042, create a user grouping, from instant communicating system, select a not grouping user, be added in the user grouping, and this not grouping user be set to the active user; Step 2044 is obtained and top n associated user that active user's cohesion is maximum, and according to the size order of cohesion; Judge that successively whether each associated user is grouping user not, if then stop judgement to other associated users; And should be added in the user grouping by ungrouped associated user; And after should ungrouped associated user being set to the active user, repeated execution of steps 2044, otherwise continue other associated users are judged; Step 2046, if do not have not grouping user in the top n associated user, then there are not grouping user in repeated execution of steps 2042 and step 2044 in instant communicating system.
In this technical scheme, realized process to user grouping, make the user that the traffic is big each other be in the same grouping, and each user all and only in a user grouping.
Preferably, in step 2042, if having a plurality of not grouping user in the instant communicating system, the then preferential not grouping user that the traffic is big is added into user grouping.
Preferably; Before the step 2044; Also comprise: the numerical value of N of confirming to allow the associated user that obtains; Wherein, the influencing factor of the value of numerical value of N comprise following one of at least or its combination: the long process time of number of users, each user's maximum number of contacts, each user grouping in the quantity of instant communication server, the capacity of each instant communication server, the instant communicating system.
In this technical scheme, the value of N is relevant with multiple factor, and particularly, the quantity of instant communication server is many more, and the value of N is big more; Number of users is many more in the instant communicating system, and the value of N is big more; Each user's maximum number of contacts is many more, and the value of N is big more; The capacity of each instant communication server is big more, and the value of N is big more; The long process time of each user grouping is meant that the user data in the grouping is assigned to the maximum duration that can tolerate on a certain server, and the long process time of each user grouping is long more, and the value of N is big more.
Preferably, step 206 comprises: the user and the corresponding user data that will be in the same user grouping are distributed on the same instant communication server.
In this technical scheme, the user's traffic each other that is in the same user grouping is bigger, and these users are distributed on the same server and can when communicating by letter, take less system resource, improves the efficient of system.In addition, can a plurality of user grouping fewer in number be merged, distribute according to the residual capacity of number in the user grouping and instant communication server.
Fig. 3 shows the sketch map of user's distributor of instant communication server according to another embodiment of the present invention.
As shown in Figure 3; User's distributor 300 of instant communication server according to another embodiment of the present invention comprises: user data initial acquisition module 302 (being equivalent to aforementioned user data acquisition module 102), client server upgrade control module 304 (being equivalent to aforementioned groupings control module 104) and distribution of information policy management module 306 (being equivalent to aforementioned administration module 106); User data initial acquisition module 302 can be to the user data in client server upgrades control module 304 certain single packet of transmission and divides into groups; Data initial acquisition module 302 has been carried out single packet and the establishment of the interior user data that divides into groups when the user data that upgrades to client server in control module 304 certain single packet of initiation and the grouping.
Client server upgrades control module 304 and is used for having accomplished grouping all users, then sends the grouping information dispense request according to all groupings and the interior user data that divides into groups to distribution of information policy management module 306; Wherein user data initial acquisition module 302 mail to data that client server upgrades control module 304 need comprise the group name of grouping and divide into groups in user data; After only collecting all user data of users; Client server upgrade control module 304 just can and divide into groups all groupings of having distributed in user data transmission to distribution of information policy management module 306, distribution of information policy management module 306 carries out carrying out after the grouping merger to a certain degree the strategy distribution of " grouping---server " according to residual capacity in the quantity of the number of users of whole instant communicating system, server, each server.Distribution of information policy management module 306 is obtained the information of all groupings of family server update control module 304 transmissions and the interior user data that divides into groups; The grouping less to the user can realize certain merger, then each group result imported in distribution of information policy management module 306 specified server.The user is meant PC end or the portable terminal that the enterprise-level MSN has been installed.Carry out after " grouping---server " strategy distribution; Each grouping information is kept at after the corresponding with service device; The user of next time period of beginning and the primary data of other user traffic are collected; Behind the section end of run, all user profile are added up in the time period to this, import user's information into user data initial acquisition module 302 then at this moment.When the primary data of carrying out user and other user traffic is collected; Distribution of information policy management module 306 decides according to maximum good friend's quantity of the number of users of the capacity of number of servers, individual server, entire I M system, unique user and maximum duration that unique user divides into groups and searches user good friend times N; Distribution of information policy management module 306 is imported into to user data initial acquisition module 302 and is searched user good friend times N; Wherein: search the number of times that user good friend times N is meant the maximum and good friend that do not divide into groups of active user's circulation searching cohesion, the good friend if the cohesion maximum that does not find the active user for N time by active user good friend's cohesion sequential search is not divided into groups then represent that the active user belongs to grouping and set up completion.
Below in conjunction with Fig. 4 to Fig. 7 user's distribution method of according to another embodiment of the invention instant communication server is described.
Referring to Fig. 4, this flow process comprises at least:
Step 402 is obtained user data;
Step 404 is obtained not grouping user tabulation, and (here, create when dividing into groups first, the not grouping user tabulation that finds is all users that use MSN from all customer data, to find out ungrouped user list; When not accomplishing all user grouping, the user in the grouping user tabulation is not that all users remove grouping user rest parts in the entire I M system);
Step 406; Create the new active user that divides into groups to add; Divide into groups to add the user last one and finish the back and obtain not grouping user tabulation and carry out under for empty situation, at first create new the grouping, and search the maximum user of the traffic in the grouping user tabulation never; This user is changed to the active user of new grouping, accomplishes new establishment of dividing into groups and grouping active user's interpolation;
Step 408; Search the maximum good friend of active user's cohesion; Carry out circulation searching (process of circulation searching is referring to shown in Figure 6) according to searching user good friend times N,, then get into current group process ends 410 if also do not find the cohesion maximum good friend that do not divide into groups with interior in cycle-index; If in cycle-index, found the maximum and ungrouped good friend of user's cohesion, then get into step 412, this good friend joins within the current grouping, and the new user in adding is divided into groups is changed to the active user of this grouping;
Step 410, current group are divided and are finished;
Step 412; Active user's cohesion maximum good friend that do not divide into groups is added grouping; Active user's cohesion maximum that can find through step 418 good friend that do not divide into groups, the cohesion maximum that then in this grouping, adds the active user good friend that do not divide into groups, the active user that this groupings is interior replaces to initiate user; Come back to step 408, search the maximum good friend of active user's cohesion;
Step 414 judges whether all users divide into groups to accomplish; Divided into groups to accomplish if divide all users of end module, then got into step 416 by current group; If do not accomplish all users' grouping, then proceed to and search user data, get back to step 402;
Step 416, according to all groupings of having distributed will divide into groups in user data be assigned to corresponding server.
Referring to Fig. 5, unique user divided to the flow process of user grouping comprise at least:
Step 502, active user's information is imported into;
Step 504, this user is incorporated as grouping user tabulation, and (when active user's information was imported into, the grouping user tabulation did not refer to all users of importing into; When judging the user data that produces in single packet and the grouping, the grouping user tabulation does not refer to remove among all users all users that divided into groups);
Step 506, the cohesion maximum that this user is taken as other users good friend that do not divide into groups joins a user grouping;
Step 508, this user becomes the not interior traffic maximum user of grouping user tabulation, adds new interior first user that divides into groups that divides into groups to become;
Step 510 becomes the interior member that divides into groups.
Referring to Fig. 6, add the user for user grouping and comprise following flow process at least:
Step 602, a user is set to the active user;
Step 604 is searched active user's the maximum good friend of cohesion, and whether the maximum good friend of this cohesion is active user's good friend, and in the time period of gathering related information, produces the maximum user of amount of information exchange with the active user, do not distinguish this user and divide into groups;
The counter N that step 606, circulation searching cohesion maximum are not divided into groups the good friend judges and searches the number of times of user good friend quantity, if number of times judges no longer then that greater than N get into step 614, grouping is accomplished; If N still greater than 0, then gets into step 608, judge whether the maximum good friend of current cohesion divides into groups;
Step 608; Judge whether the maximum good friend of current cohesion divides into groups, judge by before among the grouping that produces before whether having added to of the active user's that finds out the maximum good friend of cohesion, if before having added among the grouping of generation; Then get into step 612, otherwise get into step 610;
Step 610, maximum good friend adds this grouping with active user's cohesion, judges that through step 608 drawing the maximum good friend of current cohesion does not add other grouping, and add current group with the maximum good friend of active user's cohesion this moment;
Step 612; Element in the maximum buddy list of deletion cohesion; From the maximum buddy list deletion of active user's cohesion, in order to avoid still detect this good friend during next cycle detection, this process has avoided detecting same good friend more than twice or twice with the maximum good friend of active user's cohesion;
Step 614, the completion of dividing into groups if inquiry times surpasses when searching user good friend quantity N, then will be preserved current group and the interior user profile of dividing into groups through the maximum good friend of cyclic query active user's cohesion.
About searching the value of user good friend quantity N, can be referring to Fig. 7.Number of users 702 in the value of N as shown in Figure 7 and the whole instant communicating system, maximum good friend's quantity 704 of unique user, instant communication server quantity 706, each the time communication server capacity 708 and maximum duration 710 that unique user divides into groups relevant.Particularly, the number of users 702 in the instant communicating system is meant the user's of whole instant communicating system sum, and the order of magnitude of instant communication user can be millions to hundred million grade, and such instant communicating system has MSN, QQ etc.; And the number of users level of enterprise-level instant messaging is about 100,000 grades.The number of users magnitude of instant communicating system is big more, and the value of then searching user good friend times N is big more.
Maximum good friend's quantity 704 of unique user is meant in the instant communication system that unique user can add good friend's maximum; For example maximum good friend's quantity of QQ is 500 (not using under the situation of any value-added service), and maximum good friend's quantity of MSN is 1000.If maximum good friend's quantity of unique user is many more, the value of then searching user good friend times N is big more.
Instant communication server quantity 706 is meant the number of servers of the whole instant communication system user data of storage.
The capacity 708 of individual server is meant the maximum quantity restriction that single instant communication server can storaging user data.Searching user good friend times N increases along with the increase of the capacity 708 of number of servers 706 and individual server.
The maximum duration 710 that unique user divides into groups is meant that all customer data is assigned to the maximum duration that can tolerate on a certain server in the grouping, if the maximum duration that unique user divides into groups is long more, it is big more to search user good friend times N.
To sum up, according to user's distributor and user's distribution method of instant communication server of the present invention, that can the user that the mutual traffic is big concentrates leaves on the server, makes these users when communication, consume less resource.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. user's distributor of an instant communication server is characterized in that, comprising:
The user data acquisition module, the cohesion of intrasystem at least one user of computing instant communication and its associated user;
The grouping control module is added said at least one user in the corresponding user grouping to according to said cohesion;
Administration module is dispensed to corresponding instant communication server based on said user grouping with said at least one user and corresponding user data,
Wherein, said cohesion is based on said user and the traffic volume calculations of its associated user in Preset Time.
2. user's distributor of instant communication server according to claim 1 is characterized in that, said grouping control module comprises:
Divide the creation submodule, be used to realize packet creation process, comprising: creates a user grouping, one of selection grouping user not is added in the said user grouping from said instant communicating system, and this not grouping user be set to the active user;
The user adds submodule, is used to realize that the user adds process, comprising: obtain and the maximum top n associated user of said active user's cohesion; And according to the size order of cohesion; Judge that successively whether each said associated user is grouping user not, if then stop judgement to other associated users; And should be added in the said user grouping by ungrouped associated user; And after should ungrouped associated user being set to said active user, repeating said user and add process, otherwise continue other associated users are judged;
The control submodule divides into groups; Be used for not existing under the situation of grouping user not at said top n associated user; Control said minute creation submodule and said user and add that submodule repeats said packet creation process respectively and said user adds process, in said instant communicating system, do not have not grouping user.
3. user's distributor of instant communication server according to claim 2; It is characterized in that; If have a plurality of not grouping user in the said instant communicating system, preferentially that the traffic is the big not grouping user of creation submodule was added into said user grouping in said minute.
4. user's distributor of instant communication server according to claim 2 is characterized in that, said grouping control module also comprises:
Numerical value obtains submodule, confirms to allow the numerical value of N of the associated user that obtains, wherein, the influencing factor of the value of said numerical value of N comprise following one of at least or its combination:
The long process time of number of users, each said user's maximum number of contacts, each said user grouping in the quantity of said instant communication server, the capacity of each said instant communication server, the said instant communicating system.
5. according to user's distributor of each described instant communication server in the claim 1 to 4, it is characterized in that user and corresponding user data that said administration module will be in the same user grouping are distributed on the same instant communication server.
6. user's distribution method of an instant communication server is characterized in that, comprising:
Step 202, the cohesion of intrasystem at least one user of computing instant communication and its associated user;
Step 204 is added said at least one user in the corresponding user grouping to according to said cohesion;
Step 206 is dispensed to corresponding instant communication server based on said user grouping with said at least one user and corresponding user data,
Wherein, said cohesion is based on said user and the traffic volume calculations of its associated user in Preset Time.
7. user's distribution method of instant communication server according to claim 6 is characterized in that, said step 204 comprises:
Step 2042 is created a user grouping, from said instant communicating system, selects a not grouping user, be added in the said user grouping, and this not grouping user be set to the active user;
Step 2044 is obtained and top n associated user that said active user's cohesion is maximum, and according to the size order of cohesion; Judge that successively whether each said associated user is grouping user not, if then stop judgement to other associated users; And should be added in the said user grouping by ungrouped associated user; And after should ungrouped associated user being set to said active user, repeat said step 2044, otherwise continue other associated users are judged;
Step 2046 if do not have not grouping user in the said top n associated user, then repeats said step 2042 and said step 2044, in said instant communicating system, does not have not grouping user.
8. user's distribution method of instant communication server according to claim 7; It is characterized in that; In said step 2042, if having a plurality of not grouping user in the said instant communicating system, the then preferential not grouping user that the traffic is big is added into said user grouping.
9. user's distribution method of instant communication server according to claim 7 is characterized in that, before the said step 2044, also comprises:
Confirm to allow the numerical value of N of the associated user that obtains, wherein, the influencing factor of the value of said numerical value of N comprise following one of at least or its combination:
The long process time of number of users, each said user's maximum number of contacts, each said user grouping in the quantity of said instant communication server, the capacity of each said instant communication server, the said instant communicating system.
10. according to user's distribution method of each described instant communication server in the claim 6 to 9, it is characterized in that said step 206 comprises:
The user and the corresponding user data that will be in the same user grouping are distributed on the same instant communication server.
CN201210274419.7A 2012-08-03 2012-08-03 User distribution device and user distribution method of instant messaging server Expired - Fee Related CN102769583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210274419.7A CN102769583B (en) 2012-08-03 2012-08-03 User distribution device and user distribution method of instant messaging server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210274419.7A CN102769583B (en) 2012-08-03 2012-08-03 User distribution device and user distribution method of instant messaging server

Publications (2)

Publication Number Publication Date
CN102769583A true CN102769583A (en) 2012-11-07
CN102769583B CN102769583B (en) 2015-03-18

Family

ID=47096837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210274419.7A Expired - Fee Related CN102769583B (en) 2012-08-03 2012-08-03 User distribution device and user distribution method of instant messaging server

Country Status (1)

Country Link
CN (1) CN102769583B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994006A (en) * 2015-07-14 2015-10-21 王明伟 Back-to-back instant communication method and device based on WeChat public number
CN105354205A (en) * 2015-01-13 2016-02-24 吴昱珂 Interpersonal relationship management method, interpersonal relationship management system and corresponding intelligent terminal
CN106921777A (en) * 2017-03-07 2017-07-04 百度在线网络技术(北京)有限公司 Information processing method and device, computer equipment and computer-readable medium
CN107113224A (en) * 2015-01-02 2017-08-29 连股份有限公司 The method and system and recording medium of the chat software service controlled by specified conditions are provided

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127735A (en) * 2007-09-24 2008-02-20 腾讯科技(深圳)有限公司 A method, system and device for grouping mobile instant communication contacts
WO2009130218A1 (en) * 2008-04-24 2009-10-29 Xelerated Ab A traffic manager and a method for a traffic manager
CN101997692A (en) * 2009-08-09 2011-03-30 朱烽 Friend information generating method of instant messaging (IM) software based on voice communication records

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127735A (en) * 2007-09-24 2008-02-20 腾讯科技(深圳)有限公司 A method, system and device for grouping mobile instant communication contacts
WO2009130218A1 (en) * 2008-04-24 2009-10-29 Xelerated Ab A traffic manager and a method for a traffic manager
CN101997692A (en) * 2009-08-09 2011-03-30 朱烽 Friend information generating method of instant messaging (IM) software based on voice communication records

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107113224A (en) * 2015-01-02 2017-08-29 连股份有限公司 The method and system and recording medium of the chat software service controlled by specified conditions are provided
US11606322B2 (en) 2015-01-02 2023-03-14 Line Corporation Methods, systems and recording mediums for providing messenger service having specific condition
US11929970B2 (en) 2015-01-02 2024-03-12 Line Corporation Methods, systems and recording mediums for providing messenger service having specific condition
CN105354205A (en) * 2015-01-13 2016-02-24 吴昱珂 Interpersonal relationship management method, interpersonal relationship management system and corresponding intelligent terminal
CN104994006A (en) * 2015-07-14 2015-10-21 王明伟 Back-to-back instant communication method and device based on WeChat public number
CN104994006B (en) * 2015-07-14 2017-10-24 王明伟 Back-to-back instant communicating method and device based on wechat public number
CN106921777A (en) * 2017-03-07 2017-07-04 百度在线网络技术(北京)有限公司 Information processing method and device, computer equipment and computer-readable medium

Also Published As

Publication number Publication date
CN102769583B (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN109040259B (en) CDN node distribution method and system based on MEC
CN106412040B (en) A kind of method and device of cache resource allocation
CA2754086C (en) Method and system for transmitting information based on social network
CN104486452B (en) A kind of processing method of address, relevant device and system
CN101500022B (en) Data access resource allocation method, system and equipment therefor
US7768940B2 (en) Data delivery system and data delivery method
CN101778013B (en) Website testing system and method
CN102880969A (en) Advertisement putting method, advertisement putting server and advertisement putting system
CN107404541B (en) Method and system for selecting neighbor node in peer-to-peer network transmission
CN101572629A (en) Method and device for processing IP data
CN105187297A (en) Multi-stage group control method based on instant messaging
CN107241319A (en) Distributed network crawler system and dispatching method based on VPN
CN102769583A (en) User distribution device and user distribution method of instant messaging server
CN109672757A (en) File access method and file access processing unit
CN103679498B (en) A kind of information-pushing method and its system to the network terminal
CN104408640B (en) Application software recommends method and device
CN109818809A (en) Interactive voice response system and its data processing method and phone customer service system
CN110519090A (en) A kind of accelerator card distribution method, system and the associated component of FPGA cloud platform
CN110022375A (en) The distribution method and device of agent node
CN108074123A (en) The distribution method and system of outgoing call list
CN104283963A (en) Distributed and collaborative type CDN load balancing method
CN105933178A (en) Method, device and terminal device for detecting communication link
CN110309181A (en) A kind of data query method and relevant apparatus
CN110019054A (en) Log De-weight method and system, content distribution network system
CN112738247B (en) Cloud computing resource distribution system and method based on multi-layer space scheduling

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

Granted publication date: 20150318

Termination date: 20210803

CF01 Termination of patent right due to non-payment of annual fee