CN-122027633-A - Method, system, equipment and medium for scheduling edge vCDN scene resources
Abstract
The invention discloses a method, a system, equipment and a medium for scheduling resources in a border vCDN scene, which are applied to a mixed cloud environment system comprising a container arrangement platform and a cloud management platform, and are characterized in that firstly, a plurality of resource use indexes of vCDN service containers running on the container arrangement platform and the resource states of hosts where the vCDN service containers are located are collected, then, when the resource use indexes meet preset expansion triggering conditions, whether the resource states of the hosts where the vCDN service containers are located meet preset sufficient resource conditions is judged, if yes, the resource expansion operation is carried out on the vCDN service containers, otherwise, after non-vCDN service loads borne on the hosts are migrated to other nodes except the current hosts, the resource expansion operation is carried out on the vCDN service containers. The invention can effectively solve the problem of shortage of the edge vCDN node resources, and can improve the utilization rate of the edge node resources while ensuring the stable operation of vCDN service.
Inventors
- LU YAO
Assignees
- 中移(苏州)软件技术有限公司
- 中国移动通信集团有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260212
Claims (10)
- 1. An edge vCDN scene resource scheduling method is characterized by being applied to a hybrid cloud environment system, wherein the hybrid cloud environment system comprises a container arrangement platform and a cloud management platform, and a management component of the cloud management platform is containerized and scheduled by the container arrangement platform; the method comprises the following steps: Collecting a plurality of resource use indexes of vCDN service containers running on the container arrangement platform and the resource state of a host machine where the vCDN service containers are located; When the resource use index meets a preset capacity expansion triggering condition, judging whether the resource state of a host machine where the vCDN service container is located meets a preset resource sufficiency condition, if so, executing resource capacity expansion operation on the vCDN service container, and if not, executing resource capacity expansion operation on the vCDN service container after transferring non-vCDN service loads borne on the host machine to other nodes except the current host machine.
- 2. The edge vCDN scene resource scheduling method of claim 1, further comprising: and when the resource use index meets a preset overload trigger condition, scheduling part of the service flow of the vCDN service containers to other vCDN service containers.
- 3. The edge vCDN scene resource scheduling method of claim 1, further comprising: Determining a high-transmission time period of CDN service according to the historical service data; before the high-transmission time period starts, actively migrating non-vCDN traffic load on at least one target host to other nodes except the target host; And after the high-speed time period is finished, if the resource use index of the vCDN service container on the target host is restored to the safety range, the migrated non-vCDN service load is migrated back to the original target host.
- 4. The edge vCDN scenario resource scheduling method of claim 2, wherein scheduling a portion of traffic of the vCDN traffic container to other vCDN traffic containers comprises: Scheduling part of the service traffic of the vCDN service containers to other vCDN service containers according to a pre-configured static scheduling strategy; the static scheduling strategy is configured based on at least one dimension of traffic load, disk state, connection number and geographic position.
- 5. The edge vCDN scene resource scheduling method of claim 1, wherein the resource usage metrics include CPU occupancy, memory occupancy, disk occupancy, and network input/output.
- 6. The method of claim 5, wherein the predetermined capacity expansion trigger condition is that at least one of a CPU occupancy rate, a memory occupancy rate, and a disk occupancy rate exceeds a predetermined capacity expansion trigger threshold, and the predetermined overload trigger condition is that a network input/output of the vCDN service container exceeds a predetermined overload trigger threshold.
- 7. The edge vCDN scenario resource scheduling method of any one of claims 1-6, wherein the non-vCDN traffic load includes a storage-type virtual machine below a preset threshold, and a containerized cloud management platform management component.
- 8. An edge vCDN scene resource scheduling system, characterized by being applied to a hybrid cloud environment system, the hybrid cloud environment system comprising a container orchestration platform and a cloud management platform, management components of the cloud management platform being containerized and scheduled by the container orchestration platform; the edge vCDN scene resource scheduling system includes: The resource information acquisition module is used for acquiring a plurality of resource use indexes of vCDN service containers running on the container arrangement platform and the resource state of a host where the vCDN service containers are located; And the capacity scheduling module is used for judging whether the resource state of the host machine where the vCDN service container is positioned meets the preset sufficient resource condition or not when the resource use index meets the preset capacity expansion triggering condition, if so, executing the resource capacity expansion operation on the vCDN service container, and if not, executing the resource capacity expansion operation on the vCDN service container after the non-vCDN service load borne on the host machine is migrated to other nodes except the current host machine.
- 9. An edge vCDN scene resource scheduling device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the edge vCDN scene resource scheduling method according to any one of claims 1 to 7 when executing the computer program.
- 10. A computer readable storage medium, wherein the computer readable storage medium stores a computer program, and wherein the computer program when executed controls a device in which the computer readable storage medium is located to perform the edge vCDN scene resource scheduling method according to any one of claims 1 to 7.
Description
Method, system, equipment and medium for scheduling edge vCDN scene resources Technical Field The present invention relates to the field of content distribution networks, and in particular, to a method, a system, an apparatus, and a medium for scheduling scene resources by using an edge vCDN. Background CDNs (Content Delivery Network, content delivery networks) are a group of servers distributed in different geographical locations, the purpose of which is to deliver internet content to users more efficiently. And vCDN (Vitural Content Deliver Network, virtualized content delivery network) is a virtualized CDN software application that can run CDN workloads on a proprietary, bare metal, virtualized, or container-based infrastructure. The vCDN is deployed on the edge computing node to be a novel form of CDN service, and although the performance utilization rate and service flexibility of the server are improved compared with the traditional CDN, a physical server in an edge computing scene has the inherent characteristics of light weight and shortage of physical resources, after the vCDN is deployed on the edge node, when the vCDN service load is increased, the situation that the resource occupancy rate of the edge node is too high easily occurs, so that the operation of vCDN self content distribution service is blocked, and the normal development of other public cloud services running on the node at the same time can be influenced. The prior edge vCDN node resource shortage related solution is based on the traditional CDN node design, and is subject to the condition that the single drainage mode for transferring the flow to other nodes is adopted in the presence of overhigh load, so that the service hit rate and usability of CDN are reduced due to the fact that the single drainage mode is easily interfered by factors such as network, distance and the like, and the real-time performance of monitoring and focusing on upper-layer indexes such as user service quality, video service quality and the like is poor, and when vCDN service is unstable, the problem root is difficult to quickly early warn and accurately find. Disclosure of Invention The invention aims to provide a method, a system, equipment and a medium for scheduling edge vCDN scene resources, which effectively solve the problem of shortage of edge vCDN node resources, and improve the utilization rate of edge node resources while ensuring the stable operation of vCDN service. In order to achieve the above object, the present invention provides a method for scheduling edge vCDN scene resources, which is applied to a hybrid cloud environment system, wherein the hybrid cloud environment system comprises a container arrangement platform and a cloud management platform, and a management component of the cloud management platform is containerized and scheduled by the container arrangement platform; the method comprises the following steps: Collecting a plurality of resource use indexes of vCDN service containers running on the container arrangement platform and the resource state of a host machine where the vCDN service containers are located; When the resource use index meets a preset capacity expansion triggering condition, judging whether the resource state of a host machine where the vCDN service container is located meets a preset resource sufficiency condition, if so, executing resource capacity expansion operation on the vCDN service container, and if not, executing resource capacity expansion operation on the vCDN service container after transferring non-vCDN service loads borne on the host machine to other nodes except the current host machine. Optionally, the edge vCDN scene resource scheduling method further includes: and when the resource use index meets a preset overload trigger condition, scheduling part of the service flow of the vCDN service containers to other vCDN service containers. Optionally, the edge vCDN scene resource scheduling method further includes: Determining a high-transmission time period of CDN service according to the historical service data; before the high-transmission time period starts, actively migrating non-vCDN traffic load on at least one target host to other nodes except the target host; And after the high-speed time period is finished, if the resource use index of the vCDN service container on the target host is restored to the safety range, the migrated non-vCDN service load is migrated back to the original target host. Optionally, scheduling part of the traffic of the vCDN traffic containers to other vCDN traffic containers includes: Scheduling part of the service traffic of the vCDN service containers to other vCDN service containers according to a pre-configured static scheduling strategy; the static scheduling strategy is configured based on at least one dimension of traffic load, disk state, connection number and geographic position. Optionally, the resource usage index includes CPU occupancy, memory occupanc