WO2021184589A1 - Flow scheduling method and device, server, and storage medium - Google Patents

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

Info

Publication number
WO2021184589A1
WO2021184589A1 PCT/CN2020/099315 CN2020099315W WO2021184589A1 WO 2021184589 A1 WO2021184589 A1 WO 2021184589A1 CN 2020099315 W CN2020099315 W CN 2020099315W WO 2021184589 A1 WO2021184589 A1 WO 2021184589A1
Authority
WO
WIPO (PCT)
Prior art keywords
server node
traffic
node
area
scheduling
Prior art date
Application number
PCT/CN2020/099315
Other languages
French (fr)
Chinese (zh)
Inventor
张毅
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021184589A1 publication Critical patent/WO2021184589A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2407Monitoring of transmitted content, e.g. distribution time, number of downloads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints

Definitions

  • This application relates to the field of artificial intelligence technology, and in particular to a traffic scheduling method, device, server, and storage medium.
  • CDN Content Delivery Network
  • the first aspect of the present application provides a traffic scheduling method, the method includes:
  • the traffic of the target server node is greater than the preset traffic threshold, determine a first area and determine a second area, where the first area is the geographic area to which the target server node belongs, and the second area is the target The geographic area to which the server node’s traffic belongs;
  • the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic, determining link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node;
  • a second aspect of the present application provides a server including a processor and a memory, and the processor is configured to execute computer-readable instructions stored in the memory to implement the following steps:
  • the traffic of the target server node is greater than the preset traffic threshold, determine a first area and determine a second area, where the first area is the geographic area to which the target server node belongs, and the second area is the target The geographic area to which the server node’s traffic belongs;
  • the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic, determining link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node;
  • a third aspect of the present application provides a computer-readable storage medium having at least one computer-readable instruction stored thereon, and the at least one computer-readable instruction is executed by a processor to implement the following steps:
  • the traffic of the target server node is greater than the preset traffic threshold, determine a first area and determine a second area, where the first area is the geographic area to which the target server node belongs, and the second area is the target The geographic area to which the server node’s traffic belongs;
  • the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic, determining link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node;
  • a fourth aspect of the present application provides a traffic scheduling device, the device including:
  • the determining module is configured to determine a first area and a second area when the traffic of the target server node is greater than a preset traffic threshold, where the first area is the geographic area to which the target server node belongs, and the second The area is the geographic area to which the traffic of the target server node belongs;
  • the determining module is further configured to, if there is a third area other than the first area in the second area, according to the distance between the first area and the third area and the target server The preset scheduling flow threshold of the node, and determining the flow to be scheduled from the flow of the target server node;
  • the determining module is further configured to determine the first scheduling server node according to the to-be-scheduled traffic
  • the determining module is further configured to determine links of server nodes other than the first scheduling server node and the target server node if the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic Quality score and node attribute information;
  • the determining module is further configured to determine a second scheduling server node according to the link quality score and the node attribute information
  • the scheduling module is configured to schedule the traffic to be scheduled to the first scheduling server node and the second scheduling server node.
  • the traffic to be scheduled can be determined, and the traffic to be scheduled can be scheduled to the first scheduling server node to slow down the current server node.
  • Fig. 1 is a flowchart of a preferred embodiment of a traffic scheduling method disclosed in the present application.
  • Fig. 2 is a functional module diagram of a preferred embodiment of a traffic scheduling device disclosed in the present application.
  • FIG. 3 is a schematic diagram of the structure of a server in a preferred embodiment of the traffic scheduling method according to the present application.
  • the traffic scheduling method of the embodiment of the present application is applied to a server, and can also be applied to a hardware environment formed by a server and an electronic device connected to the server through a network, and is executed by the server and the electronic device.
  • Networks include, but are not limited to: wide area networks, metropolitan area networks, or local area networks.
  • FIG. 1 is a flowchart of a preferred embodiment of a traffic scheduling method disclosed in the present application. Among them, according to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
  • the server determines a first area and determines a second area, where the first area is the geographic area to which the target server node belongs, and the second area is The geographic area to which the traffic of the target server node belongs.
  • a maximum traffic threshold can be preset, such as 95% of the bandwidth value purchased for the server node, when there is an average of server nodes (target server nodes) within a preset time range (for example, 10 minutes)
  • a preset time range for example, 10 minutes
  • the traffic of the server node needs to be scheduled, that is, part of the traffic is transferred to other server nodes to determine which server node’s traffic belongs to.
  • Geographical area the second area, such as Guangdong, Guangxi, etc.).
  • the server will schedule according to the distance between the first area and the third area and the preset schedule of the target server node.
  • the flow threshold is used to determine the flow to be scheduled from the flow of the target server node.
  • the preset scheduling flow threshold is a preset flow threshold, such as 30% of the total flow of the server node.
  • 30% of the flow of the server node can be scheduled.
  • the geographic area to which the target server node belongs is Beijing
  • the geographic area to which the traffic of the target server node belongs The second region
  • the second region includes Guangdong, Guangxi, and Beijing, that is, the target server node has access traffic from users in Guangdong, Guangxi, and Beijing (that is, there are access requests from users in Guangdong, Guangxi, and Beijing), which can be considered as the second
  • a third area (Guangdong and Guangxi) in addition to the first area in the area.
  • the geographic region to which the target server node belongs is Beijing
  • the geographic region to which the traffic of the target server node belongs is Beijing, it can be considered that there is no third region other than the first region in the second region.
  • the scheduling flow threshold in addition to determining how much traffic needs to be transferred based on the scheduling flow threshold, it is also necessary to determine which part of the traffic to transfer based on the distance between the first area and each third area, and priority can be given to the distance from the first area. For example, if the distance between Guangxi and Beijing is farther than the distance between Guangdong and Beijing, the traffic from Guangxi will be transferred away first. Therefore, it is necessary to determine the to-be-scheduled traffic of the server node and the fourth area to which the to-be-scheduled traffic belongs.
  • the server determines the first scheduling server node according to the traffic to be scheduled.
  • the determining the first scheduling server node according to the to-be-scheduled traffic includes:
  • the server node in the fourth area is determined as the first scheduling server node.
  • the server determines link quality scores and node attributes of server nodes other than the first scheduling server node and the target server node information.
  • the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic. If the receivable traffic of the first scheduling server node is greater than or equal to the to-be-scheduled traffic, the to-be-scheduled traffic can be The scheduling traffic is scheduled to the first scheduling server node. If the receivable traffic of the first scheduling server node is less than the traffic to be scheduled, link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node may be determined.
  • the determining the link quality scores of server nodes other than the first scheduling server node and the target server node includes:
  • a normalization operation is performed on the response time and the download speed to obtain the link quality score of the network from the first server node to the fourth area.
  • the determining the response time and the download speed for the first server node to access the network of the fourth area includes:
  • the Internet packet explorer is a program used to test the network connection. It can use the uniqueness of the IP address of the machine on the network to send a data packet to the target IP address, and then ask the other party to return a data of the same size Package to determine whether two network machines are connected and what is the delay.
  • Agent refers to a software or hardware entity capable of autonomous activities.
  • the agent deployed on the server node can be used to ping the main route of the network in the fourth area to obtain the response time, and the server node can be obtained through historical access log data.
  • the download traffic and download time of accessing the network in the fourth area are calculated to obtain the download speed.
  • the preset weight includes a response weight and a download weight
  • the response time and download speed are normalized according to the preset weight to obtain the information from the first server node to the fourth area.
  • the link quality score of the network includes:
  • normalization is an algorithm proposed for the convenience of data processing and mapping data to a range of 0 to 1.
  • the response time of the first server node's access to the network in the fourth area can be multiplied by the response weight to obtain the response value
  • the download speed of the first server node's access to the network in the fourth area can be multiplied by Download the weight to obtain the download value, because the smaller the response time value, the better the service quality provided by the server node.
  • the larger the download speed value the better the service quality provided by the server node. Therefore, the response value is used as the denominator, and the download value is used as the The numerator, the larger the ratio of the response value to the download value, the larger the corresponding link quality score, and the better the service quality provided by the server node.
  • the server determines a second scheduling server node according to the link quality score and the node attribute information.
  • the first scheduling server node because the first scheduling server node cannot receive all the to-be-scheduled traffic, it needs to find other server nodes to receive the remaining to-be-scheduled traffic.
  • the node attribute information includes real-time availability status, real-time traffic percentage, operator, traffic cost, and traffic growth rate.
  • determining the second scheduling server node includes :
  • the node with the first arrangement order is determined as the second scheduling server node.
  • all first server nodes can be sorted according to their corresponding link quality scores from large to small to obtain the first queue, and according to the real-time availability status and real-time traffic percentage of the first server node , The operator and the traffic growth rate, determine the first server node that is not suitable for traffic scheduling, that is, the second server node, and delete the second server node in the first queue to obtain the second queue, and then consider the traffic cost in combination. Select the top-ranked server node to be scheduled from the second queue for traffic scheduling. The first server node can be selected. The server node to be scheduled for traffic scheduling has a higher link quality score, that is, the server node to be scheduled. The quality of services provided is high.
  • the first server node that is not suitable for scheduling is determined from the first server node.
  • the second server node includes:
  • the real-time available state of the node is a preset state, judging whether the real-time traffic percentage of the node is less than a preset percentage threshold;
  • the operator of the node is a preset operator, determine the traffic growth rate of the node within the preset time range according to the log file of the node;
  • the node is determined as a second server node that is not suitable for scheduling.
  • the node if the real-time availability status of a node indicates that the node is not operating normally, the node is considered to be a second server node that is not suitable for scheduling; if the real-time traffic percentage of the first server node is greater than or equal to the percentage Threshold (for example, the server node has purchased 90% of the bandwidth), the service pressure of the server node is relatively high, and it is not suitable for scheduling; if the operator of the first server node is not the preset operator, it is not suitable for receiving the traffic to be scheduled Scheduling; the log file of the first server node can be used to determine the traffic growth rate of the first server node in the most recent period.
  • Threshold for example, the server node has purchased 90% of the bandwidth
  • the service pressure of the first server node will increase quickly. It is unable to continue to provide good quality services and is not suitable for scheduling.
  • the first server node that is, the second server node
  • the server schedules the traffic to be scheduled to the first scheduling server node and the second scheduling server node.
  • the traffic to be scheduled needs to be divided into two parts for scheduling, and a part of the scheduled traffic is scheduled to the first scheduling server node , And scheduling another part of the traffic to be scheduled to the second scheduling server node. That is, the to-be-scheduled traffic can be scheduled to the currently most suitable server node, which can improve the service quality of the server node.
  • the traffic to be scheduled can be determined, and the traffic to be scheduled can be scheduled to the first scheduling server node to slow down the current server.
  • the service pressure of the node can improve the service quality, and the link quality scores of other server nodes can be calculated, and then the appropriate server node (second scheduling server node) can be determined according to the link quality score and the server node attribute information of other server nodes.
  • Part of the traffic is dispatched to these server nodes, and a suitable server node is found to share part of the service pressure, so that the service pressure of the current server node is reduced, and the service quality of the server node is improved.
  • FIG. 2 is a functional module diagram of a preferred embodiment of a traffic scheduling device disclosed in the present application.
  • the traffic scheduling device runs in a server.
  • the traffic scheduling device may include multiple functional modules composed of program code segments, and the program is a series of computer-readable instruction codes.
  • the program code of each program segment in the flow scheduling device may be stored in a memory and executed by at least one processor to execute part or all of the steps in the flow scheduling method described in FIG. 1. For details, refer to FIG. 1. The related description in the method will not be repeated here.
  • the traffic scheduling device can be divided into multiple functional modules according to the functions it performs.
  • the functional modules may include: a determining module 201 and a scheduling module 202.
  • the module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, and are stored in a memory.
  • the determining module 201 is configured to determine a first area and a second area when the traffic of the target server node is greater than a preset traffic threshold, wherein the first area is the geographic area to which the target server node belongs, and the first area is the geographic area to which the target server node belongs. The second area is the geographic area to which the traffic of the target server node belongs.
  • a maximum traffic threshold can be preset, such as 95% of the bandwidth value purchased for the server node, when there is an average of server nodes (target server nodes) within a preset time range (for example, 10 minutes)
  • a preset time range for example, 10 minutes
  • the traffic of the server node needs to be scheduled, that is, part of the traffic is transferred to other server nodes to determine which server node’s traffic belongs to.
  • Geographical area the second area, such as Guangdong, Guangxi, etc.).
  • the determining module 201 is further configured to: if there is a third area other than the first area in the second area, according to the distance between the first area and the third area and the target The preset scheduling flow threshold of the server node determines the flow to be scheduled from the flow of the target server node.
  • the preset scheduling flow threshold is a preset flow threshold, such as 30% of the total flow of the server node.
  • 30% of the flow of the server node can be scheduled.
  • the geographic area to which the target server node belongs is Beijing
  • the geographic area to which the traffic of the target server node belongs The second region
  • the second region includes Guangdong, Guangxi, and Beijing, that is, the target server node has access traffic from users in Guangdong, Guangxi, and Beijing (that is, there are access requests from users in Guangdong, Guangxi, and Beijing), which can be considered as the second
  • a third area (Guangdong and Guangxi) in addition to the first area in the area.
  • the geographic region to which the target server node belongs is Beijing
  • the geographic region to which the traffic of the target server node belongs is Beijing, it can be considered that there is no third region other than the first region in the second region.
  • the scheduling flow threshold in addition to determining how much traffic needs to be transferred based on the scheduling flow threshold, it is also necessary to determine which part of the traffic to transfer based on the distance between the first area and each third area, and priority can be given to the distance from the first area. For example, if the distance between Guangxi and Beijing is farther than the distance between Guangdong and Beijing, the traffic from Guangxi will be transferred away first. Therefore, it is necessary to determine the to-be-scheduled traffic of the server node and the fourth area to which the to-be-scheduled traffic belongs.
  • the determining module 201 is further configured to determine the first scheduling server node according to the traffic to be scheduled.
  • the determining module 201 is further configured to determine the chain of server nodes other than the first scheduling server node and the target server node if the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic. Road quality score and node attribute information.
  • the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic. If the receivable traffic of the first scheduling server node is greater than or equal to the to-be-scheduled traffic, the to-be-scheduled traffic can be The scheduling traffic is scheduled to the first scheduling server node. If the receivable traffic of the first dispatch server node is less than the traffic to be dispatched, link quality scores and node attribute information of server nodes other than the first dispatch server node and the target server node may be determined.
  • the determining module 201 is further configured to determine a second scheduling server node according to the link quality score and the node attribute information.
  • the first scheduling server node because the first scheduling server node cannot receive all the to-be-scheduled traffic, it needs to find other server nodes to receive the remaining to-be-scheduled traffic.
  • the scheduling module 202 is configured to schedule the traffic to be scheduled to the first scheduling server node and the second scheduling server node.
  • the to-be-scheduled traffic needs to be divided into two parts for scheduling, and a part of the scheduled traffic is scheduled to the first scheduling server node , And scheduling another part of the traffic to be scheduled to the second scheduling server node. That is, the to-be-scheduled traffic can be scheduled to the currently most suitable server node, which can improve the service quality of the server node.
  • the method for the determining module 201 to determine the first scheduling server node according to the to-be-scheduled traffic is specifically as follows:
  • the server node in the fourth area is determined as the first scheduling server node.
  • the method for the determining module 201 to determine the link quality scores of server nodes other than the first scheduling server node and the target server node is specifically as follows:
  • a normalization operation is performed on the response time and the download speed to obtain the link quality score of the network from the first server node to the fourth area.
  • the node attribute information includes real-time availability status, real-time traffic percentage, operator, traffic cost, and traffic growth rate.
  • the determining module 201 is based on the link quality score and the node attribute. Information, the method for determining the second scheduling server node is specifically:
  • the node with the first arrangement order is determined as the second scheduling server node.
  • all first server nodes can be sorted according to their corresponding link quality scores from large to small to obtain the first queue, and according to the real-time availability status and real-time traffic percentage of the first server node , The operator and the traffic growth rate, determine the first server node that is not suitable for traffic scheduling, that is, the second server node, and delete the second server node in the first queue to obtain the second queue, and then consider the traffic cost in combination. Select the top-ranked server node to be scheduled from the second queue for traffic scheduling. The first server node can be selected. The server node to be scheduled for traffic scheduling has a higher link quality score, that is, the server node to be scheduled. The quality of services provided is high.
  • the determining module 201 obtains data from the first server node according to the real-time availability status, the real-time traffic percentage, the operator, and the traffic growth rate.
  • the method for determining the second server node that is not suitable for scheduling among the server nodes is specifically as follows:
  • the real-time available state of the node is a preset state, judging whether the real-time traffic percentage of the node is less than a preset percentage threshold;
  • the operator of the node is a preset operator, determine the traffic growth rate of the node within the preset time range according to the log file of the node;
  • the node is determined as a second server node that is not suitable for scheduling.
  • the node if the real-time availability status of a node indicates that the node is not operating normally, the node is considered to be a second server node that is not suitable for scheduling; if the real-time traffic percentage of the first server node is greater than or equal to the percentage Threshold (for example, the server node has purchased 90% of the bandwidth), the service pressure of the server node is relatively high, and it is not suitable for scheduling; if the operator of the first server node is not the preset operator, it is not suitable for receiving the traffic to be scheduled Scheduling; the log file of the first server node can be used to determine the traffic growth rate of the first server node in the most recent period.
  • Threshold for example, the server node has purchased 90% of the bandwidth
  • the service pressure of the first server node will increase quickly. It is unable to continue to provide good quality services and is not suitable for scheduling.
  • the first server node that is, the second server node
  • the manner in which the determining module 201 determines the response time and download speed of the first server node to access the network in the fourth area is specifically as follows:
  • the Internet packet explorer is a program used to test the network connection. It can use the uniqueness of the IP address of the machine on the network to send a data packet to the target IP address, and then ask the other party to return a data of the same size Package to determine whether two network machines are connected and what is the delay.
  • Agent refers to a software or hardware entity capable of autonomous activities.
  • the agent deployed on the server node can be used to ping the main route of the network in the fourth area to obtain the response time, and the server node can be obtained through historical access log data.
  • the download traffic and download time of accessing the network in the fourth area are calculated to obtain the download speed.
  • the preset weight includes a response weight and a download weight
  • the determination module 201 performs a normalization operation on the response time and download speed according to the preset weight to obtain the first
  • normalization is an algorithm proposed for the convenience of data processing and mapping data to a range of 0 to 1.
  • the response time of the first server node's access to the network in the fourth area can be multiplied by the response weight to obtain the response value
  • the download speed of the first server node's access to the network in the fourth area can be multiplied by Download the weight to obtain the download value, because the smaller the response time value, the better the service quality provided by the server node.
  • the larger the download speed value the better the service quality provided by the server node. Therefore, the response value is used as the denominator, and the download value is used as the The numerator, the larger the ratio of the response value to the download value, the larger the corresponding link quality score, and the better the service quality provided by the server node.
  • the traffic scheduling device described in Figure 2 when the traffic suddenly increases, that is, when the traffic of the target server node is greater than the preset traffic threshold, the traffic to be scheduled can be determined, and the traffic to be scheduled can be scheduled to the first scheduling server node to slow down the current
  • the service pressure of the server node can improve the service quality.
  • Fig. 3 is a schematic structural diagram of a server in a preferred embodiment of the traffic scheduling method according to the present application.
  • the server 3 includes a memory 31, at least one processor 32, computer readable instructions 33 stored in the memory 31 and executable on the at least one processor 32, and at least one communication bus 34.
  • FIG. 3 is only an example of the server 3, and does not constitute a limitation on the server 3. It may include more or less components than those shown in the figure, or combine some Components, or different components, for example, the server 3 may also include input and output devices, network access devices, and so on.
  • the server 3 also includes, but is not limited to, any electronic product that can interact with the user through a keyboard, a mouse, a remote control, a touch panel, or a voice control device, for example, a personal computer, a tablet computer, a smart phone, and a personal computer.
  • Digital assistants Personal Digital Assistant, PDA
  • game consoles interactive network television (Internet Protocol Television, IPTV), smart wearable devices, etc.
  • the at least one processor 32 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application specific integrated circuits (ASICs). ), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the processor 32 can be a microprocessor or the processor 32 can also be any conventional processor, etc.
  • the processor 32 is the control center of the server 3, and connects each of the entire server 3 through various interfaces and lines. part.
  • the memory 31 may be used to store the computer-readable instructions 33 and/or modules/units, and the processor 32 can run or execute the computer-readable instructions and/or modules/units stored in the memory 31, and
  • the data stored in the memory 31 is called to realize various functions of the server 3.
  • the memory 31 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may The data etc. created in accordance with the use of the server 3 are stored.
  • the memory 31 may include volatile memory such as high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), and a secure digital ( Secure Digital, SD card, Flash Card, at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • volatile memory such as high-speed random access memory
  • non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), and a secure digital ( Secure Digital, SD card, Flash Card, at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), and a secure digital ( Secure Digital, SD card, Flash Card, at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage
  • the memory 31 in the server 3 stores multiple instructions to implement a traffic scheduling method, and the processor 32 can execute the multiple instructions to achieve:
  • the traffic of the target server node is greater than the preset traffic threshold, determine a first area and determine a second area, where the first area is the geographic area to which the target server node belongs, and the second area is the target The geographic area to which the server node’s traffic belongs;
  • the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic, determining link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node;
  • the traffic to be scheduled can be determined, and the traffic to be scheduled can be scheduled to the first scheduling server node to slow down the current server.
  • the service pressure of the node can improve the service quality, and the link quality scores of other server nodes can be calculated, and then the appropriate server node (second scheduling server node) can be determined according to the link quality score and the server node attribute information of other server nodes.
  • Part of the traffic is dispatched to these server nodes, and a suitable server node is found to share part of the service pressure, so that the service pressure of the current server node is reduced, and the service quality of the server node is improved.
  • the integrated modules/units of the server 3 When the integrated modules/units of the server 3 are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium, which may be non-volatile.
  • the storage medium can also be a volatile storage medium.
  • the computer-readable instruction includes computer-readable instruction code
  • the computer-readable instruction code may be in the form of source code, object code, executable file, or some intermediate form.
  • the computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory).
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional modules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application relates to the technical field of artificial intelligence, and provides a flow scheduling method, comprising: determining a first area and determining a second area; if there is a third area, then according to the distance between the first area and the third area and a preset scheduling flow threshold of a target server node, determining from a flow of the server node a flow to be scheduled; determining a first scheduling server node according to the flow to be scheduled; if the receivable flow of the first scheduling server node is smaller than the flow to be scheduled, then determining link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node; determining a second scheduling server node according to the link quality scores and the node attribute information; and scheduling the flow to be scheduled to the first scheduling server node and the second scheduling server node. The present application also provides a flow scheduling device, a server, and a storage medium. The present application can improve the quality of service of a server node.

Description

流量调度方法、装置、服务器及存储介质Traffic scheduling method, device, server and storage medium
本申请要求于2020年03月19日提交中国专利局,申请号为202010196010.2发明名称为“流量调度方法、装置、服务器及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on March 19, 2020. The application number is 202010196010.2. The title of the invention is "Traffic scheduling method, device, server and storage medium". The entire content is incorporated herein by reference. Applying.
技术领域Technical field
本申请涉及人工智能技术领域,尤其涉及一种流量调度方法、装置、服务器及存储介质。This application relates to the field of artificial intelligence technology, and in particular to a traffic scheduling method, device, server, and storage medium.
背景技术Background technique
目前,随着视频和其他内容流量的迅猛增长,使得负责内容传输的CDN(Content Delivery Network,内容分发网络)的重要性日益凸显,但发明人意识到,某个地区的服务器节点的流量会突然增加,使得该服务器节点的服务压力变大,一旦超出该服务器节点的流量承载范围,该服务器节点的服务质量会下降。At present, with the rapid growth of video and other content traffic, the importance of CDN (Content Delivery Network), which is responsible for content transmission, has become increasingly prominent. However, the inventor realized that the traffic of server nodes in a certain area will suddenly The increase will increase the service pressure of the server node. Once the traffic carrying range of the server node is exceeded, the service quality of the server node will decrease.
因此,如何提高服务器节点的服务质量是一个亟需解决的技术问题。Therefore, how to improve the service quality of server nodes is a technical problem that needs to be solved urgently.
发明内容Summary of the invention
鉴于以上内容,有必要提供一种流量调度方法、装置、服务器及存储介质,能够提高服务器节点的服务质量。In view of the above, it is necessary to provide a traffic scheduling method, device, server, and storage medium, which can improve the service quality of server nodes.
本申请的第一方面提供一种流量调度方法,所述方法包括:The first aspect of the present application provides a traffic scheduling method, the method includes:
当目标服务器节点的流量大于预设流量阈值时,确定第一区域以及确定第二区域,其中,所述第一区域是所述目标服务器节点所属的地理区域,所述第二区域是所述目标服务器节点的流量所属的地理区域;When the traffic of the target server node is greater than the preset traffic threshold, determine a first area and determine a second area, where the first area is the geographic area to which the target server node belongs, and the second area is the target The geographic area to which the server node’s traffic belongs;
若所述第二区域中存在除了所述第一区域之外的第三区域,根据所述第一区域与所述第三区域之间的距离以及所述目标服务器节点的预设调度流量阈值,从所述目标服务器节点的流量中确定待调度流量;If there is a third area other than the first area in the second area, according to the distance between the first area and the third area and the preset scheduling traffic threshold of the target server node, Determining the to-be-scheduled traffic from the traffic of the target server node;
根据所述待调度流量,确定第一调度服务器节点;Determine the first scheduling server node according to the to-be-scheduled traffic;
若所述第一调度服务器节点的可接收流量小于所述待调度流量,确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数以及节点属性信息;If the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic, determining link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node;
根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点;Determine a second scheduling server node according to the link quality score and the node attribute information;
将所述待调度流量调度至所述第一调度服务器节点以及所述第二调度服务器节点。Scheduling the to-be-scheduled traffic to the first scheduling server node and the second scheduling server node.
本申请的第二方面提供一种服务器,所述服务器包括处理器和存储器,所述处理器用于执行所述存储器中存储的计算机可读指令以实现以下步骤:A second aspect of the present application provides a server including a processor and a memory, and the processor is configured to execute computer-readable instructions stored in the memory to implement the following steps:
当目标服务器节点的流量大于预设流量阈值时,确定第一区域以及确定第二区域,其中,所述第一区域是所述目标服务器节点所属的地理区域,所述第二区域是所述目标服务器节点的流量所属的地理区域;When the traffic of the target server node is greater than the preset traffic threshold, determine a first area and determine a second area, where the first area is the geographic area to which the target server node belongs, and the second area is the target The geographic area to which the server node’s traffic belongs;
若所述第二区域中存在除了所述第一区域之外的第三区域,根据所述第一区域与所述第三区域之间的距离以及所述目标服务器节点的预设调度流量阈值,从所述目标服务器节点的流量中确定待调度流量;If there is a third area other than the first area in the second area, according to the distance between the first area and the third area and the preset scheduling traffic threshold of the target server node, Determining the to-be-scheduled traffic from the traffic of the target server node;
根据所述待调度流量,确定第一调度服务器节点;Determine the first scheduling server node according to the to-be-scheduled traffic;
若所述第一调度服务器节点的可接收流量小于所述待调度流量,确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数以及节点属性信息;If the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic, determining link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node;
根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点;Determine a second scheduling server node according to the link quality score and the node attribute information;
将所述待调度流量调度至所述第一调度服务器节点以及所述第二调度服务器节点。Scheduling the to-be-scheduled traffic to the first scheduling server node and the second scheduling server node.
本申请的第三方面提供一种计算机可读存储介质,所述计算机可读存储介质上存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行以实现以下步骤:A third aspect of the present application provides a computer-readable storage medium having at least one computer-readable instruction stored thereon, and the at least one computer-readable instruction is executed by a processor to implement the following steps:
当目标服务器节点的流量大于预设流量阈值时,确定第一区域以及确定第二区域,其中,所述第一区域是所述目标服务器节点所属的地理区域,所述第二区域是所述目标服务器节点的流量所属的地理区域;When the traffic of the target server node is greater than the preset traffic threshold, determine a first area and determine a second area, where the first area is the geographic area to which the target server node belongs, and the second area is the target The geographic area to which the server node’s traffic belongs;
若所述第二区域中存在除了所述第一区域之外的第三区域,根据所述第一区域与所述第三区域之间的距离以及所述目标服务器节点的预设调度流量阈值,从所述目标服务器节点的流量中确定待调度流量;If there is a third area other than the first area in the second area, according to the distance between the first area and the third area and the preset scheduling traffic threshold of the target server node, Determining the to-be-scheduled traffic from the traffic of the target server node;
根据所述待调度流量,确定第一调度服务器节点;Determine the first scheduling server node according to the to-be-scheduled traffic;
若所述第一调度服务器节点的可接收流量小于所述待调度流量,确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数以及节点属性信息;If the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic, determining link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node;
根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点;Determine a second scheduling server node according to the link quality score and the node attribute information;
将所述待调度流量调度至所述第一调度服务器节点以及所述第二调度服务器节点。Scheduling the to-be-scheduled traffic to the first scheduling server node and the second scheduling server node.
本申请的第四方面提供一种流量调度装置,所述装置包括:A fourth aspect of the present application provides a traffic scheduling device, the device including:
确定模块,用于当目标服务器节点的流量大于预设流量阈值时,确定第一区域以及确定第二区域,其中,所述第一区域是所述目标服务器节点所属的地理区域,所述第二区域是所述目标服务器节点的流量所属的地理区域;The determining module is configured to determine a first area and a second area when the traffic of the target server node is greater than a preset traffic threshold, where the first area is the geographic area to which the target server node belongs, and the second The area is the geographic area to which the traffic of the target server node belongs;
所述确定模块,还用于若所述第二区域中存在除了所述第一区域之外的第三区域,根据所述第一区域与所述第三区域之间的距离以及所述目标服务器节点的预设调度流量阈值,从所述目标服务器节点的流量中确定待调度流量;The determining module is further configured to, if there is a third area other than the first area in the second area, according to the distance between the first area and the third area and the target server The preset scheduling flow threshold of the node, and determining the flow to be scheduled from the flow of the target server node;
所述确定模块,还用于根据所述待调度流量,确定第一调度服务器节点;The determining module is further configured to determine the first scheduling server node according to the to-be-scheduled traffic;
所述确定模块,还用于若所述第一调度服务器节点的可接收流量小于所述待调度流量,确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数以及节点属性信息;The determining module is further configured to determine links of server nodes other than the first scheduling server node and the target server node if the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic Quality score and node attribute information;
所述确定模块,还用于根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点;The determining module is further configured to determine a second scheduling server node according to the link quality score and the node attribute information;
调度模块,用于将所述待调度流量调度至所述第一调度服务器节点以及所述第二调度服务器节点。The scheduling module is configured to schedule the traffic to be scheduled to the first scheduling server node and the second scheduling server node.
由以上技术方案,本申请中,当流量突增时,即目标服务器节点的流量大于预设流量阈值时,可以确定待调度流量,将待流量调度至第一调度服务器节点,以减缓当前服务器节点的服务压力,提高服务质量,还可以算出其他服务器节点的链路质量分数,然后根据链路质量分数以及其他服务器节点的服务器节点属性信息,确定合适的服务器节点(第二调度服务器节点),将一部分流量调度至这些服务器节点中,寻找合适的服务器节点分担部分服务压力,使得当前服务器节点的服务压力减少,提高了服务器节点的服务质量。From the above technical solution, in this application, when the traffic increases suddenly, that is, when the traffic of the target server node is greater than the preset traffic threshold, the traffic to be scheduled can be determined, and the traffic to be scheduled can be scheduled to the first scheduling server node to slow down the current server node. To improve service quality, you can also calculate the link quality scores of other server nodes, and then determine the appropriate server node (second scheduling server node) based on the link quality scores and the server node attribute information of other server nodes. Part of the traffic is dispatched to these server nodes, and a suitable server node is found to share part of the service pressure, so that the service pressure of the current server node is reduced, and the service quality of the server node is improved.
附图说明Description of the drawings
图1是本申请公开的一种流量调度方法的较佳实施例的流程图。Fig. 1 is a flowchart of a preferred embodiment of a traffic scheduling method disclosed in the present application.
图2是本申请公开的一种流量调度装置的较佳实施例的功能模块图。Fig. 2 is a functional module diagram of a preferred embodiment of a traffic scheduling device disclosed in the present application.
图3是本申请实现流量调度方法的较佳实施例的服务器的结构示意图。FIG. 3 is a schematic diagram of the structure of a server in a preferred embodiment of the traffic scheduling method according to the present application.
具体实施方式Detailed ways
本申请实施例的流量调度方法应用在服务器中,也可以应用在服务器和通过网络与所述服务器进行连接的电子设备所构成的硬件环境中,由服务器和电子设备共同执行。网络包括但不限于:广域网、城域网或局域网。The traffic scheduling method of the embodiment of the present application is applied to a server, and can also be applied to a hardware environment formed by a server and an electronic device connected to the server through a network, and is executed by the server and the electronic device. Networks include, but are not limited to: wide area networks, metropolitan area networks, or local area networks.
请参见图1,图1是本申请公开的一种流量调度方法的较佳实施例的流程图。其中,根据不同的需求,该流程图中步骤的顺序可以改变,某些步骤可以省略。Please refer to FIG. 1. FIG. 1 is a flowchart of a preferred embodiment of a traffic scheduling method disclosed in the present application. Among them, according to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
S11、当目标服务器节点的流量大于预设流量阈值时,服务器确定第一区域以及确定第二区域,其中,所述第一区域是所述目标服务器节点所属的地理区域,所述第二区域是所述目标服务器节点的流量所属的地理区域。S11. When the traffic of the target server node is greater than a preset traffic threshold, the server determines a first area and determines a second area, where the first area is the geographic area to which the target server node belongs, and the second area is The geographic area to which the traffic of the target server node belongs.
本申请实施例中,可以预先设置一个最大流量阈值,比如为该服务器节点采购的带宽值的95%,当存在服务器节点(目标服务器节点)在预设时间范围内(比如10分钟内)的平均流量大于最大流量阈值时,会影响目标服务器的服务质量,为了确保服务器节点的服务质量,需要对服务器节点的流量进行调度,即将一部分流量调去别的服务器节点,可以确定服务器节点的流量所属的地理区域(第二区域,比如:广东、广西等)。In the embodiment of the present application, a maximum traffic threshold can be preset, such as 95% of the bandwidth value purchased for the server node, when there is an average of server nodes (target server nodes) within a preset time range (for example, 10 minutes) When the traffic is greater than the maximum traffic threshold, it will affect the quality of service of the target server. In order to ensure the quality of service of the server node, the traffic of the server node needs to be scheduled, that is, part of the traffic is transferred to other server nodes to determine which server node’s traffic belongs to. Geographical area (the second area, such as Guangdong, Guangxi, etc.).
S12、若所述第二区域中存在除了所述第一区域之外的第三区域,服务器根据所述第一区域与所述第三区域之间的距离以及所述目标服务器节点的预设调度流量阈值,从所述目标服务器节点的流量中确定待调度流量。S12. If there is a third area other than the first area in the second area, the server will schedule according to the distance between the first area and the third area and the preset schedule of the target server node. The flow threshold is used to determine the flow to be scheduled from the flow of the target server node.
其中,所述预设调度流量阈值为预先设置的一个流量阈值,比如服务器节点总流量的30%,当服务器节点需要进行流量调度时,可以将服务器节点的30%流量进行调度。Wherein, the preset scheduling flow threshold is a preset flow threshold, such as 30% of the total flow of the server node. When the server node needs to perform flow scheduling, 30% of the flow of the server node can be scheduled.
可选的,可以判断流量所属的地理区域是否存在除了第一区域之外的第三区域,假设目标服务器节点所属的地理区域(第一区域)为北京,目标服务器节点的流量所属的地理区域(第二区域)包括广东、广西以及北京,即目标服务器节点中有来自广东、广西以及北京地区的用户的访问流量(即有来广东、广西以及北京地区的用户的访问请求),可以认为第二区域中存在除了第一区域之外的第三区域(广东以及广西)。假设目标服务器节点所属的地理区域为北京,目标服务器节点的流量所属的地理区域为北京,可以认为第二区域中不存在除了第一区域之外的第三区域。Optionally, it can be judged whether there is a third area in addition to the first area in the geographic area to which the traffic belongs. Assuming that the geographic area to which the target server node belongs (the first area) is Beijing, the geographic area to which the traffic of the target server node belongs ( The second region) includes Guangdong, Guangxi, and Beijing, that is, the target server node has access traffic from users in Guangdong, Guangxi, and Beijing (that is, there are access requests from users in Guangdong, Guangxi, and Beijing), which can be considered as the second There is a third area (Guangdong and Guangxi) in addition to the first area in the area. Assuming that the geographic region to which the target server node belongs is Beijing, and the geographic region to which the traffic of the target server node belongs is Beijing, it can be considered that there is no third region other than the first region in the second region.
本申请实施例中,除了根据调度流量阈值决定需要调走多少流量,还需要根据第一区域与每个第三区域的距离决定调走哪一部分流量,可以优先考虑将与第一区域距离最远的第三区域的流量调走,比如,广西与北京的距离比广东与北京的距离更远,则优先考虑将广西的流量调走。因此,需要确定服务器节点的待调度流量以及待调度流量所属的第四区域。In the embodiment of this application, in addition to determining how much traffic needs to be transferred based on the scheduling flow threshold, it is also necessary to determine which part of the traffic to transfer based on the distance between the first area and each third area, and priority can be given to the distance from the first area. For example, if the distance between Guangxi and Beijing is farther than the distance between Guangdong and Beijing, the traffic from Guangxi will be transferred away first. Therefore, it is necessary to determine the to-be-scheduled traffic of the server node and the fourth area to which the to-be-scheduled traffic belongs.
S13、服务器根据所述待调度流量,确定第一调度服务器节点。S13. The server determines the first scheduling server node according to the traffic to be scheduled.
具体的,所述根据所述待调度流量,确定第一调度服务器节点包括:Specifically, the determining the first scheduling server node according to the to-be-scheduled traffic includes:
将所述待调度流量所属的地理区域确定为第四区域;Determining the geographic area to which the traffic to be dispatched belongs as the fourth area;
将所述第四区域的服务器节点确定为所述第一调度服务器节点。The server node in the fourth area is determined as the first scheduling server node.
S14、若所述第一调度服务器节点的可接收流量小于所述待调度流量,服务器确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数以及节点属性信息。S14. If the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic, the server determines link quality scores and node attributes of server nodes other than the first scheduling server node and the target server node information.
本申请实施例中,可以判断第一调度服务器节点的可接收流量是否小于所述待调度流量,若第一调度服务器节点的可接收流量大于或等于所述待调度流量,则可以将所述待调度流量调度至所述第一调度服务器节点。若第一调度服务器节点的可接收流量小于所述待调度流量,可以确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数以及节点属性信息。In the embodiment of this application, it can be determined whether the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic. If the receivable traffic of the first scheduling server node is greater than or equal to the to-be-scheduled traffic, the to-be-scheduled traffic can be The scheduling traffic is scheduled to the first scheduling server node. If the receivable traffic of the first scheduling server node is less than the traffic to be scheduled, link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node may be determined.
具体的,所述确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器 节点的链路质量分数包括:Specifically, the determining the link quality scores of server nodes other than the first scheduling server node and the target server node includes:
将所述除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点确定为第一服务器节点;Determining the server node other than the first scheduling server node and the target server node as the first server node;
确定所述第一服务器节点访问所述第四区域的网络的响应时间以及下载速度;Determining the response time and download speed of the first server node to access the network of the fourth area;
根据预设权重,对所述响应时间以及下载速度进行归一化运算,获得所述第一服务器节点到所述第四区域的网络的链路质量分数。According to a preset weight, a normalization operation is performed on the response time and the download speed to obtain the link quality score of the network from the first server node to the fourth area.
具体的,所述确定所述第一服务器节点访问所述第四区域的网络的响应时间以及下载速度包括:Specifically, the determining the response time and the download speed for the first server node to access the network of the fourth area includes:
通过所述第一服务器节点的代理程序调用因特网包探索器命令,确定所述第一服务器节点访问所述第四区域的网络的响应时间;Invoke an Internet packet explorer command through the agent program of the first server node to determine the response time of the first server node to access the network of the fourth area;
根据所述第一服务器节点的历史访问日志,获取所述第一服务器节点访问第四区域的网络的下载流量以及下载时间;Acquiring, according to the historical access log of the first server node, the download traffic and download time of the network where the first server node accesses the fourth area;
根据所述下载流量以及所述下载时间,确定所述第一服务器节点访问所述第四区域的网络的下载速度。Determine the download speed at which the first server node accesses the network in the fourth area according to the download traffic and the download time.
其中,所述因特网包探索器(Ping)是用于测试网络连接量的程序,可以利用网络上机器IP地址的唯一性,给目标IP地址发送一个数据包,再要求对方返回一个同样大小的数据包来确定两台网络机器是否连接相通,时延是多少。Wherein, the Internet packet explorer (Ping) is a program used to test the network connection. It can use the uniqueness of the IP address of the machine on the network to send a data packet to the target IP address, and then ask the other party to return a data of the same size Package to determine whether two network machines are connected and what is the delay.
其中,代理(Agent)是指能够自主活动的软件或者硬件实体。Among them, Agent refers to a software or hardware entity capable of autonomous activities.
在该可选的实施方式中,可以通过部署在服务器节点(第一服务器节点)上的代理去Ping第四区域的网络的主路由,获取响应时间,可以通过历史访问日志的数据,获取服务器节点访问第四区域的网络的下载流量以及下载时间,通过计算获得下载速度。In this alternative embodiment, the agent deployed on the server node (the first server node) can be used to ping the main route of the network in the fourth area to obtain the response time, and the server node can be obtained through historical access log data. The download traffic and download time of accessing the network in the fourth area are calculated to obtain the download speed.
具体的,所述预设权重包括响应权重以及下载权重,所述根据预设权重,对所述响应时间以及下载速度进行归一化运算,获得所述第一服务器节点到所述第四区域的网络的链路质量分数包括:Specifically, the preset weight includes a response weight and a download weight, and the response time and download speed are normalized according to the preset weight to obtain the information from the first server node to the fourth area. The link quality score of the network includes:
根据所述响应权重以及所述第一服务器节点访问所述第四区域的网络的响应时间,确定所述第一服务器节点的响应值,并根据所述下载权重以及所述第一服务器节点访问所述第四区域的网络的下载速度,确定所述第一服务器节点的下载值;Determine the response value of the first server node according to the response weight and the response time of the first server node accessing the network of the fourth area, and determine the response value of the first server node according to the download weight and the access time of the first server node. The download speed of the network in the fourth area, and determine the download value of the first server node;
计算所述第一服务器节点的下载值与所述第一服务器节点的响应值的比值;Calculating the ratio of the download value of the first server node to the response value of the first server node;
对所述比值进行归一化运算,获得所述第一服务器节点到所述第四区域的网络的链路质量分数。Perform a normalization operation on the ratio to obtain a link quality score of the network from the first server node to the fourth area.
其中,归一化是一种为了数据处理方便提出来的,把数据映射到0~1范围之内的算法。Among them, normalization is an algorithm proposed for the convenience of data processing and mapping data to a range of 0 to 1.
作为一种可选的实施方式,可以将第一服务器节点访问第四区域的网络的响应时间乘以响应权重,获得响应值,可以将第一服务器节点访问第四区域的网络的下载速度乘以下载权重,获得下载值,因为响应时间的值越小,服务器节点提供的服务质量越好,下载速度的值越大,服务器节点提供的服务质量越好,因此将响应值作为分母,下载值作为分子,响应值与下载值的比值越大,其对应的链路质量分数越大,服务器节点提供的服务质量也就越好。As an optional implementation manner, the response time of the first server node's access to the network in the fourth area can be multiplied by the response weight to obtain the response value, and the download speed of the first server node's access to the network in the fourth area can be multiplied by Download the weight to obtain the download value, because the smaller the response time value, the better the service quality provided by the server node. The larger the download speed value, the better the service quality provided by the server node. Therefore, the response value is used as the denominator, and the download value is used as the The numerator, the larger the ratio of the response value to the download value, the larger the corresponding link quality score, and the better the service quality provided by the server node.
S15、服务器根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点。S15. The server determines a second scheduling server node according to the link quality score and the node attribute information.
本申请实施例中,因为第一调度服务器节点无法接收全部的所述待调度流量,需要寻找其他服务器节点来接收剩余的待调度流量。In the embodiment of the present application, because the first scheduling server node cannot receive all the to-be-scheduled traffic, it needs to find other server nodes to receive the remaining to-be-scheduled traffic.
具体的,所述节点属性信息包括实时可用状态、实时流量百分比、运营商、流量成本以及流量增长速度,所述根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点包括:Specifically, the node attribute information includes real-time availability status, real-time traffic percentage, operator, traffic cost, and traffic growth rate. According to the link quality score and the node attribute information, determining the second scheduling server node includes :
将所述第一服务器节点按照所述链路质量分数从大到小进行排序,获得第一队列;Sorting the first server node according to the link quality score from large to small to obtain the first queue;
根据所述第一服务器节点的所述实时可用状态、所述实时流量百分比、所述运营商以及 所述流量增长速度,从所述第一服务器节点中确定不适合调度的第二服务器节点;Determine, from the first server node, a second server node that is not suitable for scheduling according to the real-time availability status of the first server node, the real-time traffic percentage, the operator, and the traffic growth rate;
从所述第一队列的所有节点中,删除所述第二服务器节点,获得第二队列;Delete the second server node from all nodes in the first queue to obtain a second queue;
根据所述流量成本,从所述第二队列的所有节点中,将排列顺序在第一的节点确定为第二调度服务器节点。According to the traffic cost, from all the nodes in the second queue, the node with the first arrangement order is determined as the second scheduling server node.
在该可选的实施方式中,可以将所有第一服务器节点按照其对应的链路质量分数从大到小进行排序,获得第一队列,并根据第一服务器节点的实时可用状态、实时流量百分比、运营商以及流量增长速度,确定不适合进行流量调度的第一服务器节点,即第二服务器节点,并删除第一队列中的第二服务器节点,获得第二队列,然后可以结合考虑流量成本,从第二队列中挑选排序靠前的待调度服务器节点进行流量调度,可以选取排在第一的服务器节点,用于流量调度的待调度服务器节点的链路质量分数较高,即待调度服务器节点提供的服务质量较高。In this optional implementation manner, all first server nodes can be sorted according to their corresponding link quality scores from large to small to obtain the first queue, and according to the real-time availability status and real-time traffic percentage of the first server node , The operator and the traffic growth rate, determine the first server node that is not suitable for traffic scheduling, that is, the second server node, and delete the second server node in the first queue to obtain the second queue, and then consider the traffic cost in combination. Select the top-ranked server node to be scheduled from the second queue for traffic scheduling. The first server node can be selected. The server node to be scheduled for traffic scheduling has a higher link quality score, that is, the server node to be scheduled. The quality of services provided is high.
具体的,所述根据所述第一服务器节点的所述实时可用状态、所述实时流量百分比、所述运营商以及所述流量增长速度,从所述第一服务器节点中确定不适合调度的第二服务器节点包括:Specifically, according to the real-time availability status of the first server node, the real-time traffic percentage, the operator, and the traffic growth rate, the first server node that is not suitable for scheduling is determined from the first server node. The second server node includes:
针对所述第一服务器节点中的每个节点,判断所述节点的实时可用状态是否为预设状态;For each node in the first server node, determine whether the real-time available state of the node is a preset state;
若所述节点的实时可用状态为预设状态,判断所述节点的实时流量百分比是否小于预设百分比阈值;If the real-time available state of the node is a preset state, judging whether the real-time traffic percentage of the node is less than a preset percentage threshold;
若所述节点的实时流量百分比小于预设百分比阈值,判断所述节点的运营商是否为预设运营商;If the real-time traffic percentage of the node is less than the preset percentage threshold, judging whether the operator of the node is a preset operator;
若所述节点的运营商为预设运营商,根据所述节点的日志文件,确定所述节点在预设时间范围内的流量增长速度;If the operator of the node is a preset operator, determine the traffic growth rate of the node within the preset time range according to the log file of the node;
判断所述流量增长速度是否大于预设速度阈值;Judging whether the traffic growth rate is greater than a preset rate threshold;
若所述流量增长速度大于预设速度阈值,将所述节点确定为不适合调度的第二服务器节点。If the traffic growth rate is greater than the preset rate threshold, the node is determined as a second server node that is not suitable for scheduling.
在该可选的实施方式中,若有节点的实时可用状态指示该节点不正常运行,则认为该节点为不适合调度的第二服务器节点;若第一服务器节点的实时流量百分比大于或等于百分比阈值(比如该服务器节点已采购带宽的90%),该服务器节点的服务压力比较大,不适合调度;若第一服务器节点的运营商不是预设运营商,无法接收待调度流量,也不适合调度;可以通过第一服务器节点的日志文件,确定第一服务器节点最近一段时间的流量增长速度,若流量增长速度大于预设速度阈值,则该第一服务器节点的服务压力会很快增大,无法继续提供质量好的服务,也不适合调度。通过筛选出不适合调度的第一服务器节点(即第二服务器节点),可以确保待调度流量可以调度至适合的服务器节点。In this alternative embodiment, if the real-time availability status of a node indicates that the node is not operating normally, the node is considered to be a second server node that is not suitable for scheduling; if the real-time traffic percentage of the first server node is greater than or equal to the percentage Threshold (for example, the server node has purchased 90% of the bandwidth), the service pressure of the server node is relatively high, and it is not suitable for scheduling; if the operator of the first server node is not the preset operator, it is not suitable for receiving the traffic to be scheduled Scheduling; the log file of the first server node can be used to determine the traffic growth rate of the first server node in the most recent period. If the traffic growth rate is greater than the preset speed threshold, the service pressure of the first server node will increase quickly. It is unable to continue to provide good quality services and is not suitable for scheduling. By screening out the first server node (that is, the second server node) that is not suitable for scheduling, it can be ensured that the traffic to be scheduled can be scheduled to a suitable server node.
S16、服务器将所述待调度流量调度至所述第一调度服务器节点以及所述第二调度服务器节点。S16. The server schedules the traffic to be scheduled to the first scheduling server node and the second scheduling server node.
本申请实施例中,因为所述第一调度服务器节点无法接收全部的所述待调度流量,因此需要将所述待调度流量分成两部分进行调度,将一部分带调度流量调度至第一调度服务器节点,以及将另一部分待调度流量调度至所述第二调度服务器节点。即可以将待调度流量调度至当前最适合的服务器节点,可以提高服务器节点的服务质量。In the embodiment of the present application, because the first scheduling server node cannot receive all the traffic to be scheduled, the traffic to be scheduled needs to be divided into two parts for scheduling, and a part of the scheduled traffic is scheduled to the first scheduling server node , And scheduling another part of the traffic to be scheduled to the second scheduling server node. That is, the to-be-scheduled traffic can be scheduled to the currently most suitable server node, which can improve the service quality of the server node.
在图1所描述的方法流程中,当流量突增时,即目标服务器节点的流量大于预设流量阈值时,可以确定待调度流量,将待流量调度至第一调度服务器节点,以减缓当前服务器节点的服务压力,提高服务质量,还可以算出其他服务器节点的链路质量分数,然后根据链路质量分数以及其他服务器节点的服务器节点属性信息,确定合适的服务器节点(第二调度服务器节点),将一部分流量调度至这些服务器节点中,寻找合适的服务器节点分担部分服务压力,使得当前服务器节点的服务压力减少,提高了服务器节点的服务质量。In the method flow described in Figure 1, when the traffic increases suddenly, that is, when the traffic of the target server node is greater than the preset traffic threshold, the traffic to be scheduled can be determined, and the traffic to be scheduled can be scheduled to the first scheduling server node to slow down the current server. The service pressure of the node can improve the service quality, and the link quality scores of other server nodes can be calculated, and then the appropriate server node (second scheduling server node) can be determined according to the link quality score and the server node attribute information of other server nodes. Part of the traffic is dispatched to these server nodes, and a suitable server node is found to share part of the service pressure, so that the service pressure of the current server node is reduced, and the service quality of the server node is improved.
以上所述,仅是本申请的具体实施方式,但本申请的保护范围并不局限于此,对于本领域的普通技术人员来说,在不脱离本申请创造构思的前提下,还可以做出改进,但这些均属于本申请的保护范围。The above are only specific implementations of this application, but the scope of protection of this application is not limited to this. For those of ordinary skill in the art, without departing from the creative concept of this application, they can also make Improvements, but these all belong to the scope of protection of this application.
请参见图2,图2是本申请公开的一种流量调度装置的较佳实施例的功能模块图。Please refer to FIG. 2. FIG. 2 is a functional module diagram of a preferred embodiment of a traffic scheduling device disclosed in the present application.
在一些实施例中,所述流量调度装置运行于服务器中。所述流量调度装置可以包括多个由程序代码段所组成的功能模块,所述程序是一系列的计算机可读指令代码。所述流量调度装置中的各个程序段的程序代码可以存储于存储器中,并由至少一个处理器所执行,以执行图1所描述的流量调度方法中的部分或全部步骤,具体可以参照图1所述方法中的相关描述,在此不再赘述。In some embodiments, the traffic scheduling device runs in a server. The traffic scheduling device may include multiple functional modules composed of program code segments, and the program is a series of computer-readable instruction codes. The program code of each program segment in the flow scheduling device may be stored in a memory and executed by at least one processor to execute part or all of the steps in the flow scheduling method described in FIG. 1. For details, refer to FIG. 1. The related description in the method will not be repeated here.
本实施例中,所述流量调度装置根据其所执行的功能,可以被划分为多个功能模块。所述功能模块可以包括:确定模块201及调度模块202。本申请所称的模块是指一种能够被至少一个处理器所执行并且能够完成固定功能的一系列计算机程序段,其存储在存储器中。In this embodiment, the traffic scheduling device can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a determining module 201 and a scheduling module 202. The module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, and are stored in a memory.
确定模块201,用于当目标服务器节点的流量大于预设流量阈值时,确定第一区域以及确定第二区域,其中,所述第一区域是所述目标服务器节点所属的地理区域,所述第二区域是所述目标服务器节点的流量所属的地理区域。The determining module 201 is configured to determine a first area and a second area when the traffic of the target server node is greater than a preset traffic threshold, wherein the first area is the geographic area to which the target server node belongs, and the first area is the geographic area to which the target server node belongs. The second area is the geographic area to which the traffic of the target server node belongs.
本申请实施例中,可以预先设置一个最大流量阈值,比如为该服务器节点采购的带宽值的95%,当存在服务器节点(目标服务器节点)在预设时间范围内(比如10分钟内)的平均流量大于最大流量阈值时,会影响目标服务器的服务质量,为了确保服务器节点的服务质量,需要对服务器节点的流量进行调度,即将一部分流量调去别的服务器节点,可以确定服务器节点的流量所属的地理区域(第二区域,比如:广东、广西等)。In the embodiment of the present application, a maximum traffic threshold can be preset, such as 95% of the bandwidth value purchased for the server node, when there is an average of server nodes (target server nodes) within a preset time range (for example, 10 minutes) When the traffic is greater than the maximum traffic threshold, it will affect the quality of service of the target server. In order to ensure the quality of service of the server node, the traffic of the server node needs to be scheduled, that is, part of the traffic is transferred to other server nodes to determine which server node’s traffic belongs to. Geographical area (the second area, such as Guangdong, Guangxi, etc.).
所述确定模块201,还用于若所述第二区域中存在除了所述第一区域之外的第三区域,根据所述第一区域与所述第三区域之间的距离以及所述目标服务器节点的预设调度流量阈值,从所述目标服务器节点的流量中确定待调度流量。The determining module 201 is further configured to: if there is a third area other than the first area in the second area, according to the distance between the first area and the third area and the target The preset scheduling flow threshold of the server node determines the flow to be scheduled from the flow of the target server node.
其中,所述预设调度流量阈值为预先设置的一个流量阈值,比如服务器节点总流量的30%,当服务器节点需要进行流量调度时,可以将服务器节点的30%流量进行调度。Wherein, the preset scheduling flow threshold is a preset flow threshold, such as 30% of the total flow of the server node. When the server node needs to perform flow scheduling, 30% of the flow of the server node can be scheduled.
可选的,可以判断流量所属的地理区域是否存在除了第一区域之外的第三区域,假设目标服务器节点所属的地理区域(第一区域)为北京,目标服务器节点的流量所属的地理区域(第二区域)包括广东、广西以及北京,即目标服务器节点中有来自广东、广西以及北京地区的用户的访问流量(即有来广东、广西以及北京地区的用户的访问请求),可以认为第二区域中存在除了第一区域之外的第三区域(广东以及广西)。假设目标服务器节点所属的地理区域为北京,目标服务器节点的流量所属的地理区域为北京,可以认为第二区域中不存在除了第一区域之外的第三区域。Optionally, it can be judged whether there is a third area in addition to the first area in the geographic area to which the traffic belongs. Assuming that the geographic area to which the target server node belongs (the first area) is Beijing, the geographic area to which the traffic of the target server node belongs ( The second region) includes Guangdong, Guangxi, and Beijing, that is, the target server node has access traffic from users in Guangdong, Guangxi, and Beijing (that is, there are access requests from users in Guangdong, Guangxi, and Beijing), which can be considered as the second There is a third area (Guangdong and Guangxi) in addition to the first area in the area. Assuming that the geographic region to which the target server node belongs is Beijing, and the geographic region to which the traffic of the target server node belongs is Beijing, it can be considered that there is no third region other than the first region in the second region.
本申请实施例中,除了根据调度流量阈值决定需要调走多少流量,还需要根据第一区域与每个第三区域的距离决定调走哪一部分流量,可以优先考虑将与第一区域距离最远的第三区域的流量调走,比如,广西与北京的距离比广东与北京的距离更远,则优先考虑将广西的流量调走。因此,需要确定服务器节点的待调度流量以及待调度流量所属的第四区域。In the embodiment of this application, in addition to determining how much traffic needs to be transferred based on the scheduling flow threshold, it is also necessary to determine which part of the traffic to transfer based on the distance between the first area and each third area, and priority can be given to the distance from the first area. For example, if the distance between Guangxi and Beijing is farther than the distance between Guangdong and Beijing, the traffic from Guangxi will be transferred away first. Therefore, it is necessary to determine the to-be-scheduled traffic of the server node and the fourth area to which the to-be-scheduled traffic belongs.
所述确定模块201,还用于根据所述待调度流量,确定第一调度服务器节点。The determining module 201 is further configured to determine the first scheduling server node according to the traffic to be scheduled.
所述确定模块201,还用于若所述第一调度服务器节点的可接收流量小于所述待调度流量,确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数以及节点属性信息。The determining module 201 is further configured to determine the chain of server nodes other than the first scheduling server node and the target server node if the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic. Road quality score and node attribute information.
本申请实施例中,可以判断第一调度服务器节点的可接收流量是否小于所述待调度流量,若第一调度服务器节点的可接收流量大于或等于所述待调度流量,则可以将所述待调度流量调度至所述第一调度服务器节点。若第一调度服务器节点的可接收流量小于所述待调度流量,可以确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质 量分数以及节点属性信息。In the embodiment of this application, it can be determined whether the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic. If the receivable traffic of the first scheduling server node is greater than or equal to the to-be-scheduled traffic, the to-be-scheduled traffic can be The scheduling traffic is scheduled to the first scheduling server node. If the receivable traffic of the first dispatch server node is less than the traffic to be dispatched, link quality scores and node attribute information of server nodes other than the first dispatch server node and the target server node may be determined.
所述确定模块201,还用于根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点。The determining module 201 is further configured to determine a second scheduling server node according to the link quality score and the node attribute information.
本申请实施例中,因为第一调度服务器节点无法接收全部的所述待调度流量,需要寻找其他服务器节点来接收剩余的待调度流量。In the embodiment of the present application, because the first scheduling server node cannot receive all the to-be-scheduled traffic, it needs to find other server nodes to receive the remaining to-be-scheduled traffic.
调度模块202,用于将所述待调度流量调度至所述第一调度服务器节点以及所述第二调度服务器节点。本申请实施例中,因为所述第一调度服务器节点无法接收全部的所述待调度流量,因此需要将所述待调度流量分成两部分进行调度,将一部分带调度流量调度至第一调度服务器节点,以及将另一部分待调度流量调度至所述第二调度服务器节点。即可以将待调度流量调度至当前最适合的服务器节点,可以提高服务器节点的服务质量。The scheduling module 202 is configured to schedule the traffic to be scheduled to the first scheduling server node and the second scheduling server node. In the embodiment of the present application, because the first scheduling server node cannot receive all the to-be-scheduled traffic, the to-be-scheduled traffic needs to be divided into two parts for scheduling, and a part of the scheduled traffic is scheduled to the first scheduling server node , And scheduling another part of the traffic to be scheduled to the second scheduling server node. That is, the to-be-scheduled traffic can be scheduled to the currently most suitable server node, which can improve the service quality of the server node.
作为一种可选的实施方式,所述确定模块201根据所述待调度流量,确定第一调度服务器节点的方式具体为:As an optional implementation manner, the method for the determining module 201 to determine the first scheduling server node according to the to-be-scheduled traffic is specifically as follows:
将所述待调度流量所属的地理区域确定为第四区域;Determining the geographic area to which the traffic to be dispatched belongs as the fourth area;
将所述第四区域的服务器节点确定为所述第一调度服务器节点。The server node in the fourth area is determined as the first scheduling server node.
作为一种可选的实施方式,所述确定模块201确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数的方式具体为:As an optional implementation manner, the method for the determining module 201 to determine the link quality scores of server nodes other than the first scheduling server node and the target server node is specifically as follows:
将所述除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点确定为第一服务器节点;Determining the server node other than the first scheduling server node and the target server node as the first server node;
确定所述第一服务器节点访问所述第四区域的网络的响应时间以及下载速度;Determining the response time and download speed of the first server node to access the network of the fourth area;
根据预设权重,对所述响应时间以及下载速度进行归一化运算,获得所述第一服务器节点到所述第四区域的网络的链路质量分数。According to a preset weight, a normalization operation is performed on the response time and the download speed to obtain the link quality score of the network from the first server node to the fourth area.
作为一种可选的实施方式,所述节点属性信息包括实时可用状态、实时流量百分比、运营商、流量成本以及流量增长速度,所述确定模块201根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点的方式具体为:As an optional implementation manner, the node attribute information includes real-time availability status, real-time traffic percentage, operator, traffic cost, and traffic growth rate. The determining module 201 is based on the link quality score and the node attribute. Information, the method for determining the second scheduling server node is specifically:
将所述第一服务器节点按照所述链路质量分数从大到小进行排序,获得第一队列;Sorting the first server node according to the link quality score from large to small to obtain the first queue;
根据所述第一服务器节点的所述实时可用状态、所述实时流量百分比、所述运营商以及所述流量增长速度,从所述第一服务器节点中确定不适合调度的第二服务器节点;Determine, from the first server nodes, a second server node that is not suitable for scheduling according to the real-time availability status of the first server node, the real-time traffic percentage, the operator, and the traffic growth rate;
从所述第一队列的所有节点中,删除所述第二服务器节点,获得第二队列;Delete the second server node from all nodes in the first queue to obtain a second queue;
根据所述流量成本,从所述第二队列的所有节点中,将排列顺序在第一的节点确定为第二调度服务器节点。According to the traffic cost, from all the nodes in the second queue, the node with the first arrangement order is determined as the second scheduling server node.
在该可选的实施方式中,可以将所有第一服务器节点按照其对应的链路质量分数从大到小进行排序,获得第一队列,并根据第一服务器节点的实时可用状态、实时流量百分比、运营商以及流量增长速度,确定不适合进行流量调度的第一服务器节点,即第二服务器节点,并删除第一队列中的第二服务器节点,获得第二队列,然后可以结合考虑流量成本,从第二队列中挑选排序靠前的待调度服务器节点进行流量调度,可以选取排在第一的服务器节点,用于流量调度的待调度服务器节点的链路质量分数较高,即待调度服务器节点提供的服务质量较高。In this optional implementation manner, all first server nodes can be sorted according to their corresponding link quality scores from large to small to obtain the first queue, and according to the real-time availability status and real-time traffic percentage of the first server node , The operator and the traffic growth rate, determine the first server node that is not suitable for traffic scheduling, that is, the second server node, and delete the second server node in the first queue to obtain the second queue, and then consider the traffic cost in combination. Select the top-ranked server node to be scheduled from the second queue for traffic scheduling. The first server node can be selected. The server node to be scheduled for traffic scheduling has a higher link quality score, that is, the server node to be scheduled. The quality of services provided is high.
作为一种可选的实施方式,所述确定模块201根据所述第一服务器节点的所述实时可用状态、所述实时流量百分比、所述运营商以及所述流量增长速度,从所述第一服务器节点中确定不适合调度的第二服务器节点的方式具体为:As an optional implementation manner, the determining module 201 obtains data from the first server node according to the real-time availability status, the real-time traffic percentage, the operator, and the traffic growth rate. The method for determining the second server node that is not suitable for scheduling among the server nodes is specifically as follows:
针对所述第一服务器节点中的每个节点,判断所述节点的实时可用状态是否为预设状态;For each node in the first server node, determine whether the real-time available state of the node is a preset state;
若所述节点的实时可用状态为预设状态,判断所述节点的实时流量百分比是否小于预设百分比阈值;If the real-time available state of the node is a preset state, judging whether the real-time traffic percentage of the node is less than a preset percentage threshold;
若所述节点的实时流量百分比小于预设百分比阈值,判断所述节点的运营商是否为预设 运营商;If the real-time traffic percentage of the node is less than the preset percentage threshold, judging whether the operator of the node is the preset operator;
若所述节点的运营商为预设运营商,根据所述节点的日志文件,确定所述节点在预设时间范围内的流量增长速度;If the operator of the node is a preset operator, determine the traffic growth rate of the node within the preset time range according to the log file of the node;
判断所述流量增长速度是否大于预设速度阈值;Judging whether the traffic growth rate is greater than a preset rate threshold;
若所述流量增长速度大于预设速度阈值,将所述节点确定为不适合调度的第二服务器节点。If the traffic growth rate is greater than the preset rate threshold, the node is determined as a second server node that is not suitable for scheduling.
在该可选的实施方式中,若有节点的实时可用状态指示该节点不正常运行,则认为该节点为不适合调度的第二服务器节点;若第一服务器节点的实时流量百分比大于或等于百分比阈值(比如该服务器节点已采购带宽的90%),该服务器节点的服务压力比较大,不适合调度;若第一服务器节点的运营商不是预设运营商,无法接收待调度流量,也不适合调度;可以通过第一服务器节点的日志文件,确定第一服务器节点最近一段时间的流量增长速度,若流量增长速度大于预设速度阈值,则该第一服务器节点的服务压力会很快增大,无法继续提供质量好的服务,也不适合调度。通过筛选出不适合调度的第一服务器节点(即第二服务器节点),可以确保待调度流量可以调度至适合的服务器节点。In this alternative embodiment, if the real-time availability status of a node indicates that the node is not operating normally, the node is considered to be a second server node that is not suitable for scheduling; if the real-time traffic percentage of the first server node is greater than or equal to the percentage Threshold (for example, the server node has purchased 90% of the bandwidth), the service pressure of the server node is relatively high, and it is not suitable for scheduling; if the operator of the first server node is not the preset operator, it is not suitable for receiving the traffic to be scheduled Scheduling; the log file of the first server node can be used to determine the traffic growth rate of the first server node in the most recent period. If the traffic growth rate is greater than the preset speed threshold, the service pressure of the first server node will increase quickly. It is unable to continue to provide good quality services and is not suitable for scheduling. By screening out the first server node (that is, the second server node) that is not suitable for scheduling, it can be ensured that the traffic to be scheduled can be scheduled to a suitable server node.
作为一种可选的实施方式,所述确定模块201确定所述第一服务器节点访问所述第四区域的网络的响应时间以及下载速度的方式具体为:As an optional implementation manner, the manner in which the determining module 201 determines the response time and download speed of the first server node to access the network in the fourth area is specifically as follows:
通过所述第一服务器节点的代理程序调用因特网包探索器命令,确定所述第一服务器节点访问所述第四区域的网络的响应时间;Invoke an Internet packet explorer command through the agent program of the first server node to determine the response time of the first server node to access the network of the fourth area;
根据所述第一服务器节点的历史访问日志,获取所述第一服务器节点访问第四区域的网络的下载流量以及下载时间;Acquiring, according to the historical access log of the first server node, the download traffic and download time of the network where the first server node accesses the fourth area;
根据所述下载流量以及所述下载时间,确定所述第一服务器节点访问所述第四区域的网络的下载速度。Determine the download speed at which the first server node accesses the network in the fourth area according to the download traffic and the download time.
其中,所述因特网包探索器(Ping)是用于测试网络连接量的程序,可以利用网络上机器IP地址的唯一性,给目标IP地址发送一个数据包,再要求对方返回一个同样大小的数据包来确定两台网络机器是否连接相通,时延是多少。Wherein, the Internet packet explorer (Ping) is a program used to test the network connection. It can use the uniqueness of the IP address of the machine on the network to send a data packet to the target IP address, and then ask the other party to return a data of the same size Package to determine whether two network machines are connected and what is the delay.
其中,代理(Agent)是指能够自主活动的软件或者硬件实体。Among them, Agent refers to a software or hardware entity capable of autonomous activities.
在该可选的实施方式中,可以通过部署在服务器节点(第一服务器节点)上的代理去Ping第四区域的网络的主路由,获取响应时间,可以通过历史访问日志的数据,获取服务器节点访问第四区域的网络的下载流量以及下载时间,通过计算获得下载速度。In this alternative embodiment, the agent deployed on the server node (the first server node) can be used to ping the main route of the network in the fourth area to obtain the response time, and the server node can be obtained through historical access log data. The download traffic and download time of accessing the network in the fourth area are calculated to obtain the download speed.
作为一种可选的实施方式,所述预设权重包括响应权重以及下载权重,所述确定模块201根据预设权重,对所述响应时间以及下载速度进行归一化运算,获得所述第一服务器节点到所述第四区域的网络的链路质量分数的方式具体为:As an optional implementation manner, the preset weight includes a response weight and a download weight, and the determination module 201 performs a normalization operation on the response time and download speed according to the preset weight to obtain the first The method of the link quality score between the server node and the network in the fourth area is specifically as follows:
根据所述响应权重以及所述第一服务器节点访问所述第四区域的网络的响应时间,确定所述第一服务器节点的响应值,并根据所述下载权重以及所述第一服务器节点访问所述第四区域的网络的下载速度,确定所述第一服务器节点的下载值;Determine the response value of the first server node according to the response weight and the response time of the first server node accessing the network of the fourth area, and determine the response value of the first server node according to the download weight and the access time of the first server node. The download speed of the network in the fourth area, and determine the download value of the first server node;
计算所述第一服务器节点的下载值与所述第一服务器节点的响应值的比值;Calculating the ratio of the download value of the first server node to the response value of the first server node;
对所述比值进行归一化运算,获得所述第一服务器节点到所述第四区域的网络的链路质量分数。Perform a normalization operation on the ratio to obtain a link quality score of the network from the first server node to the fourth area.
其中,归一化是一种为了数据处理方便提出来的,把数据映射到0~1范围之内的算法。Among them, normalization is an algorithm proposed for the convenience of data processing and mapping data to a range of 0 to 1.
作为一种可选的实施方式,可以将第一服务器节点访问第四区域的网络的响应时间乘以响应权重,获得响应值,可以将第一服务器节点访问第四区域的网络的下载速度乘以下载权重,获得下载值,因为响应时间的值越小,服务器节点提供的服务质量越好,下载速度的值越大,服务器节点提供的服务质量越好,因此将响应值作为分母,下载值作为分子,响应值与下载值的比值越大,其对应的链路质量分数越大,服务器节点提供的服务质量也就越好。As an optional implementation manner, the response time of the first server node's access to the network in the fourth area can be multiplied by the response weight to obtain the response value, and the download speed of the first server node's access to the network in the fourth area can be multiplied by Download the weight to obtain the download value, because the smaller the response time value, the better the service quality provided by the server node. The larger the download speed value, the better the service quality provided by the server node. Therefore, the response value is used as the denominator, and the download value is used as the The numerator, the larger the ratio of the response value to the download value, the larger the corresponding link quality score, and the better the service quality provided by the server node.
在图2所描述的流量调度装置中,当流量突增时,即目标服务器节点的流量大于预设流量阈值时,可以确定待调度流量,将待流量调度至第一调度服务器节点,以减缓当前服务器节点的服务压力,提高服务质量,还可以算出其他服务器节点的链路质量分数,然后根据链路质量分数以及其他服务器节点的服务器节点属性信息,确定合适的服务器节点(第二调度服务器节点),将一部分流量调度至这些服务器节点中,寻找合适的服务器节点分担部分服务压力,使得当前服务器节点的服务压力减少,提高了服务器节点的服务质量。In the traffic scheduling device described in Figure 2, when the traffic suddenly increases, that is, when the traffic of the target server node is greater than the preset traffic threshold, the traffic to be scheduled can be determined, and the traffic to be scheduled can be scheduled to the first scheduling server node to slow down the current The service pressure of the server node can improve the service quality. You can also calculate the link quality scores of other server nodes, and then determine the appropriate server node (second scheduling server node) based on the link quality scores and the server node attribute information of other server nodes , Dispatch part of the traffic to these server nodes, find a suitable server node to share part of the service pressure, so that the service pressure of the current server node is reduced, and the service quality of the server node is improved.
如图3所示,图3是本申请实现流量调度方法的较佳实施例的服务器的结构示意图。所述服务器3包括存储器31、至少一个处理器32、存储在所述存储器31中并可在所述至少一个处理器32上运行的计算机可读指令33及至少一条通讯总线34。As shown in Fig. 3, Fig. 3 is a schematic structural diagram of a server in a preferred embodiment of the traffic scheduling method according to the present application. The server 3 includes a memory 31, at least one processor 32, computer readable instructions 33 stored in the memory 31 and executable on the at least one processor 32, and at least one communication bus 34.
本领域技术人员可以理解,图3所示的示意图仅仅是所述服务器3的示例,并不构成对所述服务器3的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述服务器3还可以包括输入输出设备、网络接入设备等。Those skilled in the art can understand that the schematic diagram shown in FIG. 3 is only an example of the server 3, and does not constitute a limitation on the server 3. It may include more or less components than those shown in the figure, or combine some Components, or different components, for example, the server 3 may also include input and output devices, network access devices, and so on.
所述服务器3还包括但不限于任何一种可与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(Internet Protocol Television,IPTV)、智能式穿戴式设备等。The server 3 also includes, but is not limited to, any electronic product that can interact with the user through a keyboard, a mouse, a remote control, a touch panel, or a voice control device, for example, a personal computer, a tablet computer, a smart phone, and a personal computer. Digital assistants (Personal Digital Assistant, PDA), game consoles, interactive network television (Internet Protocol Television, IPTV), smart wearable devices, etc.
所述至少一个处理器32可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。该处理器32可以是微处理器或者该处理器32也可以是任何常规的处理器等,所述处理器32是所述服务器3的控制中心,利用各种接口和线路连接整个服务器3的各个部分。The at least one processor 32 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and application specific integrated circuits (ASICs). ), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 32 can be a microprocessor or the processor 32 can also be any conventional processor, etc. The processor 32 is the control center of the server 3, and connects each of the entire server 3 through various interfaces and lines. part.
所述存储器31可用于存储所述计算机可读指令33和/或模块/单元,所述处理器32通过运行或执行存储在所述存储器31内的计算机可读指令和/或模块/单元,以及调用存储在存储器31内的数据,实现所述服务器3的各种功能。所述存储器31可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据服务器3的使用所创建的数据等。此外,存储器31可以包括高速随机存取存储器等易失性存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。The memory 31 may be used to store the computer-readable instructions 33 and/or modules/units, and the processor 32 can run or execute the computer-readable instructions and/or modules/units stored in the memory 31, and The data stored in the memory 31 is called to realize various functions of the server 3. The memory 31 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may The data etc. created in accordance with the use of the server 3 are stored. In addition, the memory 31 may include volatile memory such as high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), and a secure digital ( Secure Digital, SD card, Flash Card, at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
结合图1,所述服务器3中的所述存储器31存储多个指令以实现一种流量调度方法,所述处理器32可执行所述多个指令从而实现:With reference to FIG. 1, the memory 31 in the server 3 stores multiple instructions to implement a traffic scheduling method, and the processor 32 can execute the multiple instructions to achieve:
当目标服务器节点的流量大于预设流量阈值时,确定第一区域以及确定第二区域,其中,所述第一区域是所述目标服务器节点所属的地理区域,所述第二区域是所述目标服务器节点的流量所属的地理区域;When the traffic of the target server node is greater than the preset traffic threshold, determine a first area and determine a second area, where the first area is the geographic area to which the target server node belongs, and the second area is the target The geographic area to which the server node’s traffic belongs;
若所述第二区域中存在除了所述第一区域之外的第三区域,根据所述第一区域与所述第三区域之间的距离以及所述目标服务器节点的预设调度流量阈值,从所述目标服务器节点的流量中确定待调度流量;If there is a third area other than the first area in the second area, according to the distance between the first area and the third area and the preset scheduling traffic threshold of the target server node, Determining the to-be-scheduled traffic from the traffic of the target server node;
根据所述待调度流量,确定第一调度服务器节点;Determine the first scheduling server node according to the to-be-scheduled traffic;
若所述第一调度服务器节点的可接收流量小于所述待调度流量,确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数以及节点属性信息;If the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic, determining link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node;
根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点;Determine a second scheduling server node according to the link quality score and the node attribute information;
将所述待调度流量调度至所述第一调度服务器节点以及所述第二调度服务器节点。Scheduling the to-be-scheduled traffic to the first scheduling server node and the second scheduling server node.
具体地,所述处理器32对上述指令的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation method of the above-mentioned instructions by the processor 32, reference may be made to the description of the relevant steps in the embodiment corresponding to FIG. 1, which will not be repeated here.
在图3所描述的服务器3中,当流量突增时,即目标服务器节点的流量大于预设流量阈值时,可以确定待调度流量,将待流量调度至第一调度服务器节点,以减缓当前服务器节点的服务压力,提高服务质量,还可以算出其他服务器节点的链路质量分数,然后根据链路质量分数以及其他服务器节点的服务器节点属性信息,确定合适的服务器节点(第二调度服务器节点),将一部分流量调度至这些服务器节点中,寻找合适的服务器节点分担部分服务压力,使得当前服务器节点的服务压力减少,提高了服务器节点的服务质量。In the server 3 described in Figure 3, when the traffic increases suddenly, that is, when the traffic of the target server node is greater than the preset traffic threshold, the traffic to be scheduled can be determined, and the traffic to be scheduled can be scheduled to the first scheduling server node to slow down the current server. The service pressure of the node can improve the service quality, and the link quality scores of other server nodes can be calculated, and then the appropriate server node (second scheduling server node) can be determined according to the link quality score and the server node attribute information of other server nodes. Part of the traffic is dispatched to these server nodes, and a suitable server node is found to share part of the service pressure, so that the service pressure of the current server node is reduced, and the service quality of the server node is improved.
所述服务器3集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中,所述计算机可读存储介质可以是非易失性的存储介质,也可以是易失性的存储介质。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于计算机可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机可读指令包括计算机可读指令代码,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存储器(RAM,Random Access Memory)。When the integrated modules/units of the server 3 are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium, which may be non-volatile. The storage medium can also be a volatile storage medium. Based on this understanding, this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the computer-readable instructions are executed by the processor, they can implement the steps of the foregoing method embodiments. Wherein, the computer-readable instruction includes computer-readable instruction code, and the computer-readable instruction code may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory).
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional modules.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。For those skilled in the art, it is obvious that the present application is not limited to the details of the foregoing exemplary embodiments, and the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the application. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of this application is defined by the appended claims rather than the above description, and therefore it is intended to fall into the claims. All changes in the meaning and scope of the equivalent elements of are included in this application. Any associated diagram marks in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "including" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claims can also be implemented by one unit or device through software or hardware. The second class words are used to indicate names, and do not indicate any specific order.
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application and not to limit them. Although the application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the application can be Make modifications or equivalent replacements without departing from the spirit and scope of the technical solution of the present application.

Claims (20)

  1. 一种流量调度方法,其中,所述流量调度方法包括:A flow scheduling method, wherein the flow scheduling method includes:
    当目标服务器节点的流量大于预设流量阈值时,确定第一区域以及确定第二区域,其中,所述第一区域是所述目标服务器节点所属的地理区域,所述第二区域是所述目标服务器节点的流量所属的地理区域;When the traffic of the target server node is greater than the preset traffic threshold, determine a first area and determine a second area, where the first area is the geographic area to which the target server node belongs, and the second area is the target The geographic area to which the server node’s traffic belongs;
    若所述第二区域中存在除了所述第一区域之外的第三区域,根据所述第一区域与所述第三区域之间的距离以及所述目标服务器节点的预设调度流量阈值,从所述目标服务器节点的流量中确定待调度流量;If there is a third area other than the first area in the second area, according to the distance between the first area and the third area and the preset scheduling traffic threshold of the target server node, Determining the to-be-scheduled traffic from the traffic of the target server node;
    根据所述待调度流量,确定第一调度服务器节点;Determine the first scheduling server node according to the to-be-scheduled traffic;
    若所述第一调度服务器节点的可接收流量小于所述待调度流量,确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数以及节点属性信息;If the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic, determining link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node;
    根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点;Determine a second scheduling server node according to the link quality score and the node attribute information;
    将所述待调度流量调度至所述第一调度服务器节点以及所述第二调度服务器节点。Scheduling the to-be-scheduled traffic to the first scheduling server node and the second scheduling server node.
  2. 根据权利要求1所述的流量调度方法,其中,所述根据所述待调度流量,确定第一调度服务器节点包括:The traffic scheduling method according to claim 1, wherein the determining the first scheduling server node according to the to-be-scheduled traffic comprises:
    将所述待调度流量所属的地理区域确定为第四区域;Determining the geographic area to which the traffic to be dispatched belongs as the fourth area;
    将所述第四区域的服务器节点确定为所述第一调度服务器节点。The server node in the fourth area is determined as the first scheduling server node.
  3. 根据权利要求2所述的流量调度方法,其中,所述确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数包括:The traffic scheduling method according to claim 2, wherein said determining the link quality scores of server nodes other than the first scheduling server node and the target server node comprises:
    将所述除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点确定为第一服务器节点;Determining the server node other than the first scheduling server node and the target server node as the first server node;
    确定所述第一服务器节点访问所述第四区域的网络的响应时间以及下载速度;Determining the response time and download speed of the first server node to access the network of the fourth area;
    根据预设权重,对所述响应时间以及下载速度进行归一化运算,获得所述第一服务器节点到所述第四区域的网络的链路质量分数。According to a preset weight, a normalization operation is performed on the response time and the download speed to obtain the link quality score of the network from the first server node to the fourth area.
  4. 根据权利要求3所述的流量调度方法,其中,所述节点属性信息包括实时可用状态、实时流量百分比、运营商、流量成本以及流量增长速度,所述根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点包括:The traffic scheduling method according to claim 3, wherein the node attribute information includes real-time available status, real-time traffic percentage, operator, traffic cost, and traffic growth rate, and the node attribute information is based on the link quality score and the node The attribute information that determines the second scheduling server node includes:
    将所述第一服务器节点按照所述链路质量分数从大到小进行排序,获得第一队列;Sorting the first server node according to the link quality score from large to small to obtain the first queue;
    根据所述第一服务器节点的所述实时可用状态、所述实时流量百分比、所述运营商以及所述流量增长速度,从所述第一服务器节点中确定不适合调度的第二服务器节点;Determine, from the first server nodes, a second server node that is not suitable for scheduling according to the real-time availability status of the first server node, the real-time traffic percentage, the operator, and the traffic growth rate;
    从所述第一队列的所有节点中,删除所述第二服务器节点,获得第二队列;Delete the second server node from all nodes in the first queue to obtain a second queue;
    根据所述流量成本,从所述第二队列的所有节点中,将排列顺序在第一的节点确定为第二调度服务器节点。According to the traffic cost, from all the nodes in the second queue, the node with the first arrangement order is determined as the second scheduling server node.
  5. 根据权利要求4所述的流量调度方法,其中,所述根据所述第一服务器节点的所述实时可用状态、所述实时流量百分比、所述运营商以及所述流量增长速度,从所述第一服务器节点中确定不适合调度的第二服务器节点包括:The traffic scheduling method according to claim 4, wherein the real-time availability status of the first server node, the real-time traffic percentage, the operator, and the traffic growth rate are determined from the first server node. The second server node determined to be unsuitable for scheduling among the server nodes includes:
    针对所述第一服务器节点中的每个节点,判断所述节点的实时可用状态是否为预设状态;For each node in the first server node, determine whether the real-time available state of the node is a preset state;
    若所述节点的实时可用状态为预设状态,判断所述节点的实时流量百分比是否小于预设百分比阈值;If the real-time available state of the node is a preset state, judging whether the real-time traffic percentage of the node is less than a preset percentage threshold;
    若所述节点的实时流量百分比小于预设百分比阈值,判断所述节点的运营商是否为预设运营商;If the real-time traffic percentage of the node is less than the preset percentage threshold, judging whether the operator of the node is a preset operator;
    若所述节点的运营商为预设运营商,根据所述节点的日志文件,确定所述节点在预设时间范围内的流量增长速度;If the operator of the node is a preset operator, determine the traffic growth rate of the node within the preset time range according to the log file of the node;
    判断所述流量增长速度是否大于预设速度阈值;Judging whether the traffic growth rate is greater than a preset rate threshold;
    若所述流量增长速度大于预设速度阈值,将所述节点确定为不适合调度的第二服务器节点。If the traffic growth rate is greater than the preset rate threshold, the node is determined as a second server node that is not suitable for scheduling.
  6. 根据权利要求3所述的流量调度方法,其中,所述确定所述第一服务器节点访问所述第四区域的网络的响应时间以及下载速度包括:The traffic scheduling method according to claim 3, wherein the determining the response time and the download speed of the first server node to access the network of the fourth area comprises:
    通过所述第一服务器节点的代理程序调用因特网包探索器命令,确定所述第一服务器节点访问所述第四区域的网络的响应时间;Invoke an Internet packet explorer command through the agent program of the first server node to determine the response time of the first server node to access the network of the fourth area;
    根据所述第一服务器节点的历史访问日志,获取所述第一服务器节点访问第四区域的网络的下载流量以及下载时间;Acquiring, according to the historical access log of the first server node, the download traffic and download time of the network where the first server node accesses the fourth area;
    根据所述下载流量以及所述下载时间,确定所述第一服务器节点访问所述第四区域的网络的下载速度。Determine the download speed at which the first server node accesses the network in the fourth area according to the download traffic and the download time.
  7. 根据权利要求3所述的流量调度方法,其中,所述预设权重包括响应权重以及下载权重,所述根据预设权重,对所述响应时间以及下载速度进行归一化运算,获得所述第一服务器节点到所述第四区域的网络的链路质量分数包括:The traffic scheduling method according to claim 3, wherein the preset weight includes a response weight and a download weight, and the response time and the download speed are normalized according to the preset weight to obtain the first The link quality score of a server node to the network of the fourth area includes:
    根据所述响应权重以及所述第一服务器节点访问所述第四区域的网络的响应时间,确定所述第一服务器节点的响应值,并根据所述下载权重以及所述第一服务器节点访问所述第四区域的网络的下载速度,确定所述第一服务器节点的下载值;Determine the response value of the first server node according to the response weight and the response time of the first server node accessing the network of the fourth area, and determine the response value of the first server node according to the download weight and the access time of the first server node. The download speed of the network in the fourth area, and determine the download value of the first server node;
    计算所述第一服务器节点的下载值与所述第一服务器节点的响应值的比值;Calculating the ratio of the download value of the first server node to the response value of the first server node;
    对所述比值进行归一化运算,获得所述第一服务器节点到所述第四区域的网络的链路质量分数。Perform a normalization operation on the ratio to obtain a link quality score of the network from the first server node to the fourth area.
  8. 一种服务器,其中,所述服务器包括处理器和存储器,所述处理器用于执行存储器中存储的至少一个计算机可读指令以实现以下步骤:A server, wherein the server includes a processor and a memory, and the processor is configured to execute at least one computer-readable instruction stored in the memory to implement the following steps:
    当目标服务器节点的流量大于预设流量阈值时,确定第一区域以及确定第二区域,其中,所述第一区域是所述目标服务器节点所属的地理区域,所述第二区域是所述目标服务器节点的流量所属的地理区域;When the traffic of the target server node is greater than the preset traffic threshold, determine a first area and determine a second area, where the first area is the geographic area to which the target server node belongs, and the second area is the target The geographic area to which the server node’s traffic belongs;
    若所述第二区域中存在除了所述第一区域之外的第三区域,根据所述第一区域与所述第三区域之间的距离以及所述目标服务器节点的预设调度流量阈值,从所述目标服务器节点的流量中确定待调度流量;If there is a third area other than the first area in the second area, according to the distance between the first area and the third area and the preset scheduling traffic threshold of the target server node, Determining the to-be-scheduled traffic from the traffic of the target server node;
    根据所述待调度流量,确定第一调度服务器节点;Determine the first scheduling server node according to the to-be-scheduled traffic;
    若所述第一调度服务器节点的可接收流量小于所述待调度流量,确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数以及节点属性信息;If the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic, determining link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node;
    根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点;Determine a second scheduling server node according to the link quality score and the node attribute information;
    将所述待调度流量调度至所述第一调度服务器节点以及所述第二调度服务器节点。Scheduling the to-be-scheduled traffic to the first scheduling server node and the second scheduling server node.
  9. 根据权利要求8所述的服务器,其中,在所述根据所述待调度流量,确定第一调度服务器节点时,所述处理器执行所述至少一个计算机可读指令以实现以下步骤:The server according to claim 8, wherein when the first scheduling server node is determined according to the to-be-scheduled traffic, the processor executes the at least one computer-readable instruction to implement the following steps:
    将所述待调度流量所属的地理区域确定为第四区域;Determining the geographic area to which the traffic to be dispatched belongs as the fourth area;
    将所述第四区域的服务器节点确定为所述第一调度服务器节点。The server node in the fourth area is determined as the first scheduling server node.
  10. 根据权利要求9所述的服务器,其中,在所述确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数时,所述处理器执行所述至少一个计算机可读指令以实现以下步骤:The server according to claim 9, wherein, when determining the link quality scores of server nodes other than the first scheduling server node and the target server node, the processor executes the at least one Computer readable instructions to achieve the following steps:
    将所述除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点确定为第一服务器节点;Determining the server node other than the first scheduling server node and the target server node as the first server node;
    确定所述第一服务器节点访问所述第四区域的网络的响应时间以及下载速度;Determining the response time and download speed of the first server node to access the network of the fourth area;
    根据预设权重,对所述响应时间以及下载速度进行归一化运算,获得所述第一服务器节点到所述第四区域的网络的链路质量分数。According to a preset weight, a normalization operation is performed on the response time and the download speed to obtain the link quality score of the network from the first server node to the fourth area.
  11. 根据权利要求10所述的服务器,其中,所述节点属性信息包括实时可用状态、实时流量百分比、运营商、流量成本以及流量增长速度,在所述根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点时,所述处理器执行所述至少一个计算机可读指令以实现以下步骤:The server according to claim 10, wherein the node attribute information includes real-time availability status, real-time traffic percentage, operator, traffic cost, and traffic growth rate, and according to the link quality score and the node attribute information Information, when the second scheduling server node is determined, the processor executes the at least one computer-readable instruction to implement the following steps:
    将所述第一服务器节点按照所述链路质量分数从大到小进行排序,获得第一队列;Sorting the first server node according to the link quality score from large to small to obtain the first queue;
    根据所述第一服务器节点的所述实时可用状态、所述实时流量百分比、所述运营商以及所述流量增长速度,从所述第一服务器节点中确定不适合调度的第二服务器节点;Determine, from the first server nodes, a second server node that is not suitable for scheduling according to the real-time availability status of the first server node, the real-time traffic percentage, the operator, and the traffic growth rate;
    从所述第一队列的所有节点中,删除所述第二服务器节点,获得第二队列;Delete the second server node from all nodes in the first queue to obtain a second queue;
    根据所述流量成本,从所述第二队列的所有节点中,将排列顺序在第一的节点确定为第二调度服务器节点。According to the traffic cost, from all the nodes in the second queue, the node with the first arrangement order is determined as the second scheduling server node.
  12. 根据权利要求11所述的服务器,其中,在所述根据所述第一服务器节点的所述实时可用状态、所述实时流量百分比、所述运营商以及所述流量增长速度,从所述第一服务器节点中确定不适合调度的第二服务器节点时,所述处理器执行所述至少一个计算机可读指令以实现以下步骤:The server according to claim 11, wherein, according to the real-time availability status of the first server node, the real-time traffic percentage, the operator, and the traffic growth rate, from the first server node When a second server node that is not suitable for scheduling is determined among the server nodes, the processor executes the at least one computer-readable instruction to implement the following steps:
    针对所述第一服务器节点中的每个节点,判断所述节点的实时可用状态是否为预设状态;For each node in the first server node, determine whether the real-time available state of the node is a preset state;
    若所述节点的实时可用状态为预设状态,判断所述节点的实时流量百分比是否小于预设百分比阈值;If the real-time available state of the node is a preset state, judging whether the real-time traffic percentage of the node is less than a preset percentage threshold;
    若所述节点的实时流量百分比小于预设百分比阈值,判断所述节点的运营商是否为预设运营商;If the real-time traffic percentage of the node is less than the preset percentage threshold, judging whether the operator of the node is a preset operator;
    若所述节点的运营商为预设运营商,根据所述节点的日志文件,确定所述节点在预设时间范围内的流量增长速度;If the operator of the node is a preset operator, determine the traffic growth rate of the node within the preset time range according to the log file of the node;
    判断所述流量增长速度是否大于预设速度阈值;Judging whether the traffic growth rate is greater than a preset rate threshold;
    若所述流量增长速度大于预设速度阈值,将所述节点确定为不适合调度的第二服务器节点。If the traffic growth rate is greater than the preset rate threshold, the node is determined as a second server node that is not suitable for scheduling.
  13. 根据权利要求10所述的服务器,其中,在所述确定所述第一服务器节点访问所述第四区域的网络的响应时间以及下载速度时,所述处理器执行所述至少一个计算机可读指令以实现以下步骤:10. The server according to claim 10, wherein the processor executes the at least one computer readable instruction when determining the response time and download speed of the first server node accessing the network of the fourth area To achieve the following steps:
    通过所述第一服务器节点的代理程序调用因特网包探索器命令,确定所述第一服务器节点访问所述第四区域的网络的响应时间;Invoke an Internet packet explorer command through the agent program of the first server node to determine the response time of the first server node to access the network of the fourth area;
    根据所述第一服务器节点的历史访问日志,获取所述第一服务器节点访问第四区域的网络的下载流量以及下载时间;Acquiring, according to the historical access log of the first server node, the download traffic and download time of the network where the first server node accesses the fourth area;
    根据所述下载流量以及所述下载时间,确定所述第一服务器节点访问所述第四区域的网络的下载速度。Determine the download speed at which the first server node accesses the network in the fourth area according to the download traffic and the download time.
  14. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现以下步骤:A computer-readable storage medium, wherein the computer-readable storage medium stores at least one computer-readable instruction, and when the at least one computer-readable instruction is executed by a processor, the following steps are implemented:
    当目标服务器节点的流量大于预设流量阈值时,确定第一区域以及确定第二区域,其中,所述第一区域是所述目标服务器节点所属的地理区域,所述第二区域是所述目标服务器节点的流量所属的地理区域;When the traffic of the target server node is greater than the preset traffic threshold, determine a first area and determine a second area, where the first area is the geographic area to which the target server node belongs, and the second area is the target The geographic area to which the server node’s traffic belongs;
    若所述第二区域中存在除了所述第一区域之外的第三区域,根据所述第一区域与所述第三区域之间的距离以及所述目标服务器节点的预设调度流量阈值,从所述目标服务器节点的流量中确定待调度流量;If there is a third area other than the first area in the second area, according to the distance between the first area and the third area and the preset scheduling traffic threshold of the target server node, Determining the to-be-scheduled traffic from the traffic of the target server node;
    根据所述待调度流量,确定第一调度服务器节点;Determine the first scheduling server node according to the to-be-scheduled traffic;
    若所述第一调度服务器节点的可接收流量小于所述待调度流量,确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数以及节点属性信息;If the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic, determining link quality scores and node attribute information of server nodes other than the first scheduling server node and the target server node;
    根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点;Determine a second scheduling server node according to the link quality score and the node attribute information;
    将所述待调度流量调度至所述第一调度服务器节点以及所述第二调度服务器节点。Scheduling the to-be-scheduled traffic to the first scheduling server node and the second scheduling server node.
  15. 根据权利要求14所述的存储介质,其中,在所述根据所述待调度流量,确定第一调度服务器节点时,所述至少一个计算机可读指令被处理器执行以实现以下步骤:The storage medium according to claim 14, wherein, when the first scheduling server node is determined according to the to-be-scheduled traffic, the at least one computer-readable instruction is executed by a processor to implement the following steps:
    将所述待调度流量所属的地理区域确定为第四区域;Determining the geographic area to which the traffic to be dispatched belongs as the fourth area;
    将所述第四区域的服务器节点确定为所述第一调度服务器节点。The server node in the fourth area is determined as the first scheduling server node.
  16. 根据权利要求15所述的存储介质,其中,在所述确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数时,所述至少一个计算机可读指令被处理器执行以实现以下步骤:The storage medium according to claim 15, wherein, when the link quality scores of server nodes other than the first scheduling server node and the target server node are determined, the at least one computer-readable instruction It is executed by the processor to achieve the following steps:
    将所述除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点确定为第一服务器节点;Determining the server node other than the first scheduling server node and the target server node as the first server node;
    确定所述第一服务器节点访问所述第四区域的网络的响应时间以及下载速度;Determining the response time and download speed of the first server node to access the network of the fourth area;
    根据预设权重,对所述响应时间以及下载速度进行归一化运算,获得所述第一服务器节点到所述第四区域的网络的链路质量分数。According to a preset weight, a normalization operation is performed on the response time and the download speed to obtain the link quality score of the network from the first server node to the fourth area.
  17. 根据权利要求16所述的存储介质,其中,所述节点属性信息包括实时可用状态、实时流量百分比、运营商、流量成本以及流量增长速度,在所述根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点时,所述至少一个计算机可读指令被处理器执行以实现以下步骤:The storage medium according to claim 16, wherein the node attribute information includes real-time availability status, real-time traffic percentage, operator, traffic cost, and traffic growth rate, and in accordance with the link quality score and the node Attribute information, when determining the second scheduling server node, the at least one computer-readable instruction is executed by the processor to implement the following steps:
    将所述第一服务器节点按照所述链路质量分数从大到小进行排序,获得第一队列;Sorting the first server node according to the link quality score from large to small to obtain the first queue;
    根据所述第一服务器节点的所述实时可用状态、所述实时流量百分比、所述运营商以及所述流量增长速度,从所述第一服务器节点中确定不适合调度的第二服务器节点;Determine, from the first server nodes, a second server node that is not suitable for scheduling according to the real-time availability status of the first server node, the real-time traffic percentage, the operator, and the traffic growth rate;
    从所述第一队列的所有节点中,删除所述第二服务器节点,获得第二队列;Delete the second server node from all nodes in the first queue to obtain a second queue;
    根据所述流量成本,从所述第二队列的所有节点中,将排列顺序在第一的节点确定为第二调度服务器节点。According to the traffic cost, from all the nodes in the second queue, the node with the first arrangement order is determined as the second scheduling server node.
  18. 根据权利要求17所述的存储介质,其中,在所述根据所述第一服务器节点的所述实时可用状态、所述实时流量百分比、所述运营商以及所述流量增长速度,从所述第一服务器节点中确定不适合调度的第二服务器节点时,所述至少一个计算机可读指令被处理器执行时还用以实现以下步骤:The storage medium according to claim 17, wherein, according to the real-time availability status of the first server node, the real-time traffic percentage, the operator, and the traffic growth rate, from the first server node When a second server node that is not suitable for scheduling is determined among a server node, the at least one computer-readable instruction is further used to implement the following steps when being executed by the processor:
    针对所述第一服务器节点中的每个节点,判断所述节点的实时可用状态是否为预设状态;For each node in the first server node, determine whether the real-time available state of the node is a preset state;
    若所述节点的实时可用状态为预设状态,判断所述节点的实时流量百分比是否小于预设百分比阈值;If the real-time available state of the node is a preset state, judging whether the real-time traffic percentage of the node is less than a preset percentage threshold;
    若所述节点的实时流量百分比小于预设百分比阈值,判断所述节点的运营商是否为预设运营商;If the real-time traffic percentage of the node is less than the preset percentage threshold, judging whether the operator of the node is a preset operator;
    若所述节点的运营商为预设运营商,根据所述节点的日志文件,确定所述节点在预设时间范围内的流量增长速度;If the operator of the node is a preset operator, determine the traffic growth rate of the node within the preset time range according to the log file of the node;
    判断所述流量增长速度是否大于预设速度阈值;Judging whether the traffic growth rate is greater than a preset rate threshold;
    若所述流量增长速度大于预设速度阈值,将所述节点确定为不适合调度的第二服务器节点。If the traffic growth rate is greater than the preset rate threshold, the node is determined as a second server node that is not suitable for scheduling.
  19. 根据权利要求16所述的存储介质,其中,在所述确定所述第一服务器节点访问所述第四区域的网络的响应时间以及下载速度时,所述至少一个计算机可读指令被处理器执行时还用以实现以下步骤:The storage medium according to claim 16, wherein the at least one computer-readable instruction is executed by a processor when determining the response time and download speed of the first server node accessing the network of the fourth area The time is also used to achieve the following steps:
    通过所述第一服务器节点的代理程序调用因特网包探索器命令,确定所述第一服务器节点访问所述第四区域的网络的响应时间;Invoke an Internet packet explorer command through the agent program of the first server node to determine the response time of the first server node to access the network of the fourth area;
    根据所述第一服务器节点的历史访问日志,获取所述第一服务器节点访问第四区域的网络的下载流量以及下载时间;Acquiring, according to the historical access log of the first server node, the download traffic and download time of the network where the first server node accesses the fourth area;
    根据所述下载流量以及所述下载时间,确定所述第一服务器节点访问所述第四区域的网络的下载速度。Determine the download speed at which the first server node accesses the network in the fourth area according to the download traffic and the download time.
  20. 一种流量调度装置,其中,所述流量调度装置包括:A flow scheduling device, wherein the flow scheduling device includes:
    确定模块,用于当目标服务器节点的流量大于预设流量阈值时,确定第一区域以及确定第二区域,其中,所述第一区域是所述目标服务器节点所属的地理区域,所述第二区域是所述目标服务器节点的流量所属的地理区域;The determining module is configured to determine a first area and a second area when the traffic of the target server node is greater than a preset traffic threshold, where the first area is the geographic area to which the target server node belongs, and the second The area is the geographic area to which the traffic of the target server node belongs;
    所述确定模块,还用于若所述第二区域中存在除了所述第一区域之外的第三区域,根据所述第一区域与所述第三区域之间的距离以及所述目标服务器节点的预设调度流量阈值,从所述目标服务器节点的流量中确定待调度流量;The determining module is further configured to, if there is a third area other than the first area in the second area, according to the distance between the first area and the third area and the target server The preset scheduling flow threshold of the node, and determining the flow to be scheduled from the flow of the target server node;
    所述确定模块,还用于根据所述待调度流量,确定第一调度服务器节点;The determining module is further configured to determine the first scheduling server node according to the to-be-scheduled traffic;
    所述确定模块,还用于若所述第一调度服务器节点的可接收流量小于所述待调度流量,确定除了所述第一调度服务器节点以及所述目标服务器节点之外的服务器节点的链路质量分数以及节点属性信息;The determining module is further configured to determine links of server nodes other than the first scheduling server node and the target server node if the receivable traffic of the first scheduling server node is less than the to-be-scheduled traffic Quality score and node attribute information;
    所述确定模块,还用于根据所述链路质量分数以及所述节点属性信息,确定第二调度服务器节点;The determining module is further configured to determine a second scheduling server node according to the link quality score and the node attribute information;
    调度模块,用于将所述待调度流量调度至所述第一调度服务器节点以及所述第二调度服务器节点。The scheduling module is configured to schedule the traffic to be scheduled to the first scheduling server node and the second scheduling server node.
PCT/CN2020/099315 2020-03-19 2020-06-30 Flow scheduling method and device, server, and storage medium WO2021184589A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010196010.2 2020-03-19
CN202010196010.2A CN111432247B (en) 2020-03-19 2020-03-19 Traffic scheduling method, traffic scheduling device, server and storage medium

Publications (1)

Publication Number Publication Date
WO2021184589A1 true WO2021184589A1 (en) 2021-09-23

Family

ID=71548153

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/099315 WO2021184589A1 (en) 2020-03-19 2020-06-30 Flow scheduling method and device, server, and storage medium

Country Status (2)

Country Link
CN (1) CN111432247B (en)
WO (1) WO2021184589A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115604188A (en) * 2022-09-09 2023-01-13 建信金融科技有限责任公司(Cn) Traffic scheduling method, device, equipment and storage medium
WO2023098702A1 (en) * 2021-11-30 2023-06-08 中兴通讯股份有限公司 Traffic balancing method, electronic device and computer readable storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113194042B (en) * 2021-03-19 2023-02-21 迅雷计算机(深圳)有限公司 Control method and device for flow transmission speed and storage medium
CN113157460B (en) * 2021-05-20 2023-06-30 苏州达家迎信息技术有限公司 Service node splitting method and device, storage medium and electronic equipment
CN115277565B (en) * 2022-08-09 2024-05-07 北京有竹居网络技术有限公司 Traffic path scheduling method and device, electronic equipment and storage medium
CN118101567A (en) * 2022-11-21 2024-05-28 华为云计算技术有限公司 Traffic scheduling method, traffic scheduling device, equipment cluster and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103547994A (en) * 2011-05-20 2014-01-29 微软公司 Cross-cloud computing for capacity management and disaster recovery
CN104168300A (en) * 2013-05-17 2014-11-26 中国电信股份有限公司 Content acceleration method and system
CN106330962A (en) * 2016-09-30 2017-01-11 中国联合网络通信集团有限公司 Flow cleaning management method and device
CN107205030A (en) * 2017-05-31 2017-09-26 成都博视美达文化传播有限公司 Server resource dispatching method and system
US20180152510A1 (en) * 2016-11-29 2018-05-31 Level 3 Communications, Llc Cross-cluster direct server return in a content delivery network (cdn)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110198267B (en) * 2018-04-26 2022-01-14 腾讯科技(深圳)有限公司 Traffic scheduling method, system and server
CN109040190B (en) * 2018-07-02 2022-03-22 咪咕文化科技有限公司 Scheduling method, device and computer readable storage medium
CN110830540A (en) * 2018-08-14 2020-02-21 深圳Tcl新技术有限公司 Method for accessing smart television to cloud server, storage medium and application server
CN109558152A (en) * 2018-10-26 2019-04-02 深圳壹账通智能科技有限公司 Flow switching method, device, medium and electronic equipment when system gray scale is issued
CN109510778A (en) * 2019-01-03 2019-03-22 Oppo广东移动通信有限公司 Method, apparatus, system, equipment and the storage medium of flow scheduling
CN109951716B (en) * 2019-03-26 2020-10-30 北京达佳互联信息技术有限公司 Anchor scheduling method and device, electronic equipment and readable storage medium
CN110708369B (en) * 2019-09-25 2022-09-16 深圳市网心科技有限公司 File deployment method and device for equipment nodes, scheduling server and storage medium
CN110661879B (en) * 2019-10-12 2023-03-24 北京奇艺世纪科技有限公司 Node scheduling method, device and system, scheduling server and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103547994A (en) * 2011-05-20 2014-01-29 微软公司 Cross-cloud computing for capacity management and disaster recovery
CN104168300A (en) * 2013-05-17 2014-11-26 中国电信股份有限公司 Content acceleration method and system
CN106330962A (en) * 2016-09-30 2017-01-11 中国联合网络通信集团有限公司 Flow cleaning management method and device
US20180152510A1 (en) * 2016-11-29 2018-05-31 Level 3 Communications, Llc Cross-cluster direct server return in a content delivery network (cdn)
CN107205030A (en) * 2017-05-31 2017-09-26 成都博视美达文化传播有限公司 Server resource dispatching method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023098702A1 (en) * 2021-11-30 2023-06-08 中兴通讯股份有限公司 Traffic balancing method, electronic device and computer readable storage medium
CN115604188A (en) * 2022-09-09 2023-01-13 建信金融科技有限责任公司(Cn) Traffic scheduling method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111432247A (en) 2020-07-17
CN111432247B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
WO2021184589A1 (en) Flow scheduling method and device, server, and storage medium
US11032210B2 (en) Software load balancer to maximize utilization
US9130828B2 (en) Content delivery network with customized tracking of delivery data
US8271646B2 (en) Network scoring system and method
WO2018133306A1 (en) Dispatching method and device in content delivery network
US20160021172A1 (en) Reputation-based strategy for forwarding and responding to interests over a content centric network
EP2589199B1 (en) Method and apparatus for network-friendly collaborative caching
US9722950B2 (en) Processing resource access request in network
US10592578B1 (en) Predictive content push-enabled content delivery network
CN111614736A (en) Network content resource scheduling method, domain name scheduling server and electronic equipment
US7925785B2 (en) On-demand capacity management
US11411865B2 (en) Network resource scheduling method, apparatus, electronic device and storage medium
WO2019232927A1 (en) Distributed data deletion flow control method and apparatus, electronic device, and storage medium
US20190005534A1 (en) Providing media assets to subscribers of a messaging system
CN108153803A (en) A kind of data capture method, device and electronic equipment
CN113328953B (en) Method, device and storage medium for network congestion adjustment
CN113438098B (en) Time delay sensitive virtual network mapping method and device in cloud data center
WO2023125380A1 (en) Data management method and corresponding apparatus
CN113824689B (en) Edge computing network, data transmission method, device, equipment and storage medium
WO2022089321A1 (en) Method and apparatus for scheduling access point, and server and storage medium
CN115002117A (en) Content distribution network dynamic scheduling method, system, device and storage medium
WO2021059113A1 (en) Cachability of single page applications
CN116996481B (en) Live broadcast data acquisition method and device, electronic equipment and storage medium
CN115086300B (en) Video file scheduling method and device
US11729256B2 (en) Predetermining network route for content steering

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20926014

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20926014

Country of ref document: EP

Kind code of ref document: A1