CN103916332B - Method and server for allocating network resources - Google Patents

Method and server for allocating network resources Download PDF

Info

Publication number
CN103916332B
CN103916332B CN201410129001.6A CN201410129001A CN103916332B CN 103916332 B CN103916332 B CN 103916332B CN 201410129001 A CN201410129001 A CN 201410129001A CN 103916332 B CN103916332 B CN 103916332B
Authority
CN
China
Prior art keywords
acceptance rate
servers
server
weighting
history
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410129001.6A
Other languages
Chinese (zh)
Other versions
CN103916332A (en
Inventor
周奕
朱瑞闻
王斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Seal Interest Technology Co Ltd
Original Assignee
Zhuhai Juntian Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Juntian Electronic Technology Co Ltd filed Critical Zhuhai Juntian Electronic Technology Co Ltd
Priority to CN201410129001.6A priority Critical patent/CN103916332B/en
Publication of CN103916332A publication Critical patent/CN103916332A/en
Application granted granted Critical
Publication of CN103916332B publication Critical patent/CN103916332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a method and server for allocating network resources and relates to the field of information technology application. The method and server for allocating the network resources aim at allocating the optimal network resources to a user. The method for allocating the network resources comprises the steps that an access request of a current user is received, wherein the access request comprises a domain name which the user has access to; the domain name is analyzed and at least two servers corresponding to the domain name are determined; according to a historical good rate of each server determined in advance, the optimal server capable of allocating the network resources to the user is determined. The server for allocating the network resources comprises a service determining unit used for determining the optimal server capable of allocating the network resources to the user according to the historical good rate of the servers determined in advance and a service allocating unit used for allocating the optimal server to the user. The method and server for allocating the network resources are suitable for allocating the optimal network resources to the user.

Description

A kind of method of distribution Internet resources and server
Technical field
The present invention relates to IT application, more particularly, to a kind of method of distribution Internet resources and server.
Background technology
Because China has each big and small Virtual network operator now, there is the serious problem that interconnects, different Network in other operations of the network access of operator can be slow, has a strong impact on the experience of user.
During realizing the present invention, inventor finds, the technical scheme of prior art is by different networks Deployment identical server, then passes through domain name mapping and accesses different servers to user's distribution of heterogeneous networks, but due to Domain name mapping distributes the randomness of Internet resources it is impossible to optimal scheme resource is to user.
Content of the invention
In view of this, the embodiment of the present invention provides a kind of method of distribution Internet resources and server, being capable of optimal scheme Resource is to user.
On the one hand, embodiments of the invention provide a kind of method of distribution Internet resources, including:Receive the visit of active user Ask request, in described access request, include described user domain name to be accessed;Domain name is parsed, determine with At least two corresponding servers of domain name;Excellent according to the respective history of predetermined described at least two servers Rate, determines the optimal service device that can distribute Internet resources for described user;Described optimal service device is distributed to described use Family.
The method that the embodiment of the present invention distributes Internet resources, is capable of determining that user's history accesses a unification for a period of time URLs(Uniform Resource Locator, is abbreviated as URL)Under at least two servers history acceptance rate, And the optimal service device that can distribute Internet resources for described user is determined according to the history acceptance rate of described server, and will User distributed to by optimal service device such that it is able to optimal scheme resource is to user.
On the other hand, embodiments of the invention provide a kind of server of distribution Internet resources, including:Receiving unit, uses In the access request receiving active user, in described access request, include described user domain name to be accessed;Resolution unit, For parsing to domain name, determine at least two servers corresponding with domain name;Service determination unit, uses According to the respective history acceptance rate of predetermined described at least two servers, determine and can distribute net for described user The optimal service device of network resource;Service distributing unit, for distributing to described user by described optimal service device.
The embodiment of the present invention distributes the server of Internet resources, is capable of determining that user's history accesses one for a period of time The acceptance rate of at least two servers under URL, and determine can be described use according to the history acceptance rate of described server The optimal service device of Internet resources is distributed at family, and optimal service device is distributed to user such that it is able to optimal scheme resource is to use Family.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of method one embodiment of present invention distribution Internet resources;
Fig. 2 is a schematic flow sheet of S12 in Fig. 1;
Fig. 3 is another schematic flow sheet of S12 in Fig. 1;
Fig. 4 is a schematic flow sheet of S124b in Fig. 3;
Fig. 5 is another schematic flow sheet of S124b in Fig. 3;
Fig. 6 is a kind of schematic flow sheet of the another embodiment of method of present invention distribution Internet resources;
Fig. 7 is a schematic flow sheet of S9 in Fig. 6;
Fig. 8 is a schematic flow sheet of S122b in Fig. 3;
Fig. 9 is a kind of frame structure schematic diagram of server one embodiment of present invention distribution Internet resources;
Figure 10 is a frame structure schematic diagram of service determination unit 12 in Fig. 9;
Figure 11 is another frame structure schematic diagram of service determination unit 12 in Fig. 9;
Figure 12 is a frame structure schematic diagram of the second determination subelement 121b in Figure 11;
Figure 13 is a frame structure schematic diagram of the 3rd determination subelement A3 in Figure 12;
Figure 14 is another frame structure schematic diagram of the 3rd determination subelement A3 in Figure 12;
Figure 15 is the another frame structure schematic diagram of the 3rd determination subelement A3 in Figure 12;
Figure 16 is a frame structure schematic diagram of the 3rd determining module A35 in Figure 15;
Figure 17 is a kind of frame structure schematic diagram of another embodiment of server of present invention distribution Internet resources;
Figure 18 is the frame structure schematic diagram of history acceptance rate determining unit 9 in Figure 17;
Figure 19 is a frame structure schematic diagram of the first acquisition subelement A1 in Figure 12.
Specific embodiment
The method of distribution Internet resources a kind of to the embodiment of the present invention and server are described in detail below in conjunction with the accompanying drawings.
It will be appreciated that described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of not making creative work all its Its embodiment, broadly falls into the scope of protection of the invention.
Referring to Fig. 1, a kind of method of embodiment of the present invention distribution Internet resources, including:
S10, the access request of reception active user;Described user domain to be accessed is included in described access request Name;
S11, domain name is parsed, determine at least two servers corresponding with domain name;
S12, according to the respective history acceptance rate of predetermined described at least two servers, determine can be described User distributes the optimal service device of Internet resources;
S13, described optimal service device is distributed to described user.
The method that the embodiment of the present invention distributes Internet resources, is capable of determining that user's history accesses a URL for a period of time Under at least two servers history acceptance rate, and determine can be described use according to the history acceptance rate of described server The optimal service device of Internet resources is distributed at family, and optimal service device is distributed to user such that it is able to optimal scheme resource is to use Family.
The present invention distribute Internet resources method an embodiment in, described according to predetermined described at least two Server respective history acceptance rate, determines the optimal service device that can distribute Internet resources for described user(S12), permissible Including:According to the respective history acceptance rate of predetermined described at least two servers, determine history acceptance rate highest Server is as the optimal service device that can distribute Internet resources for described user.
If, user will access a URL, has M under this URL1,M2,…,Individual server (wherein m>1 and m ∈ N+).Described M1,M2,…,MmThe history acceptance rate of common m server is respectively P1, P2..., Pm.If Pq≥max{P1, P2..., Pm, q ∈ { 1,2 ..., m }, then server MqThe optimal service device of Internet resources as can be distributed for described user.
Referring to Fig. 2, in order to relatively accurately determine optimal service device, the present invention distribute Internet resources method another In one embodiment, described according to the respective history acceptance rate of predetermined described at least two servers, determine and can be Described user distributes the optimal service device of Internet resources(S12), can also include:
S120b, according to the respective history acceptance rate of predetermined described at least two servers, determine that history is excellent Rate highest server;
S121b, the history acceptance rate of described history acceptance rate highest server and first threshold are compared, if institute The history acceptance rate stating history acceptance rate highest server is more than or equal to described first threshold, then by described history acceptance rate Highest server is as the optimal service device that can distribute Internet resources for described user.
Still illustrate in the present embodiment taking m server in previous embodiment as a example.One first threshold is now set P0If, Pq≥P0, then server MqThe optimal service device of Internet resources as can be distributed for described user.
Referring to Fig. 3, in order to more accurately determine out optimal service device, the present invention distribute Internet resources method another In one embodiment, described according to the respective history acceptance rate of predetermined described at least two servers, determine and can be Described user distributes the optimal service device of Internet resources(S12), can also include:
S120b, according to the respective history acceptance rate of predetermined described at least two servers, determine that history is excellent Rate highest server;
S122b, the history acceptance rate of described history acceptance rate highest server and first threshold are compared, if institute The history acceptance rate stating history acceptance rate highest server is less than described first threshold, then obtain described at least two servers Respective current acceptance rate;
S123b, to described at least two servers, respective history acceptance rate and current acceptance rate are weighted, really Make the respective first weighting acceptance rate of described at least two servers;
S124b, according to described at least two servers respective first weighting acceptance rate, determine can be described user The optimal service device of distribution Internet resources.
Still illustrate in the present embodiment taking m server in previous embodiment as a example.If Pq<P0, then obtain described m The current acceptance rate of individual server is respectively Q1,Q2,…,Qm.The now history acceptance rate to each server described and currently excellent Yield is weighted the first weighting acceptance rate T respectively that can obtain described m server1=αP1+βQ1, T2=αP2+β Q2..., Tm=αPm+βQm(wherein α and β is weight coefficient, 0≤α, β≤1 and alpha+beta=1).Now can be according to T1, T2..., TmReally Make the optimal service device that can distribute Internet resources for described user.
In previous embodiment, described according to described at least two servers respective first weighting acceptance rate, determine The optimal service device of Internet resources can be distributed for described user(S124b), can include:
According to the respective first weighting acceptance rate of described at least two servers, determine the first weighting acceptance rate highest Server is as the optimal service device that can distribute Internet resources for described user.
Still illustrated with the citing in previous embodiment in the present embodiment, if Ts=αPs+βQs≥max{T1,T2,…, Tm},s∈{1,2,…,m}.Then by server MsDistribute to described user.
Referring to Fig. 4, in another embodiment of the method distributing Internet resources in the present invention, described according to described at least two The respective first weighting acceptance rate of server, determines the optimal service device that can distribute Internet resources for described user (S124b), can also include:
S124b0, according to described at least two servers respective first weighting acceptance rate, determine that the first weighting is excellent Rate highest server;
S124b1, by described first weighting acceptance rate highest server first weighting acceptance rate and Second Threshold carry out Relatively, if the first weighting acceptance rate of described first weighting acceptance rate highest server is more than or equal to described Second Threshold, Then using the described first weighting acceptance rate highest server as the optimal service device that can distribute Internet resources for described user.
Taking the citing of previous embodiment as a example, Second Threshold T is now set0If, Ts=αPs+βQs≥max{T1,T2,…, Tm, and Ts≥T0, wherein s ∈ { 1,2 ..., m }, then server MsIt is optimal service device.
This embodiment can improve, compared with previous embodiment, the optimal service device that determination distributes Internet resources to user further Degree of accuracy.
Referring to Fig. 5, in another embodiment of the method distributing Internet resources in the present invention, described according to described at least two The respective first weighting acceptance rate of server, determines the optimal service device that can distribute Internet resources for described user (S124b), can also include:
S124b0, according to described at least two servers respective first weighting acceptance rate, determine that the first weighting is excellent Rate highest server;
S124b1, by described first weighting acceptance rate highest server first weighting acceptance rate and Second Threshold carry out Relatively, if the first weighting acceptance rate of described first weighting acceptance rate highest server is less than described Second Threshold, basis The access request of described user determines network operator and/or city belonging to described user;
Belonging to S124b2, respective history acceptance rate, current acceptance rate, described user to described at least two servers Network operator and/or city are weighted, and determine the respective second weighting acceptance rate of described at least two servers;
S124b3, according to described at least two servers respective second weighting acceptance rate, determine can be described use The optimal service device of Internet resources is distributed at family.
Taking the citing of previous embodiment as a example, if Ts<T0, then need the network operation according to belonging to user's incoming road is by user The city at business and/or user place is taken into account.Now suppose described user place Virtual network operator quantized value be R, be located The quantized value in city is S, then the server M now recalculating1, M2..., MmDivide with respect to second weighted value of described user It is not:
T'1=α'P1+β'Q1+λR+/δS,T'2=α'P2+β'Q2+ λ R+/δ S ..., T'm=α'Pm+β'Qm+λR+/δS(Wherein α ', β ', λ, δ are weight coefficient, 0≤α ', β ', λ, δ≤1 and α '+β '+λ+δ=1).Then according to the second weighted value T'1, T '2..., T'mDetermine optimal service device.
In previous embodiment, described according to described at least two servers respective second weighting acceptance rate, determine The optimal service device of Internet resources can be distributed for described user(S124b3), can include:
According to the respective second weighting acceptance rate of described at least two servers, determine the second weighting acceptance rate highest Server is as the optimal service device that can distribute Internet resources for described user.
Taking the citing in previous embodiment as a example illustrate, if
T'l=α'Pl+β'Ql+λR+/δS≥max{T'1, T'2..., T'm, l ∈ { 1,2 ..., m }, then by server MlMake For optimal service device.
Referring to Fig. 6, in the another embodiment of the method distributing Internet resources in the present invention, in the access receiving active user Request(S10)Also include before:S9, determine the respective history acceptance rate of described at least two servers.
Referring to Fig. 7, in previous embodiment, the described determination respective history acceptance rate of described at least two servers (S9), including:
S91, acquisition historic user access the history of at least two servers corresponding with domain name for the previous period Energy parameter, described historical performance parameter includes historical time described in described user and accesses the success rate of described server, failure Rate, the ratio of each failure cause, spent time corresponding excellent, good, in, in the ratio of each grade of difference at least two ?;
S92, described historical performance parameter is weighted with to obtain the respective history of described at least two servers excellent Yield.
Still the determination to described historical performance parameter and history acceptance rate is entered taking m server in previous embodiment as a example Row is described as follows.
(One)User accesses the success rate of described server in historical time and mortality can determine as follows:
It is assumed that historical time described in user(Time as current date the last week or the previous moon)Access consolidated network money Source t time, accesses M1,M2,…,MmThe successful number of times of common m server is respectively n1, n2..., nm, then user access server M1 Success Ratio beUnsuccessfully ratio isUser can be calculated in the same manner and access other server M2,…,MmSuccess than Rate is respectivelyFailure ratio is respectively
(Two)User historical time access described server spent by time corresponding excellent, good, in, difference each grade Ratio can determine as follows:
Set inquiry in time-consuming 100 milliseconds as excellent, be good in 100~500 milliseconds, during 500 milliseconds were, more than 2 by 2 seconds Second is poor.User access server M1Successfully n1Secondary middle access situation be excellent, good, in, difference number of times be respectively n11、n12、n13、 n14, then user access server M1Situation be excellent, good, in, difference ratio be respectivelyWith Reason can calculate user access server M2Situation be excellent, good, in, the ratio of difference respectively (Wherein n21、n22、n23、n24It is respectively user access server M2Situation be excellent, good, in, difference number of times.);User accesses clothes Business device MmSituation be excellent, good, in, the ratio of difference respectively(Wherein nm1、nm2、nm3、nm4Point Wei not user access server MmSituation be excellent, good, in, difference number of times.);The situation that user accesses other servers be excellent, Good, in, difference ratio calculation according to preceding method, here is omitted.
(Three)The ratio that user accesses described each failure cause of server in historical time can determine as follows:
User access server M1Have failed t-n1Secondary, wherein because of failure cause 1, failure cause 2 ..., failure cause s(Its Middle s>1 and s ∈ N+)And the number of times accessing failure is respectively A11, A12..., A1s, then user access server M1Because of failure cause 1, Failure cause 2 ..., failure cause s and the ratio that accesses failure are respectively
User access server M can be calculated in the same manner2Because of failure cause 1, failure cause 2 ..., failure cause s and access mistake The ratio losing is respectively(Wherein A21, A22..., A2sIt is respectively user access server M2 Because of failure cause 1, failure cause 2 ..., failure cause s and access the number of times of failure.);User access server MmBecause failure is former Because of 1, failure cause 2 ..., failure cause s and the ratio that accesses failure is respectively (Wherein Am1, Am2..., AmsIt is respectively user access server MmBecause of failure cause 1, failure cause 2 ..., failure cause s and visit Ask the number of times of failure.);User accesses other servers because of failure cause 1, failure cause 2 ..., failure cause s and access failure Ratio calculation according to said method, here is omitted.
(Four)User accesses described server respective history acceptance rate in historical time and can determine as follows:
Access the Success Ratio of each server according to user, access excellent, good, in, the ratio of each situation of difference, unsuccessfully than Rate and the ratio accessing unsuccessfully each reason, by the default weighted calculation in domain name resolution server end rule, calculate access The history acceptance rate of each server.
Specifically, the history acceptance rate of each server can determine as follows:
Server M1Acceptance rate be:
(Wherein μ, η, σ, τ, ξ, κ,γ is weight coefficient, 0≤μ, η, σ, τ, ξ, κ, γ≤1 and μ+η+σ+τ+ξ+κ++γ=1);
Server M2Acceptance rate be:
Server MmAcceptance rate be:
The acceptance rate of other servers can be calculated in the same manner.
Certainly μ, η, σ, τ, ξ, κ,These weight coefficients of γ can be formulated according to user's request, such as user Take a fancy to is to access success, then the weight coefficient μ of success rate can be set larger;User wishes time-consuming little by one A bit, then the weight coefficient η that time-consuming situation is good ratio can be heightened a bit in good time.
Referring to Fig. 8, in the another embodiment of the method distributing Internet resources in the present invention, obtain in described step S122b The respective current acceptance rate of described at least two servers, including:
Sa, the acquisition respective current performance parameters of described at least two servers;Described current performance parameters include currently Service condition, health degree, at least two connecting in number;
Sb, described current performance parameters are weighted with to obtain described at least two servers respective currently excellent Rate.
Below, according to health degree, the connection of described at least two servers taking m server in previous embodiment as a example Come as a example number to be illustrated to how obtaining the respective current acceptance rate of described at least two servers.
It is assumed that server M1,M2,…,MmHealth degree be respectively D1, D2..., Dm, connect number and be respectively E1, E2..., Em. Then server M1,M2,…,MmCurrent acceptance rate be respectively Q1=aE1+bE2,Q2=aD2+bE2..., Qm=aDm+bEm(wherein a, b For weight coefficient, 0≤a, b≤1 and a+b=1).
Referring to Fig. 9, a kind of server of present example distribution Internet resources, including:Receiving unit 10, works as receiving The access request of front user, includes described user domain name to be accessed in described access request;Resolution unit 11, for right Domain name is parsed, and determines at least two servers corresponding with domain name;Service determination unit 12, for root According to the respective history acceptance rate of predetermined described at least two servers, determine to be described user's distribution network money The optimal service device in source;Service distributing unit 13, for distributing to described user by described optimal service device.
The embodiment of the present invention distributes the server of Internet resources, is capable of determining that user's history accesses one for a period of time The history acceptance rate of at least two servers under URL, and determine to be institute according to the history acceptance rate of described server State the optimal service device that user distributes Internet resources, and optimal service device is distributed to user such that it is able to optimal scheme resource To user.
Determine in the following examples that arbitrary computational methods of optimal service device and process all can be real using the aforementioned present invention Computational methods in the method for example, all repeat no more below.
Referring to Figure 10, the present invention distributes in server one embodiment of Internet resources, and described service determination unit 12 is permissible Including:First comparing subunit 120a, for comparing to the history acceptance rate of predetermined described at least two servers Relatively, determine history acceptance rate highest server;First determination subelement 121a, for according to described first comparing subunit Comparative result, using described history acceptance rate highest server as the optimum clothes that can distribute Internet resources for described user Business device.
Referring to Figure 11, in order to relatively accurately determine optimal service device, distribute the method for Internet resources in the present invention In another embodiment, described service determination unit 12, can include:Second comparing subunit 120b, for predetermined The history acceptance rate of described at least two servers is compared, and determines history acceptance rate highest server, and will be described The history acceptance rate of history acceptance rate highest server is compared with first threshold;Second determination subelement 121b, is used for According to the comparative result of described second comparing subunit, if the history acceptance rate of described history acceptance rate highest server is more than Or it is equal to described first threshold it is determined that described history acceptance rate highest server is as can distribute network for described user The optimal service device of resource.
The server of Internet resources referring to Figure 12, in order to more accurately determine out optimal service device, is distributed in the present invention In another embodiment, described second determination subelement 121b, also include:First acquisition subelement A1, for according to described second The comparative result of comparing subunit, if the history acceptance rate of described history acceptance rate highest server is less than described first threshold Value, then obtain the respective current acceptance rate of described at least two servers;First computation subunit A2, for described at least two The individual respective history acceptance rate of server and current acceptance rate are weighted, and determine described at least two servers each First weighting acceptance rate;3rd determination subelement A3, for excellent according to respective first weighting of described at least two servers Yield, determines the optimal service device that can distribute Internet resources for described user.
Referring to Figure 13, the present invention distributes in server one embodiment of Internet resources, and described 3rd determination subelement A3 can To include:First comparison module A31a, is compared for weighting acceptance rate to the first of described at least two servers, determines Go out the first weighting acceptance rate highest server;First determining module A32a, for the comparison according to described first comparison module As a result, using the described first weighting acceptance rate highest server as the optimal service that can distribute Internet resources for described user Device..
Referring to Figure 14, the present invention distributes in another embodiment of server of Internet resources, described 3rd determination subelement A3, Can include:First comparison module A31a, is compared for weighting acceptance rate to the first of described at least two servers, really Make the first weighting acceptance rate highest server;Second comparison module A31b, for weighting acceptance rate highest by described first Server first weighting acceptance rate be compared with Second Threshold;Second determining module A32b, for according to described second The comparative result of comparison module, if the first weighting acceptance rate of described first weighting acceptance rate highest server is more than or equal to Described Second Threshold is it is determined that described first weighting acceptance rate highest server is as can be described user distribution network money The optimal service device in source.
This embodiment can improve, compared with previous embodiment, the optimal service device that determination distributes Internet resources to user further Degree of accuracy.
Referring to Figure 15, the present invention distributes in another embodiment of server of Internet resources, described 3rd determination subelement A3, Can also include:First comparison module A31a, is compared for weighting acceptance rate to the first of described at least two servers, Determine the first weighting acceptance rate highest server;Second comparison module A31b, for by the described first weighting acceptance rate First weighting acceptance rate of high server is compared with Second Threshold;First acquisition module A33b, for according to described The comparative result of two comparison modules, if the first weighting acceptance rate of described first weighting acceptance rate highest server is less than described Second Threshold, then the network operator according to belonging to the access request described user of acquisition of described user and/or city;First meter Calculate modules A 34b, for belonging to history acceptance rate respective to described at least two servers, current acceptance rate, described user Network operator and/or city are weighted, and determine the respective second weighting acceptance rate of described at least two servers; 3rd determining module A35, for according to the respective second weighting acceptance rate of described at least two servers, determining to be institute State the optimal service device that user distributes Internet resources.
Referring to Figure 16, the present invention distributes in another embodiment of server of Internet resources, described 3rd determining module A35, Can include:First comparison sub-module A351, for the second weighting acceptance rate of described at least two servers is compared, Determine the second weighting acceptance rate highest server;First determination sub-module A352, for weighting acceptance rate by described second Highest server is as the optimal service device that can distribute Internet resources for described user.
Referring to Figure 17, the present invention distributes the another embodiment of the server of Internet resources, also includes:History acceptance rate determines Unit 9, for determining the respective history acceptance rate of described at least two servers.
Referring to Figure 18, described history acceptance rate determining unit 9, including:Historical information obtains subelement 91, goes through for obtaining History user accesses the historical performance parameter of at least two servers corresponding with domain name, described historical performance for the previous period Parameter includes the success rate of the server that described historic user is accessed, the ratio of each failure cause, spent time Corresponding excellent, good, in, difference each grade ratio at least two;History acceptance rate determination subelement 92, for described Historical performance parameter is weighted and obtains the respective history acceptance rate of described at least two servers.
Referring to Figure 19, the present invention distributes in server one embodiment of Internet resources, described first acquisition subelement A1, bag Include:Current information obtains mould A11, for obtaining the respective current performance parameters of described at least two servers, described currency Can parameter include currently used situation, health degree, connect number at least two;Current acceptance rate determining module A12, for right Described current performance parameters are weighted and obtain the respective current acceptance rate of described at least two servers.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, it is permissible Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium In, this program is upon execution, it may include as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, the change or replacement that can readily occur in, all answer It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (14)

1. a kind of method of distribution Internet resources is it is characterised in that include:
Receive the access request of active user, in described access request, include described user domain name to be accessed;
Domain name is parsed, determines at least two servers corresponding with domain name;
According to the respective history acceptance rate of predetermined described at least two servers, determine to be described user's distribution The optimal service device of Internet resources;
Described optimal service device is distributed to described user;
Described according to the respective history acceptance rate of predetermined described at least two servers, determine can be described user The optimal service device of distribution Internet resources includes:
According to the respective history acceptance rate of predetermined described at least two servers, determine that history acceptance rate highest takes Business device;
The history acceptance rate of described history acceptance rate highest server is compared with first threshold, if described history is excellent The history acceptance rate of rate highest server is less than described first threshold, then obtain described at least two servers respective current Acceptance rate;
To described at least two servers, respective history acceptance rate and current acceptance rate are weighted, determine described in extremely Few two servers respective first weight acceptance rate;
According to the respective first weighting acceptance rate of described at least two servers, determine to be described user's distribution network money The optimal service device in source;
Described according to the respective first weighting acceptance rate of described at least two servers, determine and can distribute net for described user The optimal service device of network resource includes:
First weighting acceptance rate of the described first weighting acceptance rate highest server is compared with Second Threshold, if described First weighting acceptance rate of the first weighting acceptance rate highest server is less than described Second Threshold, then
Network operator according to belonging to the access request of described user determines described user and/or city;
The network operator belonging to respective history acceptance rate, current acceptance rate, described user to described at least two servers And/or city is weighted, determine the respective second weighting acceptance rate of described at least two servers;
According to the respective second weighting acceptance rate of described at least two servers, determine to be described user's distribution network money The optimal service device in source.
2. according to claim 1 distribution Internet resources method it is characterised in that
The history acceptance rate of described history acceptance rate highest server is compared with first threshold, if described history is excellent The history acceptance rate of rate highest server is more than or equal to described first threshold, then service described history acceptance rate highest Device is as the optimal service device that can distribute Internet resources for described user.
3. according to claim 1 distribution Internet resources method it is characterised in that
First weighting acceptance rate of the described first weighting acceptance rate highest server is compared with Second Threshold, if described First weighting acceptance rate of the first weighting acceptance rate highest server is more than or equal to described Second Threshold, then by described first Weighting acceptance rate highest server is as the optimal service device that can distribute Internet resources for described user.
4. the method for distribution Internet resources according to claim 1 is it is characterised in that described take according to described at least two The respective second weighting acceptance rate of business device, determines that the optimal service device that can distribute Internet resources for described user includes:
According to the respective second weighting acceptance rate of described at least two servers, determine the second weighting acceptance rate highest service Device is as the optimal service device that can distribute Internet resources for described user.
5. according to claim 1 distribution Internet resources method it is characterised in that receive described active user visit Also include before asking request:
Determine the respective history acceptance rate of described at least two servers.
6. the method for distribution Internet resources according to claim 5 is it is characterised in that described determination described at least two takes Business device respective history acceptance rate includes:
Obtain the historical performance parameter that historic user accesses at least two servers corresponding with domain name for the previous period, institute State historical performance parameter and include the success rate of the server that described historic user is accessed, mortality, each failure cause Ratio, spent time order rate, wherein, spent time order rate include the spent time corresponding excellent, Good, in, difference each grade ratio at least two;
Described historical performance parameter is weighted and obtains the respective history acceptance rate of described at least two servers.
7. the method for distribution Internet resources according to claim 1 is it is characterised in that described acquisition described at least two takes The business respective current acceptance rate of device includes:
Obtain the respective current performance parameters of described at least two servers, described current performance parameters include currently used feelings Condition, health degree, at least two connecting in number;
Described current performance parameters are weighted and obtain the respective current acceptance rate of described at least two servers.
8. a kind of server of distribution Internet resources is it is characterised in that include:
Receiving unit, for receiving the access request of active user, including described user in described access request will access Domain name;
Resolution unit, for parsing to domain name, determines at least two servers corresponding with domain name;
Service determination unit, for according to the respective history acceptance rate of predetermined described at least two servers, determining The optimal service device of Internet resources can be distributed for described user;
Service distributing unit, for distributing to described user by described optimal service device;
Described service determination unit includes:
Second comparing subunit, for being compared to the history acceptance rate of predetermined described at least two servers, really Make history acceptance rate highest server, and by the history acceptance rate of described history acceptance rate highest server and the first threshold Value is compared;
First acquisition subelement, for the comparative result according to described second comparing subunit, if described history acceptance rate highest Server history acceptance rate be less than described first threshold, then obtain described at least two servers respective currently excellent Rate;
First computation subunit, carries out adding for history acceptance rate respective to described at least two servers and current acceptance rate Power calculates, and determines the respective first weighting acceptance rate of described at least two servers;
3rd determination subelement, for according to the respective first weighting acceptance rate of described at least two servers, determining can Distribute the optimal service device of Internet resources for described user;
Described 3rd determination subelement includes:
First comparison module, is compared for weighting acceptance rate to the first of described at least two servers, determines first Weighting acceptance rate highest server;
Second comparison module, for weighting acceptance rate and the second threshold by the first of the described first weighting acceptance rate highest server Value is compared;
First acquisition module, for the comparative result according to described second comparison module, if described first weighting acceptance rate highest The first weighting acceptance rate of server be less than described Second Threshold, then described user is obtained according to the access request of described user Affiliated network operator and/or city;
First computing module, for history acceptance rate respective to described at least two servers, current acceptance rate, described user Affiliated network operator and/or city are weighted, and determine respective second weighting of described at least two servers Acceptance rate;
3rd determining module, for according to the respective second weighting acceptance rate of described at least two servers, determining can be Described user distributes the optimal service device of Internet resources.
9. the server of distribution Internet resources according to claim 8 is it is characterised in that described service determination unit also wraps Include:
Second determination subelement, for the comparative result according to described second comparing subunit, if described history acceptance rate highest Server history acceptance rate be more than or equal to described first threshold it is determined that described history acceptance rate highest server make For can distribute the optimal service device of Internet resources for described user.
10. the server of distribution Internet resources according to claim 8 is it is characterised in that described 3rd determination subelement Also include:
Second determining module, for the comparative result according to described second comparison module, if described first weighting acceptance rate highest Server first weighting acceptance rate be more than or equal to described Second Threshold it is determined that described first weighting acceptance rate highest Server is as the optimal service device that can distribute Internet resources for described user.
The servers of 11. distribution Internet resources according to claim 10 are it is characterised in that described 3rd determining module bag Include:
First comparison sub-module, for being compared the second of described at least two servers the weighting acceptance rate, determines the Two weighting acceptance rate highest servers;
First determination sub-module, for using the described second weighting acceptance rate highest server as can be described user distribution The optimal service device of Internet resources.
The server of 12. distribution Internet resources according to claim 8 is it is characterised in that also include:
History acceptance rate determining unit, for determining the respective history acceptance rate of described at least two servers.
The server of 13. distribution Internet resources according to claim 12 is it is characterised in that described history acceptance rate determines Unit includes:
Historical information obtains subelement, accesses at least two corresponding with domain name for the previous period for obtaining historic user The historical performance parameter of server, described historical performance parameter includes the success of the server that described historic user is accessed Rate, the ratio of each failure cause, spent time order rate, wherein, spent time order rate includes being consumed Time of taking corresponding excellent, good, in, at least two in the ratio of each grade of difference;
History acceptance rate determination subelement, obtains described at least two clothes for being weighted to described historical performance parameter Business device respective history acceptance rate.
14. according to claim 8 distribution Internet resources servers it is characterised in that
Described first acquisition subelement includes:
Current information acquisition module, for obtaining the respective current performance parameters of described at least two servers;Described currency Can parameter include currently used situation, health degree, connect number at least two;
Current acceptance rate determining module, obtains described at least two services for being weighted to described current performance parameters The respective current acceptance rate of device.
CN201410129001.6A 2014-04-01 2014-04-01 Method and server for allocating network resources Active CN103916332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410129001.6A CN103916332B (en) 2014-04-01 2014-04-01 Method and server for allocating network resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410129001.6A CN103916332B (en) 2014-04-01 2014-04-01 Method and server for allocating network resources

Publications (2)

Publication Number Publication Date
CN103916332A CN103916332A (en) 2014-07-09
CN103916332B true CN103916332B (en) 2017-02-08

Family

ID=51041741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410129001.6A Active CN103916332B (en) 2014-04-01 2014-04-01 Method and server for allocating network resources

Country Status (1)

Country Link
CN (1) CN103916332B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526221B (en) * 2020-04-09 2023-07-18 广州酷狗计算机科技有限公司 Domain name quality determining method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045411A (en) * 2009-10-13 2011-05-04 中国移动通信集团公司 Method, server and system for domain name resolution
CN102340554A (en) * 2011-09-29 2012-02-01 奇智软件(北京)有限公司 Optimal application server selection method and device for domain name system (DNS)
CN102457440A (en) * 2012-01-13 2012-05-16 华为软件技术有限公司 Method for realizing load balancing, DNS server, and Client
CN102480529A (en) * 2010-11-24 2012-05-30 北京无线恒远科技有限公司 Domain name analysis method and domain name analysis server for realizing load balance of wide area network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045411A (en) * 2009-10-13 2011-05-04 中国移动通信集团公司 Method, server and system for domain name resolution
CN102480529A (en) * 2010-11-24 2012-05-30 北京无线恒远科技有限公司 Domain name analysis method and domain name analysis server for realizing load balance of wide area network
CN102340554A (en) * 2011-09-29 2012-02-01 奇智软件(北京)有限公司 Optimal application server selection method and device for domain name system (DNS)
CN102457440A (en) * 2012-01-13 2012-05-16 华为软件技术有限公司 Method for realizing load balancing, DNS server, and Client

Also Published As

Publication number Publication date
CN103916332A (en) 2014-07-09

Similar Documents

Publication Publication Date Title
US10841241B2 (en) Intelligent placement within a data center
CN109327542B (en) Game service access response method, request forwarding method, connection method and device
CN107395683A (en) The system of selection of a kind of time source path and server
CN105338061A (en) Lightweight message oriented middleware realization method and system
WO2014194869A1 (en) Request processing method, device and system
WO2015096408A1 (en) User perception evaluation method and system
CN110430274A (en) A kind of document down loading method and system based on cloud storage
CN111327647A (en) Method and device for providing service to outside by container and electronic equipment
CN108279974A (en) A kind of cloud resource distribution method and device
CN105812255A (en) Source return line selection method and device
CN106470123A (en) Log collecting method, client, server and electronic equipment
CN107172214A (en) A kind of service node with load balancing finds method and device
CN109561165A (en) Domain name system configuration method and relevant apparatus
CN103209102A (en) Web quality of service distributed measurement system and method
CN107181774A (en) Data movement between distributive data center
CN103916332B (en) Method and server for allocating network resources
CN106534239A (en) Method and device for acquiring perception data
CN113452778B (en) Session holding method, device, equipment, system and storage medium
CN108964822B (en) Method and system for acquiring network time in parallel by multiple schemes
CN102647463B (en) The generation method of Web side navigation, wireless router terminal and system
CN105791247A (en) Unified traffic payment business implementation method and associated equipment and system
CN104168206B (en) Adapter gateway load balancing control method, device and system
US10445080B2 (en) Methods for adaptive placement of applications and devices thereof
CN106161547A (en) A kind of method and apparatus generating cloud service experience instrument
CN117203944A (en) Resource scheduling method of computing power network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20181229

Address after: 519031 Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Patentee after: Zhuhai Seal Interest Technology Co., Ltd.

Address before: 519070, six level 601F, 10 main building, science and technology road, Tangjia Bay Town, Zhuhai, Guangdong.

Patentee before: Zhuhai Juntian Electronic Technology Co.,Ltd.

TR01 Transfer of patent right