CN104410709B - Across the distribution method and device for taking family - Google Patents
Across the distribution method and device for taking family Download PDFInfo
- Publication number
- CN104410709B CN104410709B CN201410768566.9A CN201410768566A CN104410709B CN 104410709 B CN104410709 B CN 104410709B CN 201410768566 A CN201410768566 A CN 201410768566A CN 104410709 B CN104410709 B CN 104410709B
- Authority
- CN
- China
- Prior art keywords
- server
- value
- active
- active ues
- ability value
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention provides a kind of across the distribution method and device of taking family, this method includes:The active value of all users in each server is obtained, and chooses any active ues that active value is more than the first predetermined threshold value, wherein, the time parameter that the service that server provides is used continuously to user for the active value is directly proportional;Calculate the ability value for each any active ues chosen;According to the ability value of each any active ues, the ability value of each server is calculated, and each server is grouped according to the ability value of each server;Any active ues of the same group server of distribution are to identical platform, to carry out information exchange between different user.The embodiment of the present invention causes can be in a rational range with the ability value difference for organizing each any active ues in server, and ability is balanced between ensure that each server.
Description
Technical field
It is particularly a kind of across the distribution method and device of taking family the present invention relates to Internet technical field.
Background technology
At present, when providing service in internet, in order to meet the diversified demand of user, occur different server
User distributes to identical platform the situation for carrying out information exchange, as different server user between the countermeasure activity played
Deng.
In the relevant technologies, the average ability distribution for taking time or server can be opened across taking family with server.With clothes
When the opening of business device takes time distribution (open take the user that the server that the time closes on possesses distribute to identical platform), in fact it could happen that
Some old area A has become dead zone, i.e. the number of users of old area A is seldom, and another old area B then has large quantities of users, causes old
For the user of area B with the user of old area A when identical platform interacts, user's entirety interaction capabilities of old area B are poor.It is averaged with server
When ability is allocated (user that i.e. server similar in average ability possesses is distributed to identical platform), it may appear that old area is active
User is few, and personal strength is strong, but the main plot strength that is averaged is weak, and new district individual subscriber strength is weak, but due to more than any active ues and whole
Area be averaged strength height.If such old area user and new district user are assigned to identical platform, when carrying out countermeasure activity, can cause
Old area user possesses new district user absolute advantage.
In conclusion solve the problem of that there are the uneven schemes of capability distribution when family distribution is taken it is urgent to provide a kind of.
Invention content
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly
State problem across the distribution method and device for taking family.
One side according to the present invention, provide it is a kind of across the distribution method for taking family, suitable for by different server
User distribute to identical platform carry out information exchange situation, including:The active value of all users in each server is obtained, and
Any active ues that active value is more than the first predetermined threshold value are chosen, wherein, the active value is used continuously server with user and provides
Service time parameter it is directly proportional;The ability value for each any active ues chosen is calculated, wherein, any active ues
Ability value refers to any active ues and the ability value provided during other users information exchange;According to each any active ues
Ability value, calculates the ability value of each server, and according to the ability value of each server to each server into
Row grouping;Any active ues of the same group server of distribution are to identical platform, to carry out information exchange between different user.
Optionally, each server is grouped according to the ability value of each server and further comprised:It will
The server that the difference of force value is less than the second predetermined threshold value is divided into one group.
Optionally, the active value of all users in each server is obtained, including:All users in each server are obtained to divide
It is assigned to active value daily in N days before identical platform interacts;
Any active ues that active value is more than the first predetermined threshold value are chosen, including:It chooses in described first N days more than M days daily
Active value be all higher than any active ues of the first predetermined threshold value;Alternatively, the average active value of N days before calculating, selection average active
Value is more than any active ues of the first predetermined threshold value.
Optionally, the ability value of each any active ues of selection is calculated, including:For each any active ues,
Obtain multiple capabilities attribute information of any active ues;Determine the corresponding property value of each capabilities attribute information and weights;Root
According to determining property value and weights, processing is weighted to each capabilities attribute information, obtains the ability value of any active ues.
Optionally, according to the ability value of each any active ues, the ability value of each server is calculated, including:
For each server, eliminating ability value is less than any active ues of third predetermined threshold value;According to the energy of remaining any active ues
Force value calculates the ability value of each server.
Optionally, the ability value of each server is calculated according to the ability value of remaining any active ues, including:For described
Each server determines the quantity of remaining any active ues and quantity coefficient;To the quantity of remaining any active ues and quantity system
The ability value summation of several products and remaining any active ues, obtains the ability value of each server.
Optionally, the method further includes:If the quantity with group server is at least three, distribute described with group clothes
It is engaged in after any active ues to identical platform of device, further includes:It will be two in the server with group according to preset partition strategy
Or any active ues of more than two servers are divided into same interactive group, any active ues of remaining server are divided into another
Interaction group.
Optionally, according to preset partition strategy by it is described with group server in two or more servers work
Jump user is divided into same interactive group, and any active ues of remaining server are divided into another interactive group, including:By described same group
The ability value of server is descending to be ranked up;Any active ues of the server to sort rearward are divided into same interactive group,
Any active ues of the most preceding server of sequence are as another interactive group.
Optionally, at the end of described information interacts, the income for the most preceding server that sorts is multiplied by default income coefficient.
Other side according to the present invention, additionally provide it is a kind of across the distributor for taking family, suitable for by different clothes
The user of business device distributes to identical platform the situation for carrying out information exchange, including:
Module is chosen, suitable for obtaining the active value of all users in each server, and it is default more than first to choose active value
Any active ues of threshold value, wherein, the time parameter that the service that server provides is used continuously to user for the active value is directly proportional;
Computing module, suitable for calculating the ability value for each any active ues chosen, and according to each active use
The ability value at family calculates the ability value of each server, wherein, the ability value of any active ues refers to the active use
Family and the ability value provided during other users information exchange;
Grouping module is grouped each server suitable for the ability value according to each server;
Distribution module, suitable for distributing any active ues with group server to identical platform, to carry out letter between different user
Breath interaction.
Optionally, server of the difference of ability value less than the second predetermined threshold value is further divided into one by the grouping module
Group.
Optionally, the selection module is further adapted for:All users in each server are obtained to carry out in distribution to identical platform
Active value daily in N days before interaction;It chooses active value daily more than M days in described first N days and is all higher than the first predetermined threshold value
Any active ues, alternatively, the average active value of N days before calculating, chooses active use of the average active value more than the first predetermined threshold value
Family.
Optionally, the computing module is further adapted for:For each any active ues, multiple energy of any active ues are obtained
Power attribute information;Determine the corresponding property value of each capabilities attribute information and weights;According to determining property value and weights,
Processing is weighted to each capabilities attribute information, obtains the ability value of any active ues.
Optionally, the grouping module is further adapted for:For each server, eliminating ability value is less than third predetermined threshold value
Any active ues;The ability value of each server is calculated according to the ability value of remaining any active ues.
Optionally, the grouping module is further adapted for:For each server, determine the quantity of remaining any active ues with
And quantity coefficient;To the ability value of the quantity of remaining any active ues and the product of quantity coefficient and remaining any active ues
Summation, obtains the ability value of each server.
Optionally, described device further includes:Division module, if being at least three suitable for the quantity with group server,
It distributes after any active ues to identical platform with group server, according to preset partition strategy by described with group server
In any active ues of two or more servers be divided into same interactive group, any active ues of remaining server divide
It is another interactive group.
Optionally, the division module is further adapted for:The ability value with group server descending is ranked up;It will
Any active ues of the server of sequence rearward are divided into same interactive group, and any active ues of the most preceding server of sequence are as another
Interaction group.
Optionally, the division module is further adapted for:At the end of described information interacts, by the receipts of most preceding server that sort
Benefit is multiplied by default income coefficient.
The technical solution provided according to the present invention obtains the active value of all users in each server, and based on active value
Any active ues more than the first predetermined threshold value calculate the ability value of each server, and then the difference of the ability value of each server is small
It is used as in the server of the second predetermined threshold value with group server, which is distributed to identical platform,
To carry out information exchange between different user.Since the time parameter for the service that server provides is used continuously in active value and user
Directly proportional, active value is more than in any active ues of the first predetermined threshold value, ability value occurs and is located at two extreme any active ues (i.e.
As soon as the ability value of any active ues is very big, the ability value of another any active ues is very small) probability reduce, can cause
Ability value difference with each any active ues in group server can be in a relatively reasonable range.And based on each active
The difference of ability value is less than the server point of the second predetermined threshold value by the ability value of each server that the ability value of user calculates
It is one group, further ensures with ability equilibrium between each server in group server, so as to solve in the relevant technologies with clothes
Business device open take time or server average ability distribution across taking family, there are unreasonable, unbalanced problems.
Further, for each server, eliminating ability value is less than any active ues of third predetermined threshold value, later according to surplus
The ability value of remaining any active ues calculates the ability value of each server, in this case, ensures the ability value between each any active ues
Be not in two extreme situations, so that balanced with the information exchange ability between group server.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
According to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will be brighter
The above and other objects, advantages and features of the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will become clear.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow diagram according to an embodiment of the invention across the distribution method for taking family;
Fig. 2 shows the flow diagrams in accordance with another embodiment of the present invention across the distribution method for taking family;
Fig. 3 shows the structure diagram according to an embodiment of the invention across the distributor for taking family;And
Fig. 4 shows the structure diagram in accordance with another embodiment of the present invention across the distributor for taking family.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
In order to solve the above technical problems, an embodiment of the present invention provides a kind of across the distribution method for taking family, Fig. 1 is shown
Flow diagram according to an embodiment of the invention across the distribution method for taking family.As shown in Figure 1, this method includes at least
Following steps S102, step S104, step S106 and step S108.
Step S102, the active value of all users in each server is obtained, and chooses active value more than the first predetermined threshold value
Any active ues, wherein, the time parameter that the service that server provides is used continuously in active value and user is directly proportional.
Step S104, the ability value for each any active ues chosen is calculated, wherein, the ability value of any active ues refers to actively
User and the ability value provided during other users information exchange.
Step S106, according to the ability value of each any active ues, the ability value of each server is calculated, and according to each service
The ability value of device is grouped each server.
In one embodiment, the server that the difference of ability value can be less than to the second predetermined threshold value is divided into one group.
Step S108, any active ues of the same group server of distribution are to identical platform, to be handed between different user into row information
Mutually.
The technical solution provided according to the present invention obtains the active value of all users in each server, and based on active value
Any active ues more than the first predetermined threshold value calculate the ability value of each server, and then the difference of the ability value of each server is small
It is used as in the server of the second predetermined threshold value with group server, which is distributed to identical platform,
To carry out information exchange between different user.Since the time parameter for the service that server provides is used continuously in active value and user
Directly proportional, active value is more than in any active ues of the first predetermined threshold value, ability value occurs and is located at two extreme any active ues (i.e.
As soon as the ability value of any active ues is very big, the ability value of another any active ues is very small) probability reduce, can cause
Ability value difference with each any active ues in group server can be in a relatively reasonable range.And based on each active
The difference of ability value is less than the server point of the second predetermined threshold value by the ability value of each server that the ability value of user calculates
It is one group, further ensures with ability equilibrium between each server in group server, so as to solve in the relevant technologies with clothes
Business device open take time or server average ability distribution across taking family, there are unreasonable, unbalanced problems.
Technical solution provided in an embodiment of the present invention is carried out suitable for distributing the user of different server to identical platform
The situation of information exchange, the countermeasure activity played between the user of information exchange such as different server here are different
The user of server goes to complete certain task respectively to show capabilities might of each side etc..
The time parameter for the service that server provides is used continuously into just with user in the active value that above step S102 is referred to
Than.In another embodiment, user can also obtain active value by other approach, for example, user starts or complete server
The everyday tasks of offer can obtain the active value specified, and the information that user's sharing service device provides can also obtain specified
Active value, etc., the present invention is not limited thereto.Further, in order to embody the validity of active value, institute in each server is obtained
There is the active value of user, can be that all users are every in N days before distribution is interacted to identical platform in each server of acquisition
It active value.Active value daily more than M days in N days is all higher than any active ues of the first predetermined threshold value before then choosing.Or
Person, the average active value of N days before can also calculating choose any active ues that average active value is more than the first predetermined threshold value.Here
The selection of first predetermined threshold value can determine that is, active value is more than any active ues of the first predetermined threshold value according to actual conditions
In, ability value occur, (ability value of i.e. one any active ues is very big, another active use positioned at two extreme any active ues
The ability value at family is very small) probability just reduce.For example, distribution server A, B, C and D is needed to carry out across taking battlefield pair
It is anti-, then obtain the active value that all users are daily in the first seven day of confrontation on the battlefield in each server of A, B, C and D.Then choose
In seven days daily active value be all higher than 40 any active ues or have the enlivening more than 50 of the active value of four days in choosing seven days
The average active value of user or selection seven days is more than 45 any active ues.It should be noted that it is only signal to illustrate herein
Property, it is not intended to restrict the invention.
After step S102 chooses any active ues of the active value more than the first predetermined threshold value, step S104 calculates what is chosen
The ability value of each any active ues, the present invention provides a kind of preferred technical solution, in this scenario, for each active use
Family, can obtain multiple capabilities attribute information of any active ues, and determine the corresponding property value of each capabilities attribute information with
And weights, and then according to determining property value and weights, processing is weighted to each capabilities attribute information, it is active to obtain this
The ability value of user.For example, to Mr. Yu's any active ues, the multiple capabilities attribute information for obtaining any active ues are attribute 1, attribute
2 and attribute 3, further determine that the corresponding property value of each capabilities attribute information is respectively a1, a2, a3, weights be respectively b1,
B2, b3 are weighted processing to property value and weights, obtain the ability value of any active ues:
Ability value=a1 × b1+a2 × b2+a3 × b3.
After the ability value for calculating each any active ues chosen in step S104, step S106 is according to each any active ues
Ability value, calculate the ability value of each server, and each server is grouped according to the ability value of each server, will
The server that the difference of force value is less than the second predetermined threshold value is divided into one group.Here, in order to further ensure between each any active ues
Ability value is not in two extreme situations (that is, the ability value difference of each any active ues can be rational at one
In the range of) so that balanced with the information exchange ability between group server, the present invention provides one kind preferably to calculate each server
Ability value scheme, in this scenario, for each server, the active use of third predetermined threshold value can be less than with eliminating ability value
Family, and then calculate according to the ability value of remaining any active ues the ability value of each server.Here third predetermined threshold value can
To be the specified numerical value analyzed according to actual conditions or be multiplied by according to the average energy force value of any active ues in each server
The numerical value that certain coefficient is calculated.For example, any active ues that active value is more than the first predetermined threshold value are chosen from server A
100 are shared, in this 100 any active ues, ability value is that any active ues of c1 there are 10, and ability value is any active ues of c2
There are 40, ability value is that any active ues of c3 there are 40, and ability value is that any active ues of c4 have 10, and this 100 active use
The average energy force value at family is c0.So ability value is less than c0 and any active ues of coefficient k product are removed.
Further, the ability value that each server is calculated according to the ability value of remaining any active ues may be embodied as pair
In each server, the quantity of remaining any active ues and quantity coefficient are determined, and then ability value to remaining any active ues,
Quantity and the summation of quantity coefficient are averaged, and obtain the ability value of each server.By taking server A above as an example, it is assumed that ability value
Any active ues for c4 are removed, and the quantity for determining remaining any active ues at this time is 90, and quantity coefficient is 50, and then to surplus
The quantity of remaining any active ues is summed with the product of quantity coefficient and the ability value of remaining any active ues, then is serviced
The ability value of device A is 90 × 50+c1 × 10+c2 × 40+c3 × 40.
In the embodiment of the present invention, if the quantity with group server is two, carried out between any active ues of two servers
Information exchange.Such as can be as unit of server, the countermeasure activity or any active ues played between any active ues are gone
Complete the capabilities might of certain task to show each side, etc..If the quantity with group server is at least three, in order to enable each clothes
Ability is balanced between business device, can be according to pre- after any active ues to identical platform for distributing with group server in step S108
If partition strategy any active ues of two or more servers in same group of server are divided into same interactive group, remain
Any active ues of remaining server are divided into another interactive group.For example, it arranges the ability value of same group of server is descending
Sequence, and then any active ues of the server to sort rearward are divided into same interactive group, the active use of the most preceding server of sequence
Default capacity factor is multiplied by as another interactive group, and by the ability value for the most preceding server that sorts in family.For example, if same group
The quantity of server is three, such as server A, B and C, is ranked up their ability value is descending, is sequentially server
C、A、B.At this point, server A, any active ues of B are divided into same interactive group, any active ues of server C are as another friendship
Mutual group, and the income of server C is multiplied by default income coefficient at the end of the interaction and (is greater than 1 income system
Number) so that the interaction of both sides reaches fair as possible.In another example if the quantity with group server is four, such as server A, B, C
And D, it is ranked up their ability value is descending, is sequentially server C, A, B, D.At this point, server A, B are enlivened
User is divided into same interactive group, and any active ues of server C, D are as another interactive group.
A variety of realization methods of each link in embodiment shown in FIG. 1 are described above, below by specific preferred real
Example is applied to be described further across the distribution method for taking family to provided in an embodiment of the present invention.
Fig. 2 shows the flow diagrams in accordance with another embodiment of the present invention across the distribution method for taking family.At this
In embodiment, for carrying out game confrontation across the distribution for taking family, server A, B, C, E, F and G are to be allocated multiple
Server can ensure to distribute to ability equilibrium between each server of identical platform using technical solution provided by the invention,
Embody the fairness of game confrontation.As shown in Fig. 2, this method includes the following steps S202, S204, S206, S208 and step
S210。
Step S202, all users in each server (i.e. server A, B, C, E, F and G) are obtained and fight the first seven in game
Daily active value in it, and daily active value is all higher than 40 any active ues in choosing seven days.
Here the time parameter that the service that server provides is used continuously to user for active value is directly proportional.In another implementation
In example, user can also obtain active value by other approach, for example, user starts or complete the everyday tasks of server offer
The active value specified can be obtained, the information that user's sharing service device provides can also obtain active value specified, etc..
The embodiment of the present invention can also be chosen to have any active ues of the active value of four days more than 50 in seven days or choose seven days and be averaged
Active value is more than 45 any active ues.Certainly it is only schematic to illustrate herein, is not intended to restrict the invention.
Step S204, the ability value for each any active ues chosen is calculated, wherein, the ability value of any active ues refers to actively
User and the ability value provided during other users game interaction.
For each any active ues, multiple capabilities attribute information of any active ues can be obtained, and determine each ability
The corresponding property value of attribute information and weights, and then according to determining property value and weights, to each capabilities attribute information
Processing is weighted, obtains the ability value of any active ues.For example, to Mr. Yu's any active ues, the multiple of any active ues are obtained
Capabilities attribute information is attribute 1, attribute 2 and attribute 3, further determines that the corresponding property value difference of each capabilities attribute information
For a1, a2, a3, weights are respectively b1, b2, b3, are weighted processing to property value and weights, obtain the energy of any active ues
Force value:
Ability value=a1 × b1+a2 × b2+a3 × b3.
Step S206, for each server, eliminating ability value is less than any active ues of average energy force value, and according to remaining
The ability value of any active ues calculates the ability value of each server.
For example, daily active value is all higher than 40 any active ues and shares 100 in being chosen seven days from server A
A, in this 100 any active ues, ability value is that any active ues of c1 have 10, and ability value is that any active ues of c2 have 40,
Ability value is that any active ues of c3 have 40, ability value is that any active ues of c4 have 10, and this 100 any active ues are averaged
Ability value is c0.It needs ability value being less than c0 and any active ues of coefficient k product and be removed, since c4 less than c0 is multiplied by coefficient
K, thus any active ues that ability value is c4 are removed, the quantity for determining remaining any active ues at this time is 90, quantity coefficient
Be 50, so to the ability value of the quantity of remaining any active ues and the product of quantity coefficient and remaining any active ues into
Row summation, then the ability value of server A is 90 × 50+c1 × 10+c2 × 40+c3 × 40.
Step S208, each server is grouped according to the ability value of each server, the difference of ability value is less than pre-
If the server of threshold value is divided into one group.
It is respectively d1, d2, d3, d4, d5, d6 by the ability value of each server that step S206 is calculated, wherein, ability value
The difference of d1, d2, d3 are less than predetermined threshold value, are one group by server A, B, C points, and the difference of ability value d4, d5, d6, which are less than, to be preset
Threshold value, it is one group that can divide server E, F, G.
Step S210, any active ues of the same group server of distribution are to identical platform, in different user as unit of server
Between carry out game confrontation.
It can be ranked up the ability value of same group of server is descending, and then enlivening the server to sort rearward
User is divided into same interactive group, and any active ues of the most preceding server of sequence are and most preceding by sorting as another interactive group
The ability value of server is multiplied by default capacity factor.Such as server A, B and C, it is ranked up their ability value is descending,
It is sequentially server C, A, B.At this point, server A, any active ues of B are divided into same interactive group, the active use of server C
The income of server C is multiplied by default income coefficient at the end of confrontation of playing and (is greater than as another interactive group in family
1 income coefficient).
It should be noted that in practical application, combination may be used in above-mentioned all optional embodiments arbitrary group of mode
It closes, forms the alternative embodiment of the present invention, this is no longer going to repeat them.
Based on same inventive concept, the embodiment of the present invention additionally provide it is a kind of across the distributor for taking family, in realization
It states across the distribution method for taking family.
Fig. 3 shows the structure diagram according to an embodiment of the invention across the distributor for taking family.Referring to figure
3, which includes at least:Choose module 310, computing module 320, grouping module 330 and distribution module 340.
Now introduce the respectively function and each section of composition or device across the distributor for taking family of the embodiment of the present invention
Between connection relation:
Module 310 is chosen, suitable for obtaining the active value of all users in each server, and it is pre- more than first to choose active value
If any active ues of threshold value, wherein, the time parameter that the service that server provides is used continuously to user for active value is directly proportional;
Computing module 320 is coupled with choosing module 310, suitable for calculating the ability value for each any active ues chosen, and
According to the ability value of each any active ues, the ability value of each server is calculated, wherein, the ability value of any active ues refers to actively
User and the ability value provided during other users information exchange;
Grouping module 330 is coupled with computing module 320, suitable for the ability value according to each server to each server into
Row grouping;
Distribution module 340 is coupled with grouping module 330, and any active ues suitable for distributing with group server are put down to same
Platform, to carry out information exchange between different user.
In one embodiment of the invention, grouping module 330 is further adapted for the difference of ability value being less than second in advance
If the server of threshold value is divided into one group.Above-mentioned selection module 310 is further adapted for:All users in each server are obtained to distribute to same
One platform active value daily in N days before interacting;It is pre- to be all higher than first to active value daily more than M days in N days before selection
If any active ues of threshold value, alternatively, the average active value of N days before calculating, chooses average active value more than the first predetermined threshold value
Any active ues.
In one embodiment of the invention, above-mentioned computing module 320 is further adapted for:For each any active ues, obtaining should
Multiple capabilities attribute information of any active ues;Determine the corresponding property value of each capabilities attribute information and weights;According to determining
Property value and weights, processing is weighted to each capabilities attribute information, obtains the ability value of any active ues.
In one embodiment of the invention, above-mentioned grouping module 330 is further adapted for:For each server, eliminating ability value
Less than any active ues of third predetermined threshold value;The ability value of each server is calculated according to the ability value of remaining any active ues.
In one embodiment of the invention, above-mentioned grouping module 330 is further adapted for:For each server, determine remaining
The quantity of any active ues and quantity coefficient;To the quantity of remaining any active ues and the product of quantity coefficient and remaining
The ability value summation of any active ues, obtains the ability value of each server.
In one embodiment of the invention, Fig. 4 shows in accordance with another embodiment of the present invention across point for taking family
Structure diagram with device.Referring to Fig. 4, which further includes:Division module 410 is coupled with distribution module 340, is suitable for
If the quantity with group server is at least three, distribute after any active ues to identical platform with group server, according to default
Partition strategy any active ues of two or more servers in same group of server are divided into same interactive group, it is remaining
Any active ues of server be divided into another interactive group.
In one embodiment of the invention, above-mentioned division module 410 is further adapted for:By the ability value of same group of server by big
It is ranked up to small;Any active ues of the server to sort rearward are divided into same interactive group, the most preceding server of sequence
The income for the most preceding server that sorts is multiplied by pre- by any active ues as another interactive group, and at the end of described information interacts
If income coefficient (the income coefficient for being greater than 1).
According to the combination of any one above-mentioned preferred embodiment or multiple preferred embodiments, the embodiment of the present invention can reach
Following advantageous effect:
The technical solution provided according to the present invention obtains the active value of all users in each server, and based on active value
Any active ues more than the first predetermined threshold value calculate the ability value of each server, and then the difference of the ability value of each server is small
It is used as in the server of the second predetermined threshold value with group server, which is distributed to identical platform,
To carry out information exchange between different user.Since the time parameter for the service that server provides is used continuously in active value and user
Directly proportional, active value is more than in any active ues of the first predetermined threshold value, ability value occurs and is located at two extreme any active ues (i.e.
As soon as the ability value of any active ues is very big, the ability value of another any active ues is very small) probability reduce, can cause
Ability value difference with each any active ues in group server can be in a relatively reasonable range.And based on each active
The difference of ability value is less than the server point of the second predetermined threshold value by the ability value of each server that the ability value of user calculates
It is one group, further ensures with ability equilibrium between each server in group server, so as to solve in the relevant technologies with clothes
Business device open take time or server average ability distribution across taking family, there are unreasonable, unbalanced problems.
Further, for each server, eliminating ability value is less than any active ues of third predetermined threshold value, later according to surplus
The ability value of remaining any active ues calculates the ability value of each server, in this case, ensures the ability value between each any active ues
Be not in two extreme situations, so that balanced with the information exchange ability between group server.
The invention also discloses:
It is A1, a kind of across the distribution method for taking family, it is carried out suitable for distributing the user of different server to identical platform
The situation of information exchange, including:
The active value of all users in each server is obtained, and chooses the active use that active value is more than the first predetermined threshold value
Family, wherein, the time parameter that the service that server provides is used continuously to user for the active value is directly proportional;
The ability value for each any active ues chosen is calculated, wherein, the ability values of any active ues refers to described
Any active ues and the ability value provided during other users information exchange;
According to the ability value of each any active ues, the ability value of each server is calculated, and according to described each
The ability value of server is grouped each server;
Any active ues of the same group server of distribution are to identical platform, to carry out information exchange between different user.
A2, the method according to A1, wherein, each server is divided according to the ability value of each server
Group further comprises:
The server that the difference of ability value is less than to the second predetermined threshold value is divided into one group.
A3, the method according to A1 or A2, wherein,
The active value of all users in each server is obtained, including:All users in each server are obtained to distribute to same
One platform active value daily in N days before interacting;
Any active ues that active value is more than the first predetermined threshold value are chosen, including:It chooses in described first N days more than M days daily
Active value be all higher than any active ues of the first predetermined threshold value;Alternatively, the average active value of N days before calculating, selection average active
Value is more than any active ues of the first predetermined threshold value.
A4, according to A1-A3 any one of them methods, wherein, calculate the ability values of each any active ues of selection,
Including:
For each any active ues, multiple capabilities attribute information of any active ues are obtained;
Determine the corresponding property value of each capabilities attribute information and weights;
According to determining property value and weights, processing is weighted to each capabilities attribute information, obtains the active use
The ability value at family.
A5, according to A1-A4 any one of them methods, wherein, according to the ability value of each any active ues, calculate
The ability value of each server, including:
For each server, eliminating ability value is less than any active ues of third predetermined threshold value;
The ability value of each server is calculated according to the ability value of remaining any active ues.
A6, the method according to A5, wherein, the energy of each server is calculated according to the ability value of remaining any active ues
Force value, including:
For each server, the quantity of remaining any active ues and quantity coefficient are determined;
The quantity of remaining any active ues and the ability value of the product of quantity coefficient and remaining any active ues are asked
With obtain the ability value of each server.
A7, according to A1-A6 any one of them methods, wherein, the method further includes:
If the same quantity for organizing server is at least three, distributes the same any active ues for organizing server and put down to same
After platform, further include:According to preset partition strategy by described with the work for organizing two or more servers in server
Jump user is divided into same interactive group, and any active ues of remaining server are divided into another interactive group.
A8, the method according to A7, wherein, it will be two or two in the server with group according to preset partition strategy
Any active ues of a above server are divided into same interactive group, and any active ues of remaining server are divided into another interaction
Group, including:
The ability value with group server descending is ranked up;
Any active ues of the server to sort rearward are divided into same interactive group, the active use of the most preceding server of sequence
Family is as another interactive group.
A9, the method according to A8, wherein, at the end of described information interacts, by the receipts of most preceding server that sort
Benefit is multiplied by default income coefficient.
It is B10, a kind of across the distributor for taking family, it is carried out suitable for distributing the user of different server to identical platform
The situation of information exchange, including:
Module is chosen, suitable for obtaining the active value of all users in each server, and it is default more than first to choose active value
Any active ues of threshold value, wherein, the time parameter that the service that server provides is used continuously to user for the active value is directly proportional;
Computing module, suitable for calculating the ability value for each any active ues chosen, and according to each active use
The ability value at family calculates the ability value of each server, wherein, the ability value of any active ues refers to the active use
Family and the ability value provided during other users information exchange;
Grouping module is grouped each server suitable for the ability value according to each server;
Distribution module, suitable for distributing any active ues with group server to identical platform, to carry out letter between different user
Breath interaction.
B11, the device according to B10, wherein, it is pre- that the difference of ability value is further less than second by the grouping module
If the server of threshold value is divided into one group.
B12, the device according to B10 or B11, wherein, the selection module is further adapted for:
Obtain the active value that all users are daily in N days before distribution is interacted to identical platform in each server;
Any active ues that active value daily more than M days in described first N days is all higher than the first predetermined threshold value are chosen, alternatively,
The average active value of N days before calculating chooses any active ues that average active value is more than the first predetermined threshold value.
B13, according to B10-B12 any one of them devices, wherein, the computing module is further adapted for:
For each any active ues, multiple capabilities attribute information of any active ues are obtained;
Determine the corresponding property value of each capabilities attribute information and weights;
According to determining property value and weights, processing is weighted to each capabilities attribute information, obtains the active use
The ability value at family.
B14, according to B10-B13 any one of them devices, wherein, the grouping module is further adapted for:
For each server, eliminating ability value is less than any active ues of third predetermined threshold value;
The ability value of each server is calculated according to the ability value of remaining any active ues.
B15, B10-B14 any one of them device, wherein, the grouping module is further adapted for:
For each server, the quantity of remaining any active ues and quantity coefficient are determined;
The quantity of remaining any active ues and the ability value of the product of quantity coefficient and remaining any active ues are asked
With obtain the ability value of each server.
B16, according to B10-B15 any one of them devices, wherein, described device further includes:
Division module if being at least three suitable for the quantity with group server, distributes the work with group server
It jumps after user to identical platform, two or more services in server is organized together by described according to preset partition strategy
Any active ues of device are divided into same interactive group, and any active ues of remaining server are divided into another interactive group.
B17, the device according to B16, wherein, the division module is further adapted for:
The ability value with group server descending is ranked up;
Any active ues of the server to sort rearward are divided into same interactive group, the active use of the most preceding server of sequence
Family is as another interactive group.
B18, the device according to B17, wherein, the division module is further adapted for:
At the end of described information interacts, the income for the most preceding server that sorts is multiplied by default income coefficient.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Profit requirement, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of arbitrary
It mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor
Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) are according to embodiments of the present invention across taking in the distributor at family to realize
The some or all functions of some or all components.The present invention is also implemented as performing method as described herein
Some or all equipment or program of device (for example, computer program and computer program product).Such reality
The program of the existing present invention can may be stored on the computer-readable medium or can have the form of one or more signal.
Such signal can be downloaded from internet website to be obtained either providing or in the form of any other on carrier signal
It provides.
It should be noted that the present invention will be described rather than limits the invention, and ability for above-described embodiment
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference mark between bracket should not be configured to limitations on claims.Word " comprising " does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and run after fame
Claim.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple showing for the present invention
Example property embodiment, still, without departing from the spirit and scope of the present invention, still can according to the present disclosure directly
Determine or derive many other variations or modifications consistent with the principles of the invention.Therefore, the scope of the present invention is understood that and recognizes
It is set to and covers other all these variations or modifications.
Claims (18)
1. it is a kind of across the distribution method for taking family, it is handed over suitable for distributing the user of different server to identical platform into row information
Mutual situation, including:
The active value of all users in each server is obtained, and chooses any active ues that active value is more than the first predetermined threshold value,
In, the time parameter that the service that server provides is used continuously to user for the active value is directly proportional;
The ability value for each any active ues chosen is calculated, wherein, the ability values of any active ues refers to described active
User and the ability value provided during other users information exchange;
According to the ability value of each any active ues, the ability value of each server is calculated, and according to each service
The ability value of device is grouped each server;
Any active ues of the same group server of distribution are to identical platform, to carry out information exchange between different user.
2. according to the method described in claim 1, wherein, each server is carried out according to the ability value of each server
Grouping further comprises:
The server that the difference of ability value is less than to the second predetermined threshold value is divided into one group.
3. method according to claim 1 or 2, wherein,
The active value of all users in each server is obtained, including:All users in each server are obtained to put down to same in distribution
Platform active value daily in N days before interacting;
Any active ues that active value is more than the first predetermined threshold value are chosen, including:Choose work daily more than M days in described first N days
Jump value is all higher than any active ues of the first predetermined threshold value;Alternatively, the average active value of N days before calculating, selection average active value is big
In any active ues of the first predetermined threshold value.
4. method according to claim 1 or 2, wherein, the ability value of each any active ues of selection is calculated, is wrapped
It includes:
For each any active ues, multiple capabilities attribute information of any active ues are obtained;
Determine the corresponding property value of each capabilities attribute information and weights;
According to determining property value and weights, processing is weighted to each capabilities attribute information, obtains any active ues
Ability value.
5. method according to claim 1 or 2, wherein, according to the ability value of each any active ues, calculate described
The ability value of each server, including:
For each server, eliminating ability value is less than any active ues of third predetermined threshold value;
The ability value of each server is calculated according to the ability value of remaining any active ues.
6. according to the method described in claim 5, wherein, each server is calculated according to the ability value of remaining any active ues
Ability value, including:
For each server, the quantity of remaining any active ues and quantity coefficient are determined;
It sums, obtains to the ability value of the quantity of remaining any active ues and the product of quantity coefficient and remaining any active ues
To the ability value of each server.
7. according to the method described in claims 1 or 2 or 6, wherein, the method further includes:
If the quantity with group server at least three, distribute any active ues with group server to identical platform it
Afterwards, it further includes:According to preset partition strategy by described with the active use for organizing two or more servers in server
Family is divided into same interactive group, and any active ues of remaining server are divided into another interactive group.
8. according to the method described in claim 7, wherein, according to preset partition strategy by two in the server with group or
Any active ues of more than two servers are divided into same interactive group, and any active ues of remaining server are divided into another friendship
Mutual group, including:
The ability value with group server descending is ranked up;
Any active ues of the server to sort rearward are divided into same interactive group, any active ues of the most preceding server of sequence are made
It is another interactive group.
9. according to the method described in claim 8, wherein, at the end of described information interacts, by the most preceding server that sorts
Income is multiplied by default income coefficient.
10. a kind of across the distributor for taking family, suitable for distributing the user of different server to identical platform into row information
Interactive situation, including:
Module is chosen, suitable for obtaining the active value of all users in each server, and chooses active value more than the first predetermined threshold value
Any active ues, wherein, the time parameter that the service that server provides is used continuously in the active value and user is directly proportional;
Computing module, suitable for calculating the ability value for each any active ues chosen, and according to each any active ues
Ability value calculates the ability value of each server, wherein, the ability values of any active ues refer to any active ues with
The ability value provided during other users information exchange;
Grouping module is grouped each server suitable for the ability value according to each server;
Distribution module, suitable for distributing any active ues with group server to identical platform, to be handed between different user into row information
Mutually.
11. device according to claim 10, wherein, the difference of ability value is further less than second by the grouping module
The server of predetermined threshold value is divided into one group.
12. the device according to claim 10 or 11, wherein, the selection module is further adapted for:
Obtain the active value that all users are daily in N days before distribution is interacted to identical platform in each server;
Any active ues that active value daily more than M days in described first N days is all higher than the first predetermined threshold value are chosen, alternatively, calculating
The average active value of first N days chooses any active ues that average active value is more than the first predetermined threshold value.
13. the device according to claim 10 or 11, wherein, the computing module is further adapted for:
For each any active ues, multiple capabilities attribute information of any active ues are obtained;
Determine the corresponding property value of each capabilities attribute information and weights;
According to determining property value and weights, processing is weighted to each capabilities attribute information, obtains any active ues
Ability value.
14. the device according to claim 10 or 11, wherein, the grouping module is further adapted for:
For each server, eliminating ability value is less than any active ues of third predetermined threshold value;
The ability value of each server is calculated according to the ability value of remaining any active ues.
15. device according to claim 14, wherein, the grouping module is further adapted for:
For each server, the quantity of remaining any active ues and quantity coefficient are determined;
It sums, obtains to the ability value of the quantity of remaining any active ues and the product of quantity coefficient and remaining any active ues
To the ability value of each server.
16. according to the device described in claim 10 or 11 or 15, wherein, described device further includes:
Division module if being at least three suitable for the quantity with group server, distributes the active use with group server
After family to identical platform, two or more servers in server are organized together by described according to preset partition strategy
Any active ues are divided into same interactive group, and any active ues of remaining server are divided into another interactive group.
17. device according to claim 16, wherein, the division module is further adapted for:
The ability value with group server descending is ranked up;
Any active ues of the server to sort rearward are divided into same interactive group, any active ues of the most preceding server of sequence are made
It is another interactive group.
18. device according to claim 17, wherein, the division module is further adapted for:
At the end of described information interacts, the income for the most preceding server that sorts is multiplied by default income coefficient.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410768566.9A CN104410709B (en) | 2014-12-12 | 2014-12-12 | Across the distribution method and device for taking family |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410768566.9A CN104410709B (en) | 2014-12-12 | 2014-12-12 | Across the distribution method and device for taking family |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104410709A CN104410709A (en) | 2015-03-11 |
CN104410709B true CN104410709B (en) | 2018-06-08 |
Family
ID=52648304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410768566.9A Expired - Fee Related CN104410709B (en) | 2014-12-12 | 2014-12-12 | Across the distribution method and device for taking family |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104410709B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112843675B (en) * | 2021-03-22 | 2024-02-13 | 网易(杭州)网络有限公司 | Matching method and device for game playing method, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101505311A (en) * | 2009-03-18 | 2009-08-12 | 腾讯科技(深圳)有限公司 | Information transmission method and system based on socialized network |
CN101515857A (en) * | 2008-02-20 | 2009-08-26 | 华为技术有限公司 | Multimedia capability-managing method and device |
CN102055650A (en) * | 2009-10-29 | 2011-05-11 | 华为技术有限公司 | Load balance method and system and management server |
CN102495857A (en) * | 2011-11-21 | 2012-06-13 | 北京新媒传信科技有限公司 | Load balancing method for distributed database |
CN104199843A (en) * | 2014-08-07 | 2014-12-10 | 北京有名信实科技有限公司 | Service sorting and recommending method and system based on social network interactive data |
-
2014
- 2014-12-12 CN CN201410768566.9A patent/CN104410709B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101515857A (en) * | 2008-02-20 | 2009-08-26 | 华为技术有限公司 | Multimedia capability-managing method and device |
CN101505311A (en) * | 2009-03-18 | 2009-08-12 | 腾讯科技(深圳)有限公司 | Information transmission method and system based on socialized network |
CN102055650A (en) * | 2009-10-29 | 2011-05-11 | 华为技术有限公司 | Load balance method and system and management server |
CN102495857A (en) * | 2011-11-21 | 2012-06-13 | 北京新媒传信科技有限公司 | Load balancing method for distributed database |
CN104199843A (en) * | 2014-08-07 | 2014-12-10 | 北京有名信实科技有限公司 | Service sorting and recommending method and system based on social network interactive data |
Also Published As
Publication number | Publication date |
---|---|
CN104410709A (en) | 2015-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103929492B (en) | Business chain load-balancing method and its device, system | |
CN107392512B (en) | Grouped task method and apparatus | |
US9613313B2 (en) | System and method for providing a recommendation of a game based on a game-centric relationship graph | |
CN106713944A (en) | Method and apparatus for processing streaming data task | |
CN106296357A (en) | The method of intelligent recommendation recipe, device and equipment of based on electricity business's platform | |
CN103679498B (en) | A kind of information-pushing method and its system to the network terminal | |
CN104408640B (en) | Application software recommends method and device | |
CN106610871A (en) | Cloud operating system architecture | |
CN106776080A (en) | The connection method for building up and device of worker thread | |
CN106294831A (en) | A kind of information recommendation method and electronic equipment | |
CN105872098A (en) | Data processing method, load balancer and interactive application server and system | |
CN109218769A (en) | A kind of recommended method and relevant device of direct broadcasting room | |
CN108153891A (en) | Active time statistical method of surfing the Internet and device | |
Noam | Cloud TV: Toward the next generation of network policy debates | |
CN104410709B (en) | Across the distribution method and device for taking family | |
Crawford et al. | A hybrid soft computing approach for subset problems | |
Tuan et al. | Decision making under interval uncertainty: beyond Hurwicz Pessimism-optimism criterion | |
CN110020152A (en) | Using recommended method and device | |
CN104268293B (en) | The index treating method and apparatus that can not add up in database | |
CN106776246A (en) | The method of evaluating performance and device of a kind of cloud platform | |
CN110246018A (en) | Report generation device, method and equipment | |
CN109657801A (en) | Shunt method, device and the readable storage medium storing program for executing of recommender system | |
CN104809169A (en) | Data processing method and system based on relationship | |
CN110297843A (en) | Data query method and system, terminal for B/S system | |
Candan et al. | Solution of material selection problem using fuzzy axiomatic design and DEMATEL methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180608 Termination date: 20211212 |
|
CF01 | Termination of patent right due to non-payment of annual fee |