[go: up one dir, main page]

CN108366133B - TS server scheduling method, scheduling device and storage medium - Google Patents

TS server scheduling method, scheduling device and storage medium Download PDF

Info

Publication number
CN108366133B
CN108366133B CN201810265508.2A CN201810265508A CN108366133B CN 108366133 B CN108366133 B CN 108366133B CN 201810265508 A CN201810265508 A CN 201810265508A CN 108366133 B CN108366133 B CN 108366133B
Authority
CN
China
Prior art keywords
operator
server
servers
same
geographic location
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
CN201810265508.2A
Other languages
Chinese (zh)
Other versions
CN108366133A (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 Onething Technologies Co Ltd
Original Assignee
Shenzhen Onething Technologies 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 Onething Technologies Co Ltd filed Critical Shenzhen Onething Technologies Co Ltd
Priority to CN201810265508.2A priority Critical patent/CN108366133B/en
Publication of CN108366133A publication Critical patent/CN108366133A/en
Application granted granted Critical
Publication of CN108366133B publication Critical patent/CN108366133B/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
    • 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
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • 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
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • 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
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1021Server selection for load balancing based on client or server locations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明公开了一种TS服务器调度方法、调度设备及存储介质。方法包括:获取网络存储设备所处网络的第一网络运营商以及第一网络运营商所处的第一地理位置;获取终端设备所处网络的第二网络运营商以及第二网络运营商所处的第二地理位置;查询第一地理位置以及第二地理位置内所有TS服务器,并计算所有TS服务器的剩余负载平均权重;并当剩余负载平均权重超过第一阈值时,根据哈希算法选择最佳TS服务器。本发明提供的一种TS服务器调度方法、调度设备及存储介质通过在不同运营商以及不同地理区域内合理调度最佳的TS服务器,使得网络存储设备以及终端设备能够通信更加快捷、方便,提升了终端客户的用户体验。

Figure 201810265508

The invention discloses a TS server scheduling method, scheduling equipment and storage medium. The method includes: acquiring a first network operator of a network where the network storage device is located and a first geographic location where the first network operator is located; acquiring a second network operator of the network where the terminal device is located and where the second network operator is located the second geographic location; query the first geographic location and all TS servers in the second geographic location, and calculate the remaining load average weight of all TS servers; and when the remaining load average weight exceeds the first threshold, select the most Best TS server. The TS server scheduling method, scheduling device and storage medium provided by the present invention enable network storage devices and terminal devices to communicate more quickly and conveniently by reasonably scheduling optimal TS servers in different operators and different geographical areas, and improve the User experience for end customers.

Figure 201810265508

Description

TS server scheduling method, scheduling device and storage medium
Technical Field
The present invention relates to the field of data communications, and in particular, to a TS server scheduling method, a scheduling device, and a storage medium.
Background
At present, a new generation of intelligent hardware, also referred to as network storage devices, also referred to as "earnable mobile cloud drives" is available. The new generation intelligent hardware can not directly interact data with the terminal device APP, and can only complete the data interaction between the two through the TS server.
However, when selecting the TS server, the scheduling server randomly allocates one TS server to perform data transmission service for the new generation of intelligent hardware and the terminal device APP, but the randomly allocated TS server may not have the best service performance, which may greatly affect data interaction between the new generation of intelligent hardware and the terminal device APP, and further seriously affect user experience of the terminal device APP user.
Disclosure of Invention
In view of this, the TS server scheduling method, the scheduling device and the storage medium provided in the embodiments of the present invention solve the problem that in the prior art, a randomly allocated TS server may not have the best service performance, and further the user experience of the terminal device APP user is seriously affected.
In order to achieve this object, an embodiment of the present invention provides a TS server scheduling method, including:
acquiring a first network operator of a network where a network storage device is located and a first geographical position where the first network operator is located;
acquiring a second network operator of a network where terminal equipment is located and a second geographic position where the second network operator is located;
inquiring all TS servers in the first geographical position and the second geographical position, and calculating the average weight of the residual load of all the TS servers;
and when the average weight of the residual load exceeds a first threshold value, selecting the optimal TS server according to a hash algorithm.
Preferably, the method further comprises:
and judging whether the first operator and the second operator are the same operator.
Preferably, when the first operator and the second operator are the same operator, the querying is performed on all TS servers in the first geographic location and the second geographic location, and a remaining load average weight of all TS servers is calculated, and when the remaining load average weight exceeds a first threshold, an optimal TS server is selected according to a hash algorithm, specifically including:
inquiring the position relation between the first geographical position and the second geographical position;
when the first geographical position and the second geographical position belong to the same geographical area, inquiring all TS servers covering the same operator in the same geographical area, and calculating the average weight of the residual load of all TS servers;
and when the average weight of the residual load exceeds the first threshold value, selecting the optimal TS server according to a hash algorithm.
Preferably, the method further comprises:
when the average weight of the residual load does not exceed the first threshold value, inquiring all TS servers covering the same operator in the upper-level area of the same geographic area;
judging whether the average weight of the residual load of all TS servers covering the same operator in the same geographic area and the upper-level area exceeds the first threshold value or not;
and when the average weight of the residual loads of all TS servers covering the same operator in the same geographic area and the upper-level area exceeds the first threshold value, selecting the optimal TS server according to a Hash algorithm.
Preferably, when the first operator and the second operator are not the same operator, the querying for all TS servers in the first geographic location and the second geographic location specifically includes:
and inquiring the position relation between the first geographical position and the second geographical position, and inquiring a TS server covering the first operator and the second operator in the first geographical position and the second geographical position.
Preferably, when the first geographical location and the second geographical location are in the same geographical area, the calculating the average weight of the remaining loads of all TS servers, and when the average weight of the remaining loads exceeds a first threshold, selecting an optimal TS server according to a hash algorithm specifically includes:
judging whether the average weight of the residual load of TS servers covering the first operator and the second operator in the same geographic area at the same time exceeds the first threshold value;
and when the average weight of the residual load of the TS servers covering the first operator and the second operator in the same geographic area exceeds the first threshold value, selecting the optimal TS server according to a hash algorithm.
Preferably, the method further comprises:
when the average weight of the residual load of the TS servers covering the first operator and the second operator in the same geographic area does not exceed the first threshold, inquiring all the TS servers covering the first operator and the second operator in the upper-level area of the same geographic area;
judging whether the average weight of the residual load of the TS servers covering the first operator and the TS servers covering the second operator simultaneously in the same geographic area and the upper-level area of the same geographic area exceeds the first threshold value or not;
and when the average weight of the residual loads of the TS servers of the first operator and the TS servers of the second operator which are simultaneously covered by the same geographic area and the upper-level area of the same geographic area exceeds the first threshold value, selecting the optimal TS server according to a hash algorithm.
Preferably, the selecting an optimal TS server according to a hash algorithm specifically includes:
mapping the percentage of the average weight of the residual load of the alternative TS server to the total weight of the load into a hash value;
and comparing the hash value of the alternative TS server with a set value, and selecting the alternative TS server with the smallest difference between the hash value and the set value as the optimal TS server.
Preferably, the factors influencing the average weight of the remaining load include network card capacity, CPU occupancy rate, and memory usage rate.
According to the TS server scheduling method provided by the invention, the optimal TS server is reasonably scheduled in different operators and different geographic areas, so that the network storage equipment and the terminal equipment can communicate more quickly and conveniently, and the user experience of terminal customers is improved.
In addition, to achieve the object, the present invention also provides a scheduling apparatus, including: the system comprises a memory, a processor and a TS server scheduling program stored on the memory and capable of being on the processor, wherein the TS server scheduling program is configured to realize the steps of the TS server scheduling method.
In addition, to achieve the above object, the present invention further provides a storage medium having a TS server scheduler stored thereon, wherein the TS server scheduler implements the steps of the TS server scheduling method when being executed by a processor.
The scheduling device and the storage medium provided by the invention have the advantages that the optimal TS server is reasonably scheduled in different operators and different geographical areas, so that the network storage device and the terminal device can communicate more quickly and conveniently, and the user experience of terminal customers is improved.
Drawings
Fig. 1 is a schematic flowchart illustrating an embodiment of a TS server scheduling method according to the present invention;
fig. 2 and fig. 3 are schematic flowcharts illustrating another embodiment of a TS server scheduling method according to the present invention;
fig. 4 shows a block diagram of an embodiment of a scheduling apparatus suitable for implementing an embodiment of the invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
Referring to fig. 1, fig. 1 is a flowchart illustrating a TS server scheduling method according to an embodiment of the present invention.
The TS server scheduling method provided by the embodiment of the present invention specifically includes:
step S101, a network operator of a network where a network storage device is located and a geographic location where the network operator is located are obtained, the network operator is called a first network operator, and the geographic location is called a first geographic location.
Step S102, a network operator of a network where the terminal device is located and a geographic position where the network operator is located are obtained, the network operator is called a second network operator, and the geographic position is called a second geographic position.
Preferably, the network storage device provided by the implementation of the present invention may be, but is not limited to, a new generation of intelligent hardware, which may also be referred to as an "earnable mobile cloud disk," and specifically, the network storage device may be a guest playing cloud. The terminal device may be, but is not limited to, a mobile intelligent communication terminal, a PC terminal, or other intelligent terminals.
Specifically, the geographic regions in which the network operator of the network in which the network storage device is located and the network operator of the network in which the terminal device is located are respectively located may be the same or different, such as those of Shenzhen or those of Shenzhen and those of Beijing.
In step S103, all TS servers in the first geographical location and the second geographical location are queried, and the remaining load average weight of all TS servers is calculated.
Specifically, the first geographic location and the second geographic location may be in the same region, such as shenzhen, and all TS servers refer to all TS servers in the shenzhen region; the first geographic location and the second geographic location may also be different regions, such as shenzhen and mansion gate, and then all TS servers refer to all TS servers in south china including shenzhen and mansion gate.
Specifically, the factors affecting the average weight of the remaining load include network card capacity, CPU occupancy rate, and memory usage rate. The exact representation of the network card capability should be the real-time bandwidth of the network card, but at present, it is approximately represented by the number of connections. When any factor resource in the network card capacity, the CPU occupancy rate and the memory utilization rate is exhausted, the total weight of the TS server should be 0; similarly, when any one of the network card capability, the CPU occupancy rate, and the memory usage rate is sufficient in resources, the total weight of the TS server may be increased accordingly.
Further, when calculating the weight of a certain TS server in a specific address region (such as shenzhen and south China), finding the network card weight (if there are multiple network card weights) of the corresponding address region, and then finding the weight of the CPU + memory.
Specifically, the calculation formula of the residual load weight of a certain network card is as follows: 1-the number of connections the network card is serving/the total number of connections the network card can serve externally.
Further, the remaining load average weight formula may be: (a% + B% +. N. + N%)/M, where A, B, · B.., N denotes each single TS server, a%, B%,... and.n% denotes the remaining load ratio of the single TS server, and M denotes the total number of all TS servers (i.e., A, B,... and.n).
And step S104, when the average weight of the residual load exceeds a first threshold value, selecting the optimal TS server according to a hash algorithm.
Preferably, the first threshold may be 20% to 25%, and further may be 20%.
Preferably, the method for selecting the optimal TS server by the hash algorithm includes:
mapping the percentage of the average weight of the residual load of the alternative TS server to the total weight of the load into a hash value;
and comparing the hash value of the alternative TS server with a set value, and selecting the alternative TS server with the smallest difference between the hash value and the set value as the optimal TS server.
According to the TS server scheduling method provided by the embodiment of the invention, the optimal TS server is reasonably scheduled in different operators and different geographical areas, so that the network storage device and the terminal device can communicate more quickly and conveniently, and the user experience of a terminal client is improved.
Referring to fig. 2 and 3, fig. 2 and 3 are schematic flow charts of another embodiment of a TS server scheduling method according to the present invention.
In step S201, a network operator of a network where the network storage device is located and a geographic location where the network operator is located are obtained, and the network operator is referred to as a first network operator, and the geographic location is referred to as a first geographic location.
In step S202, a network operator of a network where the terminal device is located and a geographic location where the network operator is located are obtained, and the network operator is referred to as a second network operator, and the geographic location is referred to as a second geographic location.
Preferably, the network storage device provided by the implementation of the present invention may be, but is not limited to, a new generation of intelligent hardware, which may also be referred to as an "earnable mobile cloud disk," and specifically, the network storage device may be a guest playing cloud. The terminal device may be, but is not limited to, a mobile intelligent communication terminal, a PC terminal, or other intelligent terminals.
Specifically, the geographic regions in which the network operator of the network in which the network storage device is located and the network operator of the network in which the terminal device is located are respectively located may be the same or different, such as those of Shenzhen or those of Shenzhen and those of Beijing.
In step S203, it is determined whether the first operator and the second operator are the same operator.
Step S204 is performed when the first operator and the second operator are the same operator, and step S301 is performed by a when the first operator and the second operator are not the same operator.
Preferably, the operator may be a network communication operator such as a mobile, universal, or telecom operator, but is not limited to the above three.
Next, the first operator and the second operator are the same operator.
For clarity, the same operator is selected to move respectively, i.e. both the first operator and the second operator are mobile operators.
In step S204, when the first operator and the second operator are the same operator, the location relationship between the first geographic location and the second geographic location is queried.
Specifically, the positional relationship here means that the two geographic areas are the same, the two geographic areas belong to the same higher-level area, and the two geographic areas belong to the same higher-level area.
For example, if the first geographic location is the same and is Shenzhen, the corresponding network operators are Shenzhen move and Shenzhen telecom respectively; if the first geographic position is different, but belongs to the upper-level region, such as Shenzhen and Xiamen respectively, and both belong to the south China, the corresponding network operators are Shenzhen mobile and Xiamen telecommunication respectively; if the first geographic location is different, but the same country belongs to a higher-level region, such as Shenzhen and Beijing, and the two regions belong to the same China region, the corresponding network operators are Shenzhen mobile and Beijing telecom, respectively.
It should be noted that the position relationship between the first geographic location and the second geographic location can be further described, such as the geographic relationship between china and the united states, and the geographic relationship between china and japan, which are not described herein again.
In step S205, when the first geographical location and the second geographical location are in the same geographical area, it is determined whether the average remaining load weight of all TS servers in the same geographical area exceeds a first threshold.
When the average weight of the remaining loads of all the TS servers in the same geographic area exceeds the first threshold, executing step S208; otherwise, step S206 is executed.
Preferably, the first threshold may be the number of TS servers/remaining responsible proportion, and specifically may be the number of TS servers/20%.
Specifically, when selecting the TS server, at least three selection dimensions, such as the geographical relationship that the two geographical areas are the same, the two geographical areas belong to the higher-level area, and the two geographical areas belong to the higher-level area, are required to be selected.
In step S206, when the average remaining load weight of all TS servers in the same geographic area does not exceed the first threshold, all TS servers in the upper-level area of the same geographic area are queried.
Specifically, the remaining load average weight does not exceed the first threshold, which means that the load capability of the selected TS server is not enough at this time, and the selected TS server cannot be selected to serve other devices.
In step S207, it is determined whether the average remaining load weights of all TS servers in the same geographical area and the upper-level area of the same geographical area exceed a first threshold.
When the average weight of the remaining loads of all the TS servers in the same geographical area and the upper-level area of the same geographical area exceeds the first threshold, performing step S208; otherwise, step S206 is executed.
Specifically, when the average weight of the remaining loads does not exceed the first threshold, S304 is continuously executed to indicate that the load capacities of all TS servers in the selected area are insufficient, and further the online primary area needs to be continuously queried until the TS server in the area meeting the load capacity is selected or the selection range is exceeded, which is generally selected in the range of china.
Next, it is assumed that the first carrier and the second carrier are not the same carrier.
For clarity, the different operators are chosen to be mobile and telecom, respectively, and it is assumed that the first operator is mobile and the second operator is telecom.
In step S301, a location relationship between the first geographic location and the second geographic location is queried.
Specifically, the positional relationship here means that the two geographic areas are the same, the two geographic areas belong to the same higher-level area, and the two geographic areas belong to the same higher-level area.
For example, if the first geographic location is the same and is Shenzhen, the corresponding network operators are Shenzhen move and Shenzhen telecom respectively; if the first geographic position is different, but belongs to the upper-level region, such as Shenzhen and Xiamen respectively, and both belong to the south China, the corresponding network operators are Shenzhen mobile and Xiamen telecommunication respectively; if the first geographic location is different, but the same country belongs to a higher-level region, such as Shenzhen and Beijing, and the two regions belong to the same China region, the corresponding network operators are Shenzhen mobile and Beijing telecom, respectively.
It should be noted that the position relationship between the first geographic location and the second geographic location can be further described, such as the geographic relationship between china and the united states, and the geographic relationship between china and japan, which are not described herein again.
In step S302, a TS server covering both the first operator and the second operator in the first geographic location and the second geographic location is queried.
Specifically, the TS server which indicates that the query is required covers both the mobile operator and the telecommunication operator.
Further, the TS server to be queried may be a three-wire overlay TS server, that is, a TS server that overlays mobile, internet and telecommunication.
In step S303, when the first geographical location and the second geographical location are in the same geographical area, it is determined whether the average remaining load weight covering the TS servers of the first operator and the second operator in the same geographical area exceeds a first threshold.
When the average weight of the remaining loads of the TS servers covering both the first operator and the second operator in the same geographic area exceeds a first threshold, executing step S208 by B; when the average weight of the remaining loads of the TS servers covering both the first operator and the second operator in the same geographic area does not exceed the first threshold, step S304 is executed.
Preferably, the first threshold may be 20% to 25%, and further may be 20%.
Specifically, when selecting the TS server, at least three selection dimensions, such as the geographical relationship that the two geographical areas are the same, the two geographical areas belong to the higher-level area, and the two geographical areas belong to the higher-level area, are required to be selected.
In step S304, when the remaining load average weight of the TS servers covering both the first operator and the second operator in the same geographic area does not exceed the first threshold, all TS servers in the upper-level area of the same geographic area are queried.
Specifically, the remaining load average weight does not exceed the first threshold, which means that the load capability of the selected TS server is not enough at this time, and the selected TS server cannot be selected to serve other devices.
In step S305, it is determined whether the remaining load average weight of the TS servers covering both the first operator and the second operator in the same geographical area and the upper level area of the same geographical area exceeds a first threshold.
When the average weight of the remaining loads of the TS servers covering both the first operator and the second operator in the same geographic area and the upper-level area of the same geographic area exceeds the first threshold, step S208 is executed; when the remaining average load weight of the TS servers covering both the first operator and the second operator in the same geographical area and the upper level area of the same geographical area does not exceed the first threshold, S304 is continuously performed.
Specifically, when the average weight of the remaining loads does not exceed the first threshold, S304 is continuously executed to indicate that the load capacities of all TS servers in the selected area are insufficient, and further the online primary area needs to be continuously queried until the TS server in the area meeting the load capacity is selected or the selection range is exceeded, which is generally selected in the range of china.
In step S208, an optimal TS server is selected according to the hash algorithm.
Specifically, the factors affecting the average weight of the remaining load include network card capacity, CPU occupancy rate, and memory usage rate. The exact representation of the network card capability should be the real-time bandwidth of the network card, but at present, it is approximately represented by the number of connections. When any factor resource in the network card capacity, the CPU occupancy rate and the memory utilization rate is exhausted, the total weight of the TS server should be 0; similarly, when any one of the network card capability, the CPU occupancy rate, and the memory usage rate is sufficient in resources, the total weight of the TS server may be increased accordingly.
Further, when calculating the weight of a certain TS server in a specific address region (such as shenzhen and south China), finding the network card weight (if there are multiple network card weights) of the corresponding address region, and then finding the weight of the CPU + memory.
Specifically, the calculation formula of the residual load weight of a certain network card is as follows: 1-the number of connections the network card is serving/the total number of connections the network card can serve externally.
Mapping the percentage of the average weight of the residual load of the alternative TS server to the total weight of the load into a hash value;
and comparing the hash value of the alternative TS server with a set value, and selecting the alternative TS server with the smallest difference between the hash value and the set value as the optimal TS server.
For a further understanding of the embodiments of the present invention, reference will now be made to the examples.
The scheduling requirement is met first, which means that the load remaining average weight of the currently selected TS server is greater than a first threshold (for example, 20%, the stand-alone load is controlled within 80%).
First, if the first geographic location and the second geographic location are the same operator in the same province, for example, both are Cantonese Shenzhen telecommunications, the scheduling rule is as follows:
1) node TS server covering the Guangdong telecom: TS server A, TS server B;
2) node TS server covering south china telecommunications (covering the Guangdong telecommunications): TS server C, TS server D;
3) node TS server covering china telecommunications (covering south china telecommunications): a TS server E;
4) firstly, selecting a node TS server covering Guangdong telecommunication: A. b;
5) if the total weight of the load residuals of A, B is greater than 40% (2 x 20%), i.e. the average weight of the load residuals of A, B is greater than 20% (40%/2), then one of A, B is selected according to a hashing algorithm;
6) if the total weight of the load residue of A, B is less than or equal to 40% (2 x 20%), that is, the average weight of the load residue of A, B is less than or equal to 20%, adding the south China telecom node TS server into an alternative list, wherein the current scheduling list is: A. b, C, D, respectively;
7) if the total weight of the load residuals of A, B, C, D is greater than 80% (4 x 20%), i.e. the average weight of the load residuals of A, B, C, D is greater than 20% (80%/4), then one of A, B, C, D is selected according to a hashing algorithm;
8) if the residual average weight of the load of A, B, C, D is less than or equal to 20%, adding the TS server of the China telecom node into a to-be-selected list, wherein the current scheduling list is as follows: A. b, C, D, E, respectively;
9) at this time, whether the total weight of the load remaining at A, B, C, D, E is greater than 100% (5 × 20%), that is, whether the average weight of the load remaining at A, B, C, D, E is greater than 20% (100%/5), one of A, B, C, D, E is selected based on the hash, and in the case where the total weight is insufficient, it is indicated that the TS server cannot be selected, and an alarm is given.
Secondly, if the first geographic location and the second geographic location are the same operator across provinces, for example, the operator corresponding to the IP address of the network storage device is Guangdong Shenzhen telecom, and the operator corresponding to the IP address of the terminal device is Fujian Xiamen telecom, both belong to south China telecom, the scheduling rule is as follows:
1) node TS server covering south china telecommunications (covering the Guangdong telecommunications): TS server A, TS server B;
2) node TS server covering china telecommunications (covering south china telecommunications): a TS server C;
3) firstly, selecting a node TS server covering south China telecommunication: A. b;
4) if the total weight of load remaining of A, B is greater than 40% (2 x 20%), i.e. the average weight of load remaining of A, B is greater than 20% (40%/2), then one of A, B is selected according to a hashing algorithm;
5) if the total load remaining weight of A, B is less than or equal to 40%, that is, the average load remaining weight of A, B is less than or equal to 20% (40%/2), adding the TS server of the chinese telecom node into the candidate list, where the current scheduling list is: A. b, C, respectively;
6) at this time, whether the total remaining weight of the load of A, B, C is greater than 60% (3 × 20%), that is, whether the average remaining weight of the load of A, B is greater than 20% (60%/3), one of A, B, C is selected according to the hash algorithm to return, and if the total weight is not sufficient, it is indicated that the TS server cannot be selected, and an alarm is given.
Thirdly, if the first geographic location and the second geographic location are the same operator across the large district, for example, the operator corresponding to the IP address of the network storage device is Guangdong Shenzhen telecom, the operator corresponding to the IP address of the terminal device is Beijing telecom, and the large district all belong to China telecom, the scheduling rule is as follows:
1) node TS server covering china telecommunications (covering south china telecommunications): TS server A, TS server B;
2) at this time, whether the total remaining weight of the load of A, B is greater than 40% (2 × 20%), that is, whether the average remaining weight of the load of A, B is greater than 20% (40%/4), one of A, B is selected according to the hash algorithm, and in the case where the total weight is insufficient, it is indicated that the TS server cannot be selected, and an alarm is given.
And if the first geographic location and the second geographic location are operators across provinces, for example, the operator corresponding to the IP address of the network storage device is Guangdong Shenzhen mobile, and the operator corresponding to the IP address of the terminal device is Guangdong Guangzhou telecommunication, the scheduling rule is as follows:
1) three-wire machine room node TS server covering Guangdong: TS server A, TS server B;
2) three-wire machine room node TS server covering south china (covering the guangdong): TS server C, TS server D;
3) three-wire machine room node TS server covering china (covering south china): a TS server E;
4) firstly, selecting a three-wire machine room TS server covering the Guangdong: A. b;
5) if the total weight of the load residuals of A, B is greater than 40% (2 x 20%), i.e. the average weight of the load residuals of A, B is greater than 20% (40%/2), then one of A, B is selected according to a hashing algorithm;
6) if the total load remaining weight of A, B is less than or equal to 40% (2 x 20%), that is, the average load remaining weight of A, B is less than or equal to 20%, adding the three-wire machine room node TS server into a candidate list, where the current scheduling list is: A. b, C, D, respectively;
7) if the total weight of the load residuals of A, B, C, D is greater than 80% (4 x 20%), i.e. the average weight of the load residuals of A, B, C, D is greater than 20% (80%/4), then one of A, B, C, D is selected according to a hashing algorithm;
8) if the residual average weight of the load of A, B, C, D is less than or equal to 20%, adding a three-wire machine room node TS server into a list to be selected, wherein the current scheduling list is as follows: A. b, C, D, E, respectively;
9) at this time, whether the total weight of the load remaining at A, B, C, D, E is greater than 100% (5 × 20%), that is, whether the average weight of the load remaining at A, B, C, D, E is greater than 20% (100%/5), one of A, B, C, D, E is selected based on the hash, and in the case where the total weight is insufficient, it is indicated that the TS server cannot be selected, and an alarm is given.
And if the first geographic position and the second geographic position are trans-operators across provinces in the same region, for example, the operator corresponding to the IP address of the network storage device is Guangdong Shenzhen telecom, and the operator corresponding to the IP address of the terminal device is Fujian Xiamen Unicom, and both belong to the south China region, the scheduling rule is as follows:
1) three-wire machine room node TS server covering south china (covering the guangdong): TS server A, TS server B;
2) three-wire machine room node TS server covering china (covering south china): a TS server C;
3) firstly, selecting a three-wire machine room node TS server covering south China: A. b;
4) if the total weight of load remaining of A, B is greater than 40% (2 x 20%), i.e. the average weight of load remaining of A, B is greater than 20% (40%/2), then one of A, B is selected according to a hashing algorithm;
5) if the total load remaining weight of A, B is less than or equal to 40%, that is, the average load remaining weight of A, B is less than or equal to 20% (40%/2), adding the three-wire machine room node TS server into a candidate list, wherein the current scheduling list is: A. b, C, respectively;
6) at this time, whether the total remaining weight of the load of A, B, C is greater than 60% (3 × 20%), that is, whether the average remaining weight of the load of A, B is greater than 20% (60%/3), one of A, B, C is selected according to the hash algorithm to return, and if the total weight is not sufficient, it is indicated that the TS server cannot be selected, and an alarm is given.
Sixth, if the first geographic location and the second geographic location are different operators across the large region, for example, the operator corresponding to the IP address of the network storage device is Guangdong Shenzhen telecom, the operator corresponding to the IP address of the terminal device is Beijing Unicom, and the operator also spans the large region, the scheduling rule is as follows:
1) three-wire machine room node TS server covering china (covering south china): TS server A, TS server B;
2) at this time, whether the total remaining weight of the load of A, B is greater than 40% (2 × 20%), that is, whether the average remaining weight of the load of A, B is greater than 20% (40%/4), one of A, B is selected according to the hash algorithm, and in the case where the total weight is insufficient, it is indicated that the TS server cannot be selected, and an alarm is given.
By the above example, the optimal TS server is reasonably scheduled in different operators and different geographic areas, so that scheduling is efficient and reasonable.
According to the TS server scheduling method provided by the embodiment of the invention, the optimal TS server is reasonably scheduled in different operators and different geographical areas, so that the network storage device and the terminal device can communicate more quickly and conveniently, and the user experience of a terminal client is improved.
Referring to fig. 4, fig. 4 shows a block diagram of an embodiment of a scheduling apparatus suitable for implementing an embodiment of the present invention.
The scheduling apparatus includes: a processor (processor)41, a memory (memory)42, a communication Interface (Communications Interface)43, and a bus 44; wherein:
the processor 41, the memory 42 and the communication interface 43 complete mutual communication through the bus 44;
the communication interface 43 is used for information transmission between other devices.
The processor 41 is configured to call a computer program in the memory 42 to execute the TS server scheduling method provided in the foregoing method embodiment, and specifically includes:
acquiring a first network operator of a network where a network storage device is located and a first geographical position where the first network operator is located;
acquiring a second network operator of a network where terminal equipment is located and a second geographic position where the second network operator is located;
inquiring all TS servers in the first geographical position and the second geographical position, and calculating the average weight of the residual load of all the TS servers;
and when the average weight of the residual load exceeds a first threshold value, selecting the optimal TS server according to a hash algorithm.
Further, the processor 41 is configured to call a computer program in the memory 42 to execute the TS server scheduling provided by the foregoing method embodiment, and specifically includes:
and judging whether the first operator and the second operator are the same operator.
Further, the processor 41 is configured to invoke a computer program in the memory 42 to execute the method provided by the foregoing method embodiment, when the first operator and the second operator are the same operator, the querying all TS servers in the first geographic location and the second geographic location, and calculating an average remaining load weight of all TS servers, and when the average remaining load weight exceeds a first threshold, selecting an optimal TS server according to a hash algorithm, specifically including:
inquiring the position relation between the first geographical position and the second geographical position;
when the first geographical position and the second geographical position belong to the same geographical area, inquiring all TS servers covering the same operator in the same geographical area, and calculating the average weight of the residual load of all TS servers;
and when the average weight of the residual load exceeds the first threshold value, selecting the optimal TS server according to a hash algorithm.
Further, the processor 41 is configured to call a computer program in the memory 42 to execute the TS server scheduling method provided in the foregoing method embodiment, and specifically further includes:
when the average weight of the residual load does not exceed the first threshold value, inquiring all TS servers covering the same operator in the upper-level area of the same geographic area;
judging whether the average weight of the residual load of all TS servers covering the same operator in the same geographic area and the upper-level area exceeds the first threshold value or not;
and when the average weight of the residual loads of all TS servers covering the same operator in the same geographic area and the upper-level area exceeds the first threshold value, selecting the optimal TS server according to a Hash algorithm.
Further, the processor 41 is configured to invoke the computer program in the memory 42 to execute the method provided by the foregoing method embodiment, when the first operator and the second operator are not the same operator, the querying all TS servers in the first geographic location and the second geographic location specifically includes:
and inquiring the position relation between the first geographical position and the second geographical position, and inquiring a TS server covering the first operator and the second operator in the first geographical position and the second geographical position.
Further, the processor 41 is configured to call a computer program in the memory 42 to execute the method provided by the foregoing method embodiment, when the first geographic location and the second geographic location are in the same geographic area, the calculating a remaining load average weight of all TS servers, and when the remaining load average weight exceeds a first threshold, selecting an optimal TS server according to a hash algorithm, specifically including:
judging whether the average weight of the residual load of TS servers covering the first operator and the second operator in the same geographic area at the same time exceeds the first threshold value;
and when the average weight of the residual load of the TS servers covering the first operator and the second operator in the same geographic area exceeds the first threshold value, selecting the optimal TS server according to a hash algorithm.
Further, the processor 41 is configured to call a computer program in the memory 42 to execute the TS server scheduling method provided in the foregoing method embodiment, and specifically further includes:
when the average weight of the residual load of the TS servers covering the first operator and the second operator in the same geographic area does not exceed the first threshold, inquiring all the TS servers covering the first operator and the second operator in the upper-level area of the same geographic area;
judging whether the average weight of the residual load of the TS servers covering the first operator and the TS servers covering the second operator simultaneously in the same geographic area and the upper-level area of the same geographic area exceeds the first threshold value or not;
and when the average weight of the residual loads of the TS servers of the first operator and the TS servers of the second operator which are simultaneously covered by the same geographic area and the upper-level area of the same geographic area exceeds the first threshold value, selecting the optimal TS server according to a hash algorithm.
Further, the processor 41 is configured to call a computer program in the memory 42 to execute the method for selecting an optimal TS server according to the hash algorithm, which includes:
mapping the percentage of the average weight of the residual load of the alternative TS server to the total weight of the load into a hash value;
and comparing the hash value of the alternative TS server with a set value, and selecting the alternative TS server with the smallest difference between the hash value and the set value as the optimal TS server.
Further, the processor 41 is configured to call a computer program in the memory 42 to execute the TS server scheduling method provided in the foregoing method embodiment, and specifically further includes:
the factors influencing the average weight of the residual load comprise network card capacity, CPU occupancy rate and memory utilization rate.
The scheduling device provided by the embodiment of the invention reasonably schedules the optimal TS server in different operators and different geographic areas, so that the network storage device and the terminal device can communicate more quickly and conveniently, and the user experience of terminal customers is improved.
In addition, an embodiment of the present invention further provides a storage medium, where a TS server scheduler is stored on the storage medium, and when executed by a processor, the TS server scheduler implements the following operations:
acquiring a first network operator of a network where a network storage device is located and a first geographical position where the first network operator is located;
acquiring a second network operator of a network where terminal equipment is located and a second geographic position where the second network operator is located;
inquiring all TS servers in the first geographical position and the second geographical position, and calculating the average weight of the residual load of all the TS servers;
and when the average weight of the residual load exceeds a first threshold value, selecting the optimal TS server according to a hash algorithm.
Further, the TS server scheduler, when executed by the processor, further performs the following operations:
and judging whether the first operator and the second operator are the same operator.
Further, the TS server scheduler, when executed by the processor, further performs the following operations:
inquiring the position relation between the first geographical position and the second geographical position;
when the first geographical position and the second geographical position belong to the same geographical area, inquiring all TS servers covering the same operator in the same geographical area, and calculating the average weight of the residual load of all TS servers;
and when the average weight of the residual load exceeds the first threshold value, selecting the optimal TS server according to a hash algorithm.
Further, the TS server scheduler, when executed by the processor, further performs the following operations:
when the average weight of the residual load does not exceed the first threshold value, inquiring all TS servers covering the same operator in the upper-level area of the same geographic area;
judging whether the average weight of the residual load of all TS servers covering the same operator in the same geographic area and the upper-level area exceeds the first threshold value or not;
and when the average weight of the residual loads of all TS servers covering the same operator in the same geographic area and the upper-level area exceeds the first threshold value, selecting the optimal TS server according to a Hash algorithm.
Further, the TS server scheduler, when executed by the processor, further performs the following operations:
and inquiring the position relation between the first geographical position and the second geographical position, and inquiring a TS server covering the first operator and the second operator in the first geographical position and the second geographical position.
Further, the TS server scheduler, when executed by the processor, further performs the following operations:
judging whether the average weight of the residual load of TS servers covering the first operator and the second operator in the same geographic area at the same time exceeds the first threshold value;
and when the average weight of the residual load of the TS servers covering the first operator and the second operator in the same geographic area exceeds the first threshold value, selecting the optimal TS server according to a hash algorithm.
Further, the TS server scheduler, when executed by the processor, further performs the following operations:
when the average weight of the residual load of the TS servers covering the first operator and the second operator in the same geographic area does not exceed the first threshold, inquiring all the TS servers covering the first operator and the second operator in the upper-level area of the same geographic area;
judging whether the average weight of the residual load of the TS servers covering the first operator and the TS servers covering the second operator simultaneously in the same geographic area and the upper-level area of the same geographic area exceeds the first threshold value or not;
and when the average weight of the residual loads of the TS servers of the first operator and the TS servers of the second operator which are simultaneously covered by the same geographic area and the upper-level area of the same geographic area exceeds the first threshold value, selecting the optimal TS server according to a hash algorithm.
Further, the TS server scheduler, when executed by the processor, further performs the following operations:
mapping the percentage of the average weight of the residual load of the alternative TS server to the total weight of the load into a hash value;
and comparing the hash value of the alternative TS server with a set value, and selecting the alternative TS server with the smallest difference between the hash value and the set value as the optimal TS server.
Further, the TS server scheduler, when executed by the processor, further performs the following operations:
the factors influencing the average weight of the residual load comprise network card capacity, CPU occupancy rate and memory utilization rate.
The storage medium provided by the embodiment of the invention reasonably schedules the optimal TS server in different operators and different geographic areas, so that the network storage equipment and the terminal equipment can communicate more quickly and conveniently, and the user experience of terminal customers is improved.
With the development of technology, the propagation path of computer programs is no longer limited to tangible media, and the computer programs can be directly downloaded from a network or acquired by other methods. Accordingly, the computer-readable medium in the present embodiment may include not only tangible media but also intangible media.
The computer storage media of the present embodiments may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, the functional units in the embodiments of the present invention may be integrated into one processing unit, or may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the method according to the embodiment of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, etc. that can store program codes.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.

Claims (9)

1.一种TS服务器调度方法,其特征在于,所述方法包括:1. A TS server scheduling method, wherein the method comprises: 获取网络存储设备所处网络的第一运营商以及所述第一运营商所处的第一地理位置;Obtain a first operator of the network where the network storage device is located and a first geographic location where the first operator is located; 获取终端设备所处网络的第二运营商以及所述第二运营商所处的第二地理位置;acquiring the second operator of the network where the terminal device is located and the second geographic location where the second operator is located; 查询所述第一地理位置以及所述第二地理位置内所有TS服务器,并计算所述所有TS服务器的剩余负载平均权重;querying all TS servers in the first geographic location and the second geographic location, and calculating the remaining load average weight of all TS servers; 当所述第一运营商与所述第二运营商为同一运营商时,查询所述第一地理位置与所述第二地理位置的位置关系;When the first operator and the second operator are the same operator, query the location relationship between the first geographic location and the second geographic location; 当所述第一地理位置与所述第二地理位置属于同一地理区域时,查询所述同一地理区域内覆盖所述同一运营商的所有TS服务器,并计算所述所有TS服务器的剩余负载平均权重;When the first geographic location and the second geographic location belong to the same geographic area, query all TS servers covering the same operator in the same geographic area, and calculate the remaining load average weight of all the TS servers ; 当所述剩余负载平均权重超过第一阈值时,根据哈希算法选择最佳TS服务器;所述根据哈希算法选择最佳TS服务器,具体包括:When the average weight of the remaining load exceeds the first threshold, the optimal TS server is selected according to the hash algorithm; the selection of the optimal TS server according to the hash algorithm specifically includes: 将备选TS服务器的剩余负载平均权重占负载总权重的百分比映射成哈希值;Mapping the percentage of the average weight of the remaining load of the candidate TS server to the total weight of the load into a hash value; 将所述备选TS服务器的哈希值与一设定值进行比较,选择哈希值与所述设定值的差值最小的备选TS服务器作为最佳TS服务器。The hash value of the candidate TS server is compared with a set value, and the candidate TS server with the smallest difference between the hash value and the set value is selected as the best TS server. 2.根据权利要求1所述的一种TS服务器调度方法,其特征在于,所述方法还包括:2. The method for scheduling a TS server according to claim 1, wherein the method further comprises: 判断所述第一运营商与所述第二运营商是否为同一运营商。Determine whether the first operator and the second operator are the same operator. 3.根据权利要求2所述的一种TS服务器调度方法,其特征在于,所述方法还包括:3. A TS server scheduling method according to claim 2, wherein the method further comprises: 当所述剩余负载平均权重不超过所述第一阈值时,则查询所述同一地理区域的上一级区域的覆盖所述同一运营商的所有TS服务器;When the remaining load average weight does not exceed the first threshold, query all TS servers covering the same operator in the upper-level area of the same geographic area; 判断所述同一地理区域以及所述上一级区域的覆盖所述同一运营商的所有TS服务器的剩余负载平均权重是否超过所述第一阈值;Determine whether the remaining load average weights of all TS servers covering the same operator in the same geographical area and the upper-level area exceed the first threshold; 当所述同一地理区域以及所述上一级区域的覆盖所述同一运营商的所有TS服务器的剩余负载平均权重超过所述第一阈值时,根据哈希算法选择最佳TS服务器。When the remaining load average weights of all TS servers covering the same operator in the same geographic area and the upper-level area exceed the first threshold, the optimal TS server is selected according to a hashing algorithm. 4.根据权利要求2所述的一种TS服务器调度方法,其特征在于,当所述第一运营商与所述第二运营商不为同一运营商时,所述查询所述第一地理位置以及所述第二地理位置内所有TS服务器,具体包括:4 . The method for scheduling a TS server according to claim 2 , wherein when the first operator and the second operator are not the same operator, the querying the first geographic location is performed. 5 . and all TS servers in the second geographic location, specifically including: 查询所述第一地理位置与所述第二地理位置的位置关系,并查询所述第一地理位置以及所述第二地理位置内同时覆盖所述第一运营商与所述第二运营商的TS服务器。Query the location relationship between the first geographic location and the second geographic location, and query the first geographic location and the second geographic location covering both the first operator and the second operator. TS server. 5.根据权利要求4所述的一种TS服务器调度方法,其特征在于,当所述第一地理位置与所述第二地理位置为同一地理区域时,所述计算所述所有TS服务器的剩余负载平均权重,并当所述剩余负载平均权重超过第一阈值时,根据哈希算法选择最佳TS服务器,具体包括:5 . The method for scheduling TS servers according to claim 4 , wherein when the first geographic location and the second geographic location are in the same geographic area, the calculation of the remainder of all TS servers is performed. 6 . load average weight, and when the remaining load average weight exceeds the first threshold, select the best TS server according to the hash algorithm, specifically including: 判断所述同一地理区域内同时覆盖所述第一运营商与所述第二运营商的TS服务器的剩余负载平均权重是否超过所述第一阈值;judging whether the remaining load average weight of the TS servers covering both the first operator and the second operator in the same geographical area exceeds the first threshold; 当所述同一地理区域内同时覆盖所述第一运营商与所述第二运营商的TS服务器的剩余负载平均权重超过所述第一阈值时,根据哈希算法选择最佳TS服务器。When the remaining load average weight of the TS servers covering both the first operator and the second operator in the same geographic area exceeds the first threshold, the optimal TS server is selected according to a hash algorithm. 6.根据权利要求5所述的一种TS服务器调度方法,其特征在于,所述方法还包括:6. A TS server scheduling method according to claim 5, wherein the method further comprises: 当所述同一地理区域内同时覆盖所述第一运营商与所述第二运营商的TS服务器的剩余负载平均权重不超过所述第一阈值,则查询所述同一地理区域的上一级区域的覆盖所述第一运营商与所述第二运营商的所有TS服务器;When the remaining load average weight of the TS servers covering both the first operator and the second operator in the same geographic area does not exceed the first threshold, query the upper-level area of the same geographic area covering all TS servers of the first operator and the second operator; 判断所述同一地理区域以及所述上一级区域同时覆盖所述第一运营商与所述第二运营商的TS服务器的剩余负载平均权重是否超过所述第一阈值;judging whether the remaining load average weight of the TS servers of the first operator and the second operator simultaneously covering the same geographical area and the upper-level area exceeds the first threshold; 当所述同一地理区域以及所述上一级区域同时覆盖所述第一运营商与所述第二运营商的TS服务器的剩余负载平均权重超过所述第一阈值时,根据哈希算法选择最佳TS服务器。When the remaining load average weights of the TS servers of the first operator and the second operator simultaneously covering the same geographic area and the upper-level area exceed the first threshold, select the highest Best TS server. 7.根据权利要求1-6任一项所述的一种TS服务器调度方法,其特征在于,影响剩余负载平均权重的因素包括网卡能力、CPU占用率以及内存使用率。7 . The method for scheduling a TS server according to claim 1 , wherein the factors affecting the average weight of the remaining load include network card capability, CPU occupancy rate, and memory utilization rate. 8 . 8.一种调度设备,其特征在于,所述调度设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的TS服务器调度程序,所述TS服务器调度程序被所述处理器执行时实现如权利要求1至7中任一项所述的TS服务器调度方法的步骤。8. A scheduling device, characterized in that the scheduling device comprises: a memory, a processor, and a TS server scheduler stored on the memory and executable on the processor, the TS server scheduler being The processor implements the steps of the TS server scheduling method according to any one of claims 1 to 7 when executed. 9.一种存储介质,其特征在于,所述存储介质上存储有TS服务器调度程序,所述TS服务器调度程序被处理器执行时实现如权利要求1至7中任一项所述的TS服务器调度方法的步骤。9. A storage medium, wherein a TS server scheduler is stored on the storage medium, and when the TS server scheduler is executed by a processor, the TS server according to any one of claims 1 to 7 is implemented The steps of the scheduling method.
CN201810265508.2A 2018-03-28 2018-03-28 TS server scheduling method, scheduling device and storage medium Active CN108366133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810265508.2A CN108366133B (en) 2018-03-28 2018-03-28 TS server scheduling method, scheduling device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810265508.2A CN108366133B (en) 2018-03-28 2018-03-28 TS server scheduling method, scheduling device and storage medium

Publications (2)

Publication Number Publication Date
CN108366133A CN108366133A (en) 2018-08-03
CN108366133B true CN108366133B (en) 2022-02-22

Family

ID=63001851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810265508.2A Active CN108366133B (en) 2018-03-28 2018-03-28 TS server scheduling method, scheduling device and storage medium

Country Status (1)

Country Link
CN (1) CN108366133B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112947843A (en) * 2019-12-10 2021-06-11 北京金山云网络技术有限公司 Configuration and scheduling method and device of storage system and electronic equipment
CN111010453B (en) * 2019-12-29 2022-05-24 中建材信息技术股份有限公司 Service request processing method, system, electronic device and computer readable medium
CN115225507B (en) * 2022-07-21 2024-03-08 天翼云科技有限公司 Server group resource allocation method, device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625287A (en) * 2011-09-09 2012-08-01 威海捷讯通信技术有限公司 Method for downloading mobile phone application software
CN103347282A (en) * 2013-07-23 2013-10-09 中国联合网络通信有限公司海南省分公司 P-CSCF distribution method based on geographical position and load balancing
CN104780184A (en) * 2014-01-09 2015-07-15 华耀(中国)科技有限公司 A Method of Using Geographical Location Information for Load Balancing
CN105812408A (en) * 2014-10-21 2016-07-27 三星Sds株式会社 Global server load balancing device and caching validity period control method thereof
CN106023690A (en) * 2016-07-18 2016-10-12 �田�浩 Learning aid system
CN107635015A (en) * 2017-10-25 2018-01-26 深圳市和讯华谷信息技术有限公司 The optimal route selection system and method that mobile terminal links with server end

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6584498B2 (en) * 1996-09-13 2003-06-24 Planet Web, Inc. Dynamic preloading of web pages
CN106100993B (en) * 2016-06-13 2019-05-14 北京容联易通信息技术有限公司 A kind of optimal route distribution method of Streaming Media

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625287A (en) * 2011-09-09 2012-08-01 威海捷讯通信技术有限公司 Method for downloading mobile phone application software
CN103347282A (en) * 2013-07-23 2013-10-09 中国联合网络通信有限公司海南省分公司 P-CSCF distribution method based on geographical position and load balancing
CN104780184A (en) * 2014-01-09 2015-07-15 华耀(中国)科技有限公司 A Method of Using Geographical Location Information for Load Balancing
CN105812408A (en) * 2014-10-21 2016-07-27 三星Sds株式会社 Global server load balancing device and caching validity period control method thereof
CN106023690A (en) * 2016-07-18 2016-10-12 �田�浩 Learning aid system
CN107635015A (en) * 2017-10-25 2018-01-26 深圳市和讯华谷信息技术有限公司 The optimal route selection system and method that mobile terminal links with server end

Also Published As

Publication number Publication date
CN108366133A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
KR102513998B1 (en) Communication methods and devices, entities and computer readable storage media
CN108776934B (en) Distributed data calculation method and device, computer equipment and readable storage medium
CN111478857B (en) Interface current limiting control method and device and electronic equipment
CN108781229A (en) Control the method and server of the reorientation of MEC applications
CN105408863A (en) Endpoint datacenters with different tenant sets
WO2019012735A1 (en) Ran slice resource management device and ran slice resource management method
CN108366133B (en) TS server scheduling method, scheduling device and storage medium
CN105791254B (en) Network request processing method and device and terminal
CN110213620B (en) Bandwidth allocation method and device
US9935965B2 (en) Establishing and using a trust level in mobile phones
WO2014194704A1 (en) A grouping processing method and system
CN103595736B (en) Access request treating method and apparatus in video monitoring system
EP3310093B1 (en) Traffic control method and apparatus
RU2651159C1 (en) Method and device for marking unknown number
CN111885184A (en) Method and device for processing hot spot access keywords in high concurrency scene
CN114095567A (en) Data access request processing method and device, computer equipment and medium
KR102860324B1 (en) Resource scheduling method and system, electronic device, and computer-readable storage medium
US20160269297A1 (en) Scaling the LTE Control Plane for Future Mobile Access
CN110808857A (en) Network intercommunication method, device, equipment and storage medium for realizing Kubernetes cluster
JP2020025210A (en) Resource allocation device and resource allocation method
CN105429900B (en) A kind of method, apparatus and system of bandwidth speed-raising
CN108595574B (en) Database cluster connection method, device, equipment and storage medium
CN114579185B (en) Method, electronic device and computer program product for migrating applications
GB2505749A (en) Coexistence management system for measuring channel information between spectrum sharing devices and method thereof
CN113873052B (en) Domain name resolution method, device and equipment of Kubernetes cluster

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