Content acceleration method and system based on edge cache
Through semantic analysis of user requests and comprehensive evaluation of edge nodes, optimized caching strategies and distribution plans are generated, which solves the problem of low content distribution efficiency of CDN systems in edge computing environments, achieves fast response and efficient content distribution, and improves the system stability and user experience.
Patent Information
- Application Number
- CN202411074308.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-07
AI Technical Summary
Existing CDN systems are difficult to achieve efficient content distribution when facing complex and dynamic user needs, resulting in low cache efficiency and increased transmission delays. Especially in edge computing environments, how to effectively utilize edge node resources to achieve fast response and efficient content distribution still remains It's a technical problem.
By semantic analysis of user requests, content needs are predicted, caching decisions are made based on the geographical location, load conditions and storage capabilities of edge nodes, optimization algorithms are used to select the most appropriate edge nodes, caching strategies and content distribution plans are generated, and distributed files are used And data synchronization protocol, data compression and block transmission technology, dynamic load balancing and transmission control protocol, real-time monitoring of network status and user feedback, optimization of edge node strategy.
It improves the accuracy and effectiveness of caching strategies, avoids node overload, ensures efficient operation and content consistency, reduces response time, improves request processing speed and stability, and meets changing user needs and network environments.
Smart Images

Figure CN118612301B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a content acceleration method and system based on edge caching. Background Art
[0002] In the existing technology, content distribution networks (CDNs) mainly cache and distribute content by deploying servers in multiple geographical locations to reduce user access latency and increase content transmission speed. Traditional CDN systems rely on centralized caching strategies, and servers are usually located in data centers or major network nodes, which may lead to network congestion and server overload during peak traffic periods.
[0003] However, existing CDN systems often have difficulty achieving efficient content distribution when faced with complex and dynamic user demands. Traditional methods lack accurate prediction of user requests and real-time dynamic adjustment, resulting in low cache efficiency and increased transmission delay. Especially in edge computing environments, how to effectively utilize the computing and storage resources of edge nodes to achieve fast response and efficient content distribution remains a technical challenge. Summary of the invention
[0004] The present application provides a content acceleration method and system based on edge cache, which are used to improve the efficiency of content acceleration based on edge cache.
[0005] In a first aspect, the present application provides a content acceleration method based on edge caching, the content acceleration method based on edge caching comprising: performing semantic analysis processing on a received user request to obtain a content demand prediction list;
[0006] Performing cache decision processing on the content demand prediction list to obtain an edge node cache strategy and an edge node set;
[0007] Distributing content to the edge node set by using the edge node cache strategy to obtain cache content metadata;
[0008] Performing routing processing on the user request to obtain a request routing table;
[0009] Deliver content to the request routing table according to the cache content metadata to obtain a content transmission report;
[0010] The edge node cache strategy is optimized according to the content transmission report to obtain a target node strategy.
[0011] In combination with the first aspect, in a first implementation of the first aspect of the present application, the semantic analysis of the received user request to obtain a content demand prediction list includes:
[0012] De-noising the user request to obtain de-noised request data;
[0013] Performing semantic analysis on the denoised request data using a natural language processing algorithm to obtain a keyword set and user intent data;
[0014] Collecting historical access data and historical user behavior patterns corresponding to the user request, and performing user demand content prediction on the keyword set and the user intention data according to the historical access data and the historical user behavior patterns to obtain user demand content;
[0015] A content demand prediction list is constructed for the user demand content to obtain the content demand prediction list.
[0016] In combination with the first aspect, in a second implementation of the first aspect of the present application, the cache decision processing is performed on the content demand prediction list to obtain an edge node cache strategy and an edge node set, including:
[0017] Extracting a current edge node set, and performing node status analysis on the current edge node set to obtain node status data;
[0018] Perform node screening on the current edge node set according to the node status data to obtain the edge node set;
[0019] Performing cache decision processing on the content demand prediction list through the edge node set to obtain cache priority and content transmission rate;
[0020] The edge node cache strategy is generated according to the cache priority and the content transmission rate.
[0021] In combination with the first aspect, in a third implementation of the first aspect of the present application, distributing content to the edge node set by using the edge node cache strategy to obtain cache content metadata includes:
[0022] Performing content matching on each edge node in the edge node set to obtain node cache content of each edge node;
[0023] Compress the node cache content of each edge node respectively to obtain the compressed cache content of each edge node;
[0024] The edge node cache strategy is used to distribute the compressed cache content of each edge node to obtain cache content metadata.
[0025] In combination with the first aspect, in a fourth implementation of the first aspect of the present application, the step of performing routing processing on the user request to obtain a request routing table includes:
[0026] Performing dynamic load distribution analysis on the user request and each edge node in the edge node set by a global load balancing algorithm to obtain dynamic load data of each edge node;
[0027] By caching content metadata, the dynamic load data of each edge node is routed and constructed to obtain the target routing data;
[0028] A routing table is constructed for the target routing data to obtain the request routing table.
[0029] In combination with the first aspect, in a fifth implementation manner of the first aspect of the present application, delivering content to the request routing table according to the cache content metadata to obtain a content transmission report includes:
[0030] Transmitting data of the request routing table according to the cache content metadata, and collecting network status data and user feedback data in real time during the data transmission process;
[0031] Performing transmission rate analysis on the network status data to obtain a target transmission rate;
[0032] A transmission report analysis is performed according to the target transmission rate and the user feedback data to obtain the content transmission report.
[0033] In combination with the first aspect, in a sixth implementation manner of the first aspect of the present application, optimizing the edge node cache strategy according to the content transmission report to obtain the target node strategy includes:
[0034] Optimizing the cache routing table of the edge node cache strategy according to the content transmission report to obtain a target cache routing table;
[0035] Performing cache load matching on the target cache routing table to obtain cache load data;
[0036] The edge node cache strategy is optimized through the target cache routing table and the cache load to obtain the target node strategy.
[0037] In a second aspect, the present application provides a content acceleration system based on edge caching, and the content acceleration system based on edge caching includes:
[0038] An analysis module is used to perform semantic analysis on received user requests to obtain a content demand prediction list;
[0039] A decision module, used to perform cache decision processing on the content demand prediction list to obtain an edge node cache strategy and an edge node set;
[0040] A distribution module, configured to distribute content to the edge node set through the edge node cache strategy to obtain cache content metadata;
[0041] A processing module, used for performing routing processing on the user request to obtain a request routing table;
[0042] A delivery module, configured to deliver content to the request routing table according to the cache content metadata to obtain a content transmission report;
[0043] The optimization module is used to optimize the edge node cache strategy according to the content transmission report to obtain a target node strategy.
[0044] In the technical solution provided by this application, a natural language processing algorithm is used to perform semantic analysis on user requests to obtain a content demand prediction list. This processing method can not only accurately identify the user's real needs, but also predict the user's possible subsequent needs based on historical access data and user behavior patterns, prepare relevant content in advance, and greatly reduce the response time of user requests. Secondly, the content demand prediction list is processed for cache decision-making, and a comprehensive evaluation of multi-dimensional factors such as the current edge node's geographical location, load conditions, and storage capacity is performed. The most suitable edge node is selected using an optimization algorithm to generate an edge node cache strategy and edge node set. This not only improves the accuracy and effectiveness of the cache strategy, but also avoids the problem of overloading certain nodes by dynamically adjusting the selection of cache nodes, thereby ensuring efficient operation.
[0045] During the content distribution process, the content is distributed to the selected edge nodes through efficient distributed file and data synchronization protocols, ensuring the consistency and availability of the content between the nodes. The use of data compression and block transmission technology makes content transmission more efficient and reduces bandwidth usage. By generating cache content metadata, including the storage location, update timestamp and version number of each content block, the accuracy and efficiency in subsequent content retrieval and consistency maintenance are ensured. When a user request arrives, the user request is routed based on the cache content metadata and the global load balancing algorithm, and the request is dynamically assigned to the most appropriate edge node to generate a request routing table. This not only improves the speed of request processing, but also avoids overloading of a certain node through dynamic load balancing, thereby improving stability and reliability.
[0046] In the content delivery phase, the transmission control protocol optimization and encryption technology are used to ensure the efficiency and security of content transmission. During the transmission process, the network status and user feedback are monitored in real time, and dynamic adjustments are made based on real-time data to further optimize the load and cache strategy of the edge nodes and generate content transmission reports. By analyzing the content transmission report, bottlenecks and problems in the transmission process can be identified, and an optimization recommendation report can be generated to optimize the edge node cache strategy and obtain the target node strategy. This adaptive optimization mechanism enables continuous improvement and improves overall performance to meet the ever-changing user needs and network environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0048] Figure 1 A schematic diagram of an embodiment of a content acceleration method based on edge caching in an embodiment of the present application;
[0049] Figure 2 This is a schematic diagram of an embodiment of a content acceleration system based on edge caching in an embodiment of the present application. DETAILED DESCRIPTION
[0050] Embodiments of the present application provide a content acceleration method and system based on edge caching. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0051] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of the content acceleration method based on edge caching in the embodiment of the present application includes:
[0052] Step S101: semantically analyze the received user request to obtain a content demand prediction list;
[0053] Step S102: Perform cache decision processing on the content demand prediction list to obtain an edge node cache strategy and an edge node set;
[0054] Step S103: Distribute content to the edge node set through the edge node cache strategy to obtain cache content metadata;
[0055] Step S104: perform routing processing on the user request to obtain a request routing table;
[0056] Step S105: delivering content to the request routing table according to the cached content metadata to obtain a content transmission report;
[0057] Step S106: Optimize the edge node cache strategy according to the content transmission report to obtain the target node strategy.
[0058] It is understandable that the execution subject of the present application may be a content acceleration system based on edge caching, or may be a terminal or a server, which is not specifically limited here. The present application embodiment is described by taking a server as the execution subject as an example.
[0059] Specifically, after receiving a user request, the request will be preprocessed to remove noise and irrelevant information. The preprocessed request is semantically analyzed using a natural language processing algorithm to identify keywords and user intent in the request. The content demand prediction list is processed for caching decisions. The currently available edge nodes are evaluated, including factors such as the node's geographical location, current load, and storage capacity. Based on these evaluation data, an optimization algorithm is used to select the most suitable edge node. For example, for a user request, an edge node with the closest geographical location, low load, and sufficient storage space may be selected. Based on the selected edge nodes, an edge node caching strategy and edge node set are generated. This strategy lists in detail which content should be cached to which edge nodes, as well as the caching priority and strategy of each node.
[0060] Content is distributed to edge node sets according to the edge node cache strategy. Specifically, efficient distributed files are used to distribute content to selected edge nodes. In order to improve transmission efficiency, data compression and block transmission technology are used to divide the content into multiple small blocks, and each small block is compressed and transmitted. After the distribution is completed, cache content metadata is generated, including the storage location, update timestamp and version number of each content block. These metadata will be used for subsequent content retrieval and consistency maintenance to ensure that each edge node can accurately provide the required content.
[0061] When a user makes a request, the user request is routed based on the cached content metadata and the global load balancing algorithm. The request is dynamically assigned to the most appropriate edge node to generate a request routing table. During the content delivery phase, the request routing table is transmitted according to the cached content metadata, and the network status data and user feedback data during the data transmission process are collected in real time. The efficiency and security of content transmission are ensured through transmission control protocol optimization and encryption technology. Real-time monitoring of network status and user feedback can dynamically adjust the transmission strategy and further optimize the load and cache strategy of the edge node. After the content transmission is completed, a content transmission report is generated, including indicators such as transmission speed, success rate, and user satisfaction.
[0062] Based on the content transmission report, the edge node cache strategy is optimized. For example, if the report shows that some edge nodes are often overloaded during peak periods, the cache strategy can be adjusted to distribute some content to other nodes with lower loads. It is also possible to optimize content distribution and cache strategies based on user feedback and transmission data to ensure that user needs can be continuously met. The optimized strategy will be fed back to the entire system, forming a closed loop of adaptive optimization to continuously improve performance and user experience.
[0063] In an embodiment of the present application, a natural language processing algorithm is used to perform semantic analysis on user requests to obtain a content demand prediction list. This processing method can not only accurately identify the user's real needs, but also predict the user's possible subsequent needs based on historical access data and user behavior patterns, prepare relevant content in advance, and greatly reduce the response time of user requests. Secondly, the content demand prediction list is processed for cache decision-making, and a comprehensive evaluation of multi-dimensional factors such as the current edge node's geographical location, load conditions, and storage capacity is performed. The most suitable edge node is selected using an optimization algorithm to generate an edge node cache strategy and edge node set. This not only improves the accuracy and effectiveness of the cache strategy, but also avoids the problem of overloading certain nodes by dynamically adjusting the selection of cache nodes, thereby ensuring efficient operation.
[0064] During the content distribution process, the content is distributed to the selected edge nodes through efficient distributed file and data synchronization protocols, ensuring the consistency and availability of the content between the nodes. The use of data compression and block transmission technology makes content transmission more efficient and reduces bandwidth usage. By generating cache content metadata, including the storage location, update timestamp and version number of each content block, the accuracy and efficiency in subsequent content retrieval and consistency maintenance are ensured. When a user request arrives, the user request is routed based on the cache content metadata and the global load balancing algorithm, and the request is dynamically assigned to the most appropriate edge node to generate a request routing table. This not only improves the speed of request processing, but also avoids overloading of a certain node through dynamic load balancing, thereby improving stability and reliability.
[0065] In the content delivery phase, the transmission control protocol optimization and encryption technology are used to ensure the efficiency and security of content transmission. During the transmission process, the network status and user feedback are monitored in real time, and dynamic adjustments are made based on real-time data to further optimize the load and cache strategy of the edge nodes and generate content transmission reports. By analyzing the content transmission report, bottlenecks and problems in the transmission process can be identified, and an optimization recommendation report can be generated to optimize the edge node cache strategy and obtain the target node strategy. This adaptive optimization mechanism enables continuous improvement and improves overall performance to meet the ever-changing user needs and network environment.
[0066] In a specific embodiment, the process of executing step S101 may specifically include the following steps:
[0067] (1) De-noising user requests to obtain de-noised request data;
[0068] (2) Perform semantic analysis on the denoised request data through a natural language processing algorithm to obtain a keyword set and user intent data;
[0069] (3) Collect historical access data and historical user behavior patterns corresponding to user requests, and predict user demand content based on keyword sets and user intent data to obtain user demand content;
[0070] (4) Construct a content demand prediction list for user demand content to obtain a content demand prediction list.
[0071] Specifically, after receiving the user's request, preprocessing will be performed to remove noise and irrelevant information in the request. For example, a user's search request on a video website may contain spelling errors, extra spaces, or irrelevant characters, which will affect the accuracy of the request. Through regular expressions and filters, these noises are cleaned up to obtain clean denoised request data. The user's historical access data and historical user behavior patterns corresponding to the current request will be collected. The historical access data and historical user behavior patterns are combined with the current keyword set and user intent data to predict the user's demand content. Specifically, through association rule mining and collaborative filtering algorithms, it is possible to identify what content the user may be interested in.
[0072] In a specific embodiment, the process of executing step S102 may specifically include the following steps:
[0073] (1) Extract the current edge node set and perform node status analysis on the current edge node set to obtain node status data;
[0074] (2) Filter the current edge node set through the node status data to obtain the edge node set;
[0075] (3) Perform cache decision processing on the content demand prediction list through the edge node set to obtain the cache priority and content transmission rate;
[0076] (4) Generate edge node caching strategy based on cache priority and content transmission rate.
[0077] Specifically, the currently available set of edge nodes is extracted. These edge nodes are distributed in different geographical locations and are responsible for storing and distributing content so that users can quickly obtain the required content. The status of each edge node changes over time, so it is necessary to collect the status data of each node in real time. These status data include the geographical location of the node, current load, available storage space, network bandwidth, response time, etc. By regularly sending status query requests to each node, the latest node status data can be obtained. The collected node status data is analyzed to evaluate the current performance of each node. For example, the current load of each node is analyzed to determine whether its processing capacity is close to saturation; the available storage space of the node is checked to determine whether it has sufficient capacity to cache new content; the network bandwidth and response time of the node are evaluated to ensure that it can respond to user requests quickly. These analysis results constitute the node status data, which reflects the real-time performance status of each node. The current set of edge nodes is screened using these node status data. The purpose of screening is to select those nodes with the best performance to cache and distribute content. Specifically, a group of edge nodes with superior performance are screened based on indicators such as node load, storage space, bandwidth, and response time. These nodes can not only meet the current cache needs, but also have sufficient resources to respond to future user requests. This screening mechanism ensures that the selected edge nodes can provide the best service quality. After completing the node screening, the filtered edge node set is used to make cache decision processing for the content demand prediction list. According to the importance and relevance of each content item in the content demand prediction list, its cache priority is determined. Based on the cache priority and content transmission rate, an edge node cache strategy is generated. This strategy specifies in detail which content should be cached to which edge nodes, as well as the transmission rate and cache priority of each content. For some low-priority content, a few nodes with light loads will be selected for caching to save storage resources and bandwidth.
[0078] In a specific embodiment, the process of executing step S103 may specifically include the following steps:
[0079] (1) Perform content matching on each edge node in the edge node set to obtain the node cache content of each edge node;
[0080] (2) Compress the node cache content of each edge node to obtain the compressed cache content of each edge node;
[0081] (3) The edge node cache strategy is used to distribute the compressed cache content of each edge node and obtain the cache content metadata.
[0082] Specifically, content matching is performed on each edge node. The purpose of content matching is to determine which content should be cached to which edge nodes in order to maximize the cache hit rate and content transmission speed. Specifically, the storage capacity, current cache content, user geographic location, and content access frequency of each edge node are analyzed based on the previously generated content demand prediction list and edge node cache strategy. Data compression is performed on the node cache content of each edge node. The purpose of data compression is to reduce the storage space and transmission bandwidth of the content, thereby improving overall efficiency. Advanced compression algorithms such as H.264 video compression and GZIP text compression are used to compress the node cache content. After compression, the compressed cache content of each edge node is generated. After data compression is completed, the compressed cache content is distributed to each edge node according to the edge node cache strategy. In this step, efficient distributed file and data transmission protocols are used to distribute the compressed content to the selected edge nodes. During the transmission process, the transmission speed and network status are monitored in real time to ensure that the content can be transmitted to the target node quickly and stably. Once the transfer is complete, cache content metadata is generated, including the storage location, update timestamp, and version number of each content block. These metadata are used for subsequent content retrieval and consistency maintenance to ensure that users can accurately obtain the latest content when they request it.
[0083] In a specific embodiment, the process of executing step S104 may specifically include the following steps:
[0084] (1) Through the global load balancing algorithm, the dynamic load distribution analysis of user requests and each edge node in the edge node set is performed to obtain the dynamic load data of each edge node;
[0085] (2) By caching content metadata, the dynamic load data of each edge node is routed and constructed to obtain the target routing data;
[0086] (3) Construct a routing table for the target routing data to obtain a request routing table.
[0087] Specifically, when a user request is received, a global load balancing algorithm is used to dynamically distribute the load analysis between the user request and the current set of edge nodes. The global load balancing algorithm can comprehensively consider the real-time status of each edge node, such as the current load, response time, bandwidth utilization, and storage capacity. The status data of each edge node is collected regularly and input into the load balancing algorithm for analysis. For example, suppose that the current load of node A is 60%, the response time is 50ms, the bandwidth utilization is 70%, and the storage capacity utilization is 80%; the current load of node B is 40%, the response time is 30ms, the bandwidth utilization is 50%, and the storage capacity utilization is 60%; the current load of node C is 80%, the response time is 70ms, the bandwidth utilization is 90%, and the storage capacity utilization is 90%. By analyzing these data, the dynamic load data of each node can be obtained, reflecting the performance and availability of the node when processing user requests.
[0088] The cache content metadata is used to build the routing for the dynamic load data of each edge node. The cache content metadata includes information such as the storage location, update timestamp, and version number of the content, helping to quickly locate the required content.
[0089] The dynamic load data will be combined to build the route, and the node with lighter load and faster response time will be selected to process the request. In this process, not only the current load and response time of the node are considered, but also the bandwidth utilization and storage capacity are comprehensively evaluated to ensure that the selected node can respond to user requests quickly and transmit content efficiently. For example, although both node A and node B have cached "ABCD", node B has lower current load and bandwidth utilization and shorter response time, so node B will be selected to process user requests. In this way, the target routing data is generated based on the cached content metadata and dynamic load data, and the best processing node for each user request is clarified.
[0090] The routing table will be constructed for the target routing data to generate a request routing table. The request routing table records the routing path and processing node of each user request to ensure that the user request can be quickly transmitted to the optimal node and responded to. The routing table construction process will comprehensively consider all the information in the target routing data to ensure that each request can be efficiently assigned to the appropriate node. For example, for the request of "ABCD", the request routing table records: User request-node B. In this way, when the user makes a request, the request routing table can be quickly found, the node B that processes the request can be located, and the request can be routed to the node.
[0091] Combined with the dynamic load data of node B, the route is constructed, the target route data is generated, and node B is designated as the best node to process the request. The routing table is constructed for the target route data, and the request routing table is generated to record the routing path between the user request and node B. When the user requests "ABCD" again, the request routing table can be quickly found and the request can be routed to node B, ensuring that the user can quickly obtain the required content.
[0092] Through the above steps, efficient management and allocation of user requests and edge nodes are achieved. The global load balancing algorithm ensures that each user request can be assigned to the most appropriate node for processing, the dynamic allocation load analysis ensures the load balancing and efficient resource utilization of the nodes, the cache content metadata helps to quickly locate the content, and the route construction and request routing table ensure that the user request can be quickly delivered to the appropriate node, which improves the overall response speed and user experience.
[0093] The beneficial effect of this method is that, through the global load balancing algorithm and dynamic load distribution analysis, the performance and availability of each node can be evaluated in real time when processing user requests, ensuring that the request is assigned to the best node for processing. By combining cache content metadata, content can be quickly located and efficient routing can be constructed to ensure a fast response to user requests. The construction and use of routing tables further improves efficiency, allowing user requests to be quickly delivered to the appropriate node, significantly improving the user experience.
[0094] In a specific embodiment, the process of executing step S105 may specifically include the following steps:
[0095] (1) Data transmission of the request routing table is performed based on the cache content metadata, and network status data and user feedback data are collected in real time during the data transmission process;
[0096] (2) Analyze the transmission rate of network status data to obtain the target transmission rate;
[0097] (3) Analyze the transmission report based on the target transmission rate and user feedback data to obtain a content transmission report.
[0098] Specifically, when a user makes a content request, the best edge node for data transmission is determined based on the request routing table. The request routing table is generated based on the global load balancing algorithm and dynamic load allocation analysis, and records the routing path and processing node for each user request. During the data transmission process, network status data and user feedback data are collected in real time. Network status data includes transmission rate, network delay, packet loss rate, and bandwidth utilization, etc., reflecting the performance and transmission quality of the current network. User feedback data includes the user's experience during content transmission, such as whether the video playback is smooth, whether there is any lag and buffering, etc. Through embedded monitoring tools and user-side feedback mechanisms, these data are collected in real time to ensure that they can accurately reflect the actual situation during the transmission process. The collected network status data will be analyzed for transmission rate. Transmission rate is one of the key factors affecting user experience. By analyzing indicators such as transmission rate, delay, and packet loss rate in the network status data, the current target transmission rate is calculated. For example, if the network status data shows that the current transmission rate is low and the packet loss rate is high, the target transmission rate will be adjusted to ensure the smoothness and stability of video playback. Adaptive transmission control protocol is used to dynamically adjust the transmission rate according to the real-time network status to ensure the best transmission performance under different network conditions. The transmission report analysis will be conducted in combination with the target transmission rate and user feedback data. The purpose of transmission report analysis is to evaluate the quality of the transmission process and user experience, so as to provide a basis for subsequent optimization. If user feedback indicates that the video playback is smooth and there is no obvious lag, it will be confirmed that the current transmission strategy is effective; if user feedback indicates that there is a playback problem, the network status data will be further analyzed to determine the root cause of the problem and propose optimization measures.
[0099] In a specific embodiment, the process of executing step S106 may specifically include the following steps:
[0100] (1) Optimize the cache routing table of the edge node cache strategy according to the content transmission report to obtain the target cache routing table;
[0101] (2) Perform cache load matching on the target cache routing table to obtain cache load data;
[0102] (3) The edge node cache strategy is optimized through the target cache routing table and cache load to obtain the target node strategy.
[0103] Specifically, the existing edge node caching strategy will be analyzed based on the generated content transmission report. The content transmission report contains network status data, transmission rate, user feedback, and any problems encountered during the transmission. This data provides detailed feedback on transmission performance and user experience. For example, if the report shows that certain nodes are frequently overloaded during peak hours, or that certain content is accessed more frequently in a specific area than in other areas, problems in the caching strategy and areas for improvement can be identified.
[0104] The cache routing table will be optimized based on the information provided in the content transmission report. The cache routing table records the storage path and access policy of each content on different edge nodes. By analyzing the transmission report, the distribution of content among edge nodes can be adjusted. For example, if the transmission report shows that node A is often overloaded during peak hours, and node B has enough idle resources, some content can be migrated from node A to node B. In this way, the optimized cache routing table will distribute content storage and access paths more evenly, avoid overload problems on a single node, and improve overall performance.
[0105] After optimizing the cache routing table, cache load matching is required. The purpose of cache load matching is to evaluate the load distribution of the new cache routing table in actual applications. Based on the optimized cache routing table, the access and transmission of content between different nodes are simulated to calculate the cache load data of each node. These data include the storage utilization, transmission bandwidth utilization, access frequency, etc. of each node. For example, by simulating the new cache routing table, it is found that the load of node A drops from 80% to 60%, while the load of node B increases from 40% to 60%, which indicates that the new cache strategy is more balanced in load distribution.
[0106] After completing the cache load matching, the target cache routing table and cache load data will be combined to comprehensively optimize the edge node cache strategy to obtain the target node strategy. In this step, factors such as the access frequency of cached content, user distribution, network bandwidth utilization, and storage resource utilization will be comprehensively considered to adjust the distribution and access strategy of content among edge nodes. For example, if certain content is frequently accessed in a specific area, cache copies of the content will be added to edge nodes near the area to ensure that users can access it quickly. At the same time, the utilization of network bandwidth will also be considered to avoid caching large files on nodes with limited bandwidth to ensure transmission efficiency.
[0107] The optimized cache routing table is matched with cache load to simulate the load of the new cache strategy in actual application. Through simulation, it is found that the load of nodes A and B is reduced from 80% to 60%, and the load of nodes C and D is increased from 30% to 60%, which shows that the new cache strategy is more balanced in load distribution. Further analysis of the storage utilization and transmission bandwidth utilization of nodes C and D confirms that these two nodes have sufficient resources to support the newly added cache content. Combined with the optimized cache routing table and cache load data, the edge node cache strategy is fully optimized to obtain the target node strategy.
[0108] The above describes the content acceleration method based on edge cache in the embodiment of the present application. The following describes the content acceleration system based on edge cache in the embodiment of the present application. Figure 2 In the embodiment of the present application, an embodiment of the content acceleration system based on edge caching includes:
[0109] The analysis module 201 is used to perform semantic analysis on the received user request to obtain a content demand prediction list;
[0110] A decision module 202 is used to perform cache decision processing on the content demand prediction list to obtain an edge node cache strategy and an edge node set;
[0111] A distribution module 203 is used to distribute content to the edge node set through the edge node cache strategy to obtain cache content metadata;
[0112] The processing module 204 is used to perform routing processing on the user request to obtain a request routing table;
[0113] A delivery module 205, configured to deliver content to the request routing table according to the cache content metadata to obtain a content transmission report;
[0114] The optimization module 206 is configured to optimize the edge node cache strategy according to the content transmission report to obtain a target node strategy.
[0115] Through the collaboration of the above components, the natural language processing algorithm is used to perform semantic analysis on user requests to obtain a content demand prediction list. This processing method can not only accurately identify the user's real needs, but also predict the user's possible subsequent needs based on historical access data and user behavior patterns, prepare relevant content in advance, and greatly reduce the response time of user requests. Secondly, the content demand prediction list is processed for cache decision-making. Through a comprehensive evaluation of multi-dimensional factors such as the current edge node's geographical location, load conditions, and storage capacity, an optimization algorithm is used to select the most suitable edge node, and an edge node cache strategy and edge node set are generated. This not only improves the accuracy and effectiveness of the cache strategy, but also avoids the problem of overloading certain nodes by dynamically adjusting the selection of cache nodes, ensuring efficient operation.
[0116] During the content distribution process, the content is distributed to the selected edge nodes through efficient distributed file and data synchronization protocols, ensuring the consistency and availability of the content between the nodes. The use of data compression and block transmission technology makes content transmission more efficient and reduces bandwidth usage. By generating cache content metadata, including the storage location, update timestamp and version number of each content block, the accuracy and efficiency in subsequent content retrieval and consistency maintenance are ensured. When a user request arrives, the user request is routed based on the cache content metadata and the global load balancing algorithm, and the request is dynamically assigned to the most appropriate edge node to generate a request routing table. This not only improves the speed of request processing, but also avoids overloading of a certain node through dynamic load balancing, thereby improving stability and reliability.
[0117] In the content delivery phase, the transmission control protocol optimization and encryption technology are used to ensure the efficiency and security of content transmission. During the transmission process, the network status and user feedback are monitored in real time, and dynamic adjustments are made based on real-time data to further optimize the load and cache strategy of the edge nodes and generate content transmission reports. By analyzing the content transmission report, bottlenecks and problems in the transmission process can be identified, and an optimization recommendation report can be generated to optimize the edge node cache strategy and obtain the target node strategy. This adaptive optimization mechanism enables continuous improvement and improves overall performance to meet the ever-changing user needs and network environment.
[0118] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0119] If the integrated unit is implemented in the form of a software functional unit and 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 the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0120] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A content acceleration method based on edge caching, characterized in that: The edge cache-based content acceleration method includes: Performing semantic analysis on the received user request to obtain a content demand prediction list; specifically comprising: denoising the user request to obtain denoised request data; performing semantic analysis on the denoised request data through a natural language processing algorithm to obtain a keyword set and user intent data; collecting historical access data and historical user behavior patterns corresponding to the user request, and predicting user demand content on the keyword set and the user intent data according to the historical access data and the historical user behavior patterns to obtain user demand content; constructing a content demand prediction list for the user demand content to obtain the content demand prediction list; Performing cache decision processing on the content demand prediction list to obtain an edge node cache strategy and an edge node set; specifically comprising: extracting a current edge node set, and performing node status analysis on the current edge node set to obtain node status data; performing node screening on the current edge node set through the node status data to obtain the edge node set; performing cache decision processing on the content demand prediction list through the edge node set to obtain a cache priority and a content transmission rate; generating the edge node cache strategy through the cache priority and the content transmission rate; specifically, extracting a currently available edge node set, which is distributed in different geographical locations and is responsible for storing and distributing content so that users can quickly obtain required content. The status of each edge node changes over time, and the status data of each edge node is collected in real time. The status data includes the geographical location of the edge node, the current load, the available storage space, the network bandwidth, and the response time; obtaining the latest node status data by periodically sending a status query request to each edge node, analyzing the collected node status data, and evaluating the current The current performance of each edge node is analyzed to determine whether the processing capacity of the edge node is close to saturation; the available storage space of the node is checked to determine whether the edge node has sufficient capacity to cache new content; the network bandwidth and response time of the node are evaluated to ensure that the edge node can quickly respond to user requests. These analysis results constitute the node status data; the current edge node set is screened using these node status data. The purpose of the screening is to select the edge node with the best performance to cache and distribute content. A group of edge nodes with superior performance are screened out based on the load, storage space, bandwidth and response time indicators of the edge node; after completing the node screening, the filtered edge node set is used to make cache decision processing on the content demand prediction list. According to the importance and relevance of each content item in the content demand prediction list, the cache priority is determined. Based on the cache priority and content transmission rate, the edge node cache strategy is generated. The edge node cache strategy specifies in detail which content should be cached to which edge nodes, as well as the transmission rate and cache priority of each content. For low-priority content, a few nodes with light loads will be selected for caching; The edge node set is distributed with content through the edge node cache strategy to obtain cache content metadata; specifically, the method includes: performing content matching on each edge node in the edge node set to obtain node cache content of each edge node; performing data compression on the node cache content of each edge node to obtain compressed cache content of each edge node; performing content distribution on the compressed cache content of each edge node through the edge node cache strategy to obtain cache content metadata; specifically, performing content matching on each edge node, the purpose of which content matching is to determine which content should be cached to which edge nodes, so as to maximize the cache hit rate and content transmission speed; analyzing the storage capacity and current cache content of each edge node according to the previously generated content demand prediction list and edge node cache strategy , user geographic location and content access frequency factors, the node cache content of each edge node is compressed. The purpose of data compression is to reduce the storage space and transmission bandwidth of the content; H.264 video compression or GZIP text compression is used to compress the node cache content. After the compression is completed, the compressed cache content of each edge node is generated; after the data compression is completed, the compressed cache content is distributed to each edge node according to the edge node cache strategy, and the compressed content is distributed to the selected edge node using efficient distributed file and data transmission protocols; during the transmission process, the transmission speed and network status are monitored in real time to ensure that the content can be transmitted to the target node quickly and stably; once the transmission is completed, the cache content metadata will be generated, including the storage location, update timestamp and version number of each content block; The user request is routed to obtain a request routing table; specifically, the method includes: dynamically distributing load analysis on the user request and each edge node in the edge node set through a global load balancing algorithm to obtain dynamic load data of each edge node; constructing routes for the dynamic load data of each edge node through cached content metadata to obtain target routing data; constructing a routing table for the target routing data to obtain the request routing table; specifically, when a user request is received, dynamically distributing load analysis on the user request and the current edge node set is performed using a global load balancing algorithm, and the global load balancing algorithm can comprehensively consider the real-time status of each edge node, including the current load, response time, bandwidth utilization and storage capacity; the dynamic load data of each edge node is obtained by regularly collecting the status data of each edge node and inputting the status data into the load balancing algorithm for analysis; the cached content is used Metadata, build routes for the dynamic load data of each edge node. The cached content metadata includes the storage location, update timestamp and version number information of the content; Combined with the dynamic load data, build routes and select nodes with lighter load and faster response time to process the user request. In this process, not only the current load and response time of the node are considered, but also the bandwidth utilization and storage capacity are comprehensively evaluated to ensure that the selected node can quickly respond to user requests and efficiently transmit content; Based on the cached content metadata and dynamic load data, the target routing data is generated to identify the best processing node for each user request; The routing table is built for the target routing data to generate a request routing table. The request routing table records the routing path and processing node of each user request to ensure that the user request can be quickly transmitted to the optimal node and responded to. The routing table construction process comprehensively considers all information in the target routing data to ensure that each request can be efficiently assigned to the appropriate node; The content is delivered to the request routing table according to the cache content metadata to obtain a content transmission report; specifically comprising: transmitting data to the request routing table according to the cache content metadata, and collecting network status data and user feedback data in real time during the data transmission process; performing transmission rate analysis on the network status data to obtain a target transmission rate; performing transmission report analysis based on the target transmission rate and the user feedback data to obtain the content transmission report; specifically, when a user issues a content request, the best edge node is determined for data transmission according to the request routing table, the request routing table is generated according to a global load balancing algorithm and a dynamic load allocation analysis, and records the routing path and processing node for each user request; in the process of data transmission, network status data and user feedback data are collected in real time, the network status data includes transmission rate, network delay, packet loss rate and bandwidth utilization, and the user feedback data includes the user The user experience during content transmission, including whether the video playback is smooth, whether there is any lag or buffering; collect this data in real time through embedded monitoring tools and user-side feedback mechanisms to ensure that it can accurately reflect the actual situation during the transmission process; perform transmission rate analysis on the collected network status data, and calculate the current target transmission rate by analyzing the transmission rate, delay and packet loss rate indicators in the network status data; use an adaptive transmission control protocol to dynamically adjust the transmission rate according to the real-time network status to ensure that the best transmission performance can be provided under different network conditions; combine the target transmission rate and user feedback data to perform transmission report analysis. The purpose of transmission report analysis is to evaluate the quality of the transmission process and user experience. If user feedback shows that the video playback is smooth and there is no obvious lag, it will confirm that the current transmission strategy is effective; if user feedback shows that there is a playback problem, the network status data will be further analyzed to determine the root cause of the problem and propose optimization measures; The edge node cache strategy is optimized according to the content transmission report to obtain the target node strategy; specifically comprising: optimizing the cache routing table of the edge node cache strategy according to the content transmission report to obtain the target cache routing table; performing cache load matching on the target cache routing table to obtain cache load data; optimizing the edge node cache strategy through the target cache routing table and the cache load to obtain the target node strategy; specifically, analyzing the existing edge node cache strategy according to the generated content transmission report, the content transmission report includes network status data, transmission rate and user feedback during the transmission process; optimizing the cache routing table according to the information provided in the content transmission report, the cache routing table records the storage path and access strategy of each content on different edge nodes, and adjusting the distribution of content among edge nodes by analyzing the transmission report; after optimizing the cache routing table, Cache load matching. The purpose of cache load matching is to evaluate the load distribution of the new cache routing table in actual applications. According to the optimized cache routing table, the access and transmission of content between different nodes are simulated, and the cache load data of each edge node is calculated. The cache load data includes the storage utilization, transmission bandwidth utilization, and access frequency of each edge node. After completing the cache load matching, the edge node cache strategy is comprehensively optimized in combination with the target cache routing table and cache load data to obtain the target node strategy. The access frequency, user distribution, network bandwidth utilization, and storage resource utilization of the cached content are comprehensively considered to adjust the distribution and access strategy of the content between edge nodes. Cache load matching is performed on the optimized cache routing table to simulate the load of the new cache strategy in actual applications. Combined with the optimized cache routing table and cache load data, the edge node cache strategy is comprehensively optimized to obtain the target node strategy.
2. A content acceleration system based on edge caching, characterized in that: The edge cache-based content acceleration system includes: The analysis module is used to perform semantic analysis on the received user request to obtain a content demand prediction list; specifically includes: denoising the user request to obtain denoised request data; performing semantic analysis on the denoised request data through a natural language processing algorithm to obtain a keyword set and user intent data; collecting historical access data and historical user behavior patterns corresponding to the user request, and predicting user demand content on the keyword set and the user intent data according to the historical access data and the historical user behavior patterns to obtain user demand content; constructing a content demand prediction list for the user demand content to obtain the content demand prediction list; A decision module is used to perform cache decision processing on the content demand prediction list to obtain an edge node cache strategy and an edge node set; specifically, it includes: extracting the current edge node set, and performing node status analysis on the current edge node set to obtain node status data; performing node screening on the current edge node set through the node status data to obtain the edge node set; performing cache decision processing on the content demand prediction list through the edge node set to obtain a cache priority and a content transmission rate; generating the edge node cache strategy through the cache priority and the content transmission rate; specifically, extracting the currently available edge node set, the edge node set is distributed in different geographical locations, and is responsible for storing and distributing content so that users can quickly obtain the required content. The status of each edge node will change over time, and the status data of each edge node is collected in real time. The status data includes the geographical location, current load, available storage space, network bandwidth, and response time of the edge node; by regularly sending a status query request to each edge node, the latest node status data is obtained, the collected node status data is analyzed, and the evaluation of each edge node is performed. The current performance of the node is analyzed, and the current load of each edge node is analyzed to determine whether the processing capacity of the edge node is close to saturation; the available storage space of the node is checked to determine whether the edge node has sufficient capacity to cache new content; the network bandwidth and response time of the node are evaluated to ensure that the edge node can quickly respond to user requests. These analysis results constitute the node status data; the current set of edge nodes is screened using these node status data. The purpose of the screening is to select the edge node with the best performance to cache and distribute content. According to the load, storage space, bandwidth and response time indicators of the edge node, a group of edge nodes with superior performance are screened out; after completing the node screening, the filtered edge node set is used to make cache decision processing on the content demand prediction list, and the cache priority is determined according to the importance and relevance of each content item in the content demand prediction list. Based on the cache priority and content transmission rate, the edge node cache strategy is generated. The edge node cache strategy specifies in detail which content should be cached to which edge nodes, as well as the transmission rate and cache priority of each content. For low-priority content, a few nodes with light loads will be selected for caching; The distribution module is used to distribute content to the edge node set through the edge node cache strategy to obtain cache content metadata; specifically including: performing content matching on each edge node in the edge node set to obtain node cache content of each edge node; performing data compression on the node cache content of each edge node respectively to obtain compressed cache content of each edge node; performing content distribution on the compressed cache content of each edge node through the edge node cache strategy to obtain cache content metadata; specifically, performing content matching on each edge node, the purpose of content matching is to determine which content should be cached to which edge nodes, so as to maximize the cache hit rate and content transmission speed; analyzing the storage capacity, current The node cache content of each edge node is compressed based on the cache content, user geographic location and content access frequency. The purpose of data compression is to reduce the storage space and transmission bandwidth of the content. H.264 video compression or GZIP text compression is used to compress the node cache content. After the compression is completed, the compressed cache content of each edge node is generated. After the data compression is completed, the compressed cache content is distributed to each edge node according to the edge node cache strategy, and the compressed content is distributed to the selected edge node using efficient distributed file and data transmission protocols. During the transmission process, the transmission speed and network status are monitored in real time to ensure that the content can be transmitted to the target node quickly and stably. Once the transmission is completed, the cache content metadata will be generated, including the storage location, update timestamp and version number of each content block. The processing module is used to perform routing processing on the user request to obtain a request routing table; specifically, the processing module includes: performing dynamic load distribution analysis on the user request and each edge node in the edge node set through a global load balancing algorithm to obtain dynamic load data of each edge node; performing routing construction on the dynamic load data of each edge node respectively through cached content metadata to obtain target routing data; performing routing table construction on the target routing data to obtain the request routing table; specifically, when receiving a user request, performing dynamic load distribution analysis on the user request and the current edge node set using a global load balancing algorithm, and the global load balancing algorithm can comprehensively consider the real-time status of each edge node, and the real-time status includes current load, response time, bandwidth utilization and storage capacity; obtaining dynamic load data of each edge node by regularly collecting status data of each edge node and inputting these status data into the load balancing algorithm for analysis; and using Cache content metadata and construct routes for the dynamic load data of each edge node. The cached content metadata includes the storage location, update timestamp and version number information of the content; Combined with the dynamic load data, construct routes and select nodes with lighter load and faster response time to process the user request. In this process, not only the current load and response time of the node are considered, but also the bandwidth utilization and storage capacity are comprehensively evaluated to ensure that the selected node can quickly respond to user requests and efficiently transmit content; Based on the cached content metadata and dynamic load data, the target routing data is generated to identify the best processing node for each user request; The routing table is constructed for the target routing data to generate a request routing table. The request routing table records the routing path and processing node of each user request to ensure that the user request can be quickly transmitted to the optimal node and responded to. The routing table construction process comprehensively considers all information in the target routing data to ensure that each request can be efficiently assigned to the appropriate node; The delivery module is used to deliver content to the request routing table according to the cache content metadata and obtain a content transmission report; specifically comprising: transmitting data to the request routing table according to the cache content metadata, and collecting network status data and user feedback data in real time during the data transmission process; performing transmission rate analysis on the network status data to obtain a target transmission rate; performing transmission report analysis based on the target transmission rate and the user feedback data to obtain the content transmission report; specifically, when a user issues a content request, the best edge node is determined for data transmission according to the request routing table, the request routing table is generated according to a global load balancing algorithm and a dynamic load allocation analysis, and records the routing path and processing node of each user request; in the data transmission process, network status data and user feedback data are collected in real time, the network status data includes transmission rate, network delay, packet loss rate and bandwidth utilization, user feedback data It includes the user's experience during content transmission, including whether the video plays smoothly, whether there are any freezes or buffers; through embedded monitoring tools and user-side feedback mechanisms, these data are collected in real time to ensure that they can accurately reflect the actual situation during the transmission process; the collected network status data is analyzed for transmission rate, and the current target transmission rate is calculated by analyzing the transmission rate, delay and packet loss rate indicators in the network status data; an adaptive transmission control protocol is used to dynamically adjust the transmission rate according to the real-time network status to ensure the best transmission performance under different network conditions; transmission report analysis is performed in combination with the target transmission rate and user feedback data. The purpose of the transmission report analysis is to evaluate the quality of the transmission process and the user experience. If user feedback shows that the video plays smoothly and there is no obvious freeze, it will confirm that the current transmission strategy is effective; if user feedback shows that there is a playback problem, the network status data will be further analyzed to determine the root cause of the problem and propose optimization measures; The optimization module is used to optimize the edge node cache strategy according to the content transmission report to obtain the target node strategy; specifically includes: optimizing the cache routing table of the edge node cache strategy according to the content transmission report to obtain the target cache routing table; matching the cache load of the target cache routing table to obtain cache load data; optimizing the edge node cache strategy through the target cache routing table and the cache load to obtain the target node strategy; specifically, analyzing the existing edge node cache strategy according to the generated content transmission report, the content transmission report includes the network status data, transmission rate and user feedback during the transmission process; optimizing the cache routing table according to the information provided in the content transmission report, the cache routing table records the storage path and access strategy of each content on different edge nodes, and adjusting the distribution of content among edge nodes by analyzing the transmission report; optimizing the cache routing table After that, cache load matching is performed. The purpose of cache load matching is to evaluate the load distribution of the new cache routing table in actual applications. According to the optimized cache routing table, the access and transmission of content between different nodes are simulated, and the cache load data of each edge node is calculated. The cache load data includes the storage utilization, transmission bandwidth utilization, and access frequency of each edge node. After completing the cache load matching, the edge node cache strategy is comprehensively optimized in combination with the target cache routing table and cache load data to obtain the target node strategy. The access frequency, user distribution, network bandwidth utilization, and storage resource utilization of the cached content are comprehensively considered to adjust the distribution and access strategy of the content between edge nodes. Cache load matching is performed on the optimized cache routing table to simulate the load of the new cache strategy in actual applications. Combined with the optimized cache routing table and cache load data, the edge node cache strategy is comprehensively optimized to obtain the target node strategy.
Citation Information
Patent Citations
Cloud platform user data transmission optimization system and method
CN118138640A
