CN107635015B - Optimal path selection system and method for linking mobile terminal and server - Google Patents

Optimal path selection system and method for linking mobile terminal and server Download PDF

Info

Publication number
CN107635015B
CN107635015B CN201711007036.2A CN201711007036A CN107635015B CN 107635015 B CN107635015 B CN 107635015B CN 201711007036 A CN201711007036 A CN 201711007036A CN 107635015 B CN107635015 B CN 107635015B
Authority
CN
China
Prior art keywords
server
load
information
mobile terminal
link
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
CN201711007036.2A
Other languages
Chinese (zh)
Other versions
CN107635015A (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.)
Shenzhen Hexun Huagu Information Technology Co ltd
Original Assignee
Shenzhen Hexun Huagu Information 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 Shenzhen Hexun Huagu Information Technology Co ltd filed Critical Shenzhen Hexun Huagu Information Technology Co ltd
Priority to CN201711007036.2A priority Critical patent/CN107635015B/en
Publication of CN107635015A publication Critical patent/CN107635015A/en
Application granted granted Critical
Publication of CN107635015B publication Critical patent/CN107635015B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an optimal path selection system and method for linking a mobile terminal and a server, wherein the method comprises the steps of loading a server information list from a database at regular time, and filtering servers which do not accord with rules in the server information list according to load information of each server to obtain an effective server information list; receiving a link request of a mobile terminal, and acquiring a network type and an IP address of the mobile terminal according to the link request; according to the IP address, inquiring geographic region information and operator information corresponding to the IP address from a database; according to the network type, the geographic area information and the operator information, a server corresponding to a geographic position area and a server corresponding to an operator are screened from an effective server information list; determining an optimal server according to the screened load information of each server; and acquiring the server address of the optimal server, and sending the server address of the optimal server to the mobile terminal.

Description

Optimal path selection system and method for linking mobile terminal and server
Technical Field
The invention relates to the technical field of server management, in particular to an optimal path selection system and method for linking a mobile terminal and a server.
Background
In the Internet, when an application client is used, the client uses a predefined Domain Name, obtains an IP Address (Internet Protocol Address) of a server through DNS (Domain Name System) resolution, and then links to the IP Address to perform normal service data communication.
However, in the mobile internet, the number of the mobile terminals is larger at the client, the number of the mobile terminals increases more rapidly, and more servers are needed to support links of more mobile terminals, however, the IP addresses of the servers which can be associated with one domain name are limited, and when the number of the servers needed exceeds the limit, the addition of the servers cannot be performed any more. In addition, the network where the mobile terminal is located is more complex, the network condition may be worse than that of the traditional internet, and the mobile terminal is easier to disconnect with the server in the using process, so that poor user experience is caused. That is, the conventional link method has not been able to satisfy the requirements of the mobile internet application.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an optimal path selection system and method for linking a mobile terminal and a server, aiming at solving the problems that the server is difficult to expand and is not beneficial to supporting more mobile terminals in the traditional scheme, and comprehensively selecting the server according to the network type used by the mobile terminal, the geographical area where the mobile terminal is located and the state of each server, so that the communication link between the mobile terminal and the server is optimized, and the communication link is more stable.
In order to solve the technical problems, the technical scheme provided by the invention is as follows:
in one aspect, the invention provides an optimal path selection system for linking a mobile terminal and a server, which comprises an application management center, an addressing unit, a server, the mobile terminal and a domain name system; the application management center comprises a database, a health monitoring unit and a Web management unit; the mobile terminal is respectively linked with the addressing unit, the server and the domain name system, the server is linked with the health monitoring unit, the addressing unit, the health monitoring unit and the Web management unit are respectively linked with the database;
the Web management unit is used for configuring the server and storing the server information into the database;
the database is used for storing the data information;
the health monitoring unit is used for monitoring the running state of each server, acquiring the load information of each server in real time and storing the load information of each server into a database;
the addressing unit is used for acquiring the server address of the optimal server and sending the server address of the optimal server to the mobile terminal when receiving the link request information sent by the mobile terminal;
the domain name system is used for carrying out address resolution on the address of the addressing unit;
the mobile terminal is used for acquiring the server address of the optimal server through the addressing unit and establishing a communication link with the optimal server according to the server address;
and the server is used for providing communication service for the mobile terminal after establishing a communication link with the mobile terminal.
Further, the data interface layer is linked with a database through a TCP long link; the addressing unit, the health monitoring unit and the Web management unit are connected with the data intermediate layer through the TCP short link, and the addressing unit, the health monitoring unit and the Web management unit are connected with the database through the data intermediate layer.
Further, the mobile terminal comprises a mobile phone, a tablet personal computer, a POS machine and an Internet of things terminal.
Further, the server information includes a server address, load information, a geographical area served by the server, and an operator served by the server; the load information comprises memory load information, CPU load information, disk load information and link load information;
the memory load information comprises the weight of the memory load and the current memory load;
the CPU load information comprises a CPU load weight and a CPU current load;
the disk load information comprises disk load weight and current disk load;
the link load information includes a link load weight and a link current load.
Further, the addressing unit, in particular for,
loading a server information list from a database at regular time, and filtering servers which do not accord with the rules in the server information list according to the load information of each server to obtain an effective server information list;
receiving a link request of a mobile terminal, and acquiring a network type and an IP address of the mobile terminal according to the link request;
according to the IP address, inquiring geographic region information and operator information corresponding to the IP address from a database;
according to the network type, the geographic area information and the operator information, a server corresponding to a geographic position area and a server corresponding to an operator are screened from an effective server information list;
determining an optimal server according to the screened load information of each server;
and acquiring the server address of the optimal server, and sending the server address of the optimal server to the mobile terminal.
Further, the servers in the server information list which do not meet the rules are filtered according to the load information of each server, specifically, for any server in the server information list,
acquiring a memory load coefficient according to the memory load information, acquiring a CPU load coefficient according to the CPU load information, and acquiring a disk load coefficient according to the disk load information;
and when any one of the memory load coefficient, the CPU load coefficient and the disk load coefficient exceeds a set threshold value, filtering the server.
Further, according to the load information of each server after screening, an optimal server is determined, specifically, a link load coefficient is obtained according to the link load information of each server, and the server with the largest link load coefficient is determined as the optimal server.
On the other hand, the invention also provides an optimal path selection method for linking the mobile terminal and the server, which comprises the steps of loading the server information list from the database at regular time, and filtering the servers which do not accord with the rules in the server information list according to the load information of each server to obtain an effective server information list.
Receiving a link request of a mobile terminal, and acquiring a network type and an IP address of the mobile terminal according to the link request;
according to the IP address, inquiring geographic region information and operator information corresponding to the IP address from a database;
according to the network type, the geographic area information and the operator information, a server corresponding to a geographic position area and a server corresponding to an operator are screened from an effective server information list;
determining an optimal server according to the screened load information of each server;
and acquiring the server address of the optimal server, and sending the server address of the optimal server to the mobile terminal.
Further, the servers in the server information list which do not meet the rules are filtered according to the load information of each server, specifically, for any server in the server information list,
acquiring a memory load coefficient according to the memory load information, acquiring a CPU load coefficient according to the CPU load information, and acquiring a disk load coefficient according to the disk load information;
and when any one of the memory load coefficient, the CPU load coefficient and the disk load coefficient exceeds a set threshold value, filtering the server.
Further, according to the load information of each server after screening, an optimal server is determined, specifically, a link load coefficient is obtained according to the link load information of each server, and the server with the largest link load coefficient is determined as the optimal server.
The optimal path selection system and the optimal path selection method for the link between the mobile terminal and the server side provided by the invention have the advantages that the server is comprehensively selected according to the network type used by the mobile terminal, the geographical area where the mobile terminal is located and the state of each server, the communication link between the mobile terminal and the server is optimized, and the communication link is more stable.
Drawings
Fig. 1 is a block diagram of an optimal path selection system for linking a mobile terminal and a server according to an embodiment of the present invention;
fig. 2 is another block diagram of an optimal path selection system for linking a mobile terminal and a server according to an embodiment of the present invention;
fig. 3 is a flowchart of an optimal path selection method for linking a mobile terminal and a server according to an embodiment of the present invention.
Detailed Description
The invention is further illustrated by the following specific examples, which, however, are to be construed as merely illustrative, and not limitative of the remainder of the disclosure in any way whatsoever.
Example one
With reference to fig. 1, the optimal path selection system for linking a mobile terminal and a server provided in this embodiment includes an application management center, an addressing unit 2, a server 3, a mobile terminal 4, and a domain name system 5; the application management center comprises a database 101, a health monitoring unit 102 and a Web management unit 103; the mobile terminal 4 is respectively linked with the addressing unit 2, the server 3 and the domain name system 5, the server 3 is linked with the health monitoring unit 102, the addressing unit 2, the health monitoring unit 102 and the Web management unit 103 are respectively linked with the database 101;
a Web management unit 103 configured to configure the server 3 and save server 3 information in the database 101;
a database 101 for storing data information;
the health monitoring unit 102 is configured to monitor an operating state of each server 3, acquire load information of each server 3 in real time, and store the load information of each server 3 in the database 101;
the addressing unit 2 is used for acquiring the address of the server 3 of the optimal server 3 when receiving the link request information sent by the mobile terminal 4, and sending the address of the server 3 of the optimal server 3 to the mobile terminal 4;
the domain name system 5 is used for carrying out address resolution on the address of the addressing unit 2;
the mobile terminal 4 is used for acquiring the address of the server 3 of the optimal server 3 through the addressing unit 2 and establishing a communication link with the optimal server 3 according to the address of the server 3;
and the server 3 is used for providing communication service for the mobile terminal 4 after establishing a communication link with the mobile terminal 4.
The optimal path selection system for linking the application terminal and the server 3 terminal provided by the embodiment of the invention comprehensively selects the server 3 according to the network type used by the mobile terminal 4, the geographical area where the mobile terminal is located and the state of each server 3, optimizes the communication link between the mobile terminal 4 and the server 3 and can ensure that the communication link is more stable.
In this embodiment, the Web management unit 103 is mainly used to facilitate management and maintenance of the server 3 information, configure the server 3 information through the Web management unit 103, and store the server 3 information in the database 101. Further, the Web management unit 103 may also modify the existing server 3 information and delete the existing server 3 information.
And the health monitoring unit 102 is configured to monitor the operating conditions of the servers 3 in real time, acquire relevant load information, and store the load information in the database 101, so as to ensure that the servers 3 can provide normal services. Health monitoring is the basis of automatic migration and recovery of faults, and provides basis for automatic migration and recovery services.
The addressing unit 2 is used for loading the IP library information from the database 101 at regular time, loading and filtering the information list of the server 3, and reserving the effective server 3, wherein the effective means that the server 3 runs normally and the current load does not reach the upper limit; when the load of the server 3 is too high (exceeds the load weight) or the server 3 is down, the server 3 is in an unavailable state at this time, the health detection service monitors that the server 3 cannot provide normal service and reports the service to the database 101, and the addressing unit 2 cannot load the information of the server 3, and cannot provide service for the mobile terminal 4, so that the purpose of fault migration is achieved; when the service on the server 3 is recovered to normal, and each load index of the server 3 is lower than the load weight, at this time, the server 3 is in an available state, the health monitoring unit 102 monitors that the server 3 recovers the service, and the addressing unit 2 rejoins the information of the server 3, thereby providing the service for the mobile terminal 4 again.
And the mobile terminal 4 is used for acquiring the address of the addressing unit 2 through DNS (domain name server) resolution by a preset domain name, and sending a request for acquiring the address of the server 3 to the addressing unit 2 by a UDP (user Datagram protocol) protocol.
Specifically, the server 3 information includes, address of the server 3, load information, geographical area served, operator served; wherein the content of the first and second substances,
the load information comprises memory load information, CPU load information, disk load information and link load information;
the memory load information comprises the weight of the memory load and the current memory load;
the CPU load information comprises a CPU load weight and a CPU current load;
the disk load information comprises disk load weight and current disk load;
the link load information includes a link load weight and a link current load.
In this embodiment, it should be noted that the load weight is a maximum supportable load amount, for example, the memory load weight is a maximum supportable load amount of the memory.
In addition, the following principles are provided for the server 3 information:
1) the load information comprises memory use condition, CPU use condition, disk use condition and link quantity, and the load weight of the server 3 is configured according to the configuration of the server 3 and the network bandwidth of the machine room;
2) a geographical area to be served for specifying which area the server 3 can provide service to the mobile terminal 4, the quality of short-distance network communication is better than that of long-distance network communication, and the geographical area to be served is set based on the principle of near service according to the geographical position of the server 3;
3) the service provider is used to specify which provider's mobile terminal 4 the server 3 can provide service for, different computer room networks have different support degrees for each provider, and some computer rooms may have better link network quality for telecommunication lines but not good enough link network quality for communication lines, so the provider served by the server 3 is set according to the support degree of the network of the server 3 for each provider.
Preferably, as shown in fig. 2, it further includes a data intermediate layer 104, where the data intermediate layer 104 is linked with the database 101 through a TCP long link; the addressing unit 2, the health monitoring unit and the Web management unit 103 are linked with the data intermediate layer 104 through a TCP short link, and the addressing unit 2, the health monitoring unit and the Web management unit 103 are linked with the database 101 through the data intermediate layer 104.
In this embodiment, the data middle layer 104 provides a data access interface for accessing each data in the database 101, and the other modules operate the data in the database 101 according to the corresponding data access interfaces, so as to isolate the database 101 from the other modules, thereby achieving the purpose of protecting the data in the database 101.
In addition, in this embodiment, the data intermediate layer 104 is linked with the database 101 through a long TCP link; the addressing unit 2, the health monitoring unit, and the Web management unit 103 are linked with the data intermediate layer 104 through a TCP short link, which is only a preferred technical solution of this embodiment, and this embodiment does not specifically limit the specific connection manner, and can be set in accordance with actual needs.
More specifically, the mobile terminal 4 includes a mobile phone, a tablet computer, a POS machine, and an internet of things terminal. It should be noted that the type of the mobile terminal 4 is not particularly limited in this embodiment, and may be set according to actual situations.
The addressing unit 2 is preferably arranged, in particular for,
loading a server 3 information list from the database 101 at regular time, and filtering the servers 3 which do not accord with the rules in the server 3 information list according to the load information of each server 3 to obtain an effective server 3 information list;
receiving a link request of the mobile terminal 4, and acquiring a network type and an IP address of the mobile terminal 4 according to the link request;
according to the IP address, inquiring the geographic region information and the operator information corresponding to the IP address from the database 101;
according to the network type, the geographical region information and the operator information, a server 3 corresponding to a geographical position region and a corresponding operator is screened from an effective server 3 information list;
determining an optimal server 3 according to the screened load information of each server 3;
the server 3 address of the optimal server 3 is acquired, and the server 3 address of the optimal server 3 is transmitted to the mobile terminal 4.
The addressing unit 2 inquires the geographical area and the operator where the IP address is located from the IP library according to the IP address of the mobile terminal 4 requesting to establish the link, screens out the server 3 serving the area and the operator from the server 3 information list according to the geographical area and the network operator, ensures to provide geographical position proximity and the server 3 aiming at the mobile terminal 4 network operator, and ensures that the mobile terminal 4 can establish a link with good network quality to the server 3. Specifically, first, an optimal communication link is selected for the mobile terminal 4, for example, the IP of the mobile terminal 4 is from the mobile network in the beijing area, the server 3 serving the beijing area and the mobile network is selected from the list of servers 3, then, the server 3 is selected according to the current load and load weight of the server 3, and the lower the load of the server 3 is, the better the quality of service is, the server 3 with the lower load is provided to the mobile terminal 4, so that the server 3 provided to the mobile terminal 4 can be ensured to be the optimal server 3.
In this embodiment, the network types include 2G, 3G, 4G, WIFI, and the like, and when the network type of the mobile terminal 4 can be acquired, the link request information is accompanied by the network type information, which is not specifically limited in this embodiment. In addition, the operator information includes mobile, internet, and telecommunications.
Preferably, the servers 3 that do not comply with the rules in the server 3 information list are filtered according to the load information of each server 3, in particular, for any server 3 in the server 3 information list,
acquiring a memory load coefficient according to the memory load information, acquiring a CPU load coefficient according to the CPU load information, and acquiring a disk load coefficient according to the disk load information;
and when any one of the memory load factor, the CPU load factor and the disk load factor exceeds a set threshold value, filtering the server 3.
Further preferably, the optimal server 3 is determined according to the load information of each server 3 after the screening, specifically, the link load coefficient is obtained according to the link load information of each server 3, and the server 3 with the largest link load coefficient is determined as the optimal server 3.
Specifically, in this embodiment, the specific processing mode of selecting the server 3 according to the load is as follows:
1) calculating a memory load coefficient, a CPU load coefficient, a disk load coefficient and a link load coefficient:
memory load factor m ═ (memory load weight-current memory load);
the disk load coefficient d (disk load weight-current disk load);
CPU load factor c ═ (CPU load weight-CPU current load);
link load factor i ═ (link load weight-current number of links).
2) And (3) filtering and judging: if one of the memory load factor m, the disk load factor d, and the CPU load factor c of any server 3 is equal to or less than 0, the server 3 is filtered, that is, the server 3 is not provided to the mobile terminal 4.
3) The optimum server 3 determines: accumulating the link load coefficients L of each server 3 to obtain a total load coefficient L, wherein the percentage of the link load coefficients L of each server 3 in the total load coefficient L is the probability that the server 3 is selected; the larger the link load factor of the server 3, the larger the probability of being selected, and the server 3 having the largest link load factor is determined as the optimal server 3.
Example two
In conjunction with fig. 3, the present embodiment provides an optimal path selection method for linking a mobile terminal and a server, including,
step S1, loading the server 3 information list from the database 101 at regular time, and filtering the servers 3 that do not conform to the rules in the server 3 information list according to the load information of each server 3 to obtain an effective server 3 information list;
step S2, receiving a link request from the mobile terminal 4, and acquiring the network type and IP address of the mobile terminal 4 according to the link request;
step S3, according to the IP address, inquiring the geographic area information and the operator information corresponding to the IP address from the database 101;
step S4, according to the network type, the geographical area information and the operator information, the server 3 corresponding to the geographical area and the operator is screened from the effective server 3 information list;
step S5, determining an optimal server 3 according to the load information of each server 3 after screening;
step S6, the server 3 address of the optimal server 3 is acquired, and the server 3 address of the optimal server 3 is sent to the mobile terminal 4.
According to the optimal path selection method for linking the application end and the server 3 provided by the embodiment of the invention, the server 3 is comprehensively selected according to the network type used by the mobile terminal 4, the geographical area where the mobile terminal is located and the state of each server 3, so that the communication link between the mobile terminal 4 and the server 3 is optimized, and the communication link is more stable.
In this embodiment, the addressing unit 2 queries the geographic area and the operator where the IP address is located from the IP library according to the IP address of the mobile terminal 4 requesting to establish a link, and screens the server 3 serving the area and the operator from the server 3 information list according to the geographic area and the network operator, so as to ensure that the geographic location is provided close and the server 3 of the network operator of the mobile terminal 4 is provided, thereby ensuring that a link with good network quality can be established from the mobile terminal 4 to the server 3. Specifically, first, an optimal communication link is selected for the mobile terminal 4, for example, the IP of the mobile terminal 4 is from the mobile network in the beijing area, the server 3 serving the beijing area and the mobile network is selected from the list of servers 3, then, the server 3 is selected according to the current load and load weight of the server 3, and the lower the load of the server 3 is, the better the quality of service is, the server 3 with the lower load is provided to the mobile terminal 4, so that the server 3 provided to the mobile terminal 4 can be ensured to be the optimal server 3.
In this embodiment, the network types include 2G, 3G, 4G, WIFI, and the like, and when the network type of the mobile terminal 4 can be acquired, the link request information is accompanied by the network type information, which is not specifically limited in this embodiment. In addition, the operator information includes mobile, internet, and telecommunications.
Specifically, the server 3 information includes, address of the server 3, load information, geographical area served, operator served; wherein the content of the first and second substances,
the load information comprises memory load information, CPU load information, disk load information and link load information;
the memory load information comprises the weight of the memory load and the current memory load;
the CPU load information comprises a CPU load weight and a CPU current load;
the disk load information comprises disk load weight and current disk load;
the link load information includes a link load weight and a link current load.
In this embodiment, it should be noted that the load weight is a maximum supportable load amount, for example, the memory load weight is a maximum supportable load amount of the memory.
In addition, the following principles are provided for the server 3 information:
1) the load information comprises memory use condition, CPU use condition, disk use condition and link quantity, and the load weight of the server 3 is configured according to the configuration of the server 3 and the network bandwidth of the machine room;
2) a geographical area to be served for specifying which area the server 3 can provide service to the mobile terminal 4, the quality of short-distance network communication is better than that of long-distance network communication, and the geographical area to be served is set based on the principle of near service according to the geographical position of the server 3;
3) the service provider is used to specify which provider's mobile terminal 4 the server 3 can provide service for, different computer room networks have different support degrees for each provider, and some computer rooms may have better link network quality for telecommunication lines but not good enough link network quality for communication lines, so the provider served by the server 3 is set according to the support degree of the network of the server 3 for each provider.
Preferably, the servers 3 that do not comply with the rules in the server 3 information list are filtered according to the load information of each server 3, in particular, for any server 3 in the server 3 information list,
acquiring a memory load coefficient according to the memory load information, acquiring a CPU load coefficient according to the CPU load information, and acquiring a disk load coefficient according to the disk load information;
and when any one of the memory load factor, the CPU load factor and the disk load factor exceeds a set threshold value, filtering the server 3.
Further preferably, the optimal server 3 is determined according to the load information of each server 3 after the screening, specifically, the link load coefficient is obtained according to the link load information of each server 3, and the server 3 with the largest link load coefficient is determined as the optimal server 3.
Specifically, in this embodiment, the specific processing mode of selecting the server 3 according to the load is as follows:
1) calculating a memory load coefficient, a CPU load coefficient, a disk load coefficient and a link load coefficient:
memory load factor m ═ (memory load weight-current memory load);
the disk load coefficient d (disk load weight-current disk load);
CPU load factor c ═ (CPU load weight-CPU current load);
link load factor i ═ (link load weight-current number of links).
2) And (3) filtering and judging: if one of the memory load factor m, the disk load factor d, and the CPU load factor c of any server 3 is equal to or less than 0, the server 3 is filtered, that is, the server 3 is not provided to the mobile terminal 4.
3) The optimum server 3 determines: accumulating the link load coefficients L of each server 3 to obtain a total load coefficient L, wherein the percentage of the link load coefficients L of each server 3 in the total load coefficient L is the probability that the server 3 is selected; the larger the link load factor of the server 3, the larger the probability of being selected, and the server 3 having the largest link load factor is determined as the optimal server 3.
Although the present invention has been described to a certain extent, it is apparent that appropriate changes in the respective conditions may be made without departing from the spirit and scope of the present invention. It is to be understood that the invention is not limited to the described embodiments, but is to be accorded the scope consistent with the claims, including equivalents of each element described.

Claims (6)

1. An optimal path selection system for linking a mobile terminal and a server side is characterized by comprising,
the system comprises an application management center, an addressing unit, a server, a mobile terminal and a domain name system; the application management center comprises a database, a health monitoring unit and a Web management unit; the mobile terminal is respectively linked with the addressing unit, the server and the domain name system, the server is linked with the health monitoring unit, the addressing unit, the health monitoring unit and the Web management unit are respectively linked with the database;
the Web management unit is used for configuring a server and storing server information into the database;
the database is used for storing data information;
the health monitoring unit is used for monitoring the running state of each server, acquiring the load information of each server in real time and storing the load information of each server into the database;
the addressing unit is used for acquiring the server address of the optimal server when receiving the link request information sent by the mobile terminal and sending the server address of the optimal server to the mobile terminal;
the domain name system is used for carrying out address resolution on the address of the addressing unit;
the mobile terminal is used for acquiring the server address of the optimal server through the addressing unit and establishing a communication link with the optimal server according to the server address;
the server is used for providing communication service for the mobile terminal after establishing a communication link with the mobile terminal;
the server information comprises a server address, load information, a served geographical area and a served operator; wherein the content of the first and second substances,
the load information comprises memory load information, CPU load information, disk load information and link load information;
the memory load information comprises a memory load weight and a current memory load;
the CPU load information comprises a CPU load weight and a CPU current load;
the disk load information comprises disk load weight and current disk load;
the link load information comprises link load weight and link current load;
the addressing unit is, in particular, adapted to,
loading a server information list from the database at regular time, and filtering servers which do not accord with the rules in the server information list according to the load information of each server to obtain an effective server information list;
receiving a link request of a mobile terminal, and acquiring a network type and an IP address of the mobile terminal according to the link request;
according to the IP address, geographic area information and operator information corresponding to the IP address are inquired from the database;
according to the network type, the geographic area information and the operator information, a server corresponding to a geographic position area and a server corresponding to an operator are screened out from the effective server information list;
determining an optimal server according to the screened load information of each server;
acquiring a server address of an optimal server, and sending the server address of the optimal server to the mobile terminal;
the server which does not conform to the rules in the server information list is filtered according to the load information of each server, specifically, for any server in the server information list,
acquiring a memory load coefficient according to the memory load information, acquiring a CPU load coefficient according to the CPU load information, and acquiring a disk load coefficient according to the disk load information;
when any one of the memory load coefficient, the CPU load coefficient and the disk load coefficient is less than or equal to 0, filtering the server;
wherein the memory load factor (memory load weight-current memory load); disk load factor (disk load weight-current disk load); CPU load factor c ═ (CPU load weight — CPU current load).
2. The system for selecting the optimal path of the link between the mobile terminal and the server side according to claim 1, further comprising a data intermediate layer, wherein the data intermediate layer is linked with the database through a long link of TCP; the addressing unit, the health monitoring unit and the Web management unit are linked with the data intermediate layer through a TCP short link, and the addressing unit, the health monitoring unit and the Web management unit are linked with the database through the data intermediate layer.
3. The system for selecting the optimal path by linking the mobile terminal and the server according to claim 1, wherein the mobile terminal comprises a mobile phone, a tablet computer, a POS machine and a terminal of the Internet of things.
4. The system according to claim 1, wherein the optimal server is determined according to the load information of each server after being filtered, specifically, a link load coefficient is obtained according to the link load information of each server, and the server with the largest link load coefficient is determined as the optimal server.
5. An optimal path selection method for linking a mobile terminal and a server, which is applied to the system according to any one of claims 1 to 4, is characterized by comprising,
loading a server information list from the database at regular time, and filtering servers which do not accord with the rules in the server information list according to the load information of each server to obtain an effective server information list;
receiving a link request of a mobile terminal, and acquiring a network type and an IP address of the mobile terminal according to the link request;
according to the IP address, geographic area information and operator information corresponding to the IP address are inquired from the database;
according to the network type, the geographic area information and the operator information, a server corresponding to a geographic position area and a server corresponding to an operator are screened out from the effective server information list;
determining an optimal server according to the screened load information of each server;
acquiring a server address of an optimal server, and sending the server address of the optimal server to the mobile terminal;
the server information comprises a server address, load information, a served geographical area and a served operator; wherein the content of the first and second substances,
the load information comprises memory load information, CPU load information, disk load information and link load information;
the memory load information comprises a memory load weight and a current memory load;
the CPU load information comprises a CPU load weight and a CPU current load;
the disk load information comprises disk load weight and current disk load;
the link load information comprises link load weight and link current load;
the server which does not conform to the rules in the server information list is filtered according to the load information of each server, specifically, for any server in the server information list,
acquiring a memory load coefficient according to the memory load information, acquiring a CPU load coefficient according to the CPU load information, and acquiring a disk load coefficient according to the disk load information;
when any one of the memory load coefficient, the CPU load coefficient and the disk load coefficient is less than or equal to 0, filtering the server;
wherein the memory load factor (memory load weight-current memory load); disk load factor (disk load weight-current disk load); CPU load factor c ═ (CPU load weight — CPU current load).
6. The method according to claim 5, wherein the optimal server is determined according to the load information of the filtered servers, specifically, a link load coefficient is obtained according to the link load information of each server, and the server with the largest link load coefficient is determined as the optimal server;
where link load factor (link load weight-current number of links).
CN201711007036.2A 2017-10-25 2017-10-25 Optimal path selection system and method for linking mobile terminal and server Active CN107635015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711007036.2A CN107635015B (en) 2017-10-25 2017-10-25 Optimal path selection system and method for linking mobile terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711007036.2A CN107635015B (en) 2017-10-25 2017-10-25 Optimal path selection system and method for linking mobile terminal and server

Publications (2)

Publication Number Publication Date
CN107635015A CN107635015A (en) 2018-01-26
CN107635015B true CN107635015B (en) 2020-11-24

Family

ID=61106190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711007036.2A Active CN107635015B (en) 2017-10-25 2017-10-25 Optimal path selection system and method for linking mobile terminal and server

Country Status (1)

Country Link
CN (1) CN107635015B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366133B (en) * 2018-03-28 2022-02-22 深圳市网心科技有限公司 TS server scheduling method, scheduling device and storage medium
CN108833567B (en) * 2018-06-26 2021-04-06 深圳市网心科技有限公司 Selection method and system of optimal data transfer server and scheduling server
CN111800447A (en) * 2019-09-20 2020-10-20 厦门雅基软件有限公司 Server scheduling method and device for cloud game and readable storage medium
CN110943887B (en) * 2019-11-29 2023-04-18 广州市百果园信息技术有限公司 Probe scheduling method, device, equipment and storage medium
CN111404966B (en) * 2020-04-03 2020-12-15 广东利通科技投资有限公司 Data processing method of expressway video monitoring system
CN112169312A (en) * 2020-09-27 2021-01-05 厦门雅基软件有限公司 Queuing scheduling method, device, equipment and storage medium for cloud game service
CN112188300B (en) * 2020-11-11 2021-10-01 四川长虹电器股份有限公司 Method for realizing efficient domain name resolution based on smart television local DNS service
CN112804161B (en) * 2020-12-30 2023-04-18 中天众达智慧城市科技有限公司 Domain name processing method
CN116760655B (en) * 2023-08-22 2023-12-12 浙江领湾网络有限公司 POP point method for providing CPE optimal access in SD-WAN application

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938504A (en) * 2009-06-30 2011-01-05 深圳市融创天下科技发展有限公司 Cluster server intelligent dispatching method and system
CN101989951A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method, system and equipment for selecting service node
EP2845373A1 (en) * 2012-05-01 2015-03-11 Everbridge, Inc. Systems and methods for distance and performance based load balancing
CN105610930A (en) * 2015-12-25 2016-05-25 互联网域名系统北京市工程研究中心有限公司 Data optimization method based on DNS (Domain Name Server)
CN107071089A (en) * 2017-05-18 2017-08-18 腾讯科技(深圳)有限公司 Dispatch control method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938504A (en) * 2009-06-30 2011-01-05 深圳市融创天下科技发展有限公司 Cluster server intelligent dispatching method and system
CN101989951A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method, system and equipment for selecting service node
EP2845373A1 (en) * 2012-05-01 2015-03-11 Everbridge, Inc. Systems and methods for distance and performance based load balancing
CN105610930A (en) * 2015-12-25 2016-05-25 互联网域名系统北京市工程研究中心有限公司 Data optimization method based on DNS (Domain Name Server)
CN107071089A (en) * 2017-05-18 2017-08-18 腾讯科技(深圳)有限公司 Dispatch control method, device and system

Also Published As

Publication number Publication date
CN107635015A (en) 2018-01-26

Similar Documents

Publication Publication Date Title
CN107635015B (en) Optimal path selection system and method for linking mobile terminal and server
CN110572377B (en) Data forwarding method, plug-in and domain name server
WO2020019472A1 (en) Rating method for service node, domain name system (dns) scheduling method and server
CN109379774A (en) Intelligent dispatching method, terminal device, fringe node cluster and intelligent dispatching system
CN108173976B (en) Domain name resolution method and device
US11817946B2 (en) Proxy selection by monitoring quality and available capacity
CN109983736B (en) NF component exception processing method, device and system
CN109660593B (en) Internet of things platform access management method, device and system
CN104270291A (en) Content delivery network (CDN) quality monitoring method
CN104735088A (en) Server node adjusting method and device in CDN (content delivery network)
CN109246003A (en) A kind of method and system carrying out network link switching
CN105072151A (en) Content collaborative scheduling method and system for CDN
EP2709337A1 (en) Service data processing method, device and system
CN111769997A (en) Method, server, device and computer readable medium for network monitoring
CN103262611A (en) Gateway relocation control method in mobile communication system, and control device
CN102420868A (en) Service providing method, device and system
CN105450540A (en) Load balancing method and device as well as DHCP (dynamic host configuration protocol) server
CN112543212B (en) System for providing request response exact communication delay guarantee for distributed service
CN111050355A (en) Method, device and system for dynamically adjusting Qos of mobile terminal
CN110380981B (en) Flow distribution method and equipment
WO2012175140A1 (en) Gateway selection for load balancing
CN106686034B (en) CDN scheduling enhancement method, device and system
CN103051979B (en) streaming media processing method and system
EP4037292A1 (en) P-cscf registration and discovery mechanism
JP5670937B2 (en) Terminal connection management system

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