CN110113446B - Client addressing method, device and system - Google Patents

Client addressing method, device and system Download PDF

Info

Publication number
CN110113446B
CN110113446B CN201910434942.3A CN201910434942A CN110113446B CN 110113446 B CN110113446 B CN 110113446B CN 201910434942 A CN201910434942 A CN 201910434942A CN 110113446 B CN110113446 B CN 110113446B
Authority
CN
China
Prior art keywords
machine room
proxy server
speed measurement
target
client
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
CN201910434942.3A
Other languages
Chinese (zh)
Other versions
CN110113446A (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.)
Competitive World Chengdu Network Technology Co ltd
Original Assignee
Competitive World Chengdu Network 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 Competitive World Chengdu Network Technology Co ltd filed Critical Competitive World Chengdu Network Technology Co ltd
Priority to CN201910434942.3A priority Critical patent/CN110113446B/en
Publication of CN110113446A publication Critical patent/CN110113446A/en
Application granted granted Critical
Publication of CN110113446B publication Critical patent/CN110113446B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the application discloses a client addressing method, a client addressing device and a client addressing system. And then, sending a speed measurement data packet to the management server of each machine room according to the management server address of each machine room, and acquiring a feedback data packet of the management server of each machine room for the speed measurement data packet. And then, calculating the speed measurement result of each machine room according to the feedback data packet returned by the management server of each machine room, so as to select the target machine room meeting the conditions according to the speed measurement result of each machine room. And then, acquiring the address of the target proxy server in the target machine room from the management server of the target machine room, and establishing connection with the target proxy server according to the address of the target proxy server, so that the connection with the target proxy server with the optimal performance is realized, and the stability of the connection is ensured.

Description

Client addressing method, device and system
Technical Field
The application relates to the technical field of internet, in particular to a client addressing method, device and system.
Background
With the popularization of internet technology, a user can access a certain application in the internet by using a client in a terminal device. In specific implementation, a client can obtain a plurality of server addresses corresponding to applications to be accessed through a domain name, and then randomly select a certain server address for connection, thereby realizing the access of the client to the applications. However, because of the large number of clients, when a client connects to a corresponding server using a selected server address, the server may not establish a connection or the connection may be unstable, and the client may not access the application smoothly.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a method, an apparatus, and a system for addressing a client, so as to improve the reliability of connection between the client and a server.
In order to solve the above problem, the technical solution provided by the embodiment of the present application is as follows:
in a first aspect of an embodiment of the present application, a client addressing method is provided, where the method is applied to a client, and the method includes:
acquiring speed measurement configuration information, and acquiring management server addresses of all machine rooms from the speed measurement configuration information;
sending a speed measurement data packet to the management server of each machine room by using the management server address of each machine room, and acquiring a feedback data packet of the management server of each machine room to the speed measurement data packet;
calculating the speed measurement result of each machine room according to the feedback data packet of the management server of each machine room to the speed measurement data packet, and selecting the machine room of which the speed measurement result meets a first preset condition as a target machine room;
acquiring a target proxy server address in the target machine room from a management server of the target machine room, wherein the target proxy server address is determined by the management server of the target machine room according to the load condition of each proxy server in the target machine room;
and establishing connection with the target proxy server by using the address of the target proxy server.
In one possible implementation, the method further includes:
when speed measurement configuration information does not exist or a feedback data packet of the management server of each machine room for the speed measurement data packet is not obtained, obtaining the address of the proxy server of each machine room through domain name resolution;
selecting a target proxy server address from the proxy server addresses of all the machine rooms;
and establishing connection with the target proxy server by using the address of the target proxy server.
In a possible implementation manner, the selecting a target proxy server address from the proxy server addresses of the respective rooms includes:
according to the identification number of the client, performing modulo operation on the total number of the proxy server addresses of all the machine rooms to obtain a target proxy server address index;
and determining the address of the target proxy server according to the address index of the target proxy server.
In one possible implementation, the method further includes:
and when the speed measurement configuration information does not exist, downloading the speed measurement configuration information from the target proxy server after establishing connection with the target proxy server by using the target proxy server address.
In one possible implementation, the method further includes:
after the target proxy server address is used for establishing connection with the target proxy server, if the speed measurement configuration information is updated, the updated speed measurement configuration information is downloaded from the target proxy server.
In a possible implementation manner, the calculating, according to the feedback data packet of the management server of each machine room to the speed measurement data packet, a speed measurement result of each machine room, and selecting a machine room whose speed measurement result meets a first preset condition as a target machine room includes:
calculating packet loss rate, jitter rate and time delay corresponding to the ith computer room according to the feedback data packet of the management server of each computer room to the speed measurement data packet, wherein i is an integer from 1 to n, and n is the number of the computer rooms;
weighting and summing the packet loss rate, the jitter rate and the time delay corresponding to the ith machine room, and adding the weighted value of the ith machine room to obtain a speed measurement result of the ith machine room;
and selecting the machine room with the minimum speed measurement result as a target machine room.
In a second aspect of the embodiments of the present application, there is provided a client addressing method, where the method is applied to a management server in a computer room, and the method includes:
receiving a speed measurement data packet sent by a client, sending a feedback data packet of the speed measurement data packet to the client, so that the client calculates a speed measurement result of each machine room according to the feedback data packet of the speed measurement data packet by a management server of each machine room, and selecting the machine room of which the speed measurement result meets a first preset condition as a target machine room;
determining the address of a target proxy server according to the load condition of each proxy server in the current machine room;
and after receiving a connection request of the client, sending the target proxy server address to the client so that the client establishes connection with the target proxy server by using the target proxy server address.
In a possible implementation manner, the determining an address of a target proxy server according to a load condition of each proxy server in a current computer room includes:
acquiring load conditions reported by each proxy server in a current machine room, wherein the load conditions comprise one or more of the connection number of clients, the utilization rate of a processor and network flow;
calculating load scores of all proxy servers in the current machine room according to the load conditions of all the proxy servers in the current machine room;
and selecting the proxy server with the load score meeting a second preset condition as a target proxy server to obtain the address of the target proxy server.
In a third aspect of the embodiments of the present application, there is provided a client addressing device, where the device is applied to a client, and the device may include:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring speed measurement configuration information and acquiring management server addresses of all machine rooms from the speed measurement configuration information;
the first sending unit is used for sending a speed measurement data packet to the management server of each machine room by using the management server address of each machine room;
a second obtaining unit, configured to obtain a feedback data packet of the management server of each machine room for the speed measurement data packet;
the first selection unit is used for calculating the speed measurement result of each machine room according to the feedback data packet of the management server of each machine room to the speed measurement data packet, and selecting the machine room of which the speed measurement result meets a first preset condition as a target machine room;
a third obtaining unit, configured to obtain, from a management server of the target machine room, a target proxy server address in the target machine room, where the target proxy server address is determined by the management server of the target machine room according to a load condition of each proxy server in the target machine room;
and the connection unit is used for establishing connection with the target proxy server by utilizing the target proxy server address.
In one possible implementation, the apparatus further includes:
the analysis unit is used for acquiring the address of the proxy server of each machine room through domain name analysis when speed measurement configuration information does not exist or a feedback data packet of the management server of each machine room for the speed measurement data packet is not acquired;
the second selection unit is used for selecting a target proxy server address from the proxy server addresses of all the machine rooms;
the connection unit is further configured to establish a connection with the target proxy server by using the target proxy server address.
In a possible implementation manner, the second selecting unit includes:
the first acquisition subunit is used for obtaining a target proxy server address index by taking a module of the total number of the proxy server addresses of each machine room according to the identification number of the client;
and the determining subunit is used for determining the address of the target proxy server according to the address index of the target proxy server.
In one possible implementation, the apparatus further includes:
and the downloading unit is used for downloading the speed measurement configuration information from the target proxy server after establishing connection with the target proxy server by using the address of the target proxy server when the speed measurement configuration information does not exist.
In one possible implementation, the apparatus further includes:
and the updating unit is used for downloading the updated speed measurement configuration information from the target proxy server if the speed measurement configuration information is updated after the target proxy server address is used for establishing connection with the target proxy server.
In a possible implementation manner, the first selecting unit includes:
a first calculating subunit, configured to calculate, according to a feedback data packet of the management server of each machine room for the speed measurement data packet, a packet loss rate, a jitter rate, and a time delay corresponding to an ith machine room, where i is an integer taking a value from 1 to n, and n is the number of machine rooms;
the second calculating subunit is configured to perform weighted summation on the packet loss rate, the jitter rate and the time delay corresponding to the ith machine room, and add the weighted summation to the machine room weight value of the ith machine room to obtain a speed measurement result of the ith machine room;
and the first selection subunit is used for selecting the machine room with the minimum speed measurement result as the target machine room.
In a fourth aspect of the embodiments of the present application, there is provided a client addressing device, where the device is applied to a management server, and the device may include:
the receiving unit is used for receiving a speed measurement data packet sent by a client and sending a feedback data packet of the speed measurement data packet to the client, so that the client calculates a speed measurement result of each machine room according to the feedback data packet of the speed measurement data packet by a management server of each machine room, and selects the machine room of which the speed measurement result meets a first preset condition as a target machine room;
the determining unit is used for determining the address of the target proxy server according to the load condition of each proxy server in the current machine room;
and the second sending unit is used for sending the target proxy server address to the client after receiving the connection request of the client so as to enable the client to establish connection with the target proxy server by using the target proxy server address.
In a possible implementation manner, the determining unit includes:
the second obtaining subunit is configured to obtain load conditions reported by each proxy server in the current machine room, where the load conditions include one or more of client connection number, processor utilization rate, and network traffic;
the third calculating subunit is used for calculating the load scores of all the proxy servers in the current machine room according to the load conditions of all the proxy servers in the current machine room;
and the second selection subunit is used for selecting the proxy server with the load score meeting a second preset condition as a target proxy server and acquiring the address of the target proxy server.
In a fifth aspect of embodiments of the present application, there is further provided a client addressing system, where the system includes:
the system comprises a client and at least one management server, wherein each management server is arranged in a machine room;
the client is the client addressing device of the third aspect;
the management server is the client addressing device of the fourth aspect.
Therefore, the embodiment of the application has the following beneficial effects:
in the embodiment of the application, when a client needs to access an internet application, speed measurement configuration information is obtained first, so that the management server address of each machine room is obtained from the speed measurement configuration information. And then, sending a speed measurement data packet to the management server of each machine room according to the management server address of each machine room, and acquiring a feedback data packet of the management server of each machine room for the speed measurement data packet. And then, calculating the speed measurement result of each machine room according to the feedback data packet returned by the management server of each machine room, so as to select the target machine room meeting the first preset condition according to the speed measurement result of each machine room. And then, acquiring the address of the target proxy server in the target machine room from the management server of the target machine room, and establishing connection with the target proxy server according to the address of the target proxy server, thereby realizing the access to internet application. Therefore, according to the addressing method provided by the embodiment of the application, the client-side screens the target machine room from the plurality of machine rooms through two screening operations in the addressing process, the target machine room screens the target machine room from the plurality of machine rooms once according to the speed measurement result, the target proxy server is determined by the target machine room according to the load condition of each proxy server in the target machine room, and the client-side obtains the address of the target proxy server from the target machine room, so that connection with the target proxy server with the optimal performance is established, and the stability of the connection is ensured.
Drawings
Fig. 1 is an exemplary diagram of an application scenario provided in an embodiment of the present application;
fig. 2 is a flowchart of a client addressing method according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another client addressing method provided in an embodiment of the present application;
fig. 4 is a diagram of a client addressing framework provided in an embodiment of the present application;
fig. 5 is a flowchart of another client addressing method provided in an embodiment of the present application;
fig. 6 is a schematic diagram illustrating client addressing provided in an embodiment of the present application;
fig. 7 is an addressing signaling interaction diagram provided in an embodiment of the present application;
fig. 8 is a structural diagram of a client addressing device according to an embodiment of the present disclosure;
fig. 9 is a block diagram of another addressing device according to an embodiment of the present disclosure;
fig. 10 is a block diagram of a client addressing system according to an embodiment of the present disclosure.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the drawings are described in detail below.
The inventor finds that in the traditional client addressing method, the addresses of all proxy servers are added into a domain name, the client acquires the addresses of a plurality of proxy servers through domain name resolution, and then one of the proxy server addresses is randomly selected to be connected. However, when the number of the clients is large, when the address of the proxy server is randomly selected, it may happen that a certain proxy server address is selected by a plurality of clients, which causes a heavy load on the proxy server, and there is a case that the proxy server cannot establish a connection or the connection is unstable, which affects the clients to access the proxy server.
Based on this, an embodiment of the present application provides a client addressing method, where when a client needs to establish a connection with a proxy server, the client first obtains speed measurement configuration information, where the speed measurement configuration information may include addresses of management servers of respective computer rooms. The client side sends a speed measurement data packet to the management server of each machine room by using the management server address of each machine room, and the management server of each machine room sends a feedback data packet to the client side according to the received speed measurement data packet. And the client side calculates the speed measurement result of each machine room according to the feedback data packet returned by the management server of each machine room, and selects the machine room meeting the first preset condition as a target machine room according to the test result. And then, acquiring the address of the target proxy server in the target machine room from the target machine room, wherein the target proxy server is determined by the target machine room according to the load condition of each proxy server, namely, the proxy server with smaller load is determined as the target proxy server, so that the client can establish connection with the optimal proxy server, and the stability of the connection is ensured.
For facilitating understanding of the addressing method provided in the embodiment of the present application, referring to an exemplary diagram of an application scenario shown in fig. 1, each computer room may include one management server and a plurality of proxy servers. Each proxy server reports the load condition of each proxy server to the management server, so that the management server can determine the proxy server with the minimum load according to the load condition of each proxy server, and the proxy server with the minimum load is determined as the target proxy server.
In practical application, the client obtains speed measurement configuration information, and the speed measurement configuration information may include management server addresses of each machine room. The client side sends the speed measurement data packet to the management server of each machine room, so that the speed measurement result of each machine room is calculated according to the feedback data packet of the speed measurement data packet by the management server of each machine room, and the target machine room is selected according to the speed measurement result. And then, acquiring the address of the target proxy server from the management server of the target machine room so as to establish connection with the target proxy server by using the address of the target proxy server, thereby realizing the function of accessing the service through the target proxy server.
For the convenience of understanding the addressing method provided by the embodiments of the present application, the addressing method will be described with reference to the accompanying drawings.
Referring to fig. 2, which is a flowchart of an addressing method provided in an embodiment of the present application, as shown in fig. 2, the method applied to a client may include:
s201: and acquiring speed measurement configuration information, and acquiring the management server address of each machine room from the speed measurement configuration information.
In this embodiment, when the client needs to establish a connection with the proxy server, the speed measurement configuration information is first obtained, so as to obtain the management server address of each machine room from the speed measurement configuration information. The speed measurement configuration information may include information such as the number of machine rooms and the address of the management server in each machine room.
S202: and sending a speed measurement data packet to the management server of each machine room by using the management server address of each machine room, and acquiring a feedback data packet of the management server of each machine room for the speed measurement data packet.
In this embodiment, after the management server address of each machine room is obtained, the speed measurement data packet is sent to the management server of each machine room according to the management server address of each machine room. After receiving the speed measurement data packet sent by the client, the management server can send a feedback data packet to the client in response to the speed measurement data packet, so that the client can obtain the test result of the management server through the feedback data packet.
In practical application, the client can send a large number of UDP speed measurement data packets to the management server of each machine room, and the management server can send a feedback data packet to the client after receiving the UDP speed measurement data packet, where the feedback data packet can reflect the packet loss rate, jitter rate, time delay, and other performances of the machine room.
S203: and calculating the speed measurement result of each machine room according to the feedback data packet of the management server of each machine room to the speed measurement data packet, and selecting the machine room with the speed measurement result meeting the first preset condition as a target machine room.
In this embodiment, after the client receives the feedback data packet sent by the management server of the machine room, the speed measurement result of the machine room is calculated, so that the machine room with the speed measurement result meeting the first preset condition is selected as the target machine room, that is, the client selects the optimal machine room according to the speed measurement result. The first preset condition may be set according to an actual situation, for example, the speed measurement result is minimum.
In a specific implementation, this embodiment provides an implementation manner for determining a target machine room, which may specifically include: calculating packet loss rate, jitter rate and time delay corresponding to the ith machine room according to a feedback data packet of the management server of each machine room for the speed measurement data packet, wherein i is an integer with the value of 1-n, and n is the number of the machine rooms; weighting and summing the packet loss rate, the jitter rate and the time delay corresponding to the ith machine room, and adding the sum to the machine room weight of the ith machine room to obtain a test result of the ith machine room; and selecting the machine room with the minimum speed measurement result as a target machine room.
In practical application, aiming at any one machine room, the speed measurement result of the machine room is calculated according to the feedback data packet of the management server in the machine room for the speed measurement data packet. Namely, the client acquires the packet loss rate, jitter rate and time delay of the performance parameters corresponding to the machine room according to the feedback data packet returned by the management server, performs weighted summation on the performance parameters, and adds the weighted summation with the weight value of the machine room corresponding to the machine room, thereby acquiring the speed measurement result of the machine room. And after the speed measurement result of each machine room is obtained, determining the machine room with the minimum test result as the target machine room. The machine room weight value is used for reflecting the robustness and the stability of the machine room, and the higher the robustness and the stability is, the higher the corresponding machine room weight value is.
In specific implementation, the speed measurement result of the computer room can be calculated by the formula (1):
Ti=α*dropi+β*jitteri+γ*delayii (1)
wherein, TiShows the test result, drop, of the ith machine roomiIndicates the packet loss rate, jitter, of the ith machine roomiRepresenting the jitter rate, delay, of the ith roomiIndicating the time delay, λ, of the ith roomiAnd the weight values of the ith machine room are represented, and alpha, beta and gamma are weight values corresponding to the packet loss rate, the jitter rate and the time delay respectively.
According to the formula (1), the less and more optimal the packet loss, the shorter and more optimal the speed measurement time, and the lower and more optimal the jitter are, the smaller the test result T is, which indicates that the overall performance of the machine room is better.
S204: and acquiring the address of the target proxy server in the target machine room from the management server of the target machine room.
In this embodiment, after the client selects an optimal target machine room from the multiple machine rooms through S203, a connection request may be sent to the management server of the target machine room, so as to obtain the address of the target proxy server in the target machine room from the management server of the target machine room. The target proxy server address is determined by the management server of the target machine room according to the load condition of each proxy server in the target machine room. That is, the address of the target proxy server acquired by the client from the management server of the target computer room may be the address corresponding to the proxy server with the smallest load.
The following embodiments will explain specific implementation of determining the target proxy server by the management server of the target computer room according to the load condition of each proxy server in the target computer room.
S205: and establishing connection with the target proxy server by using the address of the target proxy server.
In this embodiment, after the client acquires the address of the target proxy server, the client connects to the target proxy server by using the address of the target proxy server. That is, the client establishes a connection with the optimal proxy server in the optimal room to access the service through the connection.
According to the embodiment, the client first obtains the speed measurement configuration information in the addressing process, and the speed measurement configuration information may include the management server addresses of the machine rooms. The client side sends a speed measurement data packet to the management server of each machine room by using the management server address of each machine room, and the management server of each machine room sends a feedback data packet to the client side according to the received speed measurement data packet. And the client side calculates the speed measurement result of each machine room according to the feedback data packet returned by the management server of each machine room, and selects the machine room meeting the first preset condition as a target machine room according to the test result. And then, acquiring the address of the target proxy server in the target machine room from the target machine room, wherein the target proxy server is determined by the target machine room according to the load condition of each proxy server, namely, the proxy server with smaller load is determined as the target proxy server, so that the client can establish connection with the optimal proxy server, and the stability of the connection is ensured.
It can be understood that, in practical application, when the client addresses for the first time, the speed measurement configuration information may not exist, and the client cannot perform subsequent operations according to the test configuration information and further cannot address; or after the client sends the speed measurement data packet to the management server of each machine room, the management server of each machine room does not send a feedback data packet to the client, so that subsequent addressing operation cannot be performed. Based on this, the embodiment of the present application provides an addressing method, which will be described below with reference to the accompanying drawings.
Referring to fig. 3, which is a flowchart of another client addressing method provided in this embodiment of the present application, as shown in fig. 3, the method may include:
s301: and when the speed measurement configuration information does not exist or the feedback data packet of the management server of each machine room for the speed measurement data packet is not obtained, the address of the proxy server of each machine room is obtained through domain name resolution.
In this embodiment, when the client cannot obtain the speed measurement configuration information or does not obtain the feedback data packet of the management server of each machine room for the speed measurement data packet, the address of the proxy server of each machine room is obtained by a domain name resolution method. In a specific implementation, each machine room may add a proxy server address included in each machine room to a domain name in advance, and when a client accesses a service through the domain name, obtain a plurality of proxy server addresses by analyzing the domain name.
S302: and selecting a target proxy server address from the proxy server addresses of all the computer rooms.
S303: and establishing connection with the target proxy server by using the address of the target proxy server.
In this embodiment, after the proxy server addresses of the respective rooms are obtained by resolving the domain name, a target proxy server address is selected from the plurality of proxy server addresses, so that a connection is established with the target server using the target proxy server address.
In practical application, when the client selects the target proxy server address from the proxy server addresses of the machine rooms, the client can select the target proxy server address in a random selection mode. When the number of the clients is large, it may happen that a plurality of clients select the same proxy server as a target proxy server, which causes a heavy load on the target proxy server and affects the stability of the connection. Based on this, this embodiment provides a method for selecting a target proxy server address, specifically, a module is taken for the total number of proxy server addresses of each machine room according to an identification number of a client, so as to obtain a target proxy server address index; and determining the address of the target proxy server according to the address index of the target proxy server.
In specific implementation, the client may obtain a module of the total number of the proxy server addresses according to the identification number of the client, so as to obtain an address index of the target proxy server, and further obtain the address of the target proxy server according to the address index of the target proxy server. In actual application, the corresponding relationship between each proxy server address index and the proxy server address can be pre-established, and after the proxy server address index is obtained, the corresponding proxy server address can be searched according to the address index of the to-be-proxy server.
It can be understood that, because each client has a unique identification number, different clients can obtain different proxy server address indexes by utilizing the identification number of the client to modulo the total number of the proxy server addresses, so that the clients and different proxy servers are connected, and the connection stability is improved.
According to the above description, when the client is connected for the first time or the feedback data packet sent by the management server cannot be obtained, the proxy server addresses of the machine rooms can be obtained through a domain name resolution method, and the target proxy server address is determined from the management server addresses of the machine rooms in an index manner, so that the connection with the target proxy server is established.
In a possible implementation manner of the embodiment of the application, when the client addresses for the first time, the client cannot address by using a speed measurement method because speed measurement configuration information does not exist. After the client establishes connection with the target proxy server in a domain name resolution mode, speed measurement configuration information is downloaded from the target proxy server, so that when the client and the proxy server need to establish connection again, the speed measurement configuration information can be obtained, an optimal machine room can be selected according to a speed measurement result, connection with the target proxy server in the optimal machine room can be established, and connection stability is improved.
In addition, in practical application, the number of the machine rooms and the management servers in the machine rooms are continuously changed, and accordingly, the speed measurement configuration information comprises the addresses of the management servers of the machine rooms, so that the client can acquire the latest speed measurement configuration information, after the client establishes connection with the target proxy server by using the address of the target proxy server, if the speed measurement configuration information is updated, the updated speed measurement configuration information is downloaded from the target proxy server, and the client can send the speed measurement data packet to the management servers of the machine rooms according to the updated speed measurement configuration information.
For facilitating understanding of the technical solution of the present application, referring to the client addressing framework shown in fig. 4, when the client needs to address, it is first determined whether velocity measurement configuration information exists, and if the velocity measurement configuration information exists, the client sends a velocity measurement data packet to the management server of each machine room according to the velocity measurement configuration information. And when receiving the speed measurement data packet, the management server of each machine room can return a feedback data packet to the client. And if the client can receive the feedback data packet, determining a speed measurement result of each machine room according to the feedback data packet, determining a target management server according to the speed measurement result, and further acquiring an optimal target proxy server address from the target management server so as to establish connection with the target proxy server. And if the client does not receive the feedback data packet, acquiring the addresses of all the proxy servers through domain name resolution, selecting the address of a target proxy server from all the addresses of the proxy servers, and further establishing connection with the target proxy server.
If the speed measurement configuration information does not exist, the addresses of all the proxy servers are obtained through domain name resolution, the address of the target proxy server is selected from the addresses of all the proxy servers, and then the connection with the target proxy server is established.
To facilitate understanding that the management server determines the target proxy server according to the load of each proxy server, the determination method will be described below with reference to the accompanying drawings.
Referring to fig. 5, which is a flowchart of a client addressing method provided in an embodiment of the present application, as shown in fig. 5, the method may be applied to a management server of a computer room, and may include:
s501: and receiving a speed measurement data packet sent by the client, and sending a feedback data packet of the speed measurement data packet to the client.
In this embodiment, when the client side addresses through speed measurement and has speed measurement configuration information, the client side sends a speed measurement data packet to the management server of each machine room. After receiving the speed measurement data packet sent by the client, the management server sends a feedback data packet of the speed measurement data packet to the client, so that the client calculates the speed measurement result of each machine room according to the feedback data packet of the speed measurement data packet by the management server of each machine room, and selects the machine room with the speed measurement result meeting a first preset condition as a target machine room.
S502: and determining the address of the target proxy server according to the load condition of each proxy server in the current machine room.
In this embodiment, the management server in the computer room may monitor the load condition of each proxy server in the computer room, so as to determine an optimal proxy server, that is, a target proxy server, according to the load condition of each proxy server.
In specific implementation, this embodiment provides a specific implementation manner for determining a target proxy server, specifically, a load condition reported by each proxy server in a current machine room is obtained, where the load condition includes one or more of a connection number of clients, a processor utilization rate, and a network traffic; calculating the load scores of all proxy servers in the current machine room according to the load conditions of all the proxy servers in the current machine room; and selecting the proxy server with the load score meeting the second preset condition as a target proxy server to obtain the address of the target proxy server.
In this embodiment, for any computer room, the management server in the computer room obtains load conditions reported by each proxy server in the computer room, such as the number of clients connected to the current proxy server, the utilization rate of the processor, and network traffic. And then, the management server determines the load scores of the proxy servers according to the load conditions of the proxy servers, determines the proxy servers with the load scores meeting second preset conditions as target proxy servers, and accordingly obtains the addresses of the target proxy servers so as to send the addresses of the target proxy servers to the client. In practical application, the management server may calculate the load score of the proxy server according to only one of the number of client connections, the processor utilization rate, or the network traffic, or may calculate the load score of the proxy server according to a plurality of types of the load scores.
S503: and after receiving a connection request of the client, sending a target proxy server address to the client so that the client establishes connection with the target proxy server by using the target proxy server address.
In this embodiment, after the client determines the target machine room, a connection request is sent to the target machine room, and after receiving the connection request of the client, the management server in the target machine room sends the address of the target proxy server to the client, so that the client establishes a connection with the target server by using the address of the target proxy server.
It should be noted that, in practical applications, the function of the management server may be implemented by a plurality of servers, for example, as shown in fig. 6, the management server may include a speed measurement server, an addressing server, and a monitoring server. The speed measurement server is used for responding to a speed measurement data packet sent by the client and sending a feedback data packet to the client; the addressing server is used for acquiring the load condition of each proxy server in the machine room from the monitoring server so as to determine a target proxy server according to the load of each proxy server and send the address of the target proxy server to the client according to a connection request sent by the client; the proxy server is connected with a service server which actually provides services, and the client side is indirectly connected with the service server through the proxy server; the monitoring server is used for monitoring the load of each proxy server in the machine room.
In specific implementation, when the client acquires the speed measurement configuration information, the speed measurement configuration information may include addresses of the speed measurement server, the addressing server, and the monitoring server in each machine room. The client side obtains the speed measuring server address of each machine room from the speed measuring configuration information, and then sends a speed measuring data packet to the speed measuring server of each machine room. The speed measurement server returns the feedback data packet according to the speed measurement data packet, so that the client determines the speed measurement result of the speed measurement server according to the feedback data packet, the speed measurement result is used as the speed measurement result of the machine room, and the target machine room is determined according to the speed measurement result. The client sends a connection request to an addressing server in the target machine room, and the addressing server sends the address of the target proxy server in the target machine room to the client after receiving the connection request sent by the client.
For facilitating understanding of the interaction between the client and the machine rooms, reference is made to a signaling interaction diagram shown in fig. 7, and two machine rooms are taken as an example for description. The client side obtains the speed measurement configuration information, and obtains the management server address of the machine room 1 and the management server address of the machine room 2 from the speed measurement configuration information, so that the speed measurement data packets are respectively sent to the management server of the machine room 1 and the management server of the machine room 2. And the management server of the machine room 1 sends a feedback data packet to the client after receiving the data packet sent by the client, and the management server of the machine room 2 sends the feedback data packet to the client after receiving the data packet sent by the client. And the client calculates the speed measurement result of each machine room according to the feedback data packets sent by the machine rooms 1 and 2 respectively so as to select a target machine room. Assuming that the machine room 1 is a target machine room, the client sends a connection request to the machine room 1, and after receiving the connection request, the management server of the machine room 1 sends a predetermined target proxy server address to the client so that the client establishes connection with the target proxy server.
It should be noted that, in order to reduce the computation load of the management server, the management server in each computer room may determine the target proxy server according to the load condition of each proxy server in the computer room after receiving the connection request sent by the client, and send the address of the target proxy server to the client.
Based on the foregoing method embodiments, the present application provides a client addressing device, which will be described below with reference to the accompanying drawings.
Referring to fig. 8, which is a structural diagram of a client addressing device according to an embodiment of the present application, as shown in fig. 8, the device is applied to a client, and the device may include:
a first obtaining unit 801, configured to obtain speed measurement configuration information, and obtain management server addresses of each machine room from the speed measurement configuration information;
a first sending unit 802, configured to send a speed measurement data packet to a management server of each equipment room by using the management server address of each equipment room;
a second obtaining unit 803, configured to obtain a feedback data packet of the management server of each machine room for the speed measurement data packet;
a first selecting unit 804, configured to calculate a speed measurement result of each machine room according to a feedback data packet of the management server of each machine room for the speed measurement data packet, and select a machine room with the speed measurement result meeting a first preset condition as a target machine room;
a third obtaining unit 805, configured to obtain, from a management server of the target machine room, a target proxy server address in the target machine room, where the target proxy server address is determined by the management server of the target machine room according to a load condition of each proxy server in the target machine room;
a connection unit 806, configured to establish a connection with the target proxy server by using the target proxy server address.
In one possible implementation, the apparatus further includes:
the analysis unit is used for acquiring the address of the proxy server of each machine room through domain name analysis when speed measurement configuration information does not exist or a feedback data packet of the management server of each machine room for the speed measurement data packet is not acquired;
the second selection unit is used for selecting a target proxy server address from the proxy server addresses of all the machine rooms;
the connection unit is further configured to establish a connection with the target proxy server by using the target proxy server address.
In a possible implementation manner, the second selecting unit includes:
the first acquisition subunit is used for obtaining a target proxy server address index by taking a module of the total number of the proxy server addresses of each machine room according to the identification number of the client;
and the determining subunit is used for determining the address of the target proxy server according to the address index of the target proxy server.
In one possible implementation, the apparatus further includes:
and the downloading unit is used for downloading the speed measurement configuration information from the target proxy server after establishing connection with the target proxy server by using the address of the target proxy server when the speed measurement configuration information does not exist.
In one possible implementation, the apparatus further includes:
and the updating unit is used for downloading the updated speed measurement configuration information from the target proxy server if the speed measurement configuration information is updated after the target proxy server address is used for establishing connection with the target proxy server.
In a possible implementation manner, the first selecting unit includes:
a first calculating subunit, configured to calculate, according to a feedback data packet of the management server of each machine room for the speed measurement data packet, a packet loss rate, a jitter rate, and a time delay corresponding to an ith machine room, where i is an integer taking a value from 1 to n, and n is the number of machine rooms;
the second calculating subunit is configured to perform weighted summation on the packet loss rate, the jitter rate and the time delay corresponding to the ith machine room, and add the weighted summation to the machine room weight value of the ith machine room to obtain a speed measurement result of the ith machine room;
and the first selection subunit is used for selecting the machine room with the minimum speed measurement result as the target machine room.
It should be noted that, implementation of each unit in this embodiment may refer to the above method embodiment, and this embodiment is not described herein again.
Referring to fig. 9, which is a block diagram of another client addressing device provided in the embodiment of the present application, as shown in fig. 9, the device is applied to a management server, and the device may include:
a receiving unit 901, configured to receive a speed measurement data packet sent by a client, and send a feedback data packet of the speed measurement data packet to the client, so that the client calculates a speed measurement result of each machine room according to the feedback data packet of the speed measurement data packet by a management server of each machine room, and selects a machine room with the speed measurement result meeting a first preset condition as a target machine room;
a determining unit 902, configured to determine an address of a target proxy server according to a load condition of each proxy server in a current machine room;
a second sending unit 903, configured to send the target proxy server address to the client after receiving the connection request of the client, so that the client establishes a connection with the target proxy server by using the target proxy server address.
In a possible implementation manner, the determining unit includes:
the second obtaining subunit is configured to obtain load conditions reported by each proxy server in the current machine room, where the load conditions include one or more of client connection number, processor utilization rate, and network traffic;
the third calculating subunit is used for calculating the load scores of all the proxy servers in the current machine room according to the load conditions of all the proxy servers in the current machine room;
and the second selection subunit is used for selecting the proxy server with the load score meeting a second preset condition as a target proxy server and acquiring the address of the target proxy server.
It should be noted that, implementation of each unit in this embodiment may refer to the above method embodiment, and this embodiment is not described herein again.
Based on the foregoing device embodiment, this embodiment further provides a client addressing system, refer to fig. 10, which is a structure diagram of the client addressing system provided in this embodiment, where the system includes:
a client 1001 and at least one management server 1002, each of which is in a machine room;
the client is the client addressing device described in fig. 8;
the management server is the client addressing device described in fig. 9.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the system or the device disclosed by the embodiment, the description is simple because the system or the device corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (15)

1. A client addressing method, applied to a client, the method comprising:
acquiring speed measurement configuration information, and acquiring management server addresses of all machine rooms from the speed measurement configuration information;
sending a speed measurement data packet to the management server of each machine room by using the management server address of each machine room, and acquiring a feedback data packet of the management server of each machine room to the speed measurement data packet;
calculating the speed measurement result of each machine room according to the feedback data packet of the management server of each machine room to the speed measurement data packet, and selecting the machine room of which the speed measurement result meets a first preset condition as a target machine room;
acquiring a target proxy server address in the target machine room from a management server of the target machine room, wherein the target proxy server address is determined by the management server of the target machine room according to the load condition of each proxy server in the target machine room;
establishing connection with a target proxy server by using the target proxy server address;
the method includes the steps of calculating a speed measurement result of each machine room according to a feedback data packet of the management server of each machine room to the speed measurement data packet, and selecting the machine room with the speed measurement result meeting a first preset condition as a target machine room, wherein the steps include:
calculating packet loss rate, jitter rate and time delay corresponding to the ith computer room according to the feedback data packet of the management server of each computer room to the speed measurement data packet, wherein i is an integer from 1 to n, and n is the number of the computer rooms;
weighting and summing the packet loss rate, the jitter rate and the time delay corresponding to the ith machine room, and adding the weighted value of the ith machine room to obtain a speed measurement result of the ith machine room, wherein the method comprises the following steps: through Ti=α*dropi+β*jitteri+γ*delayiiCalculating the speed measurement result of the ith machine room, wherein TiShows the test result, drop, of the ith machine roomiIndicates the packet loss rate, jitter, of the ith machine roomiRepresenting the jitter rate, delay, of the ith roomiIndicating the time delay, λ, of the ith roomiRepresenting the weight values of the machine room of the ith machine room, wherein alpha, beta and gamma are the weight values corresponding to the packet loss rate, the jitter rate and the time delay respectively;
and selecting the machine room with the minimum speed measurement result as a target machine room.
2. The method of claim 1, further comprising:
when speed measurement configuration information does not exist or a feedback data packet of the management server of each machine room for the speed measurement data packet is not obtained, obtaining the address of the proxy server of each machine room through domain name resolution;
selecting a target proxy server address from the proxy server addresses of all the machine rooms;
and establishing connection with the target proxy server by using the address of the target proxy server.
3. The method of claim 2, wherein the selecting a target proxy server address from the proxy server addresses of the respective rooms comprises:
according to the identification number of the client, performing modulo operation on the total number of the proxy server addresses of all the machine rooms to obtain a target proxy server address index;
and determining the address of the target proxy server according to the address index of the target proxy server.
4. The method of claim 2, further comprising:
and when the speed measurement configuration information does not exist, downloading the speed measurement configuration information from the target proxy server after establishing connection with the target proxy server by using the target proxy server address.
5. The method according to any one of claims 1-4, further comprising:
after the target proxy server address is used for establishing connection with the target proxy server, if the speed measurement configuration information is updated, the updated speed measurement configuration information is downloaded from the target proxy server.
6. A client addressing method is applied to a management server of a computer room, and comprises the following steps:
receiving a speed measurement data packet sent by a client, sending a feedback data packet of the speed measurement data packet to the client, so that the client calculates a speed measurement result of each machine room according to the feedback data packet of the speed measurement data packet by a management server of each machine room, and selecting the machine room of which the speed measurement result meets a first preset condition as a target machine room;
determining the address of a target proxy server according to the load condition of each proxy server in the current machine room;
after receiving a connection request of the client, the management server of the target machine room sends a target proxy server address in the target machine room to the client, so that the client establishes connection with the target proxy server by using the target proxy server address;
the client calculates the speed measurement result of each machine room according to the feedback data packet of the management server of each machine room to the speed measurement data packet, and selects the machine room with the speed measurement result meeting a first preset condition as a target machine room, including:
the client calculates packet loss rate, jitter rate and time delay corresponding to the ith computer room according to the feedback data packet of the management server of each computer room to the speed measurement data packet, wherein i is an integer from 1 to n, and n is the number of the computer rooms;
the client performs weighted summation on the packet loss rate, the jitter rate and the time delay corresponding to the ith machine room, and adds the weighted summation with the machine room weight value of the ith machine room to obtain the speed measurement result of the ith machine room, and the method comprises the following steps: through Ti=α*dropi+β*jitteri+γ*delayiiCalculating the speed measurement result of the ith machine room, wherein TiShows the test result, drop, of the ith machine roomiIndicates the packet loss rate, jitter, of the ith machine roomiRepresenting the jitter rate, delay, of the ith roomiIndicating the time delay, λ, of the ith roomiRepresenting the weight values of the machine room of the ith machine room, wherein alpha, beta and gamma are the weight values corresponding to the packet loss rate, the jitter rate and the time delay respectively;
and the client selects the machine room with the minimum speed measurement result as a target machine room.
7. The method of claim 6, wherein the determining the target proxy server address according to the load of each proxy server in the current machine room comprises:
acquiring load conditions reported by each proxy server in a current machine room, wherein the load conditions comprise one or more of the connection number of clients, the utilization rate of a processor and network flow;
calculating load scores of all proxy servers in the current machine room according to the load conditions of all the proxy servers in the current machine room;
and selecting the proxy server with the load score meeting a second preset condition as a target proxy server to obtain the address of the target proxy server.
8. A client addressing apparatus, the apparatus being applied to a client, the apparatus comprising:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring speed measurement configuration information and acquiring management server addresses of all machine rooms from the speed measurement configuration information;
the first sending unit is used for sending a speed measurement data packet to the management server of each machine room by using the management server address of each machine room;
a second obtaining unit, configured to obtain a feedback data packet of the management server of each machine room for the speed measurement data packet;
the first selection unit is used for calculating the speed measurement result of each machine room according to the feedback data packet of the management server of each machine room to the speed measurement data packet, and selecting the machine room of which the speed measurement result meets a first preset condition as a target machine room;
a third obtaining unit, configured to obtain, from a management server of the target machine room, a target proxy server address in the target machine room, where the target proxy server address is determined by the management server of the target machine room according to a load condition of each proxy server in the target machine room;
the connecting unit is used for establishing connection with the target proxy server by utilizing the target proxy server address;
the first selecting unit includes:
a first calculating subunit, configured to calculate, according to a feedback data packet of the management server of each machine room for the speed measurement data packet, a packet loss rate, a jitter rate, and a time delay corresponding to an ith machine room, where i is an integer taking a value from 1 to n, and n is the number of machine rooms;
the second calculating subunit is configured to add, to the machine room weight value of the ith machine room, the packet loss rate, the jitter rate, and the time delay weighted sum corresponding to the ith machine room, so as to obtain a speed measurement result of the ith machine room, and includes: through Ti=α*dropi+β*jitteri+γ*delayiiCalculating the speed measurement result of the ith machine room, wherein TiShows the test result, drop, of the ith machine roomiIndicating loss of ith roomPacket rate, jitteriRepresenting the jitter rate, delay, of the ith roomiIndicating the time delay, λ, of the ith roomiRepresenting the weight values of the machine room of the ith machine room, wherein alpha, beta and gamma are the weight values corresponding to the packet loss rate, the jitter rate and the time delay respectively;
and the first selection subunit is used for selecting the machine room with the minimum speed measurement result as the target machine room.
9. The apparatus of claim 8, further comprising:
the analysis unit is used for acquiring the address of the proxy server of each machine room through domain name analysis when speed measurement configuration information does not exist or a feedback data packet of the management server of each machine room for the speed measurement data packet is not acquired;
the second selection unit is used for selecting a target proxy server address from the proxy server addresses of all the machine rooms;
the connection unit is further configured to establish a connection with the target proxy server by using the target proxy server address.
10. The apparatus according to claim 9, wherein the second selecting unit comprises:
the first acquisition subunit is used for obtaining a target proxy server address index by taking a module of the total number of the proxy server addresses of each machine room according to the identification number of the client;
and the determining subunit is used for determining the address of the target proxy server according to the address index of the target proxy server.
11. The apparatus of claim 9, further comprising:
and the downloading unit is used for downloading the speed measurement configuration information from the target proxy server after establishing connection with the target proxy server by using the address of the target proxy server when the speed measurement configuration information does not exist.
12. The apparatus according to any one of claims 8-11, further comprising:
and the updating unit is used for downloading the updated speed measurement configuration information from the target proxy server if the speed measurement configuration information is updated after the target proxy server address is used for establishing connection with the target proxy server.
13. A client addressing device, applied to a management server, the device comprising:
the receiving unit is used for receiving a speed measurement data packet sent by a client and sending a feedback data packet of the speed measurement data packet to the client, so that the client calculates a speed measurement result of each machine room according to the feedback data packet of the speed measurement data packet by a management server of each machine room, and selects the machine room of which the speed measurement result meets a first preset condition as a target machine room;
the determining unit is used for determining the address of the target proxy server according to the load condition of each proxy server in the current machine room;
a second sending unit, configured to send, by the management server of the target machine room, a target proxy server address in the target machine room to the client after receiving a connection request of the client, so that the client establishes a connection with the target proxy server by using the target proxy server address;
the client calculates the speed measurement result of each machine room according to the feedback data packet of the management server of each machine room to the speed measurement data packet, and selects the machine room with the speed measurement result meeting a first preset condition as a target machine room, including:
the client calculates packet loss rate, jitter rate and time delay corresponding to the ith computer room according to the feedback data packet of the management server of each computer room to the speed measurement data packet, wherein i is an integer from 1 to n, and n is the number of the computer rooms;
the client calculates the packet loss rate, the jitter rate and the time delay weight corresponding to the ith computer roomAnd adding the weighted value of the ith machine room and the weighted value of the ith machine room to obtain a speed measurement result of the ith machine room, wherein the speed measurement result comprises the following steps: through Ti=α*dropi+β*jitteri+γ*delayiiCalculating the speed measurement result of the ith machine room, wherein TiShows the test result, drop, of the ith machine roomiIndicates the packet loss rate, jitter, of the ith machine roomiRepresenting the jitter rate, delay, of the ith roomiIndicating the time delay, λ, of the ith roomiRepresenting the weight values of the machine room of the ith machine room, wherein alpha, beta and gamma are the weight values corresponding to the packet loss rate, the jitter rate and the time delay respectively;
and the client selects the machine room with the minimum speed measurement result as a target machine room.
14. The apparatus of claim 13, wherein the determining unit comprises:
the second obtaining subunit is configured to obtain load conditions reported by each proxy server in the current machine room, where the load conditions include one or more of client connection number, processor utilization rate, and network traffic;
the third calculating subunit is used for calculating the load scores of all the proxy servers in the current machine room according to the load conditions of all the proxy servers in the current machine room;
and the second selection subunit is used for selecting the proxy server with the load score meeting a second preset condition as a target proxy server and acquiring the address of the target proxy server.
15. A client addressing system, the system comprising:
the system comprises a client and at least one management server, wherein each management server is arranged in a machine room;
the client is the client addressing device of any of claims 8-12;
the management server is the client addressing device of any of claims 13-14.
CN201910434942.3A 2019-05-23 2019-05-23 Client addressing method, device and system Active CN110113446B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910434942.3A CN110113446B (en) 2019-05-23 2019-05-23 Client addressing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910434942.3A CN110113446B (en) 2019-05-23 2019-05-23 Client addressing method, device and system

Publications (2)

Publication Number Publication Date
CN110113446A CN110113446A (en) 2019-08-09
CN110113446B true CN110113446B (en) 2022-03-18

Family

ID=67491932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910434942.3A Active CN110113446B (en) 2019-05-23 2019-05-23 Client addressing method, device and system

Country Status (1)

Country Link
CN (1) CN110113446B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855784A (en) * 2019-11-15 2020-02-28 深圳市网心科技有限公司 Proxy server node selection method, electronic device, system and medium
CN111327702B (en) * 2020-02-27 2022-05-10 竞技世界(北京)网络技术有限公司 Method and device for realizing server connection
CN113612813B (en) * 2021-06-23 2024-06-11 上海骞云信息科技有限公司 Distributed cross-network access method, device, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158512A (en) * 2010-02-11 2011-08-17 联想(北京)有限公司 Load balance dispatching method, device and system
CN105100152A (en) * 2014-05-14 2015-11-25 腾讯科技(深圳)有限公司 Application server selection method and system, and application client
CN105991708A (en) * 2015-02-10 2016-10-05 腾讯科技(深圳)有限公司 Selection method of application server, apparatus and system thereof
CN106899681A (en) * 2017-03-10 2017-06-27 腾讯科技(深圳)有限公司 The method and server of a kind of information pushing

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11110324A (en) * 1997-10-07 1999-04-23 Hitachi Ltd Substitutive server selector and substitutive server
CN103023902B (en) * 2012-12-11 2015-10-07 北京奇虎科技有限公司 Data transmission method and system
CN104378451B (en) * 2013-08-14 2019-09-20 腾讯科技(深圳)有限公司 Network communication route selecting method, apparatus and system
US9825834B2 (en) * 2015-03-30 2017-11-21 Airwatch Llc Network speed detection
CN105763618B (en) * 2016-03-31 2019-08-13 网宿科技股份有限公司 The method and apparatus of data transmission
CN108199861B (en) * 2016-12-08 2021-06-25 腾讯科技(深圳)有限公司 Computer room management method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158512A (en) * 2010-02-11 2011-08-17 联想(北京)有限公司 Load balance dispatching method, device and system
CN105100152A (en) * 2014-05-14 2015-11-25 腾讯科技(深圳)有限公司 Application server selection method and system, and application client
CN105991708A (en) * 2015-02-10 2016-10-05 腾讯科技(深圳)有限公司 Selection method of application server, apparatus and system thereof
CN106899681A (en) * 2017-03-10 2017-06-27 腾讯科技(深圳)有限公司 The method and server of a kind of information pushing

Also Published As

Publication number Publication date
CN110113446A (en) 2019-08-09

Similar Documents

Publication Publication Date Title
CN110113446B (en) Client addressing method, device and system
US8510448B2 (en) Service provider registration by a content broker
US9900402B1 (en) Capacity-independent demand assessment
US10097448B1 (en) Routing mode and point-of-presence selection service
US7805517B2 (en) System and method for load balancing a communications network
US8489724B2 (en) CNAME-based round-trip time measurement in a content delivery network
US6272539B1 (en) Methods, systems and computer program products for determining and visually representing a user's overall network delay in collaborative applications
US20110119370A1 (en) Measuring network performance for cloud services
US20020038360A1 (en) System and method for locating a closest server in response to a client domain name request
US20140379902A1 (en) Confidence scoring of device reputation based on characteristic network behavior
US10445167B1 (en) Automated method and system for diagnosing load performance issues
CN107342913B (en) Detection method and device for CDN node
CN107347015B (en) Method, device and system for identifying content distribution network
CN106888277B (en) Domain name query method and device
CN112954089B (en) Method, device, equipment and storage medium for analyzing data
US11372937B1 (en) Throttling client requests for web scraping
CN110933136A (en) Service node selection method, device, equipment and readable storage medium
CN111556135A (en) Request scheduling method, system and device and electronic equipment
CN105991708B (en) Application server selection method, device and system
US11297131B2 (en) Method and apparatus for multi-vendor GTM fabric
JP5871908B2 (en) Method and system for controlling data communication within a network
RU2008121872A (en) NEAREST NODE FOR CONNECTIONS OF DISTRIBUTED SERVICES
KR101131787B1 (en) Method for updating data stored in cache server, cache server and content delivery system thereof
CN115190107B (en) Multi-subsystem management method based on extensive domain name, management terminal and readable storage medium
CN113626186A (en) Load balancing method and system of server and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant