CN110798496A - CDN scheduling system, method and device - Google Patents

CDN scheduling system, method and device Download PDF

Info

Publication number
CN110798496A
CN110798496A CN201810877894.0A CN201810877894A CN110798496A CN 110798496 A CN110798496 A CN 110798496A CN 201810877894 A CN201810877894 A CN 201810877894A CN 110798496 A CN110798496 A CN 110798496A
Authority
CN
China
Prior art keywords
cdn node
reference data
cdn
service
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810877894.0A
Other languages
Chinese (zh)
Inventor
王广伟
温亮生
洪一帆
陈宽
浮怀铎
毛敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongchang (hangzhou) Information Technology Co Ltd
China Mobile Communications Group Co Ltd
Original Assignee
Zhongchang (hangzhou) Information Technology Co Ltd
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongchang (hangzhou) Information Technology Co Ltd, China Mobile Communications Group Co Ltd filed Critical Zhongchang (hangzhou) Information Technology Co Ltd
Priority to CN201810877894.0A priority Critical patent/CN110798496A/en
Publication of CN110798496A publication Critical patent/CN110798496A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a CDN (content delivery network) scheduling system, method and device, which are used for solving the problems that in the existing CDN scheduling method, user side hardware is shared and used, user side interference is easily introduced, so that misjudgment risk is caused on the service capability of a CDN node, software needs to be deployed on the user side, and the expenditure cost is increased. The system comprises: the CDN node is used for periodically reporting system reference data and service reference data of the CDN node to a data analysis platform; the data analysis platform is used for calculating the service capability value of each CDN node by using a preset algorithm according to the system reference data and the service reference data reported by the CDN node; and the scheduling server is used for receiving the data request sent by the terminal and scheduling the data request to the appointed CDN node according to the obtained service capability value of each CDN node.

Description

CDN scheduling system, method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a CDN scheduling system, method, and apparatus.
Background
A frame diagram of an existing CDN (Content Delivery Network) scheduling is shown in fig. 1, where a dial-up test client is deployed at a user side, and is generally installed in a user terminal to simulate an access behavior of a user to a CDN, before a scheduling system, namely a scheduling server, schedules CDN nodes for users, a dial testing task is issued by a data analysis platform, a user side dial testing client side initiates a resource request to each CDN node, records data such as link establishing time, content downloading rate, content access success rate and first byte response time of the dial testing client side accessing the CDN nodes as reference data, and uploads the reference data to the data analysis platform, and analyzing and calculating the service capacity of each CDN node through a data analysis platform, feeding the service capacity of the CDN node back to a scheduling system through the data analysis platform, and scheduling the user request by the scheduling system based on the data.
However, the acquired reference data only contains service level data, and user-side hardware is shared and used, so that user-side interference is easily introduced, the risk of misjudgment on the service capability of the CDN node is caused, software needs to be deployed on the user side, and the expenditure cost is increased.
Therefore, how to improve the accuracy of CDN node service capability analysis on the premise of saving cost to improve CDN scheduling efficiency is one of the problems to be solved in the prior art.
Disclosure of Invention
In order to solve the problems that in the existing CDN scheduling method, user side hardware is shared and used, user side interference is easily introduced, so that misjudgment is caused on CDN node service capacity, software needs to be deployed on the user side, and cost is increased, the embodiments of the present invention provide a CDN scheduling system, method and device.
In a first aspect, an embodiment of the present invention provides a CDN scheduling system, including:
the CDN node is used for periodically reporting system reference data and service reference data of the CDN node to a data analysis platform;
the data analysis platform is used for calculating the service capability value of each CDN node by using a preset algorithm according to the system reference data and the service reference data reported by the CDN node;
and the scheduling server is used for receiving the data request sent by the terminal and scheduling the data request to the appointed CDN node according to the obtained service capability value of each CDN node.
The CDN scheduling system provided by the embodiment of the invention comprises CDN nodes, a data analysis platform and a scheduling server, wherein the CDN nodes report system reference data and service reference data of the CDN nodes to the data analysis platform periodically, the data analysis platform calculates the service capability value of the CDN nodes by using a preset algorithm according to the system reference data and the service reference data reported by the CDN nodes aiming at each CDN node, when the scheduling server receives a data request sent by a terminal, the data request of the terminal is scheduled to a specified CDN node according to the obtained service capability value of each CDN node, the CDN nodes collect data generated by the CDN nodes without distortion, no external component is required to be added, the transportability is strong, the system reference data and the service reference data are reported to the data analysis platform periodically, and the data analysis platform analyzes the service capability of the CDN nodes according to the two types of data, the analysis result is more in line with the operation requirement, the accuracy of CDN node service capability analysis is improved, external software does not need to be deployed, other service purchases are not involved, and expenditure cost is effectively reduced.
Optionally, the scheduling server is specifically configured to schedule the data request to a specified CDN node according to the service capability value of each CDN node obtained from the data analysis platform according to a preset period; or
And scheduling the data request to an appointed CDN node according to the service capability value of each CDN node sent by the received data analysis platform according to a preset period.
The selectable modes represent that the scheduling server can obtain the service capability value of each CDN node through two modes, the scheduling server can actively obtain the service capability value of each CDN node from the data analysis platform according to a preset period, and the data analysis platform can also actively report the service capability value of each CDN node to the scheduling server according to the preset period.
Optionally, the CDN node is further configured to return the requested data content to the terminal when receiving the data request of the terminal.
Preferably, the CDN node comprises at least one server;
the system reference data comprises at least the following indicators: the CPU utilization rate, the memory utilization rate, the disk utilization rate and the network card utilization rate of the server of the CDN node;
the service reference data at least comprises the following indexes: and the content downloading rate, the content access success rate, the first byte response time and the source returning time information of the server of the CDN node.
Preferably, the data analysis platform is specifically configured to perform weighted calculation on each index value of the system reference data and the service reference data for each CDN node, so as to obtain a service capability value of the CDN node.
In a second aspect, an embodiment of the present invention provides a CDN scheduling method, including:
a data analysis platform receives system reference data and service reference data of each CDN node, wherein the system reference data and the service reference data are periodically reported by each CDN node;
aiming at each CDN node, calculating the service capability value of the CDN node by using a preset algorithm according to the system reference data and the service reference data;
and sending the service capacity value of each CDN node to a scheduling server according to a preset period, and scheduling the CDN nodes for the terminal according to the service capacity value of each CDN node when the scheduling server receives a data request sent by the terminal.
Preferably, the CDN node comprises at least one server;
the system reference data comprises at least the following indicators: the CPU utilization rate, the memory utilization rate, the disk utilization rate and the network card utilization rate of the server of the CDN node;
the service reference data at least comprises the following indexes: and the content downloading rate, the content access success rate, the first byte response time and the source returning time information of the server of the CDN node.
Preferably, the calculating the service capability value of the CDN node according to the system reference data and the service reference data by using a preset algorithm specifically includes:
and performing weighted calculation on various index values of the system reference data and the service reference data to obtain the service capability value of the CDN node.
The technical effect of the CDN scheduling method provided by the present invention may refer to the technical effect of the first aspect or the implementation manner of the first aspect, which is not described herein again.
In a third aspect, an embodiment of the present invention provides a CDN scheduling apparatus, including:
the receiving unit is used for receiving system reference data and service reference data of the CDN nodes, which are periodically reported by each CDN node;
the calculation unit is used for calculating the service capability value of each CDN node according to the system reference data and the service reference data by using a preset algorithm;
and the sending unit is used for sending the service capacity value of each CDN node to a scheduling server according to a preset period so that the scheduling server schedules the CDN nodes for the terminal according to the service capacity values of the CDN nodes when receiving a data request sent by the terminal.
Preferably, the CDN node comprises at least one server;
the system reference data comprises at least the following indicators: the CPU utilization rate, the memory utilization rate, the disk utilization rate and the network card utilization rate of the server of the CDN node;
the service reference data at least comprises the following indexes: and the content downloading rate, the content access success rate, the first byte response time and the source returning time information of the server of the CDN node.
Preferably, the calculation unit is specifically configured to perform weighted calculation on index values of the system reference data and the service reference data to obtain a service capability value of the CDN node.
The technical effect of the CDN scheduling apparatus provided by the present invention may refer to the technical effect of the first aspect or the implementation manner of the first aspect, which is not described herein again.
In a fourth aspect, an embodiment of the present invention provides a communication device, which includes a memory, a processor, and a computer program that is stored in the memory and is executable on the processor, where the processor implements the CDN scheduling method according to the present invention when executing the computer program.
In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the CDN scheduling method according to the present invention.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic diagram of a conventional CDN scheduling framework;
fig. 2 is a schematic view of an application scenario of the CDN scheduling system according to the embodiment of the present invention;
fig. 3 is a schematic structural diagram of a CDN scheduling system according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of an implementation process of the CDN scheduling method according to the embodiment of the present invention;
fig. 5 is a schematic structural diagram of a CDN scheduling device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
Detailed Description
The invention provides a CDN scheduling system, method and device, and aims to solve the problems that in the existing CDN scheduling method, user side hardware is shared and used, user side interference is easily introduced, misjudgment is caused to CDN node service capacity, software needs to be deployed on the user side, and cost is increased.
The implementation principle of the CDN scheduling system provided by the embodiment of the present invention is as follows: the CDN scheduling system provided by the embodiment of the invention comprises CDN nodes, a data analysis platform and a scheduling server, wherein the CDN nodes report system reference data and service reference data of the CDN nodes to the data analysis platform periodically, the data analysis platform calculates the service capability value of the CDN nodes by using a preset algorithm according to the system reference data and the service reference data reported by the CDN nodes aiming at each CDN node, when the scheduling server receives a data request sent by a terminal, the data request of the terminal is scheduled to a specified CDN node according to the obtained service capability value of each CDN node, the CDN nodes collect data generated by the CDN nodes without distortion, no external component is required to be added, the transportability is strong, the system reference data and the service reference data are reported to the data analysis platform periodically, and the data analysis platform analyzes the service capability of the CDN nodes according to the two types of data, the analysis result is more in line with the operation requirement, the accuracy of CDN node service capability analysis is improved, external software does not need to be deployed, other service purchases are not involved, and expenditure cost is effectively reduced.
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are merely for illustrating and explaining the present invention, and are not intended to limit the present invention, and that the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Fig. 2 is a schematic view of an application scenario of the CDN scheduling system according to an embodiment of the present invention.
The CDN node 11 periodically reports system reference data and service reference data of the CDN node 11 to the data analysis platform 12, where the system reference data is used to represent data information of processing capability of a computer system itself composed of servers of the CDN node, and the service reference data is used to represent data information of service capability of the CDN node, where the CDN node 11 includes at least one server, and the system reference data may include, but is not limited to, the following indexes: the CPU utilization rate, the memory utilization rate, the disk utilization rate, and the network card utilization rate of the server of the CDN node 11 may include, but are not limited to, the following indexes: when the number of the servers of the CDN node 11 is greater than one, each index may be a median or an average of corresponding indexes of the servers, which is not limited in the embodiment of the present invention. The reporting period may be set by itself according to needs, and the embodiment of the present invention does not limit this. Further, for each CDN node 11, the data analysis platform 12 calculates a service capability value of the CDN node 11 by using a preset algorithm according to the system reference data and the service reference data reported by the CDN node 11, specifically, for each CDN node 11, the data analysis platform 12 performs weighted calculation on the index values of the system reference data and the service reference data to obtain the service capability value of the CDN node 11, and sends the service capability value of each CDN node to the scheduling server 13 according to a preset period to be stored in the scheduling server 13, or the scheduling server 13 may actively obtain the service capability value of each CDN node 11 from the data analysis platform according to the preset period and store the service capability value, where the preset period may be set as needed, which is not limited in the embodiment of the present invention. When a user 15 sends a data request to the scheduling server 13 through the terminal 14, the scheduling server 13 schedules the data request of the terminal to an assigned CDN node 11 according to the stored service capability value of each CDN node 11, preferably, the scheduling server 13 may schedule the data request of the terminal to the assigned CDN node 11 according to the stored service capability value of each CDN node 11 sent by the data analysis platform 12 in the last preset period, the terminal 14 sends the data request to the assigned CDN node 11, and the assigned CDN node 11 returns the requested data content to the terminal 14.
A CDN scheduling system according to an exemplary embodiment of the present invention is described below with reference to fig. 3 in conjunction with the application scenario of fig. 2. It should be noted that the above application scenarios are only presented to facilitate understanding of the spirit and principles of the present invention, and the embodiments of the present invention are not limited in any way herein. Rather, embodiments of the present invention may be applied to any scenario where applicable.
As shown in fig. 3, which is a schematic structural diagram of a CDN scheduling system provided in the embodiment of the present invention, the CDN scheduling system may include:
the CDN node 21 is configured to periodically report system reference data and service reference data of the CDN node to a data analysis platform.
In specific implementation, the CDN node 21 periodically reports system reference data and service reference data of the CDN node 21 to the data analysis platform 22, where the system reference data is used to represent data information of processing capability of a computer system itself composed of servers of the CDN node, and the service reference data is used to represent data information of service capability of the CDN node. In the embodiment of the present invention, the reporting period may be set by itself according to needs, and the embodiment of the present invention does not limit this.
Since the server of each CDN node is a computer system, the system reference data is data information that can reflect the processing capability of the computer system itself. Computer system processing power typically includes: CPU usage, memory usage, disk usage, network resource usage (i.e., real-time bandwidth data), which are relatively fixed reference indicators that do not need to consider the type of service running on the computer system, and these system resources are usually related to the hardware configuration of the computer system.
The embodiment of the present invention mainly aims at the service of the CDN edge node, and therefore, may concern about the service index that affects the working effect of the edge node, and generally includes: the method comprises the following steps of user concurrent access amount, first byte access time delay of a user, content downloading rate of the user access, user access success rate, CDN source returning time and the like, wherein most of data of the part is closely related to the operation of service software.
Specifically, the CDN node 21 includes at least one server, where the server at least includes service software, a hardware resource data acquisition module, and a service data acquisition module, where the service software is configured to provide content services for users and deliver content to the users, the hardware resource data acquisition module is configured to acquire system reference data of the server of the CDN node 21, and the system reference data may include, but is not limited to, the following indexes: the service data acquisition module is configured to acquire service reference data of the server of the CDN node 21, where the service reference data may include, but is not limited to, the following indexes: the content download rate, the content access success rate, the first byte response time and the source return information of the server of the CDN node, wherein, the content download rate is the success rate of the terminal 24 accessing the content from the CDN node 21, the first byte response time is the terminal 24 accessing the CDN node 21, the response time of the CDN node 21 to the first byte and the time to source are when the terminal 24 requests data from the CDN node, when the server of the CDN node 21 does not store the data requested by the terminal 24 or the data requested by the terminal 24 cached by the server of the CDN node 21 is expired, the time when the CDN node 21 acquires the requested data from the source station, when the number of the servers of the CDN node 21 is greater than one, each of the indexes may be a median value or an average value of corresponding indexes of the servers of the CDN node 21, which is not limited in the embodiment of the present invention.
The data analysis platform 22 is configured to calculate, for each CDN node 21, a service capability value of the CDN node 21 by using a preset algorithm according to the system reference data and the service reference data reported by the CDN node 21;
in specific implementation, for each CDN node 21, the data analysis platform 22 may perform weighted calculation on each index of the system reference data and the service reference data reported by the CDN node to obtain a service capability value of the CDN node 21. In the weighted calculation, assignment may be performed on the system reference data weight and the weight of each index of the service reference data according to the importance degree, which is not limited in the embodiment of the present invention.
Further, the data analysis platform 22 may send the calculated service capability value of each CDN node 21 to the scheduling server 23 according to a preset period, where the scheduling server 23 stores the service capability value of each CDN node 21, and the scheduling server 23 may also actively obtain and store the service capability value of each CDN node from the data analysis platform according to the preset period. The preset period may be set according to a requirement, which is not limited in the embodiments of the present invention.
And the scheduling server 23 is configured to receive the data request sent by the terminal 24, and schedule the data request to the specified CDN node 21 according to the obtained service capability value of each CDN node 21.
In this step, when a user sends a data request to the scheduling server 23 through the terminal 24, after the scheduling server 23 receives the data request sent by the terminal 24, the data request is scheduled to the specified CDN node 21 according to the service capability value of each CDN node 21 obtained from the data analysis platform 22 according to the preset period, or the data request is scheduled to the specified CDN node 21 according to the service capability value of each CDN node 21 sent by the received data analysis platform 22 according to the preset period, and the terminal 24 sends the data request to the specified CDN node 21.
Preferably, the scheduling server 23 may schedule the data request of the terminal 24 to the designated CDN node 21 according to the obtained service capability value of each CDN node 21 in the last preset period of the current time. Specifically, the scheduling server 23 may schedule the CDN node 21 with the highest service capability value of the CDN nodes 21 obtained in the last preset period of the current time to the terminal 24.
Optionally, the CDN node 21 is further configured to, when receiving a data request of the terminal 24, return requested data content to the terminal 24.
In specific implementation, when the designated CDN node 21 receives a data request sent by the terminal 24, it returns the requested data content to the terminal 24.
The CDN scheduling system provided by the embodiment of the invention comprises CDN nodes, a data analysis platform and a scheduling server, wherein the CDN nodes report system reference data and service reference data of the CDN nodes to the data analysis platform periodically, the data analysis platform calculates the service capability value of the CDN nodes by using a preset algorithm according to the system reference data and the service reference data reported by the CDN nodes aiming at each CDN node, when the scheduling server receives a data request sent by a terminal, the data request of the terminal is scheduled to a specified CDN node according to the obtained service capability value of each CDN node, the CDN nodes collect data generated by the CDN nodes without distortion, no external component is required to be added, the transportability is strong, the system reference data and the service reference data are reported to the data analysis platform periodically, and the data analysis platform analyzes the service capability of the CDN nodes according to the two types of data, the analysis result is more in line with the operation requirement, the accuracy of CDN node service capability analysis is improved, external software does not need to be deployed, other service purchases are not involved, and expenditure cost is effectively reduced.
Based on the same inventive concept, the embodiment of the present invention further provides a CDN scheduling method, and since the principle of solving the problem of the CDN scheduling method is similar to that of the CDN scheduling system, the implementation of the method can be referred to the implementation of the system, and repeated details are not repeated.
As shown in fig. 4, which is a schematic diagram of an implementation flow of the CDN scheduling method provided in the embodiment of the present invention, the CDN scheduling method may include the following steps:
s31, the data analysis platform receives the system reference data and the service reference data of the CDN nodes periodically reported by each CDN node.
And S32, aiming at each CDN node, calculating the service capability value of the CDN node by using a preset algorithm according to the system reference data and the service reference data.
And S33, sending the service capacity value of each CDN node to a scheduling server according to a preset period, so that the scheduling server schedules the CDN nodes for the terminal according to the service capacity values of the CDN nodes when receiving a data request sent by the terminal.
Preferably, the CDN node comprises at least one server;
the system reference data comprises at least the following indicators: the CPU utilization rate, the memory utilization rate, the disk utilization rate and the network card utilization rate of the server of the CDN node;
the service reference data at least comprises the following indexes: and the content downloading rate, the content access success rate, the first byte response time and the source returning time information of the server of the CDN node.
Preferably, the calculating the service capability value of the CDN node according to the system reference data and the service reference data by using a preset algorithm specifically includes:
and performing weighted calculation on various index values of the system reference data and the service reference data to obtain the service capability value of the CDN node.
Based on the same inventive concept, the embodiment of the present invention further provides a CDN scheduling device, and because the principle of solving the problem of the CDN scheduling device is similar to that of the CDN scheduling system, the implementation of the device may refer to the implementation of the system, and repeated details are not repeated.
As shown in fig. 5, which is a schematic structural diagram of a CDN scheduling device according to an embodiment of the present invention, the CDN scheduling device may include:
a receiving unit 41, configured to receive system reference data and service reference data of each CDN node, which are periodically reported by each CDN node;
the calculating unit 42 is configured to calculate, for each CDN node, a service capability value of the CDN node according to the system reference data and the service reference data by using a preset algorithm;
a sending unit 43, configured to send the service capability value of each CDN node to a scheduling server according to a preset period, so that the scheduling server schedules CDN nodes for a terminal according to the service capability values of the CDN nodes when receiving a data request sent by the terminal.
Preferably, the CDN node comprises at least one server;
the system reference data comprises at least the following indicators: the CPU utilization rate, the memory utilization rate, the disk utilization rate and the network card utilization rate of the server of the CDN node;
the service reference data at least comprises the following indexes: and the content downloading rate, the content access success rate, the first byte response time and the source returning time information of the server of the CDN node.
Preferably, the calculating unit 42 is specifically configured to perform weighted calculation on index values of the system reference data and the service reference data to obtain a service capability value of the CDN node.
Based on the same technical concept, an embodiment of the present invention further provides a communication device 500, and referring to fig. 6, the communication device 500 is configured to implement the CDN scheduling method described in the foregoing method embodiment, where the communication device 500 of this embodiment may include: a memory 501, a processor 502, and a computer program, such as a CDN scheduler, stored in the memory and executable on the processor. When executing the computer program, the processor implements the steps in each CDN scheduling method embodiment described above, for example, step S31 shown in fig. 4. Alternatively, the processor, when executing the computer program, implements the functions of the modules/units in the above-described device embodiments, for example, 41.
The embodiment of the present invention does not limit the specific connection medium between the memory 501 and the processor 502. In the embodiment of the present application, the memory 501 and the processor 502 are connected by the bus 503 in fig. 6, the bus 503 is represented by a thick line in fig. 6, and the connection manner between other components is merely illustrative and is not limited thereto. The bus 503 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The memory 501 may be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 501 may also be a non-volatile memory (non-volatile) such as, but not limited to, a read-only memory (rom), a flash memory (flash memory), a hard disk (HDD) or a solid-state drive (SSD), or the memory 501 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 501 may be a combination of the above memories.
Processor 502 is configured to implement a CDN scheduling method as shown in fig. 4, and includes:
the processor 502 is configured to call a computer program stored in the memory 501 to execute step S31 shown in fig. 4, where the data analysis platform receives system reference data and service reference data of the CDN node periodically reported by each CDN node, step S32 is to calculate, for each CDN node, a service capability value of the CDN node according to the system reference data and the service reference data by using a preset algorithm, and step S33 is to send the service capability value of each CDN node to a scheduling server according to a preset period, so that the scheduling server schedules the CDN nodes for a terminal according to the service capability values of each CDN node when receiving a data request sent by the terminal.
The embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions required to be executed by the processor, and includes a program required to be executed by the processor.
In some possible embodiments, aspects of the CDN scheduling method provided by the present invention may also be implemented as a program product, which includes program code, when the program product runs on a communication device, the program code is configured to enable the communication device to perform the steps in the CDN scheduling method according to various exemplary embodiments of the present invention described above, for example, the communication device may perform step S31 shown in fig. 4, where the data analysis platform receives system reference data and service reference data of the CDN nodes periodically reported by each CDN node, step S32 calculates, for each CDN node, a service capability value of the CDN node according to the system reference data and the service reference data by using a preset algorithm, and step S33, where the service capability value of each CDN node is sent to a scheduling server according to a preset period, and the scheduling server schedules the CDN nodes for the terminal according to the service capability values of the CDN nodes when receiving the data request sent by the terminal.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for CDN scheduling of embodiments of the present invention may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a computing device. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the units described above may be embodied in one unit, according to embodiments of the invention. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (13)

1. A CDN scheduling system for a content delivery network, comprising:
the CDN node is used for periodically reporting system reference data and service reference data of the CDN node to a data analysis platform;
the data analysis platform is used for calculating the service capability value of each CDN node by using a preset algorithm according to the system reference data and the service reference data reported by the CDN node;
and the scheduling server is used for receiving the data request sent by the terminal and scheduling the data request to the appointed CDN node according to the obtained service capability value of each CDN node.
2. The system of claim 1,
the scheduling server is specifically configured to schedule the data request to an appointed CDN node according to the service capability value of each CDN node obtained from the data analysis platform according to a preset period; or
And scheduling the data request to an appointed CDN node according to the service capability value of each CDN node sent by the received data analysis platform according to a preset period.
3. The system of claim 1,
and the CDN node is further used for returning the requested data content to the terminal when receiving the data request of the terminal.
4. The system of claim 1,
the CDN node comprises at least one server;
the system reference data comprises at least the following indicators: the CPU utilization rate, the memory utilization rate, the disk utilization rate and the network card utilization rate of the server of the CDN node;
the service reference data at least comprises the following indexes: and the content downloading rate, the content access success rate, the first byte response time and the source returning time information of the server of the CDN node.
5. The system of claim 4,
the data analysis platform is specifically configured to perform weighted calculation on various index values of the system reference data and the service reference data for each CDN node, so as to obtain a service capability value of the CDN node.
6. A CDN scheduling method for a content delivery network is characterized by comprising the following steps:
a data analysis platform receives system reference data and service reference data of each CDN node, wherein the system reference data and the service reference data are periodically reported by each CDN node;
aiming at each CDN node, calculating the service capability value of the CDN node by using a preset algorithm according to the system reference data and the service reference data;
and sending the service capacity value of each CDN node to a scheduling server according to a preset period so that the scheduling server schedules the CDN nodes for the terminal according to the service capacity value of each CDN node when receiving a data request sent by the terminal.
7. The method of claim 6,
the CDN node comprises at least one server;
the system reference data comprises at least the following indicators: the CPU utilization rate, the memory utilization rate, the disk utilization rate and the network card utilization rate of the server of the CDN node;
the service reference data at least comprises the following indexes: and the content downloading rate, the content access success rate, the first byte response time and the source returning time information of the server of the CDN node.
8. The method of claim 7, wherein calculating the service capability value of the CDN node according to the system reference data and the service reference data by using a preset algorithm specifically includes:
and performing weighted calculation on various index values of the system reference data and the service reference data to obtain the service capability value of the CDN node.
9. A content delivery network CDN scheduling apparatus, comprising:
the receiving unit is used for receiving system reference data and service reference data of the CDN nodes, which are periodically reported by each CDN node;
the calculation unit is used for calculating the service capability value of each CDN node according to the system reference data and the service reference data by using a preset algorithm;
and the sending unit is used for sending the service capacity value of each CDN node to a scheduling server according to a preset period so that the scheduling server schedules the CDN nodes for the terminal according to the service capacity values of the CDN nodes when receiving a data request sent by the terminal.
10. The apparatus of claim 9,
the CDN node comprises at least one server;
the system reference data comprises at least the following indicators: the CPU utilization rate, the memory utilization rate, the disk utilization rate and the network card utilization rate of the server of the CDN node;
the service reference data at least comprises the following indexes: and the content downloading rate, the content access success rate, the first byte response time and the source returning time information of the server of the CDN node.
11. The apparatus of claim 10,
the calculation unit is specifically configured to perform weighted calculation on index values of the system reference data and the service reference data to obtain a service capability value of the CDN node.
12. A communication device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the CDN scheduling method of any one of claims 6-8 when executing the program.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the CDN scheduling method as recited in any one of claims 6-8.
CN201810877894.0A 2018-08-03 2018-08-03 CDN scheduling system, method and device Pending CN110798496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810877894.0A CN110798496A (en) 2018-08-03 2018-08-03 CDN scheduling system, method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810877894.0A CN110798496A (en) 2018-08-03 2018-08-03 CDN scheduling system, method and device

Publications (1)

Publication Number Publication Date
CN110798496A true CN110798496A (en) 2020-02-14

Family

ID=69425985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810877894.0A Pending CN110798496A (en) 2018-08-03 2018-08-03 CDN scheduling system, method and device

Country Status (1)

Country Link
CN (1) CN110798496A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783944A (en) * 2021-08-24 2021-12-10 国网冀北电力有限公司信息通信分公司 Video data processing method, device, system and equipment based on cloud edge cooperation
CN116996582A (en) * 2023-09-26 2023-11-03 公诚管理咨询有限公司 CDN dispatch intelligent monitoring management system based on big data analysis

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110078230A1 (en) * 2009-09-25 2011-03-31 Emilio Sepulveda Method and system for providing a cdn with granular quality of service
CN104038358A (en) * 2013-03-06 2014-09-10 中兴通讯股份有限公司 Content scheduling method and content scheduling device
CN107613030A (en) * 2017-11-06 2018-01-19 网宿科技股份有限公司 A kind of method and system of processing business request

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110078230A1 (en) * 2009-09-25 2011-03-31 Emilio Sepulveda Method and system for providing a cdn with granular quality of service
CN104038358A (en) * 2013-03-06 2014-09-10 中兴通讯股份有限公司 Content scheduling method and content scheduling device
CN107613030A (en) * 2017-11-06 2018-01-19 网宿科技股份有限公司 A kind of method and system of processing business request

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783944A (en) * 2021-08-24 2021-12-10 国网冀北电力有限公司信息通信分公司 Video data processing method, device, system and equipment based on cloud edge cooperation
CN113783944B (en) * 2021-08-24 2024-03-22 国网冀北电力有限公司信息通信分公司 Video data processing method, device, system and equipment based on cloud edge cooperation
CN116996582A (en) * 2023-09-26 2023-11-03 公诚管理咨询有限公司 CDN dispatch intelligent monitoring management system based on big data analysis
CN116996582B (en) * 2023-09-26 2024-01-12 公诚管理咨询有限公司 CDN dispatch intelligent monitoring management system based on big data analysis

Similar Documents

Publication Publication Date Title
US11146502B2 (en) Method and apparatus for allocating resource
US10057139B2 (en) Maintain a service on a cloud network based on a scale rule
US20190312943A1 (en) Systems and methods for avoiding server push of objects already cached at a client
US9503498B2 (en) Web page script management
US9065752B2 (en) Dynamic service class upgrades in data networks
CN107370806B (en) HTTP status code monitoring method, device, storage medium and electronic equipment
Cui et al. TailCutter: Wisely cutting tail latency in cloud CDNs under cost constraints
CN109246229A (en) A kind of method and apparatus of distribution resource acquisition request
CN111614736A (en) Network content resource scheduling method, domain name scheduling server and electronic equipment
CN111404713B (en) Network resource adjusting method, device and storage medium
CN111966289B (en) Partition optimization method and system based on Kafka cluster
US9603033B2 (en) Online and distributed optimization framework for wireless analytics
US20150244645A1 (en) Intelligent infrastructure capacity management
CN106550003A (en) The control method of load balancing, apparatus and system
CN102938716B (en) Content distribution network acceleration test method and device
CN109981805A (en) A kind of method and device of domain name mapping
CN105409284A (en) Data bandwidth management system and method
CN109151070B (en) Block chain-based service scheduling method and electronic device for point-to-point CDN (content delivery network)
CN110798496A (en) CDN scheduling system, method and device
Raivio et al. Hybrid Cloud Architecture for Short Message Services.
CN111831503B (en) Monitoring method based on monitoring agent and monitoring agent device
US9971683B1 (en) Automatic computer memory management coordination across a group of servers
CN103051722B (en) A kind ofly determine the method whether page is held as a hostage and relevant device
CN114465919B (en) Network service testing method, system, electronic equipment and storage medium
CN109617957A (en) A kind of file uploading method based on CDN network, device, server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200214

RJ01 Rejection of invention patent application after publication