Node adjustment method and device, management platform, storage medium and program product
By working in tandem with the CDN network management platform and the network controller, CDN node resource information is obtained and corresponding operations are performed. This solves the problems of cumbersome configuration and poor timeliness of traditional CDN node adjustment methods, enabling rapid adjustment of CDN node service capabilities and meeting complex business needs.
Patent Information
- Application Number
- CN202410411393.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-07
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2044-04-07
AI Technical Summary
Traditional methods for adjusting CDN node service capabilities are cumbersome to configure and have poor timeliness, making it difficult to meet the increasingly complex CDN business needs.
The management platform in the CDN network works in collaboration with the network controller on the bearer network to obtain resource usage information of CDN nodes, generate node control commands and execute corresponding operations, such as scaling up, scaling down, creating or deleting nodes, and provide feedback on capability update information to adjust node service capabilities.
It enables rapid and fine-grained adjustment of CDN node service capabilities, maximizes node performance, solves the problems of cumbersome configuration and poor timeliness, and meets the complex needs of CDN services.
Smart Images

Figure CN118827368B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a node adjustment method, apparatus, management platform, computer storage medium, and computer program product. Background Technology
[0002] With the development of technology and the popularization of the Internet, video services have experienced explosive growth. Because video services have very high bandwidth requirements, and almost all videos use Content Delivery Network (CDN) technology as an acceleration solution, the transmission process involves both CDN and the carrier's transport network.
[0003] In current CDN networks, when the service capabilities of a CDN node change, such as due to hardware upgrades, bandwidth increases, or storage expansion, the traditional approach is usually to statically configure node service rules or use complex routing protocols to adjust the corresponding node's service capabilities. However, these methods suffer from cumbersome configuration and poor timeliness, making it difficult to meet the increasingly complex needs of CDN services. Summary of the Invention
[0004] This application provides a node adjustment method, apparatus, management platform, computer storage medium, and computer program product.
[0005] The technical solution of this application is implemented as follows:
[0006] This application provides a node adjustment method applied to a management platform in a CDN network. The management platform is communicatively connected to a network controller, and the CDN network also includes multiple deployed CDN nodes. The method includes:
[0007] Obtain resource usage information of the first CDN node; the first CDN node is any one of the plurality of CDN nodes;
[0008] Node control instructions are generated based on the resource usage information, and corresponding node control operations are executed based on the node control instructions; wherein, the node control instructions include expansion instructions, reduction instructions, new node instructions, or delete node instructions;
[0009] After executing the node control operation, the network controller sends back the capability update information of the second CDN node corresponding to the node control operation, so that the network controller can adjust the service capabilities of the second CDN node according to the capability update information.
[0010] This application provides a node adjustment device applied to a management platform in a CDN network. The management platform is communicatively connected to a network controller, and the CDN network further includes multiple deployed CDN nodes. The device includes:
[0011] The acquisition module is used to acquire resource usage information of the first CDN node; the first CDN node is any one of the plurality of CDN nodes.
[0012] The control module is used to generate node control instructions based on the resource usage information, and to execute corresponding node control operations based on the node control instructions; wherein, the node control instructions include expansion instructions, reduction instructions, new node instructions, or delete node instructions;
[0013] The adjustment module is used to feed back the capability update information of the second CDN node corresponding to the node control operation to the network controller after the node control operation is executed, so that the network controller can adjust the service capabilities of the second CDN node according to the capability update information.
[0014] This application provides a management platform, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the node adjustment method provided by one or more of the aforementioned technical solutions.
[0015] This application provides a computer storage medium storing a computer program; when the computer program is executed, it can implement the node adjustment method provided by one or more of the aforementioned technical solutions.
[0016] This application provides a computer program product, including a computer program that, when executed by a processor, implements the node adjustment method provided by one or more of the aforementioned technical solutions.
[0017] This application provides a node adjustment method, apparatus, management platform, computer storage medium, and computer program product. The method is applied to a management platform in a CDN network. The management platform is communicatively connected to a network controller. The CDN network also includes multiple deployed CDN nodes. The method includes: obtaining resource usage information of a first CDN node; the first CDN node is any one of the multiple CDN nodes; generating node control instructions based on the resource usage information, and executing corresponding node control operations based on the node control instructions; wherein the node control instructions include expansion instructions, reduction instructions, new node instructions, or delete node instructions; after executing the node control operation, feeding back capability update information of a second CDN node corresponding to the node control operation to the network controller, so that the network controller adjusts the service capabilities of the second CDN node based on the capability update information.
[0018] As can be seen, in this embodiment of the application, the management platform in the CDN network and the network controller on the bearer network work together to enable the network controller to quickly and finely adjust the service capabilities of the corresponding CDN nodes according to the CDN node capability update information, so as to maximize the node performance. Since the node adjustment method provided in this embodiment of the application does not require additional configuration of node service rules or the use of complex routing protocols, it can solve the problems of cumbersome configuration and poor timeliness in related technologies, and can well meet the increasingly complex CDN service needs. Attached Figure Description
[0019] Figure 1 This is a schematic diagram illustrating an application scenario of a node adjustment method provided in an embodiment of this application.
[0020] Figure 2 A flowchart illustrating a node adjustment method provided in an embodiment of this application;
[0021] Figure 3 A flowchart illustrating another node adjustment method provided in an embodiment of this application;
[0022] Figure 4 A flowchart illustrating yet another node adjustment method provided in an embodiment of this application;
[0023] Figure 5 This is a schematic diagram of the composition structure of the node adjustment device according to an embodiment of this application;
[0024] Figure 6 A schematic diagram of the structure of the management platform provided in the embodiments of this application. Detailed Implementation
[0025] The technical solutions in this application will now be clearly and completely described with reference to the accompanying drawings.
[0026] The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are merely illustrative of the present application and are not intended to limit the present application. Furthermore, the embodiments provided below are some embodiments for implementing the present application, and not all embodiments for implementing the present application. Unless otherwise specified, the technical solutions described in the present application can be implemented in any combination.
[0027] It should be noted that, in this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a method or system that includes a list of elements includes not only the elements expressly described, but also other elements not expressly listed, or elements inherent to implementing the method or system. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the presence of other related elements (e.g., steps in the method or units in the system, such as portions of a processor, a portion of a program, or software, etc.) in the method or system that includes that element.
[0028] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0029] For example, the node adjustment method provided in this application embodiment includes a series of steps, but the node adjustment method provided in this application embodiment is not limited to the steps described. Similarly, the component ordering system provided in this application embodiment includes a series of modules, but the component ordering system provided in this application embodiment is not limited to the modules explicitly described, but may also include modules that need to be set for obtaining relevant messages or processing based on messages.
[0030] Currently, CDN plays a crucial role in the development of the video industry, mainly in the following aspects: 1) Reducing operating costs: By distributing video content to edge nodes around the world, CDN can reduce server bandwidth costs, while also reducing server hardware and maintenance costs, helping video companies lower operating costs; 2) Alleviating bandwidth pressure: As video content increases, the demand for network bandwidth also continues to grow. CDN effectively alleviates the bandwidth pressure on the original server by distributing video content to edge nodes around the world, reducing server load and ensuring that users can watch videos smoothly; 3) Supporting large-scale concurrency: One of the characteristics of the video industry is the large number of users, which places extremely high demands on servers. CDN can support large-scale concurrency, effectively handling user traffic during peak periods and ensuring the stability and availability of video services.
[0031] The core of CDN acceleration technology lies in caching content on edge nodes closer to the user's geographical location. When a user requests content, the CDN prioritizes the nearest node server to respond to the request, avoiding long-distance data transmission over the network, reducing latency and load, and thus speeding up content loading.
[0032] CDN acceleration of video relies not only on the CDN itself but also places certain demands on the transport network, primarily including the following: 1) Sufficient bandwidth: CDNs require significant bandwidth to support a large number of user accesses. Therefore, the transport network needs sufficient bandwidth to meet the CDN's needs and ensure smooth access to CDN content for users; 2) Stable network: CDNs depend on a stable network to guarantee content distribution and transmission. Instability in the transport network can lead to content transmission failures, impacting the user experience; 3) Low-latency network environment: The goal of CDNs is to improve user access speed by distributing content to nodes closest to the user. Therefore, the transport network needs to provide a low-latency network environment to reduce data transmission time and improve user access speed; 4) Secure network environment: CDN content is often high-value, such as videos and music. Therefore, the transport network needs to provide a secure network environment to prevent these contents from being illegally accessed or tampered with; 5) Elastic scalability: The number of CDN users may suddenly increase due to various reasons (such as hot content, promotional activities, etc.). Therefore, the transport network needs to have elastic scalability so that network resources can be quickly increased when the number of users increases, ensuring the user's access experience.
[0033] To address the aforementioned requirements of CDN for the transport network, this application provides a node adjustment method. This method enables the management platform in the CDN network to work collaboratively with the network controller on the transport network, allowing the network controller to quickly and finely adjust the service capabilities of the corresponding CDN nodes based on the capability update information of the CDN nodes. This maximizes node performance, ensures that the transport network can effectively meet the aforementioned requirements, and improves the service quality of the CDN.
[0034] In some embodiments of this application, the node adjustment method can be implemented using a processor in the node adjustment device. The processor can be at least one of the following: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), controller, microcontroller, and microprocessor.
[0035] The embodiments of this application will now be described with reference to the accompanying drawings.
[0036] Figure 1 This is a schematic diagram illustrating an application scenario of a node adjustment method provided in an embodiment of this application, such as... Figure 1 As shown, this application scenario includes: a management platform 11 and a network controller 12. Here, the management platform 11 is the CDN network management center in the CDN network, and the network controller 12 is deployed on the bearer network. The management platform 11 and the network controller 12 communicate through the bearer network. The CDN network also includes multiple CDN nodes deployed in virtualized form (corresponding to...). Figure 1 Each vCDN in the cloud resource pool (corresponding to...) Figure 1 In the cloud resource pool 1 and cloud resource pool 2, BRAS1 to BRAS3 are broadband access servers, and SR is a service router. They are the core control unit for user APP and service access. The SRv6 Policy mechanism is a mechanism for defining and controlling SRv6 routing policies, which can help operators implement various network service functions, such as traffic engineering, load balancing and fault recovery.
[0037] For example, the management platform 11 obtains the resource usage information of the first CDN node; generates node control instructions based on the resource usage information, and executes corresponding node control operations based on the node control instructions; wherein, the node control instructions include expansion instructions, reduction instructions, new node instructions, or delete node instructions; after executing the node control operation, it feeds back the capability update information of the second CDN node corresponding to the node control operation to the network controller; the network controller 12 adjusts the service capabilities of the second CDN node based on the capability update information.
[0038] Here, the first CDN node is any one of multiple CDN nodes; it should be noted that when the node control command includes an expansion command, a reduction command, or a deletion command, the first CDN node and the second CDN node are the same node; when the node control command includes a new node command, the first CDN node and the second CDN node are different nodes.
[0039] Figure 2 This is a flowchart illustrating a node adjustment method provided in an embodiment of this application, which can be based on... Figure 1 The application scenarios shown are implemented as follows: Figure 2 As shown, the process may include:
[0040] Step 200: Obtain the resource usage information of the first CDN node.
[0041] In this embodiment of the application, the CDN network may include a management platform and multiple pre-deployed CDN nodes. Here, the management platform is also called the CDN network management center, which is centrally deployed on the CDN network; the CDN node is also called the CDN edge node, which is distributed on the CDN network in a virtualized form and has the ability to carry services; the first CDN node refers to the CDN node in the CDN network that has adjustment requirements, which can be any CDN node among multiple CDN nodes.
[0042] For example, the first CDN node may include several servers. Here, the type of server is not limited. For example, it may be a virtual server or a cloud server.
[0043] In this embodiment of the application, after the management platform and CDN nodes are deployed, the management platform can collect the resource usage information of the first CDN node in real time. At this time, the management platform can obtain the resource usage information of the first CDN node.
[0044] For example, resource usage information may include the configured resource amount and the currently used resource amount of the first CDN node; it can reflect the current load status of the first CDN node.
[0045] In another embodiment, the management platform can also collect the capability planning information of the first CDN node in real time. It should be noted that after collecting the capability planning information and resource usage information of the first CDN node, the management platform will send the capability planning information and resource usage information of the first CDN node to the network controller on the bearer network, so that the network controller can register the first CDN node according to the received capability planning information and resource usage information.
[0046] It should be noted that after node registration is completed, the information of the first CDN node in the network controller is synchronized with the information in the CDN network; that is, the information of the first CDN node in the network controller is the same as the information of the first CDN node in the CDN network.
[0047] For example, capacity planning information may include, but is not limited to, information such as node server size, maximum network bandwidth that can be carried, storage capacity, maximum number of concurrent connections that can be carried, and throughput.
[0048] Furthermore, upon receiving the capability planning information of the first CDN node, the network controller can determine the initial service capabilities allocated to the first CDN node based on this capability planning information; and set the initial service capabilities for the first CDN node through the SRv6Policy mechanism.
[0049] For example, the initial service capabilities may include, but are not limited to: node access bandwidth, node cache capacity, node load capacity, node service type, and node forwarding rules; the setting process of each initial service capability is illustrated below.
[0050] Node access bandwidth: Based on the capability planning information sent by the management platform, the network controller allocates a certain amount of access bandwidth to the first CDN node as a channel for data transmission with upstream and downstream networks. The allocated access bandwidth should match the hardware capabilities of the first CDN node itself.
[0051] Node cache capacity: The network controller allocates a certain cache capacity to the first CDN node based on the capacity planning information sent by the management platform. This cache capacity is used to temporarily store hot content locally in order to improve response speed. The allocated cache resources need to take into account the node's own storage capacity.
[0052] Node load capacity: Based on the capacity planning information sent by the management platform, the network controller obtains the hardware processing capacity of the first CDN node, sets the maximum number of concurrent connections and throughput it can support, and avoids node overload.
[0053] Node service type: Based on the capacity planning information sent by the management platform, the network controller determines the service type that the first CDN node will prioritize to carry (such as large file download, streaming media on demand, etc.) and matches the corresponding transmission and caching strategies.
[0054] Node forwarding rules: Based on the capacity planning information sent by the management platform, the network controller issues SRv6 forwarding rules to the network devices corresponding to the first CDN node to ensure that user requests can be accurately routed to the first CDN node, and performs policy control on traffic such as node origin pull and inter-node scheduling.
[0055] As can be seen in this embodiment, after the network controller determines the above initial service capabilities based on the capability planning information of the first CDN node, it can dynamically allocate the above initial service capabilities to the first CDN node through the SRv6 Policy mechanism, so that it can quickly have service capabilities and be included in the global scheduling system; the service capabilities of subsequent nodes can be adjusted in real time according to load changes.
[0056] Step 201: Generate node control instructions based on resource usage information, and execute corresponding node control operations based on the node control instructions.
[0057] In this embodiment of the application, after the management platform obtains the resource usage information of the first CDN node, in addition to sending it to the network controller for node registration, it will also generate node control instructions based on the resource usage information.
[0058] Here, node control commands can include expansion commands, reduction commands, new node commands, or delete node commands. The expansion, reduction, and delete commands are commands that perform corresponding node control operations on the first CDN node, while the new node command is a command that performs corresponding node control operations on a newly created CDN node.
[0059] In some embodiments, generating node control instructions based on resource usage information may include: determining the load rate of a first CDN node based on resource usage information; comparing the load rate with a first preset threshold to obtain a first comparison result; and generating node control instructions based on the first comparison result.
[0060] For example, as can be seen from the above, the resource usage information may include the configured resource amount and the currently used resource amount of the first CDN node. Here, the load rate is the resource utilization rate, and the ratio of the currently used resource amount to the configured resource amount can be used as the load rate of the first CDN node.
[0061] Furthermore, after obtaining the load rate of the first CDN node, the load rate can be compared with a first set threshold to obtain a first comparison result. The first comparison result can characterize the relationship between the load rate and the first set threshold. Then, node control instructions are generated based on the first comparison result.
[0062] Here, the first set threshold value ranges from 0 to 1, and its value can be set according to the actual situation. This application embodiment does not make a specific limitation on this. For example, the first set threshold value can be 0.5 or 0.6, etc.
[0063] In some embodiments, generating node control instructions based on the first comparison result may include: if the first comparison result indicates that the load rate is less than a first set threshold, generating a scaling-down instruction or a node deletion instruction.
[0064] For example, if the first comparison result shows that the load rate is less than a first set threshold, it indicates that the load rate of the first CDN node is low. To improve the resource utilization of the node, in one embodiment, the management platform can send a scaling-down command to the first CDN node to control the first CDN node to perform a scaling-down operation. In another embodiment, the management platform can also send a node deletion command to the first CDN node to control the first CDN node to perform a node deletion operation.
[0065] Here, controlling the first CDN node to perform a scaling-down operation is equivalent to reducing the number of servers in the first CDN node; controlling the first CDN node to perform a node deletion operation is equivalent to taking all servers in the first CDN node offline.
[0066] For example, when the load rate is less than a first set threshold, the management platform can determine whether to send a scaling-down command or a node deletion command to the first CDN node based on the value of the first set threshold. Understandably, if the value of the first set threshold is large, for example, 0.8, it means that the first CDN node is likely to have a certain load rate. In this case, to avoid affecting the normal operation of the business, a scaling-down command can be sent to the first CDN node. Conversely, if the value of the first set threshold is small, for example, 0.2, it means that the load rate of the first CDN node is low. In this case, to save node resources, a node deletion command can be sent to the first CDN node.
[0067] In some embodiments, generating node control instructions based on the first comparison result may further include: if the first comparison result indicates that the load rate is greater than or equal to a first preset threshold, determining the amount of idle resources of the first CDN node based on resource usage information; comparing the amount of idle resources with a second preset threshold to obtain a second comparison result; and generating node control instructions based on the second comparison result.
[0068] For example, if the first comparison result shows that the load rate is greater than or equal to the first set threshold, it indicates that the load rate of the first CDN node is high. In order to ensure the service performance of the node, the management platform can determine the amount of idle resources of the first CDN node based on the resource usage information, compare the amount of idle resources with the second set threshold, and the second comparison result can characterize the relationship between the amount of idle resources and the second set threshold. Then, node control instructions are generated based on the second comparison result.
[0069] Here, the amount of free resources is the amount of remaining resources. The difference between the configured amount of resources and the amount of currently used resources can be used as the amount of free resources for the first CDN node.
[0070] For example, the value of the second set threshold can be set according to the actual situation, and the embodiments of this application do not specifically limit it.
[0071] In some embodiments, generating node control instructions based on the second comparison result may include: generating an expansion instruction if the second comparison result indicates that the amount of idle resources is greater than or equal to a second preset threshold; and generating a new node instruction if the second comparison result indicates that the amount of idle resources is less than the second preset threshold.
[0072] For example, if the second comparison result shows that the amount of idle resources is greater than or equal to the second preset threshold, it indicates that the first CDN node has sufficient idle resources. In this case, the management platform can send a scaling instruction to the first CDN node to control the first CDN node to perform a scaling operation. Conversely, if the second comparison result shows that the amount of idle resources is less than the second preset threshold, it indicates that the first CDN node has insufficient idle resources. In this case, the management platform can send a new node instruction to the cloud resource pool to control the cloud resource pool to perform a new node operation. The cloud resource pool can be the cloud resource pool where the first CDN node is located, or it can be another cloud resource pool. This application embodiment does not limit this.
[0073] Here, controlling the first CDN node to perform a capacity expansion operation is equivalent to increasing the number of servers in the server pool by adding the first CDN node; controlling the cloud resource pool to perform a new node creation operation is equivalent to creating a new CDN node in the cloud resource pool.
[0074] Step 202: After executing the node control operation, the capability update information of the second CDN node corresponding to the node control operation is fed back to the network controller, so that the network controller can adjust the service capabilities of the second CDN node according to the capability update information.
[0075] In this embodiment of the application, after the management platform performs node control operations according to the above steps, it can obtain the capability update information of the second CDN node corresponding to the node control operation, and feed back the capability update information to the network controller, so that the network controller can adjust the service capabilities of the second CDN node according to the capability update information.
[0076] For example, as can be seen from the above, when the node control operation is a scaling down operation, a scaling up operation, or a node deletion operation, the second CDN node corresponding to these operations is the first CDN node. In this case, the second CDN node and the first CDN node are the same node. When the node control operation is a node creation operation, the second CDN node corresponding to these operations is a newly created CDN node. In this case, the second CDN node and the first CDN node are different nodes.
[0077] For example, when the second CDN node is the same as the first CDN node, the network controller can adjust the initial service capabilities of the first CDN node through the SRv6 Policy mechanism after receiving the capability update information.
[0078] Here, capability update information may include, but is not limited to, adjustments to access bandwidth, cache capacity, and load capacity. The following example, using a capacity expansion operation, illustrates the process of adjusting initial service capabilities.
[0079] Access bandwidth adjustment: After performing a capacity expansion operation, if the network access bandwidth of the first CDN node increases, the network controller can increase the access bandwidth allocated to that node through the SRv6 Policy mechanism, enabling the node to handle greater user request traffic and fully utilize the increased bandwidth. For example, if the initial access bandwidth of the first CDN node is 1Gbps, and it is upgraded to 10Gbps after the capacity expansion operation, the network controller can increase the access bandwidth allocated to that node by 10 times to handle greater user request traffic.
[0080] Cache capacity adjustment: After performing an expansion operation, if the cache capacity of the first CDN node increases, such as by using a larger capacity hard disk array, the network controller can modify the SRv6 Policy mechanism to instruct the node to cache more content, thereby improving the local cache hit rate. For example, if the initial cache capacity of the first CDN node only caches the hot content of the current day, after adjustment it can cache the hot content of the past week.
[0081] Load capacity adjustment: After performing a capacity expansion operation, if the hardware processing capabilities of the first CDN node are improved, such as by upgrading the CPU and memory, the network controller can expand the service range of that node in the SRv6 network, allowing it to serve more users. For example, if the first CDN node originally only served local users, after the upgrade, its service range can be extended to neighboring cities.
[0082] For example, when the second CDN node and the first CDN node are different nodes, after receiving the capability update information, the network controller can first register the second CDN node, and then adjust the service capabilities of the second CDN node through the SRv6 Policy mechanism, which will not be elaborated here.
[0083] It should be noted that the above adjustments made by the network controller can be implemented by flexibly modifying the SRv6 Policy mechanism. That is, this embodiment does not require changes to the network topology or routing protocol, demonstrating the advantages of SRv6 in supporting elastic scaling of CDN services. Furthermore, these adjustments take effect in real time, ensuring that CDN nodes can quickly adapt to changes in business needs.
[0084] This application provides a node adjustment method, which includes: obtaining resource usage information of a first CDN node; the first CDN node is any one of a plurality of CDN nodes; generating node control instructions based on the resource usage information, and executing corresponding node control operations based on the node control instructions; wherein, the node control instructions include expansion instructions, reduction instructions, new node instructions, or delete node instructions; after executing the node control operations, feeding back capability update information of a second CDN node corresponding to the node control operations to the network controller, so that the network controller adjusts the service capabilities of the second CDN node based on the capability update information.
[0085] As can be seen, in this embodiment of the application, the management platform in the CDN network and the network controller on the bearer network work together to enable the network controller to quickly and finely adjust the service capabilities of the corresponding CDN nodes according to the CDN node capability update information, so as to maximize the node performance. Since the node adjustment method provided in this embodiment of the application does not require additional configuration of node service rules or the use of complex routing protocols, it can solve the problems of cumbersome configuration and poor timeliness in related technologies, and can well meet the increasingly complex CDN service needs.
[0086] To better illustrate the purpose of this application, further explanation will be provided based on the above embodiments.
[0087] Figure 3 A flowchart illustrating another node adjustment method provided in this application embodiment is shown below. Figure 3 As shown, the process may include the following steps:
[0088] Step 300: After completing node registration, set up initial service capabilities for the first CDN node through the SRv6 Policy mechanism.
[0089] For example, the first CDN node is deployed in the CDN network in a virtualized form. The management platform collects the capacity planning information and resource usage information of the first CDN node in real time, and sends the collected capacity planning information and resource usage information to the network controller on the bearer network. The network controller then registers the first CDN node based on this information. After the node registration is completed, the network controller determines the initial service capabilities allocated to the first CDN node based on the capacity planning information, and sets the initial service capabilities for the first CDN node through the SRv6Policy mechanism.
[0090] Step 301: If the load rate of the first CDN node is greater than or equal to the first set threshold and there are sufficient idle resources, the management platform sends an expansion command to the first CDN node to control the first CDN node to perform the expansion operation.
[0091] Step 302: The management platform feeds back the capability update information of the first CDN node to the network controller, and the network controller adjusts the initial service capabilities of the first CDN node through the SRv6 Policy mechanism.
[0092] Step 303: If the load rate of the first CDN node is less than the first set threshold, the management platform sends a scaling-down command to the first CDN node to control the first CDN node to perform a scaling-down operation.
[0093] Step 304: The management platform feeds back the capability update information of the first CDN node to the network controller, and the network controller adjusts the initial service capabilities of the first CDN node through the SRv6 Policy mechanism.
[0094] Here, steps 300 to 304 above are the process of adjusting the service capacity of a node when it is scaled up or down; among them, steps 301 and 302 and steps 303 and 304 are two different implementation branches, and the specific process has been described in the above embodiments. To avoid repetition, it will not be described again here.
[0095] Figure 4 A flowchart illustrating another node adjustment method provided in this application embodiment is shown below. Figure 4 As shown, the process may include the following steps:
[0096] Step 400: After completing node registration, set up initial service capabilities for the first CDN node through the SRv6 Policy mechanism.
[0097] Step 401: If the load rate of the first CDN node is greater than or equal to the first set threshold and the amount of idle resources is insufficient, the management platform selects the cloud resource pool and issues a new node creation instruction to control the cloud resource pool to perform the new node creation operation.
[0098] Step 402: The management platform feeds back the capability update information of the newly created CDN node to the network controller, and the network controller adjusts the service capabilities of the newly created CDN node through the SRv6 Policy mechanism.
[0099] Step 403: If the load rate of the first CDN node is less than the first set threshold, the management platform sends a delete node command to the first CDN node to control the first CDN node to perform the delete node operation.
[0100] Step 404: The management platform feeds back the capability update information of the first CDN node to the network controller, and the network controller deletes the service capability of the node.
[0101] Here, steps 400 to 404 above are the process of adjusting the service capabilities of a newly created or deleted node; among them, steps 401 and 402 and steps 403 and 404 are two different implementation branches, the specific process of which has been described in the above embodiments, and will not be repeated here to avoid repetition.
[0102] As can be seen from the embodiments of this application, the management platform in the CDN network can determine whether to scale up or down a CDN node, or create or delete a CDN node, based on the load status of any CDN node. Since CDN nodes are deployed in a virtualized form, rapid scaling up and down operations can be achieved to cope with sudden traffic surges. In addition, the management platform can synchronize the capability update information of CDN nodes to the network controller in real time, which helps the network controller to allocate and schedule network resources more accurately. Furthermore, the network controller uses the SRv6 Policy mechanism to allocate CDN node access bandwidth, cache capacity, load capacity, etc. on demand, and dynamically optimize forwarding rules to maximize node performance and improve the service quality of CDN.
[0103] Figure 5 This is a schematic diagram of the composition structure of the node adjustment device according to an embodiment of this application, as shown below. Figure 5 As shown, the device includes: an acquisition module 500, a control module 501, and an adjustment module 502, wherein:
[0104] The acquisition module 500 is used to acquire resource usage information of the first CDN node; the first CDN node is any one of multiple CDN nodes.
[0105] The control module 501 is used to generate node control instructions based on resource usage information and execute corresponding node control operations based on the node control instructions; wherein, the node control instructions include expansion instructions, reduction instructions, new node instructions, or delete node instructions;
[0106] The adjustment module 502 is used to feed back the capability update information of the second CDN node corresponding to the node control operation to the network controller after the node control operation is performed, so that the network controller can adjust the service capabilities of the second CDN node according to the capability update information.
[0107] In some embodiments, the control module 501 is further configured to:
[0108] Determine the load rate of the first CDN node based on resource usage information;
[0109] The load rate is compared with a first set threshold to obtain a first comparison result;
[0110] Node control instructions are generated based on the first comparison result.
[0111] In some embodiments, the control module 501 is further configured to:
[0112] If the first comparison result indicates that the load rate is less than the first set threshold, a scaling-down instruction or a node deletion instruction is generated.
[0113] In some embodiments, the control module 501 is further configured to:
[0114] If the first comparison result shows that the load rate is greater than or equal to the first set threshold, then the amount of idle resources of the first CDN node is determined based on the resource usage information.
[0115] The amount of idle resources is compared with a second set threshold to obtain a second comparison result;
[0116] Node control instructions are generated based on the second comparison result.
[0117] In some embodiments, the control module 501 is further configured to:
[0118] If the second comparison result indicates that the amount of idle resources is greater than or equal to the second set threshold, an expansion instruction is generated.
[0119] If the second comparison result indicates that the amount of idle resources is less than the second set threshold, a new node creation instruction is generated.
[0120] In some embodiments, the acquisition module 500 is further configured to:
[0121] Obtain the capability planning information of the first CDN node;
[0122] The capacity planning information is sent to the network controller, which then determines the initial service capacity to be allocated to the first CDN node based on the capacity planning information.
[0123] When the node control instructions include expansion instructions, shrinking instructions, or node deletion instructions, the adjustment module 502 is also used for:
[0124] The network controller adjusts the initial service capabilities of the first CDN node based on the capability update information.
[0125] In some embodiments, after obtaining the capability planning information of the first CDN node, the acquisition module 500 is further configured to:
[0126] The first CDN node's capability planning information and resource usage information are sent to the network controller, so that the network controller can register the first CDN node based on the received capability planning information and resource usage information;
[0127] After node registration is completed, the network controller determines the initial service capabilities to be allocated to the first CDN node based on the capability planning information.
[0128] In some embodiments, where the first CDN node is deployed in a virtualized form on the CDN network, the adjustment module 502 is further configured to:
[0129] The initial service capabilities of the first CDN node are adjusted through the SRv6 Policy mechanism.
[0130] In practical applications, the acquisition module 500, control module 501 and adjustment module 502 can all be implemented by a processor located in the management platform. The processor can be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller and microprocessor.
[0131] Furthermore, in this embodiment, the functional modules can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional module.
[0132] If the integrated unit is implemented as a software functional module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment, in essence, or the part that contributes to related technologies, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the method of this embodiment. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0133] Specifically, the computer program instructions corresponding to a node adjustment method in this embodiment can be stored on storage media such as optical discs, hard disks, and USB flash drives. When the computer program instructions corresponding to a node adjustment method in the storage media are read or executed by a management platform, any of the node adjustment methods in the aforementioned embodiments are implemented.
[0134] Based on the same technical concept as the foregoing embodiments, see Figure 6 It illustrates a management platform 600 provided in an embodiment of this application, which may include: a memory 601 and a processor 602; wherein,
[0135] Memory 601 is used to store computer programs and data;
[0136] The processor 602 is configured to execute a computer program stored in a memory to implement any of the node adjustment methods described in the foregoing embodiments.
[0137] In practical applications, the aforementioned memory 601 can be volatile memory, such as RAM; or non-volatile memory, such as ROM, flash memory, hard disk drive (HDD), or solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 602.
[0138] The processor 602 described above can be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor. It is understood that, for different node adjustment devices, the electronic devices used to implement the functions of the processor can also be other types, and this application embodiment does not specifically limit them.
[0139] In some embodiments, this application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the node adjustment methods described in the foregoing embodiments.
[0140] In some embodiments, the functions or modules of the apparatus provided in this application can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0141] The description of the various embodiments above tends to emphasize the differences between the various embodiments. The similarities or similarities between them can be referred to, and for the sake of brevity, they will not be repeated here.
[0142] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined to obtain new method embodiments without conflict.
[0143] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0144] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.
[0145] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, this application can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage) containing computer-usable program code.
[0146] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can 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, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0147] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0148] The above are merely preferred embodiments of this application and are not intended to limit the scope of protection of this application.
Claims
1. A node adjustment method, characterized in that, A management platform applied in a CDN network, the management platform being communicatively connected to a network controller, the CDN network also including multiple deployed CDN nodes, the method comprising: Obtain resource usage information of the first CDN node; the first CDN node is any one of the plurality of CDN nodes; Node control instructions are generated based on the resource usage information, and corresponding node control operations are executed based on the node control instructions; wherein, the node control instructions include expansion instructions, reduction instructions, new node instructions, or delete node instructions; After executing the node control operation, the network controller sends back the capability update information of the second CDN node corresponding to the node control operation, so that the network controller can adjust the service capabilities of the second CDN node according to the capability update information.
2. The method according to claim 1, characterized in that, The step of generating node control instructions based on the resource usage information includes: Based on the resource usage information, determine the load rate of the first CDN node; The load rate is compared with a first set threshold to obtain a first comparison result; The node control command is generated based on the first comparison result.
3. The method according to claim 2, characterized in that, The step of generating the node control command based on the first comparison result includes: If the first comparison result indicates that the load rate is less than the first set threshold, the scaling down instruction or the node deletion instruction is generated.
4. The method according to claim 2, characterized in that, The step of generating the node control command based on the first comparison result includes: If the first comparison result indicates that the load rate is greater than or equal to the first set threshold, then the amount of idle resources of the first CDN node is determined based on the resource usage information. The amount of idle resources is compared with a second set threshold to obtain a second comparison result; The node control command is generated based on the second comparison result.
5. The method according to claim 4, characterized in that, The step of generating the node control command based on the second comparison result includes: If the second comparison result indicates that the amount of idle resources is greater than or equal to the second set threshold, the expansion instruction is generated. If the second comparison result indicates that the amount of idle resources is less than the second set threshold, the new node instruction is generated.
6. The method according to claim 1, characterized in that, The method further includes: Obtain the capability planning information of the first CDN node; The capability planning information is sent to the network controller, so that the network controller determines the initial service capabilities to be allocated to the first CDN node based on the capability planning information; When the node control instructions include expansion instructions, reduction instructions, or node deletion instructions, the network controller adjusts the service capabilities of the second CDN node based on the capability update information, including: The network controller adjusts the initial service capabilities of the first CDN node based on the capability update information.
7. The method according to claim 6, characterized in that, After obtaining the capacity planning information of the first CDN node, the method further includes: The capability planning information and resource usage information of the first CDN node are sent to the network controller, so that the network controller can register the first CDN node according to the received capability planning information and resource usage information; Accordingly, the network controller determines the initial service capabilities allocated to the first CDN node based on the capability planning information, including: After completing node registration, the network controller determines the initial service capabilities to be allocated to the first CDN node based on the capability planning information.
8. The method according to claim 6, characterized in that, The first CDN node is deployed in the CDN network in a virtualized form. Adjusting the initial service capabilities of the first CDN node includes: The initial service capabilities of the first CDN node are adjusted using the SRv6 Policy mechanism.
9. A node adjustment device, characterized in that, A management platform used in a CDN network, the management platform being communicatively connected to a network controller, the CDN network also including multiple deployed CDN nodes, the device comprising: The acquisition module is used to acquire resource usage information of the first CDN node; the first CDN node is any one of the plurality of CDN nodes. The control module is used to generate node control instructions based on the resource usage information, and to execute corresponding node control operations based on the node control instructions; wherein, the node control instructions include expansion instructions, reduction instructions, new node instructions, or delete node instructions; The adjustment module is used to feed back the capability update information of the second CDN node corresponding to the node control operation to the network controller after the node control operation is executed, so that the network controller can adjust the service capabilities of the second CDN node according to the capability update information.
10. A management platform, characterized in that, The management platform includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method according to any one of claims 1 to 8.
11. A computer storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the method described in any one of claims 1 to 8.
12. A computer program product, comprising a computer program, characterized in that, The computer program, when executed by a processor, implements the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
CDN management system, method and device
CN108206847A
Management method, device and system for CDN network function virtualization
CN109525626A