A content distribution network scheduling method and device

Through the combination of machine learning module and data statistics module, the caching strategy of the content distribution network is dynamically adjusted, which solves the problem that the scheduling solution in the existing technology cannot respond to network changes in a timely manner, achieves efficient and stable content distribution, and reduces the burden on the origin site. and operating costs.

CN118474197BActive Publication Date: 2024-09-03CHINA TELECOM CLOUD TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410909799.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-09-03
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

The scheduling scheme of the existing content distribution network is based on preset rules and static algorithms, which cannot respond to network status changes and burst traffic in a timely manner, resulting in a single caching strategy for edge nodes and parent nodes, increasing the burden on the origin server, and making it impossible to dynamically adjust scheduling. Strategy.

Method used

The machine learning module is used to analyze the access request, determine the access strategy, and adjust the strategy through the data statistics module, combined with the scheduling platform for comprehensive scheduling, dynamically adjust the cache strategy of edge nodes and parent nodes, improve the cache hit rate, and reduce the burden on the origin site.

Benefits of technology

It achieves efficient, stable, and low-cost scheduling of the content distribution network, can respond to changes in network conditions and user needs in a timely manner, improves cache hit rates, and reduces operating costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118474197B
    Figure CN118474197B
Patent Text Reader

Abstract

The present invention relates to a scheduling method and device for a content distribution network, which belongs to the field of computer technology, and comprises: an edge node receives a first access request from a client; the edge node analyzes the first access request through a machine learning module to determine an access strategy; the edge node initiates a second access request to an edge cache module according to the access strategy, and returns the target content to the client if there is target content; otherwise, the edge back-source module initiates a second access request to a parent node corresponding to the edge node; the parent node initiates a second access request to the parent cache module according to the second access request, and returns the target content to the edge node; the parent node determines an adjustment strategy through a data statistics module, and forwards the adjustment strategy to a scheduling platform; the scheduling platform performs comprehensive scheduling according to the access strategies forwarded by each parent node to determine the final scheduling strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer technology, and in particular relates to a scheduling method and device for a content distribution network. Background Art

[0002] With the rapid development and popularization of the Internet, users' demand for access to online content has increased dramatically. This includes video streaming, online games, software updates, e-commerce websites, and other applications with high bandwidth requirements.

[0003] Traditional scheduling schemes are usually based on preset rules and static algorithms, such as geographic location and simple load balancing algorithms. The adjustment of scheduling strategies often relies on manual intervention and periodic updates, and cannot respond to changes in network status and increases in burst traffic in a timely manner. At the same time, the cache strategies of edge nodes and parent nodes are also relatively simple.

[0004] In the above technical solutions, the caching strategies of edge nodes and parent nodes are relatively simple, which easily burdens the source server; moreover, based on preset rules, static algorithms and manual intervention, they cannot respond to changes in network status and increases in burst traffic in a timely manner, and cannot dynamically adjust scheduling strategies to cope with changing network conditions and user needs. Summary of the invention

[0005] In view of the above deficiencies in the prior art, the purpose of the invention is to provide a scheduling method and device for a content distribution network, which can determine an access strategy based on the first access request through an analysis module using a machine learning module; can intelligently predict and cache high-frequency access content, improve cache hit rate, and reduce the burden on the source server; the parent node determines an adjustment strategy through a data statistics module, and forwards the adjustment strategy to the scheduling platform, and the scheduling platform performs comprehensive scheduling based on the access strategies forwarded by each parent node to determine the final scheduling strategy; can dynamically adjust the scheduling strategy to cope with changing network conditions and user needs, and achieve efficient, stable, and low-cost scheduling of the content distribution network.

[0006] In a first aspect of the present invention, a scheduling method for a content distribution network is proposed, wherein the content distribution network comprises: a plurality of edge nodes, a parent node and a scheduling platform, a client is connected to the edge node, the edge node is connected to a source station through the parent node, the parent node is connected to the scheduling platform, and the scheduling method for the content distribution network comprises:

[0007] S1, the edge node receives a first access request from the client;

[0008] S2, the edge node analyzes the first access request through a machine learning module to determine an access policy, where the access policy includes whether it is necessary to pre-access content that the user has not accessed and the scope of the pre-access;

[0009] S3, the edge node initiates a second access request to the edge cache module according to the access policy, and determines whether there is target content corresponding to the second access request in the edge cache module; if so, returns the target content to the client; otherwise, initiates the second access request to the parent node corresponding to the edge node through the edge back-to-source module;

[0010] S4, the parent node initiates the second access request to the parent cache module according to the second access request, and determines whether there is target content corresponding to the second access request in the parent cache module; if so, returns the target content to the edge node; otherwise, initiates the second access request to the source station through the parent back-to-source module;

[0011] S5, the parent node determines the adjustment strategy through the data statistics module, and forwards the adjustment strategy to the scheduling platform;

[0012] S6, the scheduling platform performs comprehensive scheduling according to the access strategies forwarded by each parent node to determine the final scheduling strategy;

[0013] S7, according to the scheduling policy, when other clients initiate access requests, corresponding edge nodes are designated for the other clients.

[0014] Further, after S4, the method further includes:

[0015] The edge node returns the target content received from the parent node to the client.

[0016] Further, after S4, the method further includes:

[0017] The source station determines target content according to the second access request, and returns the target content to the parent node.

[0018] Furthermore, the S2 specifically includes:

[0019] S201, constructing an access behavior model in the machine learning module based on the SVM algorithm;

[0020] S202, determining the access strategy by taking URL type, request range, request size and time interval parameters of different URL request ranges as inputs of the access behavior model.

[0021] Furthermore, the training method of the access behavior model specifically includes:

[0022] Obtain sample data, the sample data including URL type, request range, request size, and time intervals of different request ranges of the URL;

[0023] Determine an output value of the access policy based on the sample data and the access behavior model;

[0024] When the error between the output value of the access behavior model and the actual value is less than the preset error, the training is terminated.

[0025] Furthermore, the adjustment strategy determined in S5 is specifically:

[0026] The data statistics module of the parent node performs decision analysis based on the bandwidth, duplication ratio and domain name information of each edge node to determine the adjustment strategy of each edge node.

[0027] Furthermore, the S6 specifically includes:

[0028] S601, the scheduling platform determines whether the coverage ranges of the adjustment strategies of the parent nodes intersect according to the adjustment strategies; if so, proceed to the next step; otherwise, it is determined that the adjustment strategies of the parent nodes are credible and the current adjustment strategy is executed;

[0029] S602, the scheduling platform determines whether the adjustment strategies of the parent nodes are contradictory; if so, the adjustment strategies of the parent nodes are executed in series until the credibility of the series adjustment strategies reaches a preset condition, and then the series post adjustment strategy is executed;

[0030] S603, within the subsequent preset time, the scheduling platform determines whether each parent node gives the same adjustment strategy. If so, the credibility of the adjustment strategy is reduced and the previous adjustment strategy is executed; otherwise, the credibility of the current adjustment strategy is increased and the current adjustment strategy is maintained.

[0031] In a second aspect of the present invention, a scheduling device for a content distribution network is proposed, wherein the content distribution network comprises: a plurality of edge nodes, a parent node and a scheduling platform, wherein a client is connected to the edge node, the edge node is connected to a source station through the parent node, the parent node is connected to the scheduling platform, and the scheduling device for the content distribution network comprises:

[0032] A receiving module, configured for the edge node to receive a first access request from the client;

[0033] An analysis module, configured for the edge node to analyze the first access request through a machine learning module to determine an access policy, wherein the access policy includes whether it is necessary to pre-access content that the user has not accessed and the scope of the pre-access;

[0034] A first judgment module is used for the edge node to initiate a second access request to the edge cache module according to the access policy, and determine whether there is a target content corresponding to the second access request in the edge cache module; if so, return the target content to the client; otherwise, initiate the second access request to the parent node corresponding to the edge node through the edge back-to-source module;

[0035] A second judgment module is used for the parent node to initiate the second access request to the parent cache module according to the second access request, and to determine whether there is target content corresponding to the second access request in the parent cache module; if so, return the target content to the edge node; otherwise, initiate the second access request to the source station through the parent back-to-source module;

[0036] A forwarding module, used for the parent node to determine the adjustment strategy through the data statistics module, and forward the adjustment strategy to the scheduling platform;

[0037] The scheduling module is used for the scheduling platform to perform comprehensive scheduling according to the access strategies forwarded by each parent node and determine the final scheduling strategy;

[0038] The designation module is used to designate corresponding edge nodes for other clients when other clients initiate access requests according to the scheduling strategy.

[0039] Furthermore, the content distribution network scheduling method and device also includes:

[0040] A return module is used for the edge node to return the target content received from the parent node to the client.

[0041] Furthermore, the content distribution network scheduling method and device also includes:

[0042] A determination module is used for the source station to determine the target content according to the second access request, and return the target content to the parent node.

[0043] Furthermore, the analysis module is used to:

[0044] Based on the SVM algorithm, construct an access behavior model in the machine learning module;

[0045] The access policy is determined by taking the URL type, request range, request size and time interval parameters of different URL request ranges as inputs of the access behavior model.

[0046] Furthermore, the analysis module is used to:

[0047] Obtain sample data, the sample data including URL type, request range, request size, and time intervals of different request ranges of the URL;

[0048] Determine an output value of the access policy based on the sample data and the access behavior model;

[0049] When the error between the output value of the access behavior model and the actual value is less than the preset error, the training is terminated.

[0050] Furthermore, the analysis module is used to:

[0051] The data statistics module of the parent node performs decision analysis based on the bandwidth, duplication ratio and domain name information of each edge node to determine the adjustment strategy of each edge node.

[0052] Furthermore, the scheduling module is used to:

[0053] The scheduling platform determines whether the coverage ranges of the adjustment strategies of the parent nodes intersect according to the adjustment strategies; if so, proceed to the next step; otherwise, the adjustment strategies of the parent nodes are determined to be credible and the current adjustment strategy is executed;

[0054] The scheduling platform determines whether the adjustment strategies of each parent node are contradictory; if so, the adjustment strategies of each parent node are executed in series until the credibility of the series adjustment strategy reaches a preset condition, and then the series post adjustment strategy is executed;

[0055] Within the subsequent preset time, the scheduling platform determines whether each parent node gives the same adjustment strategy. If so, the credibility of the adjustment strategy is reduced and the previous adjustment strategy is executed; otherwise, the credibility of the current adjustment strategy is increased and the current adjustment strategy is maintained.

[0056] The beneficial effects of the present invention are as follows:

[0057] The method and device of the present invention, according to the first access request, analyzes through a machine learning module to determine the access strategy; can intelligently predict and cache high-frequency access content, improve cache hit rate, and reduce the burden on the source server; the parent node determines the adjustment strategy through a data statistics module, and forwards the adjustment strategy to the scheduling platform, and the scheduling platform performs comprehensive scheduling according to the access strategies forwarded by each parent node to determine the final scheduling strategy; the scheduling strategy can be dynamically adjusted to cope with changing network conditions and user needs, and realize efficient, stable and low-cost scheduling of the content distribution network. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The accompanying drawings are only used to illustrate specific embodiments and are not considered to limit the present invention. In the entire drawings, the same reference symbols represent the same components. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.

[0059] Figure 1 A schematic diagram of a flow chart of a scheduling method for a content distribution network provided by an embodiment of the present invention;

[0060] Figure 2 An access architecture diagram of a content distribution network provided by an embodiment of the present invention;

[0061] Figure 3 A schematic structural diagram of a scheduling device for a content distribution network provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0062] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present invention.

[0063] Furthermore, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts disclosed in the present invention.

[0064] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the orientation or position relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. The terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0065] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of methods and systems consistent with some aspects of the present invention as detailed in the appended claims.

[0066] The present invention proposes a scheduling method and device for a content distribution network, which solves the technical problems that the caching strategies of edge nodes and parent nodes in the prior art are relatively simple, which easily burdens the source server; and the preset rules, static algorithms and manual intervention cannot respond to changes in network status and increases in burst traffic in a timely manner, and the scheduling strategy cannot be dynamically adjusted to cope with the constantly changing network conditions and user needs.

[0067] Method Embodiment

[0068] Reference Manual Attached Figure 1 , showing a flow chart of a scheduling method for a content distribution network provided by an embodiment of the present invention.

[0069] Reference Manual Attached Figure 2 , showing an access architecture diagram of a content distribution network provided by an embodiment of the present invention.

[0070] An embodiment of the present invention provides a scheduling method for a content distribution network, characterized in that the content distribution network includes: a plurality of edge nodes, a parent node and a scheduling platform, a client is connected to the edge node, the edge node is connected to a source station through the parent node, the parent node is connected to the scheduling platform, and the scheduling method for the content distribution network includes:

[0071] Specifically, the method includes steps S1 to S7.

[0072] S1, the edge node receives the first access request from the client.

[0073] S2: The edge node analyzes the first access request through a machine learning module to determine an access strategy, where the access strategy includes whether it is necessary to pre-access content that the user has not accessed and the scope of the pre-access.

[0074] In a possible implementation, S2 specifically includes:

[0075] S201, based on the SVM algorithm, construct an access behavior model in the machine learning module.

[0076] S202, determine the access strategy by taking the URL type, request range, request size and time interval parameters of different URL request ranges as the access behavior model input.

[0077] In a possible implementation, the training method of the access behavior model specifically includes:

[0078] Get sample data, including URL type, request range, request size, and time intervals of different request ranges of the URL.

[0079] Based on the sample data, the output value of the access policy is determined through the access behavior model.

[0080] When the error between the output value of the access behavior model and the actual value is less than the preset error, the training ends. Specifically, the input of the machine learning module is the URL type, request range, request size, and time interval of different request ranges of the same URL requested by the user. The output is the access behavior model and the execution of the corresponding strategy. Machine learning uses the support vector machine (SVM) algorithm. Through multiple input parameters of different dimensions, a predicted value is obtained. The predicted value is compared with the actual value to continuously correct the model to reach the specified error range, and finally the access behavior model is obtained. According to the access behavior model, the corresponding strategy is specified.

[0081] For example, when the request range is 0-1m, the access behavior model determines that the next request will most likely access the entire file, and the strategy implemented at this time is to re-initiate the request with the range of the entire file; when the request range is the middle part of the file and the request size accounts for half of the total file size, the access behavior model determines that the next request will not access the file, and the strategy implemented at this time is to forward the request URL directly without rewriting it. Through this strategy, the file and range of the client's next request are pulled in advance.

[0082] In the present invention, by predicting user access behavior, files or file parts that users may request can be pulled in advance, which greatly improves the cache hit rate; at the same time, when it is determined that the next request is unlikely to access the current file, directly forwarding the request can avoid unnecessary data transmission and cache operations, saving bandwidth resources.

[0083] Furthermore, by analyzing different URL types, request ranges, request sizes, and request time intervals, personalized access strategies can be formulated to meet the needs of different users. At the same time, machine learning models can continuously adjust and optimize access strategies based on real-time data, adapt to changing access patterns, and improve the flexibility and adaptability of the system.

[0084] It should be noted that those skilled in the art can set the size of the preset error according to actual needs, and the present invention is not limited here.

[0085] S3: The edge node initiates a second access request to the edge cache module according to the access policy, and determines whether the target content corresponding to the second access request exists in the edge cache module. If so, the target content is returned to the client. Otherwise, the second access request is initiated to the parent node corresponding to the edge node through the edge back-to-source module.

[0086] Specifically, a client request first goes to the machine learning module, and then executes the corresponding strategy. Then, according to the strategy, a new request is re-initiated to the cache module. If there is a cache, it will respond directly to the user. If there is no cache, the source file will be pulled back through the back-to-source module.

[0087] In the present invention, when the required content is already in the cache, the user request can be responded to immediately, reducing the waiting time and improving the user experience. At the same time, through pre-judgment and cache hits, the back-source requests from edge nodes to parent nodes and source stations are reduced, thereby reducing bandwidth consumption and network burden.

[0088] S4: The parent node initiates a second access request to the parent cache module based on the second access request, and determines whether the parent cache module has the target content corresponding to the second access request. If so, the target content is returned to the edge node. Otherwise, the second access request is initiated to the source station through the parent back-to-source module.

[0089] In a possible implementation manner, after S4, the method further includes:

[0090] The edge node returns the target content received from the parent node to the client.

[0091] In a possible implementation manner, after S4, the method further includes:

[0092] The source station determines the target content according to the second access request, and returns the target content to the parent node.

[0093] In the present invention, through the cache level design, the repeated requests for the same content by multiple edge nodes are reduced, and the use of network bandwidth is optimized. At the same time, the cache level architecture is effectively utilized to avoid unnecessary hardware expansion and update, and reduce operating costs.

[0094] S5, the parent node determines the adjustment strategy through the data statistics module and forwards the adjustment strategy to the scheduling platform.

[0095] In a possible implementation manner, the determination of the adjustment strategy in S5 is specifically:

[0096] The data statistics module of the parent node performs decision analysis based on the bandwidth, duplication ratio and domain name information of each edge node to determine the adjustment strategy of each edge node.

[0097] Specifically, the parent node is responsible for responding to edge node requests, caching content, and statistics. The core of the parent node is the data statistics module, which is mainly composed of a database module and a data analysis module. URL requests enter the database module for storage and filtering comparison. The database outputs the bandwidth, duplication ratio, and domain name information of each edge node to the data analysis module in real time. The analysis module determines the adjustment strategy based on the information.

[0098] For example, if the duplication ratio of all URLs of the domain name in edge node A is high, it means that the domain name file is not accessed frequently and is always overwritten. At this time, it needs to be scheduled to a node with a large disk or a node that is less accessed by other business domain names to meet the requirement of not being overwritten, thereby reducing the access bandwidth received by the parent layer from requests from the node.

[0099] In the present invention, by analyzing the duplication ratio, the same content is avoided from being cached repeatedly in multiple edge nodes, thereby saving storage resources and bandwidth and improving the efficiency of the overall system. At the same time, the statistical module can monitor and analyze the status and behavior of each edge node in real time, and dynamically adjust the strategy according to the actual situation. This flexibility enables the system to quickly adapt to changes in network traffic and the load conditions of different nodes.

[0100] S6, the scheduling platform performs comprehensive scheduling based on the access strategies forwarded by each parent node and determines the final scheduling strategy.

[0101] It should be noted that for the scheduling of each edge node, different areas may be covered by the same edge node or by different nodes, and then provided to users for access. Therefore, the scheduling decisions given by different parent layers may be a union, a contradiction, or no intersection. Therefore, the scheduling platform needs to judge the coverage of the adjustment strategy of each parent node according to each adjustment strategy.

[0102] In a possible implementation, S6 specifically includes:

[0103] S601, the scheduling platform determines whether the coverage of the adjustment strategies of each parent node has an intersection according to each adjustment strategy. If so, proceed to the next step. Otherwise, determine that the adjustment strategies of each parent node are credible and execute this adjustment strategy.

[0104] S602, the scheduling platform determines whether the adjustment strategies of each parent node are contradictory. If so, the adjustment strategies of each parent node are executed in series until the credibility of the series adjustment strategy reaches a preset condition, and then the series post adjustment strategy is executed.

[0105] Optionally, the preset condition is that the credibility of the adjustment strategy reaches 80%.

[0106] S603, within the subsequent preset time, the scheduling platform determines whether each parent layer node gives the same adjustment strategy, if so, the credibility of the adjustment strategy is reduced, and the last adjustment strategy is executed. Otherwise, the credibility of the current adjustment strategy is increased, and the current adjustment strategy is maintained.

[0107] For example, three parent nodes A, B, and C respectively give different decisions for a domain name. The scheduling platform determines whether the decisions are consistent or have intersections based on the geographic information and decision information of different parent nodes; customized scheduling is performed at the provincial granularity, such as the edge nodes serving users in Province A remain unchanged, Province B reduces half of the nodes, and Province C deletes all service nodes and schedules them all to Province B; ten minutes later, the scheduling platform determines whether the parent layer still has the same decision suggestion. If so, it means that the credibility of the decision needs to be reduced and the strategy is rolled back. If not, it means that the decision is effective, the credibility is increased, and the decision continues to be maintained. In this way, the proportion of edge nodes covered is reduced and the hit rate is improved.

[0108] In the present invention, the scheduling platform integrates the scheduling strategies of each parent node and considers the situations of different regions and different parent nodes, so as to formulate a more comprehensive and accurate final scheduling strategy. At the same time, by judging whether the adjustment strategies of each parent node have intersection or contradiction, it ensures that the final scheduling strategy is optimized globally.

[0109] Furthermore, this scheduling method can not only reduce the coverage ratio of edge nodes, improve cache hit rate, and reduce bandwidth and storage resource waste, but also continuously optimize scheduling strategies through feedback mechanisms to ensure system stability, flexibility, and efficient operation, ultimately improving user experience and reducing operating costs.

[0110] It should be noted that those skilled in the art can set the preset time according to actual needs, and the present invention is not limited thereto.

[0111] S7, according to the scheduling strategy, when other clients initiate access requests, corresponding edge nodes are designated for other clients.

[0112] In summary, through multi-level and multi-dimensional optimization design, while improving cache hit rate and optimizing resource utilization, the operating cost is greatly reduced. At the same time, the comprehensive scheduling strategy and dynamic adjustment mechanism ensure the stability and flexibility of the system in a complex network environment, and realize the efficient, stable and low-cost scheduling of the content distribution network.

[0113] The beneficial effects of the present invention are as follows:

[0114] The method and device of the present invention, according to the first access request, analyzes through a machine learning module to determine the access strategy; can intelligently predict and cache high-frequency access content, improve cache hit rate, and reduce the burden on the source server; the parent node determines the adjustment strategy through a data statistics module, and forwards the adjustment strategy to the scheduling platform, and the scheduling platform performs comprehensive scheduling according to the access strategies forwarded by each parent node to determine the final scheduling strategy; the scheduling strategy can be dynamically adjusted to cope with changing network conditions and user needs, and realize efficient, stable and low-cost scheduling of the content distribution network.

[0115] System Example

[0116] Reference Manual Attached Figure 3 , showing a schematic structural diagram of a scheduling device for a content distribution network provided in an embodiment of the present invention.

[0117] An embodiment of the present invention provides a scheduling device 30 for a content distribution network, wherein the content distribution network includes: a plurality of edge nodes, a parent node, and a scheduling platform, wherein a client is connected to the edge node, the edge node is connected to a source station through the parent node, and the parent node is connected to the scheduling platform, and the scheduling device 30 for the content distribution network includes:

[0118] Receiving module 301, used for the edge node to receive a first access request from the client;

[0119] Analysis module 302, configured for the edge node to analyze the first access request through a machine learning module to determine an access policy, wherein the access policy includes whether it is necessary to pre-access content that the user has not accessed and the scope of the pre-access;

[0120] The first judgment module 303 is used for the edge node to initiate a second access request to the edge cache module according to the access policy, and determine whether there is a target content corresponding to the second access request in the edge cache module; if so, return the target content to the client; otherwise, initiate the second access request to the parent node corresponding to the edge node through the edge back-to-source module;

[0121] The second judgment module 304 is used for the parent node to initiate the second access request to the parent cache module according to the second access request, and determine whether there is target content corresponding to the second access request in the parent cache module; if so, return the target content to the edge node; otherwise, initiate the second access request to the source station through the parent back-to-source module;

[0122] Forwarding module 305, used for the parent node to determine the adjustment strategy through the data statistics module, and forward the adjustment strategy to the scheduling platform;

[0123] The scheduling module 306 is used for the scheduling platform to perform comprehensive scheduling according to the access strategies forwarded by each parent node and determine the final scheduling strategy;

[0124] The designation module 307 is used to designate corresponding edge nodes for other clients when other clients initiate access requests according to the scheduling policy.

[0125] Furthermore, the content distribution network scheduling device 30 further includes:

[0126] The returning module 308 is configured for the edge node to return the target content received from the parent node to the client.

[0127] Furthermore, the content distribution network scheduling device 30 further includes:

[0128] The determination module 309 is used for the source station to determine the target content according to the second access request, and return the target content to the parent node.

[0129] Furthermore, the analysis module 302 is used to:

[0130] Based on the SVM algorithm, construct an access behavior model in the machine learning module;

[0131] The access policy is determined by taking the URL type, request range, request size and time interval parameters of different URL request ranges as inputs of the access behavior model.

[0132] Furthermore, the analysis module 302 is used for:

[0133] Obtain sample data, the sample data including URL type, request range, request size, and time intervals of different request ranges of the URL;

[0134] Determine an output value of the access policy based on the sample data and the access behavior model;

[0135] When the error between the output value of the access behavior model and the actual value is less than the preset error, the training is terminated.

[0136] It should be noted that those skilled in the art can set the size of the preset error according to actual needs, and the present invention is not limited here.

[0137] Furthermore, the analysis module 302 is used to:

[0138] The data statistics module of the parent node performs decision analysis based on the bandwidth, duplication ratio and domain name information of each edge node to determine the adjustment strategy of each edge node.

[0139] Furthermore, the scheduling module 306 is used to:

[0140] The scheduling platform determines whether the coverage ranges of the adjustment strategies of the parent nodes intersect according to the adjustment strategies; if so, proceed to the next step; otherwise, the adjustment strategies of the parent nodes are determined to be credible and the current adjustment strategy is executed;

[0141] The scheduling platform determines whether the adjustment strategies of each parent node are contradictory; if so, the adjustment strategies of each parent node are executed in series until the credibility of the series adjustment strategy reaches a preset condition, and then the series post adjustment strategy is executed;

[0142] Optionally, the preset condition is that the credibility of the adjustment strategy reaches 80%.

[0143] Within the subsequent preset time, the scheduling platform determines whether each parent node gives the same adjustment strategy. If so, the credibility of the adjustment strategy is reduced and the previous adjustment strategy is executed; otherwise, the credibility of the current adjustment strategy is increased and the current adjustment strategy is maintained.

[0144] It should be noted that those skilled in the art can set the preset time according to actual needs, and the present invention is not limited thereto.

[0145] The present invention provides a content distribution network scheduling device 30, which can implement the various steps and technical effects of the above-mentioned content distribution network scheduling method. To avoid repetition, the present invention will not elaborate on them.

[0146] The beneficial effects of the present invention are as follows:

[0147] The method and device of the present invention, according to the first access request, analyzes through a machine learning module to determine the access strategy; can intelligently predict and cache high-frequency access content, improve cache hit rate, and reduce the burden on the source server; the parent node determines the adjustment strategy through a data statistics module, and forwards the adjustment strategy to the scheduling platform, and the scheduling platform performs comprehensive scheduling according to the access strategies forwarded by each parent node to determine the final scheduling strategy; the scheduling strategy can be dynamically adjusted to cope with changing network conditions and user needs, and realize efficient, stable and low-cost scheduling of the content distribution network.

[0148] The applicant of the present invention has made a detailed explanation and description of the implementation examples of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.

[0149] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the above embodiments, or replace some of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. Any changes or replacements that can be easily thought of by those skilled in the art within the technical scope disclosed in the present invention should be covered within the protection scope of the present invention.

Claims

1. A scheduling method for a content distribution network, characterized in that: The content distribution network includes: a plurality of edge nodes, a parent node and a scheduling platform, the client is connected to the edge node, the edge node is connected to the source station through the parent node, the parent node is connected to the scheduling platform, and the scheduling method of the content distribution network includes: S1, the edge node receives a first access request from the client; S2, the edge node analyzes the first access request through a machine learning module to determine an access policy, where the access policy includes whether it is necessary to pre-access content that the user has not accessed and the scope of the pre-access; S3, the edge node initiates a second access request to the edge cache module according to the access policy, and determines whether there is target content corresponding to the second access request in the edge cache module; if so, returns the target content to the client; otherwise, initiates the second access request to the parent node corresponding to the edge node through the edge back-to-source module; S4, the parent node initiates the second access request to the parent cache module according to the second access request, and determines whether there is target content corresponding to the second access request in the parent cache module; if so, returns the target content to the edge node; otherwise, initiates the second access request to the source station through the parent back-to-source module; S5, the parent node determines an adjustment strategy through a data statistics module, and forwards the adjustment strategy to the scheduling platform; S6, the scheduling platform performs comprehensive scheduling according to the access strategies forwarded by each parent node to determine the final scheduling strategy; S7, according to the scheduling policy, when other clients initiate access requests, corresponding edge nodes are designated for the other clients.

2. The method for scheduling a content distribution network according to claim 1, characterized in that: After S4, the method further includes: The edge node returns the target content received from the parent node to the client.

3. The method for scheduling a content distribution network according to claim 1, characterized in that: After S4, the method further includes: The source station determines target content according to the second access request, and returns the target content to the parent node.

4. The method for scheduling a content distribution network according to claim 1, characterized in that: The S2 specifically includes: S201, constructing an access behavior model in the machine learning module based on the SVM algorithm; S202, determining the access strategy by taking URL type, request range, request size and time interval parameters of different URL request ranges as inputs of the access behavior model.

5. The method for scheduling a content distribution network according to claim 4, characterized in that: The training method of the access behavior model specifically includes: Obtain sample data, the sample data including URL type, request range, request size, and time intervals of different request ranges of the URL; Determine an output value of the access policy based on the sample data and the access behavior model; When the error between the output value of the access behavior model and the actual value is less than the preset error, the training is terminated.

6. The method for scheduling a content distribution network according to claim 1, characterized in that: The adjustment strategy determined in S5 is specifically: The data statistics module of the parent node performs decision analysis based on the bandwidth, duplication ratio and domain name information of each edge node to determine the adjustment strategy of each edge node.

7. The method for scheduling a content distribution network according to claim 1, characterized in that: The S6 specifically includes: S601, the scheduling platform determines whether the coverage ranges of the adjustment strategies of the parent nodes intersect according to the adjustment strategies; if so, proceed to the next step; otherwise, it is determined that the adjustment strategies of the parent nodes are credible and the current adjustment strategy is executed; S602, the scheduling platform determines whether the adjustment strategies of the parent nodes are contradictory; if so, the adjustment strategies of the parent nodes are executed in series until the credibility of the series adjustment strategies reaches a preset condition, and then the series post adjustment strategy is executed; S603, within the subsequent preset time, the scheduling platform determines whether each parent node gives the same adjustment strategy. If so, the credibility of the adjustment strategy is reduced and the previous adjustment strategy is executed; otherwise, the credibility of the current adjustment strategy is increased and the current adjustment strategy is maintained.

8. A scheduling device for a content distribution network, characterized in that: The content distribution network includes: a plurality of edge nodes, a parent node and a scheduling platform, the client is connected to the edge node, the edge node is connected to the source station through the parent node, the parent node is connected to the scheduling platform, and the scheduling device of the content distribution network includes: A receiving module, configured for the edge node to receive a first access request from the client; An analysis module, configured for the edge node to analyze the first access request through a machine learning module to determine an access policy, wherein the access policy includes whether it is necessary to pre-access content that the user has not accessed and the scope of the pre-access; A first judgment module is used for the edge node to initiate a second access request to the edge cache module according to the access policy, and determine whether there is a target content corresponding to the second access request in the edge cache module; if so, return the target content to the client; otherwise, initiate the second access request to the parent node corresponding to the edge node through the edge back-to-source module; A second judgment module is used for the parent node to initiate the second access request to the parent cache module according to the second access request, and to determine whether there is target content corresponding to the second access request in the parent cache module; if so, return the target content to the edge node; otherwise, initiate the second access request to the source station through the parent back-to-source module; A forwarding module, used for the parent node to determine the adjustment strategy through the data statistics module, and forward the adjustment strategy to the scheduling platform; The scheduling module is used for the scheduling platform to perform comprehensive scheduling according to the access strategies forwarded by each parent node and determine the final scheduling strategy; The designation module is used to designate corresponding edge nodes for other clients when other clients initiate access requests according to the scheduling strategy.

9. The content distribution network scheduling device according to claim 8, characterized in that: The device also includes: A return module is used for the edge node to return the target content received from the parent node to the client.

10. The content distribution network scheduling device according to claim 8, characterized in that: The device also includes: A determination module is used for the source station to determine the target content according to the second access request, and return the target content to the parent node.

Citation Information

Patent Citations

  • Data access method and data access device of content delivery network

    CN108173952A

  • Scheduling method and device of content distribution network, storage medium and electronic equipment

    CN114466018A

  • Data transmission method and device, electronic equipment and storage medium

    CN115037696A

  • Cache node scheduling method and device, equipment and medium

    CN115842863A

  • Cloud data content conversion method in industrial field

    CN118051283A