CN105100152A - Application server selection method and system, and application client - Google Patents
Application server selection method and system, and application client Download PDFInfo
- Publication number
- CN105100152A CN105100152A CN201410204180.5A CN201410204180A CN105100152A CN 105100152 A CN105100152 A CN 105100152A CN 201410204180 A CN201410204180 A CN 201410204180A CN 105100152 A CN105100152 A CN 105100152A
- Authority
- CN
- China
- Prior art keywords
- application server
- speed
- applications client
- information
- network parameter
- 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.)
- Pending
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention relates to an application server selection method and system, and an application client. The method comprises the steps of acquiring an application server IP address corresponding to each domain name; initiating a velocity measurement request for each application server corresponding to each application server IP address; acquiring network parameters of the velocity measurement and response information to the velocity measurement request of each application server; obtaining information corresponding to each application server based on the network parameters of the velocity measurement and the response information of each application server; and selecting an application server satisfying predetermined requirements as a target application server connected with the application client. According to the invention, the application server satisfying the predetermined requirements, rather than a random application server, is selected as the target server, the network parameters of the velocity measurement and the response information of the application server are considered comprehensively, the application server satisfying requirements is selected, and the access speed of the application client to the application server is improved.
Description
Technical field
The present invention relates to the network communications technology, particularly relate to a kind of choosing method and system, applications client of application server.
Background technology
The process of traditional applications client selective gist server comprises: load information and machine health indicator are reported name server by (1) application server; (2) load information and the machine health indicator of all application servers collected by name server; (3) applications client obtains application server IP (InternetProtocol to domain name client, the agreement interconnected between network) address, domain name client, to the request of name server initiated domain name analysis, obtains the IP list of available application services device; (4) name server is according to the load information of each application server and machine health indicator, the IP list choosing available application server is handed down to domain name client, and the IP list of available application server is supplied to applications client by domain name client; (5) applications client selects an IP to connect from the IP list of available application server.
Although the application server that traditional applications client is selected is available application server, but the also application server of non-optimal, do not consider the network problem of applications client access application server, easily cause applications client access application server speed slow.
Summary of the invention
Based on this, be necessary easily to cause access speed problem slowly for traditional applications client selective gist server, a kind of choosing method and the system that can improve the application server of applications client access speed are provided.
In addition, a kind of applications client improving applications client access speed is additionally provided.
A choosing method for application server, comprises the following steps:
Obtain the application server IP address corresponding to each domain name;
The request of testing the speed is initiated to the application server corresponding to each application server IP address;
Obtain this network parameter tested the speed and each application server response message to the described request of testing the speed;
The network parameter tested the speed according to this and each application server responses information obtain the information corresponding to each application server;
Choose meet pre-provisioning request application server as the destination application server be connected with applications client.
A choosing method for application server, comprises the following steps:
Applications client sends to domain name client and obtains application server IP Address requests, obtain the application server IP address corresponding to each domain name, wherein, domain name client, to the request of name server initiated domain name analysis, obtains the application server IP address corresponding to each domain name;
Applications client initiates to the application server corresponding to each application server IP address the request of testing the speed;
Each application server according to described in test the speed request return respective response message to applications client;
Applications client obtains this network parameter tested the speed;
Applications client obtains the information corresponding to each application server according to the response message of this network parameter tested the speed and each application server, and choose meet pre-provisioning request application server as the destination application server be connected with applications client.
A kind of applications client, comprising:
IP address acquisition module, for obtaining the application server IP address corresponding to each domain name;
Test the speed request initiation module, for initiating to the application server corresponding to each application server IP address the request of testing the speed;
Parameter acquisition module, for obtaining this network parameter tested the speed and each application server response message to the described request of testing the speed;
Weight Acquisition module, obtains the information corresponding to each application server for the network parameter that tests the speed according to this and each application server responses information;
Choose module, for choose meet pre-provisioning request application server as the destination application server be connected with applications client.
A selecting system for application server, comprises applications client and some application servers, and described applications client is above-mentioned applications client; Some application servers are used for the request of testing the speed described in basis and return respective response message to applications client.
A selecting system for application server, comprises applications client, application server, domain name client and name server, and domain name client initiates the domain name mapping of application server to domain name server; The domain name of domain name server application server carries out resolving the IP address be applied corresponding to server, and the IP address obtained is returned to domain name client; Described applications client obtains the IP address of each application server to domain name client, and initiates to corresponding application server the request of testing the speed according to the IP address of each application server; Response message is returned to described applications client after receiving the request of testing the speed by described application server; Described applications client obtains this network parameter tested the speed and each application server response message to the described request of testing the speed, the network parameter tested the speed according to this and each application server responses information obtain the information corresponding to each application server, and choose meet pre-provisioning request application server as the destination application server be connected with applications client.
The choosing method of above-mentioned application server and system, applications client, by initiating to each application server the request of testing the speed, receive the response message returned, and get this network parameter tested the speed, according to the information corresponding to the network parameter tested the speed and response message computing application server, choose meet pre-provisioning request application server as destination server, instead of the application server of random selecting, because having considered the response message of network parameter and the application server self tested the speed, choose the application server meeting pre-provisioning request, balanced Internet resources, improve the utilance of Internet resources, improve the speed of applications client access application server, and combine the network parameter and application server responses information many factors that test the speed, the result chosen is more accurate.
Accompanying drawing explanation
Fig. 1 is choosing method and the systematic difference environment map of application server;
Fig. 2 is the flow chart of the choosing method of application server in an embodiment;
Fig. 3 is the flow chart of the choosing method of application server in another embodiment;
Fig. 4 is the structured flowchart of applications client in an embodiment;
Fig. 5 is the structured flowchart of the selecting system of application server in an embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 is the applied environment figure of the choosing method of application server.As shown in Figure 1, this applied environment comprises domain name client 110, name server 120, applications client 130 and application server 140.
Domain name client (DNSAgent) 110 is for providing the IP list of application server 140 to applications client 130.Wherein, the English full name of DNS is DomainNameSystem, which provides the mutual mapping relations of domain name and IP address.
Name server (DNSProxy) 120 is resolved for the domain name of application server 140.
When domain name client 110 initiates the domain name mapping of application server to name server 120, the IP address that name server 120 pairs of domain name mappings are applied corresponding to server, and the IP address obtained is returned to domain name client 110.Wherein, the corresponding domain name of every platform application server.This application server 140 is N platform, as application server 1, application server 2, application server 3 ..., application server N.
Domain name client 110 obtains the IP address of all application servers by Using Call Library Function gethostbyname () from name server 120.The complete function statement of this gethostbyname () is:
Above-mentioned gethostbyname () can obtain domain name, another name, address style, address size, address list, and wherein, domain name client only gets h_addr, i.e. first IP address returning of domain name mapping.
Domain name client 110 by the IP address of each application server 140 with tabular form record.
Applications client 130 obtains the IP address of each application server 140 to domain name client 110, and initiates to corresponding application server the request of testing the speed according to the IP address of each application server.This applications client 130 can be instant communication software client or email client etc.
Response message is returned to applications client 130 after receiving the request of testing the speed by application server 140.This response message comprises load information and machine health indicator.Load information L comprises the current TCP (TransmissionControlProtocol of application server, transmission control protocol) linking number, network transmitting-receiving bag amount, CPU (CentralProcessingUnit, central processing unit) loading condition, EMS memory occupation situation etc., if current TCP linking number is lower, network transmitting-receiving bag amount is lower, cpu load is lower, EMS memory occupation is lower, then the value of load information L is higher.Machine health indicator comprises application server packet loss, whether the error message of application server, application server allow the mark etc. of accessing, application server packet loss is lower, the error message of application server is fewer, and the value of machine health indicator H is higher.If whether application server allows the mark of accessing to be set to not allow access, then the value of machine health indicator H is 0, if whether application server allows the mark of accessing to be set to allow access, does not then affect the value of machine health indicator H.
Application server 140 corresponds to applications client 130.Such as, applications client 130 is instant communication software client, then application server 140 is instant communication software server.For another example, applications client 130 is email client, then application server 140 is e-mail server.
Applications client 130 receives the response message returning each application server, and obtain this network parameter tested the speed, then obtain the information corresponding to each application server according to the response message of this network parameter tested the speed and each application server, and choose meet pre-provisioning request application server 140 as destination application server.In the present embodiment, the information corresponding to each application server is weight, and the maximum application server of applications client 130 weight selection is as the destination application server be connected with applications client.This applications client 130 is connected with this destination application server.Network parameter comprises delay time and packet drop.Delay time refers to the difference of this test the speed default response time and actual response time, and such as presetting the response time is 100 milliseconds, and actual response time is 110 milliseconds, then delay time is-10 milliseconds.Response time refers to that applications client initiates the request of testing the speed to the interval time receiving feedback.Delay time R and response time are inversely proportional to, and the response time is larger, and R is less.Packet drop refers to the situation of losing in data packet transmission, and packet loss can be adopted to weigh, packet loss refer to data-bag lost part with pass the ratio of packet sum, packet drop and packet loss are inversely proportional to, packet loss is larger, and packet drop F is less, i.e. packet drop F=1/ packet loss.
Applications client 130 is weighted to the load information of the application server in this delay time tested the speed and packet drop and application server responses information and machine health indicator the weight be applied corresponding to server.
Or applications client 130 to be sued for peace the weight be applied corresponding to server to the load information of the application server in this delay time tested the speed and packet drop and application server responses information and machine health indicator.In addition, applications client 130 is also by the weight corresponding to other mode computing application servers.
In other embodiments, the information corresponding to each application server can be scoring etc.
Fig. 2 is the flow chart of the choosing method of application server in an embodiment.The choosing method of the application server in Fig. 2 runs in the applied environment in Fig. 1, is described from the angle of applications client.As shown in Figure 2, the choosing method of this application server, comprises the following steps:
Step 202, obtains the application server IP address corresponding to each domain name.
Concrete, applications client 130 obtains the application server IP address corresponding to each domain name to domain name client 110.The corresponding domain name of every platform application server, resolves and obtains an IP address, i.e. a corresponding IP address of application server.
Step 204, initiates to the application server corresponding to each application server IP address the request of testing the speed.
Concrete, applications client 130 initiates to the application server corresponding to each application server IP address the request of testing the speed.Such as, applications client 130 to application server 1, application server 2 ..., application server N initiates the request of testing the speed respectively.
Step 206, obtains this network parameter tested the speed and each application server response message to this request of testing the speed.
Concrete, applications client 130 obtains initiates this network parameter tested the speed of the request of testing the speed and every platform application server to the response message of the request of testing the speed to every platform application server.Network parameter comprises delay time and packet drop, and delay time refers to the difference of this test the speed default response time and actual response time, and such as presetting the response time is 100 milliseconds, and actual response time is 110 milliseconds, then delay time is-10 milliseconds.Response time refers to that applications client initiates the request of testing the speed to the interval time receiving feedback.Delay time R and response time are inversely proportional to, and the response time is larger, and R is less.Packet drop refers to the situation of losing in data packet transmission, and packet loss can be adopted to weigh, packet loss refer to data-bag lost part with pass the ratio of packet sum, packet drop and packet loss are inversely proportional to, packet loss is larger, and packet drop F is less, i.e. packet drop F=1/ packet loss.This response message comprises load information and machine health indicator.Load information L comprises the current TCP linking number of application server, network transmitting-receiving bag amount, cpu load situation, EMS memory occupation situation etc., if current TCP linking number is lower, network transmitting-receiving bag amount is lower, cpu load is lower, EMS memory occupation is lower, then the value of load information L is higher.Machine health indicator comprises application server packet loss, whether the error message of application server, application server allow the mark etc. of accessing, application server packet loss is lower, the error message of application server is fewer, and the value of machine health indicator H is higher.If whether application server allows the mark of accessing to be set to not allow access, then the value of machine health indicator H is 0, if whether application server allows the mark of accessing to be set to allow access, does not then affect the value of machine health indicator H.
Step 208, the network parameter tested the speed according to this and each application server responses information obtain the information corresponding to each application server.
When network parameter comprises delay time and packet drop; This response message comprises load information and machine health indicator, and the information corresponding to each application server is when being weight, step 208 comprises: load information and the machine health indicator of the application server in the delay time test the speed to this and packet drop and application server responses information are weighted the weight obtained corresponding to this application server.
Concrete, be respectively delay time R, packet drop F, load information L distributes corresponding weights coefficient, to delay time R, packet drop F, load information L weighted sum, then the product of the value and machine health indicator H of asking for weighted sum is applied the weights W of server.The computing formula of the weights W of application server is as follows:
W=H*(L*a+R*b+F*c)(1)
In formula (1), a, b, c are respectively the weights coefficient of delay time R, packet drop F, load information L, and a+b+c=1.In the present embodiment, the value of a is 0.3, b to be 0.2, c be 0.5, a, b, c can according to adjustment.
In other embodiments, step 208 comprises: the load information of the application server in the delay time test the speed to this and packet drop and application server responses information and machine health indicator are sued for peace the weight obtained corresponding to this application server.
Concrete, the computing formula of the weights W of application server is as follows:
W=H+L+R+F(2)
In formula (2), H is machine health indicator, R is delay time, F is packet drop, L is load information.When H equals 0, W equals 0, and when H is not 0, W is H, L, R and F sum.
Only illustrate the method that two kinds are asked for weight herein, but be not limited to this two kinds of methods.
Step 210, choose meet pre-provisioning request application server as the destination application server be connected with applications client.
Concrete, pre-provisioning request can set as required.When the information corresponding to each application server is weight, the maximum application server of weight selection is as destination application server, i.e. optimum application server, applications client is connected with optimum application server.
The choosing method of above-mentioned application server, by initiating to each application server the request of testing the speed, receive the response message returned, and get this network parameter tested the speed, according to the information corresponding to the network parameter tested the speed and response message computing application server, choose meet pre-provisioning request application server as destination server, instead of the application server of random selecting, because having considered the response message of network parameter and the application server self tested the speed, choose the application server meeting pre-provisioning request, balanced Internet resources, improve the utilance of Internet resources, improve the speed of applications client access application server, and combine the network parameter and application server responses information many factors that test the speed, the result chosen is more accurate.And certain applications server load can not be caused many, certain applications server load is few, and application server load access is unbalanced.
Fig. 3 is the flow chart of the choosing method of application server in another embodiment.The choosing method of the application server of Fig. 3 runs in the applied environment in Fig. 1.As shown in Figure 3, the information in the present embodiment corresponding to each application server is the choosing method of weight, this application server, comprises the following steps:
Step 302, domain name client, to the request of name server initiated domain name analysis, obtains the application server IP address corresponding to each domain name.
Concrete, domain name client obtains the IP address of all application servers from name server by Using Call Library Function gethostbyname ().Domain name client by the IP address of each application server with tabular form record.
Step 304, applications client sends to domain name client and obtains application server IP Address requests, obtains the application server IP address corresponding to each domain name.
Step 306, applications client initiates to the application server corresponding to each application server IP address the request of testing the speed.
Step 308, each application server returns respective response message to applications client according to this request of testing the speed.
This response message comprises load information and machine health indicator.Load information L comprises the current TCP linking number of application server, network transmitting-receiving bag amount, cpu load situation, EMS memory occupation situation etc., if current TCP linking number is lower, network transmitting-receiving bag amount is lower, cpu load is lower, EMS memory occupation is lower, then the value of load information L is higher.Machine health indicator comprises application server packet loss, whether the error message of application server, application server allow the mark etc. of accessing, application server packet loss is lower, the error message of application server is fewer, and the value of machine health indicator H is higher.If whether application server allows the mark of accessing to be set to not allow access, then the value of machine health indicator H is 0, if whether application server allows the mark of accessing to be set to allow access, does not then affect the value of machine health indicator H.
Step 310, applications client obtains this network parameter tested the speed.
Concrete, network parameter comprises this delay time tested the speed and packet drop.Delay time refers to the difference of this test the speed default response time and actual response time, and such as presetting the response time is 100 milliseconds, and actual response time is 110 milliseconds, then delay time is-10 milliseconds.Response time refers to that applications client initiates the request of testing the speed to the interval time receiving feedback.Delay time R and response time are inversely proportional to, and the response time is larger, and R is less.Packet drop refers to the situation of losing in data packet transmission, and packet loss can be adopted to weigh, packet loss refer to data-bag lost part with pass the ratio of packet sum, packet drop and packet loss are inversely proportional to, packet loss is larger, and packet drop F is less, i.e. packet drop F=1/ packet loss.
Step 312, applications client obtains the weight corresponding to each application server according to the response message of this network parameter tested the speed and each application server, and the maximum application server of weight selection is as the destination application server be connected with applications client.
In one embodiment, step 312 comprises: applications client is weighted to the load information of the application server in this delay time tested the speed and packet drop and application server responses information and machine health indicator the weight obtained corresponding to this application server.
Concrete, be respectively delay time R, packet drop F, load information L distributes corresponding weights coefficient, to delay time R, packet drop F, load information L weighted sum, then the product of the value and machine health indicator H of asking for weighted sum is applied the weights W of server.The computing formula of the weights W of application server is as follows:
W=H*(L*a+R*b+F*c)(1)
In formula (1), a, b, c are respectively the weights coefficient of delay time R, packet drop F, load information L, and a+b+c=1.In the present embodiment, the value of a is 0.3, b to be 0.2, c be 0.5, a, b, c can according to adjustment.
In other embodiments, step 312 comprises: applications client to be sued for peace the weight obtained corresponding to this application server to the load information of the application server in this delay time tested the speed and packet drop and application server responses information and machine health indicator.
Concrete, the computing formula of the weights W of application server is as follows:
W=H+L+R+F(2)
In formula (2), H is machine health indicator, R is delay time, F is packet drop, L is load information.When H equals 0, W equals 0, and when H is not 0, W is H, L, R and F sum.
The choosing method of above-mentioned application server, by initiating to each application server the request of testing the speed, receive the response message returned, and get this network parameter tested the speed, according to the weight corresponding to the network parameter tested the speed and response message computing application server, the maximum application server of weight selection is as destination server, instead of the application server of random selecting, because having considered the response message of network parameter and the application server self tested the speed, the weight maximum application server chosen, balanced Internet resources, improve the utilance of Internet resources, improve the speed of applications client access application server, and combine the network parameter and application server responses information many factors that test the speed, the result chosen is more accurate.
Fig. 4 is the structured flowchart of applications client in an embodiment.Applications client in Fig. 4 runs in the applied environment of Fig. 1.As shown in Figure 4, this applications client 130, comprises IP address acquisition module 131, tests the speed and ask initiation module 132, parameter acquisition module 133, Weight Acquisition module 134 and choose module 135.
IP address acquisition module 131 is for obtaining the application server IP address corresponding to each domain name.
Concrete, the IP address acquisition module 131 of applications client 103 obtains the application server IP address corresponding to each domain name to domain name client 110.The corresponding domain name of every platform application server, resolves and obtains an IP address, i.e. a corresponding IP address of application server.
Test the speed request initiation module 132 for initiating to the application server corresponding to each application server IP address the request of testing the speed.
Concrete, request of the testing the speed initiation module 132 of applications client 130 initiates to the application server corresponding to each application server IP address the request of testing the speed.Such as, applications client 130 to application server 1, application server 2 ..., application server N initiates the request of testing the speed respectively.
Parameter acquisition module 133 for the network parameter that obtains this and test the speed and each application server to the response message of this request of testing the speed.
Concrete, the parameter acquisition module 133 of applications client 130 obtains initiates this network parameter tested the speed of the request of testing the speed and every platform application server to the response message of the request of testing the speed to every platform application server.Network parameter comprises delay time and packet drop, and delay time refers to the difference of this test the speed actual response time and default response time.Packet drop refers to the situation of losing in data packet transmission, and packet loss can be adopted to weigh, packet loss refer to data-bag lost part with pass the ratio of packet sum.
This response message comprises load information and machine health indicator.Load information L comprises the current TCP linking number of application server, network transmitting-receiving bag amount, cpu load situation, EMS memory occupation situation etc.Machine health indicator comprises application server packet loss, whether the error message of application server, application server allow the mark etc. of accessing.If whether application server allows the mark of accessing to be set to not allow access, then the value of machine health indicator H is 0, if whether application server allows the mark of accessing to be set to allow access, does not then affect the value of machine health indicator H.
Weight Acquisition module 134 obtains the information corresponding to each application server for the network parameter that tests the speed according to this and each application server responses information.
Concrete, in the present embodiment, the information corresponding to each application server is weight.This Weight Acquisition module 134 is also weighted for the load information of the application server in the delay time that tests the speed to this and packet drop and application server responses information and machine health indicator the weight obtained corresponding to this application server; Or this Weight Acquisition module 134 also to be sued for peace the weight obtained corresponding to this application server for the load information of the application server in the delay time that tests the speed to this and packet drop and application server responses information and machine health indicator.Specific formula for calculation, described in the embodiment of the choosing method of application server, does not repeat them here.
Choose module 135 for choose meet pre-provisioning request application server as the destination application server be connected with applications client.When the information corresponding to each application server is weight, choose module 135 for the maximum application server of weight selection as the destination application server be connected with applications client.
Above-mentioned applications client, by initiating to each application server the request of testing the speed, receive the response message returned, and get this network parameter tested the speed, according to the information corresponding to the network parameter tested the speed and response message computing application server, choose meet pre-provisioning request application server as destination server, instead of the application server of random selecting, because having considered the response message of network parameter and the application server self tested the speed, choose the application server meeting pre-provisioning request, balanced Internet resources, improve the utilance of Internet resources, improve the speed of applications client access application server, and combine the network parameter and application server responses information many factors that test the speed, the result chosen is more accurate.In addition, the maximum application server of weight selection is as destination server, and more balanced Internet resources, improve the utilance of Internet resources.
Fig. 5 is the structured flowchart of the selecting system of application server in an embodiment.As shown in Figure 5, the selecting system of this application server comprises applications client 520 and some application servers 540.This some application server 540 comprise application server 1, application server 2, application server 3 ... application server N.The function of this applications client 520 is identical with the function of the applications client 130 in Fig. 4, does not repeat them here.Some application servers 540 are for returning respective response message to applications client 520 according to this request of testing the speed.
The selecting system of above-mentioned application server, by initiating to each application server the request of testing the speed, receive the response message returned, and get this network parameter tested the speed, according to the weight corresponding to the network parameter tested the speed and response message computing application server, the maximum application server of weight selection is as destination server, instead of the application server of random selecting, because having considered the response message of network parameter and the application server self tested the speed, the weight maximum application server chosen is balanced Internet resources, improve the utilance of Internet resources, and combine the network parameter and application server responses information many factors that test the speed, the result chosen is more accurate.
Present invention also offers a kind of selecting system of application server, comprise domain name client 110, name server 120, applications client 130 and application server 140, domain name client 110, name server 120, applications client 130 and each function of application server 140, described in applied environment, do not repeat them here.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, as in the embodiment of the present invention, this program can be stored in the storage medium of computer system, and performed by least one processor in this computer system, to realize the flow process of the embodiment comprised as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.
Claims (21)
1. a choosing method for application server, comprises the following steps:
Obtain the application server IP address corresponding to each domain name;
The request of testing the speed is initiated to the application server corresponding to each application server IP address;
Obtain this network parameter tested the speed and each application server response message to the described request of testing the speed;
The network parameter tested the speed according to this and each application server responses information obtain the information corresponding to each application server;
Choose meet pre-provisioning request application server as the destination application server be connected with applications client.
2. method according to claim 1, is characterized in that, described to obtain corresponding to each application server described in information information according to this network parameter tested the speed and each application server responses information be weight;
The described application server that meets pre-provisioning request chosen comprises as the step of the destination application server be connected with applications client: choose that to meet pre-provisioning request be that the maximum application server of weight selection is as the destination application server be connected with applications client.
3. method according to claim 2, is characterized in that, the described network parameter that this tests the speed comprises this delay time tested the speed and packet drop; Described response message comprises load information and the machine health indicator of application server.
4. method according to claim 3, is characterized in that, the step of the described weight obtained corresponding to each application server according to this network parameter tested the speed and each application server responses information comprises:
Load information and the machine health indicator of the application server in the delay time test the speed to this and packet drop and application server responses information are weighted the weight obtained corresponding to described application server;
Or the step of the described weight obtained corresponding to each application server according to this network parameter tested the speed and each application server responses information comprises:
The load information of the application server in the delay time test the speed to this and packet drop and application server responses information and machine health indicator are sued for peace the weight obtained corresponding to described application server.
5. method according to claim 3, is characterized in that, described machine health indicator comprises the mark whether application server allows to access; If whether application server allows being masked as of access not allow access, then the weight of described application server is 0.
6. a choosing method for application server, comprises the following steps:
Applications client sends to domain name client and obtains application server IP Address requests, obtain the application server IP address corresponding to each domain name, wherein, domain name client, to the request of name server initiated domain name analysis, obtains the application server IP address corresponding to each domain name;
Applications client initiates to the application server corresponding to each application server IP address the request of testing the speed;
Each application server according to described in test the speed request return respective response message to applications client;
Applications client obtains this network parameter tested the speed;
Applications client obtains the information corresponding to each application server according to the response message of this network parameter tested the speed and each application server, and choose meet pre-provisioning request application server as the destination application server be connected with applications client.
7. method according to claim 6, is characterized in that, described to obtain corresponding to each application server described in information information according to this network parameter tested the speed and each application server responses information be weight; The maximum application server of described applications client weight selection is as the destination application server be connected with applications client.
8. method according to claim 7, is characterized in that, the described network parameter that this tests the speed comprises this delay time tested the speed and packet drop; Described response message comprises load information and the machine health indicator of application server.
9. method according to claim 8, it is characterized in that, described applications client obtains the weight corresponding to each application server according to the response message of this network parameter tested the speed and each application server, and the maximum application server of weight selection comprises as the step of the destination application server be connected with applications client:
Applications client is weighted to the load information of the application server in this delay time tested the speed and packet drop and application server responses information and machine health indicator the weight obtained corresponding to described application server;
Or applications client to be sued for peace the weight obtained corresponding to described application server to the load information of the application server in this delay time tested the speed and packet drop and application server responses information and machine health indicator.
10. method according to claim 8, is characterized in that, described machine health indicator comprises the mark whether application server allows to access; If whether application server allows being masked as of access not allow access, then the weight of described application server is 0.
11. 1 kinds of applications client, is characterized in that, comprising:
IP address acquisition module, for obtaining the application server IP address corresponding to each domain name;
Test the speed request initiation module, for initiating to the application server corresponding to each application server IP address the request of testing the speed;
Parameter acquisition module, for obtaining this network parameter tested the speed and each application server response message to the described request of testing the speed;
Weight Acquisition module, obtains the information corresponding to each application server for the network parameter that tests the speed according to this and each application server responses information;
Choose module, for choose meet pre-provisioning request application server as the destination application server be connected with applications client.
12. applications client according to claim 11, is characterized in that, described to obtain corresponding to each application server described in information information according to this network parameter tested the speed and each application server responses information be weight; Described choose module also for the maximum application server of weight selection as the destination application server be connected with applications client.
13. applications client according to claim 12, is characterized in that, the described network parameter that this tests the speed comprises this delay time tested the speed and packet drop; Described response message comprises load information and the machine health indicator of application server.
14. applications client according to claim 13, it is characterized in that, described Weight Acquisition module is also weighted for the load information of the application server in the delay time that tests the speed to this and packet drop and application server responses information and machine health indicator the weight obtained corresponding to described application server; Or described Weight Acquisition module also to be sued for peace the weight obtained corresponding to described application server for the load information of the application server in the delay time that tests the speed to this and packet drop and application server responses information and machine health indicator.
15. applications client according to claim 13, is characterized in that, described machine health indicator comprises the mark whether application server allows to access; If whether application server allows being masked as of access not allow access, then the weight of described application server is 0.
The selecting system of 16. 1 kinds of application servers, is characterized in that, comprise applications client and some application servers, described applications client comprises the applications client according to any one of claim 11 to 15; Some application servers are used for the request of testing the speed described in basis and return respective response message to applications client.
The selecting system of 17. 1 kinds of application servers, is characterized in that, comprises applications client, application server, domain name client and name server, and domain name client initiates the domain name mapping of application server to domain name server; The domain name of domain name server application server carries out resolving the IP address be applied corresponding to server, and the IP address obtained is returned to domain name client; Described applications client obtains the IP address of each application server to domain name client, and initiates to corresponding application server the request of testing the speed according to the IP address of each application server; Response message is returned to described applications client after receiving the request of testing the speed by described application server; Described applications client obtains this network parameter tested the speed and each application server response message to the described request of testing the speed, the network parameter tested the speed according to this and each application server responses information obtain the information corresponding to each application server, and choose meet pre-provisioning request application server as the destination application server be connected with applications client.
18. systems according to claim 17, is characterized in that, described to obtain corresponding to each application server described in information information according to this network parameter tested the speed and each application server responses information be weight;
Described applications client also for the maximum application server of weight selection as the destination application server be connected with applications client.
19. systems according to claim 18, is characterized in that, the described network parameter that this tests the speed comprises this delay time tested the speed and packet drop; Described response message comprises load information and the machine health indicator of application server.
20. methods according to claim 19, it is characterized in that, described applications client is weighted to the load information of the application server in this delay time tested the speed and packet drop and application server responses information and machine health indicator the weight obtained corresponding to described application server;
Or described applications client to be sued for peace the weight obtained corresponding to described application server to the load information of the application server in this delay time tested the speed and packet drop and application server responses information and machine health indicator.
21. methods according to claim 19, is characterized in that, described machine health indicator comprises the mark whether application server allows to access; If whether application server allows being masked as of access not allow access, then the weight of described application server is 0.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410204180.5A CN105100152A (en) | 2014-05-14 | 2014-05-14 | Application server selection method and system, and application client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410204180.5A CN105100152A (en) | 2014-05-14 | 2014-05-14 | Application server selection method and system, and application client |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105100152A true CN105100152A (en) | 2015-11-25 |
Family
ID=54579686
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410204180.5A Pending CN105100152A (en) | 2014-05-14 | 2014-05-14 | Application server selection method and system, and application client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105100152A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357776A (en) * | 2016-09-23 | 2017-01-25 | 北京奇虎科技有限公司 | Method and device for selecting transmission resource of streaming data |
CN106936926A (en) * | 2017-04-18 | 2017-07-07 | 广州华多网络科技有限公司 | Access the method and system of back end |
CN108111431A (en) * | 2016-11-24 | 2018-06-01 | 腾讯科技(北京)有限公司 | Business datum sending method and device |
CN109688033A (en) * | 2019-03-08 | 2019-04-26 | 深圳市网心科技有限公司 | A kind of network bandwidth evaluating method, device, system and storage medium |
CN109729131A (en) * | 2018-04-12 | 2019-05-07 | 平安普惠企业管理有限公司 | A kind of processing method of application request, device and router |
CN110099131A (en) * | 2019-05-17 | 2019-08-06 | 网宿科技股份有限公司 | A kind of domain name analytic method and device |
CN110113446A (en) * | 2019-05-23 | 2019-08-09 | 竞技世界(成都)网络技术有限公司 | A kind of client addressing method, apparatus and system |
CN111800423A (en) * | 2020-07-06 | 2020-10-20 | 中国工商银行股份有限公司 | Method, system, computing device and medium for processing IP address |
CN111935029A (en) * | 2020-09-18 | 2020-11-13 | 腾讯科技(深圳)有限公司 | Gateway load balancing method and device, storage medium and electronic equipment |
CN112104682A (en) * | 2019-06-18 | 2020-12-18 | 上海达龙信息科技有限公司 | Intelligent distribution method and system for cloud desktop server, storage medium and central control server |
CN114172863A (en) * | 2020-08-21 | 2022-03-11 | 北京金山云网络技术有限公司 | Internet protocol address searching method, device, readable medium and equipment |
CN115086332A (en) * | 2022-06-27 | 2022-09-20 | 北京奇艺世纪科技有限公司 | Communication method, communication device, electronic equipment and storage medium |
CN114172863B (en) * | 2020-08-21 | 2024-04-26 | 北京金山云网络技术有限公司 | Method, device, readable medium and equipment for searching internet protocol address |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1549516A (en) * | 2003-05-12 | 2004-11-24 | 华为技术有限公司 | Method for testing AAA server characteristics and apparatus thereof |
CN1859418A (en) * | 2006-03-06 | 2006-11-08 | 华为技术有限公司 | Distributing method and system for network resource in communication network |
CN101068171A (en) * | 2007-06-25 | 2007-11-07 | 中兴通讯股份有限公司 | Speed-measuring resource dynamic distributing method and system for network speed-measuring system |
CN102117225A (en) * | 2009-12-31 | 2011-07-06 | 上海可鲁系统软件有限公司 | Industrial automatic multi-point cluster system and task management method thereof |
CN102130938A (en) * | 2010-12-03 | 2011-07-20 | 中国科学院软件研究所 | Resource supply method oriented to Web application host platform |
CN102130811A (en) * | 2010-01-14 | 2011-07-20 | 深圳市深信服电子科技有限公司 | Method for accessing application servers through VPN (Virtual Private Network) and terminal |
CN102281190A (en) * | 2011-07-01 | 2011-12-14 | 杭州斯凯网络科技有限公司 | Networking method for load balancing apparatus, server and client access method |
CN102340554A (en) * | 2011-09-29 | 2012-02-01 | 奇智软件(北京)有限公司 | Optimal application server selection method and device for domain name system (DNS) |
CN102387049A (en) * | 2011-11-25 | 2012-03-21 | 浪潮电子信息产业股份有限公司 | Cloud service quality evaluation method based on SNMP (simple network management protocol) |
CN102843419A (en) * | 2012-07-03 | 2012-12-26 | 广东电网公司信息中心 | Service resource allocation method and service resource allocation system |
CN103139007A (en) * | 2011-12-05 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Method and system for detecting application server performance |
-
2014
- 2014-05-14 CN CN201410204180.5A patent/CN105100152A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1549516A (en) * | 2003-05-12 | 2004-11-24 | 华为技术有限公司 | Method for testing AAA server characteristics and apparatus thereof |
CN1859418A (en) * | 2006-03-06 | 2006-11-08 | 华为技术有限公司 | Distributing method and system for network resource in communication network |
CN101068171A (en) * | 2007-06-25 | 2007-11-07 | 中兴通讯股份有限公司 | Speed-measuring resource dynamic distributing method and system for network speed-measuring system |
CN102117225A (en) * | 2009-12-31 | 2011-07-06 | 上海可鲁系统软件有限公司 | Industrial automatic multi-point cluster system and task management method thereof |
CN102130811A (en) * | 2010-01-14 | 2011-07-20 | 深圳市深信服电子科技有限公司 | Method for accessing application servers through VPN (Virtual Private Network) and terminal |
CN102130938A (en) * | 2010-12-03 | 2011-07-20 | 中国科学院软件研究所 | Resource supply method oriented to Web application host platform |
CN102281190A (en) * | 2011-07-01 | 2011-12-14 | 杭州斯凯网络科技有限公司 | Networking method for load balancing apparatus, server and client access method |
CN102340554A (en) * | 2011-09-29 | 2012-02-01 | 奇智软件(北京)有限公司 | Optimal application server selection method and device for domain name system (DNS) |
CN102387049A (en) * | 2011-11-25 | 2012-03-21 | 浪潮电子信息产业股份有限公司 | Cloud service quality evaluation method based on SNMP (simple network management protocol) |
CN103139007A (en) * | 2011-12-05 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Method and system for detecting application server performance |
CN102843419A (en) * | 2012-07-03 | 2012-12-26 | 广东电网公司信息中心 | Service resource allocation method and service resource allocation system |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357776B (en) * | 2016-09-23 | 2019-06-28 | 北京奇虎科技有限公司 | A kind of choosing method and device of the transfer resource of flow data |
CN106357776A (en) * | 2016-09-23 | 2017-01-25 | 北京奇虎科技有限公司 | Method and device for selecting transmission resource of streaming data |
CN108111431B (en) * | 2016-11-24 | 2021-09-24 | 腾讯科技(北京)有限公司 | Service data sending method, device, computing equipment and computer readable storage medium |
CN108111431A (en) * | 2016-11-24 | 2018-06-01 | 腾讯科技(北京)有限公司 | Business datum sending method and device |
CN106936926A (en) * | 2017-04-18 | 2017-07-07 | 广州华多网络科技有限公司 | Access the method and system of back end |
CN106936926B (en) * | 2017-04-18 | 2020-05-15 | 广州华多网络科技有限公司 | Method and system for accessing data node |
CN109729131A (en) * | 2018-04-12 | 2019-05-07 | 平安普惠企业管理有限公司 | A kind of processing method of application request, device and router |
CN109729131B (en) * | 2018-04-12 | 2022-06-17 | 平安普惠企业管理有限公司 | Application request processing method and device and router |
CN109688033A (en) * | 2019-03-08 | 2019-04-26 | 深圳市网心科技有限公司 | A kind of network bandwidth evaluating method, device, system and storage medium |
CN110099131A (en) * | 2019-05-17 | 2019-08-06 | 网宿科技股份有限公司 | A kind of domain name analytic method and device |
CN110113446B (en) * | 2019-05-23 | 2022-03-18 | 竞技世界(成都)网络技术有限公司 | Client addressing method, device and system |
CN110113446A (en) * | 2019-05-23 | 2019-08-09 | 竞技世界(成都)网络技术有限公司 | A kind of client addressing method, apparatus and system |
CN112104682A (en) * | 2019-06-18 | 2020-12-18 | 上海达龙信息科技有限公司 | Intelligent distribution method and system for cloud desktop server, storage medium and central control server |
CN111800423A (en) * | 2020-07-06 | 2020-10-20 | 中国工商银行股份有限公司 | Method, system, computing device and medium for processing IP address |
CN114172863A (en) * | 2020-08-21 | 2022-03-11 | 北京金山云网络技术有限公司 | Internet protocol address searching method, device, readable medium and equipment |
CN114172863B (en) * | 2020-08-21 | 2024-04-26 | 北京金山云网络技术有限公司 | Method, device, readable medium and equipment for searching internet protocol address |
CN111935029B (en) * | 2020-09-18 | 2021-06-08 | 腾讯科技(深圳)有限公司 | Gateway load balancing method and device, storage medium and electronic equipment |
CN111935029A (en) * | 2020-09-18 | 2020-11-13 | 腾讯科技(深圳)有限公司 | Gateway load balancing method and device, storage medium and electronic equipment |
CN115086332A (en) * | 2022-06-27 | 2022-09-20 | 北京奇艺世纪科技有限公司 | Communication method, communication device, electronic equipment and storage medium |
CN115086332B (en) * | 2022-06-27 | 2024-03-08 | 北京奇艺世纪科技有限公司 | Communication method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105100152A (en) | Application server selection method and system, and application client | |
WO2018210265A1 (en) | Scheduling control method, apparatus, and system | |
Wang et al. | Estimating the performance of hypothetical cloud service deployments: A measurement-based approach | |
CN106572197B (en) | Network address translation method, device and system | |
CN107342913B (en) | Detection method and device for CDN node | |
CN111432045B (en) | Method, device and equipment for testing server scheduling algorithm of domain name system | |
US20090210513A1 (en) | Asynchronous automated routing of user to optimal host | |
CN105871975A (en) | Method and device for selecting source server | |
CN106657180B (en) | Information transmission method and device for cloud service, terminal equipment and system | |
US20160043990A1 (en) | Dns resolution replay for bare domain names that map to "a" records | |
CN104092791A (en) | Internet content resource scheduling method and system taking quality and cost into consideration | |
CN109995839B (en) | Load balancing method, system and load balancer | |
CN104519148B (en) | The accessible detecting method and system of application server address | |
US20150095703A1 (en) | System and Method for Dynamically Testing Networked Target Systems | |
CN104052832A (en) | Method and device for setting IP address of domain name resolution server and server | |
CN103873604A (en) | Network access method based on analysis of CDN data | |
CN105988922B (en) | Test method, device and the server of application program | |
CN110868361A (en) | Gateway load balancing method, device and equipment | |
CN111669285A (en) | Network detection data processing method, system and storage medium | |
CN110120971A (en) | A kind of gray scale dissemination method, device and electronic equipment | |
CN105991708B (en) | Application server selection method, device and system | |
US20200259892A1 (en) | Implementing multiple load balancer drivers for a single load balancer | |
CN104092751B (en) | A kind of Operational Visit method and apparatus | |
US20210176301A1 (en) | Method and apparatus for multi-vendor gtm fabric | |
CN114448849B (en) | Method for detecting supporting mode of IPv6 network of website and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151125 |