Summary of the invention
The invention provides a kind of Web conference drift control treatment method and system, to solve the problem.
The invention provides a kind of Web conference drift control treatment method.Said method comprises the following steps: domain name resolution server receives and resolves the conference parameters information of carrying in the Web conference request of user's transmission, determines the region belonging to described user, and Web conference request is sent to corresponding Region control server; The conference parameters information of carrying in the request of Region control server parses Web conference, determines conference type, and judges whether the active conference number of described conference type in described region exceedes corresponding maximum meeting number threshold value according to meeting load threshold table; If exceed, the conference parameters information of Web conference request or Web conference request are sent to controller by Region control server, controller is according to the conference parameters information determination meeting rank of Web conference request, and according to the table of comparisons of meeting rank and drift threshold and calculate except described extra-regional each region drift parameter, determine the Region control server of the target area that Web conference request is corresponding; Web conference request is sent to the load-balanced server corresponding with described conference type by the Region control server of target area, and the Service Process Server that Web conference Request routing extremely distributes according to the allocation strategy preset by load-balanced server; If Service Process Server reaches early warning value when the Web conference number of pre-treatment, Service Process Server according to drift strategy by Web conference Request routing to target service processing server.
The present invention also provides a kind of Web conference drift control treatment method.Said method comprises the following steps: domain name resolution server receives the Web conference request that user sends, and by Web conference request forward to controller; The conference parameters information of carrying in Web conference request resolved by controller, determine conference type, meeting rank and the region belonging to described user, and judge whether the active conference number of described conference type in affiliated area exceedes corresponding maximum meeting number threshold value according to meeting load threshold table; If exceed, controller according to the table of comparisons of meeting rank and drift threshold and calculate except described extra-regional each region drift parameter, determine the Region control server of the target area that Web conference request is corresponding; Web conference request is sent to the load-balanced server corresponding with described conference type by the Region control server of target area, and the Service Process Server that Web conference Request routing extremely distributes according to the allocation strategy preset by load-balanced server; If Service Process Server reaches early warning value when the Web conference number of pre-treatment, Service Process Server according to drift strategy by Web conference Request routing to target service processing server.
The present invention also provides a kind of Web conference drift control treatment system, comprises domain name resolution server, controller, Region control server, load-balanced server and Service Process Server.Domain name resolution server join domain Control Server, controller connects domain name resolution server and Region control server, and Region control server connects load-balanced server, and load-balanced server connects Service Process Server.Domain name resolution server, for receiving and resolving the conference parameters information of carrying in the Web conference request of user's transmission, determines the region belonging to described user, and Web conference request is sent to corresponding Region control server.Region control server, for resolving the conference parameters information of carrying in Web conference request, determines conference type, and judges whether the active conference number of described conference type in described region exceedes corresponding maximum meeting number threshold value according to meeting load threshold table.If exceed, the conference parameters information of Web conference request or Web conference request are sent to controller by Region control server, controller is according to the conference parameters information determination meeting rank of Web conference request, and according to the table of comparisons of meeting rank and drift threshold and calculate except described extra-regional each region drift parameter, determine the Region control server of the target area that Web conference request is corresponding.The Region control server of target area, for Web conference request is sent to the load-balanced server corresponding with described conference type, and load-balanced server, for Service Process Server Web conference Request routing extremely distributed according to the allocation strategy preset.If Service Process Server reaches early warning value, Service Process Server when the Web conference number of pre-treatment, for according to drift strategy by Web conference Request routing to target service processing server.
The present invention also provides a kind of Web conference drift control treatment system, comprises domain name resolution server, controller, Region control server, load-balanced server and Service Process Server.Domain name resolution server join domain Control Server, controller connects domain name resolution server and Region control server, and Region control server connects load-balanced server, and load-balanced server connects Service Process Server.Domain name resolution server, for receiving the Web conference request that user sends, and by Web conference request forward to controller.Controller, for resolving the conference parameters information of carrying in Web conference request, determine conference type, meeting rank and the region belonging to described user, and judge whether the active conference number of described conference type in affiliated area exceedes corresponding maximum meeting number threshold value according to meeting load threshold table.If exceed, controller, for according to the table of comparisons of meeting rank and drift threshold and calculate except described extra-regional each region drift parameter, determine the Region control server of the target area that Web conference request is corresponding.The Region control server of target area, for Web conference request is sent to the load-balanced server corresponding with described conference type, and the Service Process Server that Web conference Request routing extremely distributes according to the allocation strategy preset by load-balanced server.If Service Process Server reaches early warning value, Service Process Server when the Web conference number of pre-treatment, for according to drift strategy by Web conference Request routing to target service processing server.
Compared to prior art, according to Web conference drift control treatment method and system provided by the invention, when according to meeting load threshold table, Region control server judges that the active conference number of corresponding conference type in affiliated area exceedes corresponding maximum meeting number threshold value, or, when controller judges that the active conference number of corresponding conference type in affiliated area exceedes corresponding maximum meeting number threshold value according to meeting load threshold table, controller according to the table of comparisons of meeting rank and drift threshold and calculate except described extra-regional each region drift parameter, determine the Region control server of the target area that Web conference request is corresponding.In addition, when Service Process Server reaches early warning value when the Web conference number of pre-treatment, Service Process Server according to drift strategy by Web conference Request routing to target service processing server.So, drift is realized to the Web conference exceeding corresponding maximum meeting number threshold value, simultaneously, drift is realized to the Web conference exceeding Service Process Server early warning value, thus realize the drift of single game meeting, make server cluster load more balanced, improve communication efficiency.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Figure 1 shows that the flow chart of the Web conference drift control treatment method that the first preferred embodiment according to the present invention provides.As shown in Figure 1, the Web conference drift control treatment method that the first preferred embodiment of the present invention provides comprises step 101 ~ 105.
In step 101, domain name resolution server receives and resolves the conference parameters information of carrying in the Web conference request of user's transmission, determines the region belonging to described user, and described Web conference request is sent to corresponding Region control server.In this, conference parameters information comprises meeting number information, participant's area information, address information and meeting class information.Wherein, participant's area information refers to the area information that people with a part in a conference person distributes.
Specifically, during user's initiating network conference, after the meeting number of setting network meeting, participant's area information and meeting class information, Web conference request is sent to domain name resolution server.After domain name resolution server receives Web conference request, by resolving the address information (such as, IP address) of the conference parameters information acquisition user carried in Web conference request to determine the region belonging to described user.For example, if IP address is the user P initiating network conference of 202.91.251.148, then domain name resolution server can obtain IP address by the Web conference request of resolving user P and sending is 202.91.251.148, and to obtain region corresponding to above-mentioned IP address be Hangzhou.Then, domain name resolution server by this Web conference request forward on the Region control server in Hangzhou.In other words, domain name resolution server is by resolving address information in conference parameters information by Web conference request forward to corresponding Region control server.
In step 102, the conference parameters information of carrying in Web conference request described in described Region control server parses, determine conference type, and judge whether the active conference number of described conference type in described region exceedes corresponding maximum meeting number threshold value according to meeting load threshold table.In this, conference type such as comprises general meeting, one's respective area convention and trans-regional convention.The differentiation standard of conference type is such as shown in table 1.But the present invention does not limit this.In practical application, kind and the differentiation standard of conference type can be set as required.
Table 1
In this, corresponding three load-balanced servers of each Region control server, a corresponding conference type of load-balanced server.In other words, the number of load-balanced server can be determined according to conference type.But the present invention does not limit this.Then, still for the Web conference request that user P in step 101 sends, after the Region control server in Hangzhou receives this Web conference request, resolve the conference parameters information of this Web conference request, obtain meeting number 200 people, participant's area information is Suzhou and Hangzhou, and accordingly according to the above-mentioned conference type table of comparisons, this Web conference belongs to general meeting.
In the present embodiment, the meeting load threshold table of each Region control server stores one's respective area, the meeting load threshold table of each Region control server stores comprises maximum meeting number threshold value corresponding to different conference type in one's respective area and active conference number.Wherein, the maximum meeting number threshold value that in the meeting load threshold table in each region, different conference type is corresponding can be determined according to actual conditions.The present invention does not limit this.
For example, the meeting load threshold table of the Region control server stores in region, Hangzhou is such as shown in table 2.
Conference type |
Maximum meeting number threshold value (unit: field) |
Active conference number (unit: field) |
General meeting |
1200 |
658 |
One's respective area convention |
400 |
47 |
Trans-regional convention |
600 |
89 |
Table 2
In the present embodiment, Region control server is according to the active conference number in the Web conference request real-time update meeting load threshold table received.If Region control server judges that the active conference number obtaining corresponding conference type in affiliated area does not exceed corresponding maximum meeting number threshold value, then Web conference request is sent to the load-balanced server corresponding with conference type by Region control server.Described Web conference request is sent to corresponding Service Process Server, the request of Service Process Server process Web conference after receiving Web conference request by load-balanced server.For example, if this Web conference request is " user a sends text message to user b ", after Service Process Server receives this request, first to distributed cache server inquiring user b on which Service Process Server, and then send request to the Service Process Server at user b place, ask this Service Process Server to forward text message to user b.In this, the information in all Service Process Server all can be synchronized to distributed cache server.Service Process Server realizes trans-regional information interaction by distributed cache server.So, improve communication efficiency.
In step 103, if exceed, the conference parameters information of described Web conference request or described Web conference request are sent to controller by described Region control server, described controller is according to the conference parameters information determination meeting rank of described Web conference request, and according to the table of comparisons of meeting rank and drift threshold and calculate except described extra-regional each region drift parameter, determine the Region control server of the target area that described Web conference request is corresponding.In this, meeting rank such as comprises the meeting of president's level, conference at ministerial level and the meeting of common employee's level.But the present invention does not limit this.In practical application, meeting rank can be set as required.In addition, controller stores the table of comparisons of meeting rank and drift threshold, and the described table of comparisons is such as shown in table 3.
Table 3
In table 3, first threshold and Second Threshold can set according to actual conditions, and the present invention does not limit this.
In the present embodiment, the drift parameter in each region is determined according to the total play of meeting in the priority in each region, each region and the meeting total number of persons in each region.The drift parameter obtain manner in each region is: the meeting total number of persons in total play+area priorities × this region of meeting in drift parameter=area priorities × this region.In this, controller stores the area priorities of zones of different, and inquiry obtains the total play of meeting and the meeting total number of persons of regional, and calculates the drift parameter of the regional except described user's affiliated area according to above-mentioned information.
Then, for Beijing, Hangzhou, Suzhou, region, four, Shanghai.In this, the corresponding Region control server in each region.If the user T1 in region, Hangzhou sends Web conference request Y, conference parameters information is as follows: meeting rank is conference at ministerial level, meeting number 1200 people, the address information of user T1 (such as, IP address 117.81.233.120), participant's area information comprises the address information of user T2 (such as, IP address 117.81.233.121) and user T3 address information (such as, IP address 117.81.233.122), after then domain name resolution server resolves the Web conference request Y of user T1, determine that user T1 belongs to region, Hangzhou according to the IP address of user T1.In addition, determine that described Web conference is one's respective area convention according to table 1.In addition, with reference to the meeting load threshold table shown in table 2, if add, this meeting exceedes maximum meeting number threshold value corresponding to the one's respective area convention in region, Hangzhou (such as, 400), now, the conference parameters information of Web conference request Y or Web conference request Y is sent to controller by Region control server.According to table 3 and Beijing, Shanghai, the trizonal drift parameter in Suzhou, controller determines which region this Web conference need drift to.Such as, controller obtain Beijing, Shanghai, the trizonal priority in Suzhou, the total play of meeting and meeting total number of persons information as described in Table 4.Wherein, area priorities is embodied by priority parameters, and the total play of meeting and meeting total number of persons are the current information in each region.
Region |
Priority parameters |
The total play of meeting |
Meeting total number of persons |
Relatively parameter |
Beijing |
0.95 |
552 |
9432 |
0.95×552+0.95×9432=9484.8 |
Shanghai |
0.9 |
653 |
8648 |
0.9×653+0.9×8648=8370.9 |
Suzhou |
0.8 |
918 |
14688 |
0.8×918+0.8×14688=12484.8 |
Table 4
In this, the meeting class information of Web conference request Y resolved by controller, determine that meeting rank is conference at ministerial level, with reference to table 3 and table 4, the current drift parameter that seletion calculation obtains between first threshold (such as, 9000) with the Beijing Area of Second Threshold (such as, 11000) as target area.Therefore, Region control server Web conference request Y being drifted to Beijing Area determined by controller.
In the present embodiment, the outer route rule list of first case set up by controller, and outer for first case route rule list is sent to domain name resolution server.The outer route rule list of first case comprises the corresponding relation of the address information of all participants in described Web conference request and the Region control server parameter information of target area.Wherein, Region control server parameter information such as comprises the IP address information of Region control server.In example described in this step, the outer route rule list of first case that controller is set up is such as shown in table 5.
Exception IP address |
The IP address of Pekinese's Region control server |
117.81.233.120 |
202.91.251.133 |
117.81.233.121 |
202.91.251.133 |
117.81.233.122 |
202.91.251.133 |
Table 5
In the present embodiment, known according to table 5, when user T1 ~ T3 logging in network meeting, domain name resolution server can by the request forward of user T1 ~ T3 on Pekinese's Region control server.In addition, when meeting adjourned for this, Pekinese's Region control server sends message again to controller, and request controller deletes the exception rule of adding, and deletes the exception rule of adding with Time Controller notice domain name resolution server.Meanwhile, up-to-date exception routing rule table real-time synchronization can be updated to domain name resolution server by controller.
In addition, in the present embodiment, when there is exception routing rule table in domain name resolution server, domain name resolution server, after the request receiving user, first checks whether the address information of user is present in exception routing rule table.If there is the address information of described user in exception routing rule table, then the request of this user is sent on the Region control server determined according to exception routing rule table, if there is not the address information of described user in exception routing rule table, then the request of this user is sent to the Region control server of this user corresponding region.
In step 104, described Web conference request is sent to the load-balanced server corresponding with described conference type by the Region control server of described target area, and the Service Process Server that described Web conference Request routing extremely distributes according to the allocation strategy preset by described load-balanced server.
In this, the corresponding load-balanced server of each conference type in each region.Such as, Pekinese's Region control server receives Web conference request, and this Web conference request belongs to one's respective area convention, then this request can be sent to the load-balanced server corresponding to one's respective area convention by Pekinese's Region control server, afterwards, this request is routed to the Service Process Server of distribution by load-balanced server again according to allocation strategy.Wherein, described allocation strategy comprises: select the highest Service Process Server of CPU idleness to distribute, or, select the highest Service Process Server of priority to distribute.But the present invention does not limit this.
In step 105, if described Service Process Server reaches early warning value when the Web conference number of pre-treatment, described Service Process Server according to drift strategy by described Web conference Request routing to target service processing server.In addition, described Region control server sets up the outer route rule list of second case according to drift strategy, and the outer route rule list of described second case comprises the address information of all participants in described Web conference request and the corresponding relation of targeted loads equalization server parameter information.In this, load-balanced server parameter information such as comprises the IP address information of load-balanced server.
In a preferred embodiment, described drift strategy is: described Service Process Server according to the priority determination targeted loads equalization server of conference type and by described Web conference Request routing to described targeted loads equalization server, described targeted loads equalization server according to described allocation strategy by described Web conference Request routing to target service processing server.Wherein, described allocation strategy is with described in step 104.Specifically, each Service Process Server all preserves the parameter information of all load-balanced servers in corresponding region.Wherein, the corresponding conference type of each load-balanced server.Such as, and Service Process Server stores the corresponding migration strategy table of comparisons, shown in table 6.
Conference type |
Conference type priority |
Migration strategy |
Trans-regional convention |
High |
Migrate to the load-balanced server that one's respective area convention is corresponding |
One's respective area convention |
In |
Migrate to the load-balanced server that general meeting is corresponding |
General meeting |
Low |
Do not move |
Table 6
With reference to table 6, for three kinds of conference type, the priority of conference type is followed successively by from high to low: trans-regional convention, one's respective area convention, general meeting.In this, if Service Process Server is when the Web conference number of pre-treatment reaches early warning value, the Web conference request exceeding early warning value can be moved according to shown in table 6 by Service Process Server.Such as, the Web conference request exceeding early warning value belongs to trans-regional convention, then Service Process Server is determined this Web conference Request routing to load-balanced server corresponding to one's respective area convention.
In this, still for the Web conference request Y that Hangzhou zone user in step 103 sends.According to step 103 and 104, this Web conference request Y such as drifts to the Service Process Server B of the one's respective area convention of Beijing Area.Now, if Service Process Server B reaches early warning value (such as, 100) when the Web conference number of pre-treatment, then this Web conference request Y is drifted to target service processing server according to drift strategy by Service Process Server B.Because the priority of one's respective area convention is higher than the priority of general meeting, with reference to table 6, Service Process Server B determines this Web conference request Y to route to Service Process Server corresponding to the general meeting of Beijing Area.Specifically, Service Process Server B by Socket connection route proprietary under this Web conference to load-balanced server corresponding to the general meeting of Beijing Area, load-balanced server corresponding to the general meeting of Beijing Area receives after these connect, and these is connected and loads on corresponding Service Process Server according to allocation strategy.Wherein, described allocation strategy is with described in step 104.In addition, Region control server in Pekinese's sets up the outer route rule list of second case such as shown in table 7.In this, the corresponding relation of the load-balanced server parameter information that the address information that the outer route rule list of second case comprises all participants in Web conference request Y is corresponding with the general meeting in Beijing Area.
Exception IP address |
The IP address of the load-balanced server that the general meeting in Beijing Area is corresponding |
117.81.233.120 |
202.91.251.133 |
117.81.233.121 |
202.91.251.133 |
117.81.233.122 |
202.91.251.133 |
Table 7
In the present embodiment, when user's logging in network meeting of Web conference request Y, domain name resolution server can by the request forward of those users on Pekinese's Region control server according to table 5, Pekinese's Region control server can by the request forward of those users to load-balanced server corresponding to the general meeting of Beijing Area according to table 7, this load-balanced server again by those Request routing to target service processing server.So, the drift of single game meeting is realized.In addition, when meeting adjourned for this, target service processing server sends message to the Region control server of Beijing Area by corresponding load-balanced server, and the Region control server of request Beijing Area deletes the exception rule of adding.
In addition, in the present embodiment, when there is exception routing rule table in Region control server, Region control server, after the request receiving user, first checks whether the address information of user is present in exception routing rule table.If there is the address information of described user in exception routing rule table, then the request of this user is sent on the load-balanced server determined according to exception routing rule table, if there is not the address information of described user in exception routing rule table, then the request of this user is sent to the load-balanced server that the conference type of this user's belonging network meeting is corresponding.
In another preferred embodiment, described drift strategy is: if described Service Process Server reaches early warning value when the Web conference number of pre-treatment, then described Service Process Server is by the load-balanced server corresponding with described conference type, meeting drift request is sent to affiliated district z domain control server, described Region control server is according to the priority of described meeting drift request and conference type, determine targeted loads equalization server, and by the load-balanced server corresponding with described conference type, the address information of described targeted loads equalization server is sent to described Service Process Server, described Service Process Server is according to described address information, by described Web conference Request routing to described targeted loads equalization server, described targeted loads equalization server according to described allocation strategy by described Web conference Request routing to target service processing server.Wherein, described allocation strategy is with described in step 104.
In this, still for the Web conference request Y that Hangzhou zone user in step 103 sends.According to step 103 and 104, this Web conference request Y such as drifts to the Service Process Server B of the one's respective area convention of Beijing Area.Now, if Service Process Server B reaches early warning value (such as, 100) when the Web conference number of pre-treatment, then this Web conference request Y is drifted to target service processing server according to drift strategy by Service Process Server B.Specifically, Service Process Server B is by the load-balanced server corresponding with one's respective area convention, and the Region control server to Beijing Area sends meeting drift request.The Region control server of Beijing Area, according to described meeting drift request, according to the priority of conference type, determines targeted loads equalization server.Specifically, the migration strategy table of comparisons of the Region control server stores of Beijing Area such as shown in table 6.In this, the Region control server determination targeted loads equalization server of Beijing Area is the load-balanced server of corresponding general meeting.The Region control server of Beijing Area passes through load-balanced server corresponding to one's respective area convention, and the address information of load-balanced server corresponding for general meeting is sent to Service Process Server B.Service Process Server B is according to described address information, Web conference request Y is routed to load-balanced server corresponding to general meeting, and Web conference request Y is routed to target service processing server according to allocation strategy by load-balanced server corresponding to general meeting.In addition, other processing procedures in the second preferred embodiment are as above described in a preferred embodiment.Therefore repeat no more in this.
Figure 2 shows that the schematic diagram of the Web conference drift control treatment system that the first preferred embodiment according to the present invention provides.As shown in Figure 2, the Web conference drift control treatment system that first preferred embodiment of the present invention provides comprises controller 10, domain name resolution server 20, Region control server 21a ~ 21c, load-balanced server 22a ~ 22c, 23a ~ 23c, 24a ~ 24c, Service Process Server a1 ~ a3, b1 ~ b3, c1 ~ c3, d1 ~ d3, e1 ~ e3, f1 ~ f3, g1 ~ g3, h1 ~ h3, k1 ~ k3 and distributed cache server 30.In this, be described for three Region control servers.Controller 10 connects domain name resolution server 20 and Region control server 21a ~ 21c, domain name resolution server 20 join domain Control Server 21a ~ 21c, each Region control server correspondence connects three load-balanced servers, and each load-balanced server correspondence connects three Service Process Server.Distributed cache server 30 connects Service Process Server.But, the number of the present invention not localized area Control Server, load-balanced server and Service Process Server.
In the present embodiment, domain name resolution server 20, for receiving and resolving the conference parameters information of carrying in the Web conference request of user's transmission, determine the region belonging to described user, and Web conference request is sent to corresponding Region control server (such as, Region control server 21a).Region control server 21a, for resolving the conference parameters information of carrying in Web conference request, determine conference type, and judge whether the active conference number of described conference type in described region exceedes corresponding maximum meeting number threshold value according to meeting load threshold table.If exceed, Region control server, for the conference parameters information of Web conference request or Web conference request are sent to controller 10, controller 10, for the conference parameters information determination meeting rank according to Web conference request, and according to the table of comparisons of meeting rank and drift threshold and calculate except described extra-regional each region drift parameter, determine the Region control server (such as, Region control server 21b) of the target area that Web conference request is corresponding.The Region control server 21b of target area, for Web conference request is sent to the load-balanced server corresponding with described conference type (such as, load-balanced server 23a), load-balanced server 23a, for the Service Process Server (such as, Service Process Server d2) Web conference Request routing extremely distributed according to the allocation strategy preset.If Service Process Server d2 reaches early warning value when the Web conference number of pre-treatment, Service Process Server d2 according to drift strategy by described Web conference Request routing to target service processing server (such as, Service Process Server e2).There is identical processing procedure about Region control server 21b and 21c, therefore repeat no more in this.In addition, about the specific operation process of said system with described in said method, therefore repeat no more in this.
Figure 3 shows that the flow chart of the Web conference drift control treatment method that the second preferred embodiment according to the present invention provides.As shown in Figure 3, the Web conference drift control treatment method that the second preferred embodiment of the present invention provides comprises step 301 ~ 305.
In step 301, domain name resolution server receives the Web conference request that user sends, and by described Web conference request forward to controller.In step 302, the conference parameters information of carrying in described Web conference request resolved by described controller, determine conference type, meeting rank and the region belonging to described user, and judge whether the active conference number of described conference type in affiliated area exceedes corresponding maximum meeting number threshold value according to meeting load threshold table.In step 303, if exceed, described controller according to the table of comparisons of meeting rank and drift threshold and calculate except described extra-regional each region drift parameter, determine the Region control server of the target area that described Web conference request is corresponding.In step 304, described Web conference request is sent to the load-balanced server corresponding with described conference type by the Region control server of described target area, and the Service Process Server that described Web conference Request routing extremely distributes according to the allocation strategy preset by described load-balanced server.In step 305, if described Service Process Server reaches early warning value when the Web conference number of pre-treatment, described Service Process Server according to drift strategy by described Web conference Request routing to target service processing server.
The Web conference drift control treatment method that the present invention second preferred embodiment provides and the difference of the first preferred embodiment are: in the second preferred embodiment, in step 301, domain name resolution server receives the Web conference request that user sends, and by described Web conference request forward to controller; In step 302, the conference parameters information of carrying in described Web conference request resolved by described controller, determine conference type, meeting rank and the region belonging to described user, and judge whether the active conference number of described conference type in affiliated area exceedes corresponding maximum meeting number threshold value according to meeting load threshold table.
Specifically, controller stores and the meeting load threshold table in all regions of real-time update.Controller pass through to resolve carry in Web conference request conference parameters information determination conference type, meeting rank and the region belonging to described user, then judge whether the current number of corresponding conference type in affiliated area exceedes the maximum meeting number threshold value of correspondence according to meeting load threshold table.In this, the content of the setting of meeting rank, the differentiation of conference type and meeting load threshold table as shown in the first preferred embodiment, therefore repeats no more in this.In addition, the present embodiment step 303 determines the description of the Region control server of target area with step 103 middle controller in the first preferred embodiment.In addition, the step 104 and 105 of the present embodiment step 304 and 305 same first preferred embodiments, therefore repeat no more in this.
The present invention second preferred embodiment also provides a kind of Web conference drift control treatment system, comprises domain name resolution server, controller, Region control server, load-balanced server and Service Process Server.Domain name resolution server join domain Control Server, controller connects domain name resolution server and Region control server, and Region control server connects load-balanced server, and load-balanced server connects Service Process Server.Domain name resolution server, for receiving the Web conference request that user sends, and by Web conference request forward to controller.Controller, for resolving the conference parameters information of carrying in Web conference request, determine conference type, meeting rank and the region belonging to described user, and judge whether the active conference number of described conference type in affiliated area exceedes corresponding maximum meeting number threshold value according to meeting load threshold table.If exceed, controller, for according to the table of comparisons of meeting rank and drift threshold and calculate except described extra-regional each region drift parameter, determine the Region control server of the target area that Web conference request is corresponding.The Region control server of target area, for Web conference request is sent to the load-balanced server corresponding with described conference type, and the Service Process Server that Web conference Request routing extremely distributes according to the allocation strategy preset by load-balanced server.If Service Process Server reaches early warning value, Service Process Server when the Web conference number of pre-treatment, for according to drift strategy by Web conference Request routing to target service processing server.Specific operation process about described system is consistent with the method described in the second preferred embodiment, therefore repeats no more in this.
In sum, according to the Web conference drift control treatment method and system that present pre-ferred embodiments provides, when according to meeting load threshold table, Region control server judges that the active conference number of corresponding conference type in affiliated area exceedes corresponding maximum meeting number threshold value, or, when controller judges that the active conference number of corresponding conference type in affiliated area exceedes corresponding maximum meeting number threshold value according to meeting load threshold table, controller according to the table of comparisons of meeting rank and drift threshold and calculate except described extra-regional each region drift parameter, determine the Region control server of the target area that Web conference request is corresponding.In addition, when Service Process Server reaches early warning value when the Web conference number of pre-treatment, Service Process Server according to drift strategy by Web conference Request routing to target service processing server.So, drift is realized to the Web conference exceeding corresponding maximum meeting number threshold value, simultaneously, drift is realized to the Web conference exceeding Service Process Server early warning value, thus realize the drift of single game meeting, make server cluster load more balanced, improve communication efficiency.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.