Back-to-source orchestration method, system and medium based on CDN and SRv6

By building a joint orchestration model and optimizing CDN bearer nodes and return-to-origin paths, we solve the existing CDN problem of accelerating dynamic content return-to-origin delays, achieve low latency and high utilization, and reduce business costs.

CN118233357BActive Publication Date: 2024-08-27ASPIRE TECH (SHENZHEN) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410657094.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-25
Publication Date
2024-08-27
Estimated Expiration
2044-05-25

AI Technical Summary

Technical Problem

In the existing CDN accelerated dynamic content back-to-origin method, the measured delay path is not the shortest path at the network layer, causing the same request to pass through multiple CDN nodes, reusing resources and increasing business costs.

Method used

By obtaining the CDN node capacity, business bandwidth, and remaining capacity and path value of the transmission path, a joint orchestration model is constructed to optimize the CDN bearer node and return-to-origin path to ensure that user requests are directly connected to the CDN node and forwarded to the target origin site, avoiding multiple hops. Forward.

Benefits of technology

It maximizes the provision of low-latency services for CDN services from the network level, improves CDN node utilization, reduces business costs, and ensures that user access requests to CDN nodes are quickly returned to the source.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118233357B
    Figure CN118233357B
Patent Text Reader

Abstract

The present invention provides a method, system and medium for back-to-source arrangement based on CDN and SRv6, including: obtaining the node capacity of each CDN node, the business bandwidth and business value of each service in each province, and the remaining capacity and path value of each transmission path; arranging the CDN bearer nodes and back-to-source paths of each service in each province based on the node capacity of each CDN node, the business bandwidth and business value of each service in each province, and the remaining capacity and path value of each transmission path; determining the CDN bearer node and target scheduling path of the user access request, so as to forward the user access request to the target source station according to the target scheduling path. The present invention allocates an access node to each service and specifies the transmission path of this service from the access node to the source station, so as to maximize the provision of low-latency services for the service from the network level, and the service does not need to jump between multiple CDN nodes, so as to realize the rapid back-to-source of the user access request access node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a CDN and SRv6-based back-to-source orchestration method, system and medium. Background Art

[0002] The existing CDN (Content Delivery Network) method for accelerating dynamic content (resources are not cached and quickly retrieved from the source) is application layer intelligent routing. The technical principle is as follows: (1) The CDN routing center sends the source station dial-up timing task, and each CDN node detects the source station latency through the Ping command; (2) The CDN routing center sends the node mutual timing task, and each CDN node detects each other's latency through the Ping command; (3) The above two detection results are reported to the routing center at a regular interval. The routing center calculates the minimum latency path from each CDN node to the source station based on the Dijkstra algorithm and sends the path to each CDN node; the user requests to access the nearest CDN node, and the CDN node forwards it to the source station according to the preset path.

[0003] For example, in conjunction with the drawings in the specification Figure 1 , game users in Province A interact with the source station in Province D through CDN. The original method obtains the path obtained through Ping delay detection as Province A game client -> Province A CDN node -> Province B CDN node -> Province C CDN node -> Province D game source station. Compared with other paths, such as Province A game client -> Province A CDN node -> Province B CDN node -> Province D game source station, the delay is 10ms less.

[0004] However, the path with the shortest latency measured and calculated by the above method is the shortest path at the application layer, not the actual shortest path at the network layer. In addition, the above method will cause the same request to pass through multiple CDN nodes, repeatedly using CDN node resources, which increases business costs. Summary of the invention

[0005] The present invention provides a CDN and SRv6-based back-to-source orchestration method, system and medium, aiming to solve at least one of the above-mentioned technical problems.

[0006] The present invention provides a back-to-source orchestration method based on CDN and SRv6, comprising:

[0007] Obtain the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path in the IP transmission network, wherein the path value is determined based on the path delay;

[0008] Based on the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path, the CDN bearer node and the back-to-source path of each service in each province are arranged;

[0009] Determine the CDN bearer node and the target scheduling path corresponding to the user access request, so as to forward the user access request to the target source station according to the target scheduling path.

[0010] According to a CDN and SRv6-based back-to-source orchestration method provided by the present invention, before obtaining the node capacity of each CDN node, the service bandwidth and service value of each province, and the remaining capacity of each transmission path of the transmission network, the method further includes:

[0011] A joint orchestration model is constructed, wherein the joint orchestration model is used to calculate the CDN bearer nodes and the back-to-source path of each service in each province. The specific construction process of the model is as follows:

[0012] (1) Constructing the objective function:

[0013]

[0014] in,

[0015] Indicates CDN services;

[0016] Indicates transmission paths;

[0017] Indicates provinces;

[0018] Indicates a total of CDN services;

[0019] Indicates a total of transmission paths;

[0020] Indicates The business is The province's business bandwidth;

[0021] Indicates CDN services are in The business value of the province;

[0022] Indicates The path value of the transmission path;

[0023] represents a 0-1 decision variable, indicating the The business is Province whether to use the transmission paths;

[0024] (2) Construction constraints:

[0025] The decision variable constraint means that each edge node can only specify one transmission path at a time:

[0026]

[0027] Path capacity constraint means that the total bandwidth of each transmission path carrying services cannot exceed the remaining capacity of the transmission path:

[0028]

[0029] CDN node capacity constraints indicate that the total bandwidth of services carried by each CDN node cannot exceed the node capacity of the CDN node:

[0030]

[0031] According to a CDN and SRv6-based back-to-source orchestration method provided by the present invention, the CDN bearer nodes and back-to-source paths of each service in each province are orchestrated based on the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path, including:

[0032] For each business that goes back to the source in any first province to the corresponding source station in any second province:

[0033] Based on the business value, sort the businesses to obtain a business sorting result;

[0034] Based on the path value, sorting each transmission path of the IP transmission network between the first province and the second province to obtain a path sorting result;

[0035] Determine the total bandwidth of services in the first province based on the service bandwidth of each service in the first province;

[0036] Based on the node capacity of each CDN node in the first province, the total bandwidth of the service, the remaining capacity of each transmission path, the service sorting results and the path sorting results, the CDN bearer nodes and back-to-source paths of each service in the first province are arranged.

[0037] According to a CDN and SRv6-based back-to-source orchestration method provided by the present invention, the CDN bearer nodes and back-to-source paths of each service in the first province are orchestrated based on the node capacity of each CDN node in the first province, the total bandwidth of the service, the remaining capacity of each transmission path, the service sorting result and the path sorting result, including:

[0038] Comparing the total service bandwidth with the node capacity of each CDN node in the first province;

[0039] If the node capacity meets the total bandwidth of all services, each service is traversed according to the service sorting results;

[0040] For any traversed service: based on the path sorting result, traverse each transmission path step by step. If there is a transmission path whose remaining capacity satisfies the service bandwidth of the service, record and cache the transmission path corresponding to the service bandwidth that satisfies the service, and stop the transmission path traversal process;

[0041] After all business traversals are completed, the CDN bearer node and the return path corresponding to any business between the first province and the second province are obtained.

[0042] According to a CDN and SRv6-based back-to-source orchestration method provided by the present invention, the determining of a CDN bearer node and a target scheduling path corresponding to a user access request, so as to forward the user access request to a target source station according to the target scheduling path, includes:

[0043] Parsing the user access request, and sending the user access request to a corresponding CDN bearer node according to the parsing result;

[0044] If the CDN bearer node does not cache the resource corresponding to the user request, a back-to-source path request is generated;

[0045] Based on the back-to-source path request, determining the target scheduling path among the stored back-to-source paths;

[0046] The user access request is forwarded to the target source station according to the target scheduling path.

[0047] According to a CDN and SRv6-based back-to-source orchestration method provided by the present invention, after determining the CDN bearer node and the target scheduling path corresponding to the user access request to forward the user access request to the target source station according to the target scheduling path, the method further includes:

[0048] Obtain the response content returned by the target source station, return the response content to the client, and cache the response content.

[0049] The present invention also provides a back-to-source orchestration system based on CDN and SRv6, comprising:

[0050] The CDN dispatch center is used to report the node capacity of each CDN node, the service bandwidth and service value of each service in each province;

[0051] An SRv6 controller, configured to report the remaining capacity and path value of each transmission path of the transmission network, wherein the path value is determined based on the path delay;

[0052] A joint orchestrator, configured to orchestrate the CDN bearer nodes and back-to-source paths of each service in each province based on the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path;

[0053] The CDN dispatch center is also used to receive the CDN bearer nodes of each service in each province to guide the user access request to the corresponding CDN bearer node;

[0054] The SRv6 controller is also used to send the back-source path of each service in each province to each router, so as to forward the user access request to the target source station according to the target scheduling path corresponding to the user access request.

[0055] According to a CDN and SRv6-based back-to-source orchestration system provided by the present invention, the joint orchestrator is further used to:

[0056] For each business that goes back to the source in any first province to the corresponding source station in any second province:

[0057] Based on the business value, sort the businesses to obtain a business sorting result;

[0058] Based on the path value, sorting each transmission path of the IP transmission network between the first province and the second province to obtain a path sorting result;

[0059] Determine the total bandwidth of services in the first province based on the service bandwidth of each service in the first province;

[0060] Comparing the total service bandwidth with the node capacity of each CDN node in the first province;

[0061] If the node capacity meets the total bandwidth of all services, each service is traversed according to the service sorting results;

[0062] For any traversed service: based on the path sorting result, traverse each transmission path step by step. If there is a transmission path whose remaining capacity satisfies the service bandwidth of the service, record and cache the transmission path corresponding to the service bandwidth that satisfies the service, and stop the transmission path traversal process;

[0063] After all business traversals are completed, the CDN bearer node and the return path corresponding to any business between the first province and the second province are obtained.

[0064] According to a CDN and SRv6-based back-to-source orchestration system provided by the present invention, the CDN scheduling center is further used to parse the user access request, and send the user access request to the corresponding CDN bearer node according to the parsing result;

[0065] The CDN bearer node is configured to send a back-to-source path request to the SRv6 controller if the resource corresponding to the user request is not cached;

[0066] The SRv6 controller is further configured to determine the target scheduling path based on each stored back-to-source path;

[0067] The CDN bearer node is further used to forward the user access request to the target source station according to the target scheduling path.

[0068] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a back-to-source orchestration method based on CDN and SRv6 as described above is implemented.

[0069] The present invention also provides a non-transitory computer-readable medium having a computer program stored thereon, and when the computer program is executed by a processor, the back-to-source orchestration method based on CDN and SRv6 as described in any one of the above is implemented.

[0070] The CDN and SRv6-based back-to-source orchestration method, system and medium provided by the present invention include: obtaining the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path in the IP transmission network, wherein the path value is determined based on the path delay; arranging the CDN bearer nodes and back-to-source paths of each service in each province based on the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path; determining the CDN bearer node and the target scheduling path corresponding to the user access request, so as to forward the user access request to the target source station according to the target scheduling path. The present invention combines the node capacity of each CDN node, the business bandwidth and business value of each business in each province, and the remaining capacity and path value of each transmission path for joint arrangement, allocates a CDN access node to each business, and specifies the transmission path from the CDN node to the source station for this business, thereby maximizing the provision of low-latency services for CDN businesses at the network level, and the business does not need to jump between multiple CDN nodes. After the CDN node accesses the user request, it directly returns to the source, thereby enabling the user access request to access the CDN node and quickly return to the source. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced one by one below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0072] Figure 1 It is a structural diagram of the existing back-to-source orchestration system provided by the present invention;

[0073] Figure 2 It is a flowchart of the back-to-source orchestration method based on CDN and SRv6 provided by the present invention;

[0074] Figure 3 It is a schematic diagram of a process of providing path arrangement according to an embodiment of the present invention;

[0075] Figure 4 It is a structural diagram of a CDN and SRv6-based back-to-source orchestration system provided by the present invention;

[0076] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0077] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0078] The terms used in one or more embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present invention. The singular forms of "a", "said" and "the" used in one or more embodiments of the present invention are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present invention refers to and includes any or all possible combinations of one or more associated listed items.

[0079] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present invention, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present invention, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "when..." or "when...".

[0080] Figure 1 FIG. 1 is a flow chart of a CDN and SRv6-based back-to-source orchestration method provided by the present invention. Figure 1 As shown, the back-to-source orchestration method based on CDN and SRv6 includes:

[0081] Step S11, obtaining the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path in the IP transmission network;

[0082] It should be noted that the path value is determined based on the path delay of the transmission path. The path value with low path delay is high, and the path value with high path delay is low. The service value is manually determined based on the business value of the service, which will not be elaborated here.

[0083] It should be noted that the IP transmission network is a network architecture based on the IP protocol, which is used to transmit data packets in the network. IP (Internet Protocol) is the core protocol in the Internet protocol suite, which defines the format and transmission method of data packets. The IP transmission network can support various types of data transmission. In the IP transmission network, the transmission path of the data packet does refer to the series of routers that the data packet passes through in the process from the source device to the destination device. These routers constitute the physical and logical path for data packet transmission.

[0084] It should be noted that the service bandwidth of each service in each province can be analyzed and calculated in detail based on specific service requirements, user base, data volume, access frequency, etc. Different services have different bandwidth requirements. For example, video streaming services usually require a larger bandwidth to support high-quality video transmission; while services that are mainly text and pictures may require a smaller bandwidth.

[0085] In an IP transport network, the remaining capacity of each transport path refers to the amount of data or requests that the path can still handle. This remaining capacity depends on a variety of factors, including but not limited to network bandwidth, node processing power, remaining cache space, storage space, and current load. Usually, the network status is monitored and the remaining capacity of the path is adjusted dynamically.

[0086] Specifically, the node capacity of each CDN node, the service bandwidth and service value of each service in each province reported by the CDN scheduling center, and the remaining capacity and path delay of each transmission path in the IP transmission network reported by the SRv6 controller are obtained, and the path value is determined based on the path delay.

[0087] Step S12, based on the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path, the CDN bearer node and the back-to-source path of each service in each province are arranged;

[0088] Specifically, in this embodiment, low-latency services are provided to CDN services to the maximum extent possible on the basis of satisfying the path capacity and node capacity. During the path arrangement process, if the node capacity of each CDN node in the current province satisfies the total bandwidth of each service, the services are sorted according to their service value, and high-value services are arranged first. For each service, the best return path is selected based on the remaining capacity and path value of each transmission path. The specific arrangement process is described in detail in the following embodiments and will not be repeated here.

[0089] Step S13: determining the CDN bearer node and the target scheduling path corresponding to the user access request, so as to forward the user access request to the target source station according to the target scheduling path.

[0090] Specifically, when a user initiates a user access request, the CDN dispatch center is responsible for parsing the user access request; sending the user access request to the corresponding CDN bearer node; and then checking the CDN bearer node cache: if the CDN bearer node cache does not have the requested resource, it is necessary to obtain the resource from the original server (target source station). At this time, the CDN bearer node will generate a request to generate a back-to-source path; based on the back-to-source path request, the target dispatch path is determined in each stored back-to-source path. Thus, the user access request is forwarded to the target source station according to the target dispatch path.

[0091] In addition, the original server returns the response content after processing the request, thereby obtaining the response content returned by the target source station, returning the response content to the client, and caching the response content.

[0092] Through the above scheme, the embodiment of the present invention realizes joint arrangement by combining the node capacity of each CDN node, the business bandwidth and business value of each business in each province, and the remaining capacity and path value of each transmission path, allocating CDN access nodes for each business, and specifying the transmission path of this business from the CDN node to the source station. Compared with the use of the Ping method to test the delay, the shortest path of the IP transmission network is specified from the router, and the low-latency service is provided to the CDN business at the network level to the maximum extent. In addition, the business does not need to jump between multiple CDN nodes. After the CDN node accesses the user request, it directly returns to the source, which improves the utilization rate of the CDN node, reduces the CDN cost, and realizes the rapid return to the source of the user access request access CDN node.

[0093] In one embodiment of the present invention, the CDN bearer nodes and back-to-source paths of each service in each province are arranged based on the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path, including:

[0094] For each business that goes back to the corresponding source station in any first province: based on the business value, sort each business to obtain a business sorting result; based on the path value, sort each transmission path of the IP transmission network between the first province and the second province to obtain a path sorting result; based on the business bandwidth of each business in the first province, determine the total business bandwidth of the first province; based on the node capacity of each CDN node in the first province, the total business bandwidth, the remaining capacity of each transmission path, the business sorting result and the path sorting result, arrange the CDN bearer node and the return path of each business in the first province.

[0095] The CDN bearer nodes and back-to-source paths of each service in the first province are arranged based on the node capacity of each CDN node in the first province, the total bandwidth of the service, the remaining capacity of each transmission path, the service sorting result and the path sorting result, including:

[0096] Compare the total bandwidth of the service with the node capacity of each CDN node in the first province; if the node capacity meets the total bandwidth of all services, traverse each service according to the service sorting result; for any traversed service: based on the path sorting result, traverse each transmission path step by step, if there is a transmission path with remaining capacity that meets the service bandwidth of the service, record and cache the transmission path corresponding to the service bandwidth of the service, and stop the transmission path traversal process; after all services are traversed, obtain the CDN bearer node and the return path corresponding to any service between the first province and the second province.

[0097] It should be noted that the back-to-source path orchestration is essentially to allocate multiple CDN services to multiple low-latency transmission paths. Its goal is to maximize the provision of low-latency services for CDN services on the basis of meeting the path capacity and node capacity. Therefore, this problem can be simplified and modeled as a joint orchestration of various CDN services from Province A to Province B and various transmission paths from Province A to Province B, thereby constructing a joint orchestration model, wherein the joint orchestration model is used to calculate the CDN bearer nodes and back-to-source paths of each service in each province. The specific model construction process is as follows:

[0098] (1) Constructing the objective function:

[0099]

[0100] in,

[0101] Indicates CDN services;

[0102] Indicates transmission paths;

[0103] Indicates provinces;

[0104] Indicates a total of CDN services;

[0105] Indicates a total of transmission paths;

[0106] Indicates The business is The province's business bandwidth;

[0107] Indicates CDN services are in The business value of the province;

[0108] Indicates The path value of the transmission path;

[0109] represents a 0-1 decision variable, indicating the The business is Province whether to use the transmission paths.

[0110] (2) Construction constraints:

[0111] The decision variable constraint means that each edge node can only specify one transmission path at a time:

[0112]

[0113] Path capacity constraint means that the total bandwidth of each transmission path carrying services cannot exceed the remaining capacity of the transmission path:

[0114]

[0115] CDN node capacity constraint means that the total bandwidth of each CDN node carrying services cannot exceed the node capacity of the CDN node.

[0116]

[0117] Specifically, in this embodiment, the solution algorithm can be combined with Figure 3 , Figure 3 This is a flowchart of path arrangement provided by an embodiment of the present invention. The following steps are performed for any first province back to the corresponding source station in any second province: based on the business value corresponding to each business in the first province, the businesses are sorted to obtain a business sorting result. It should be noted that if there are businesses with the same business value during the business sorting process, they are sorted according to the bandwidth size. Based on the path value, the various transmission paths of the IP transmission network between the first province and the second province are sorted to obtain a path sorting result. Then, the business bandwidth of each business in the first province is superimposed to calculate the total business bandwidth of the first province. Further, the total business bandwidth is compared with the node capacity of each CDN node in the first province; if the node capacity meets the total bandwidth of all businesses, each business is traversed step by step according to the business sorting result.

[0118] Furthermore, for any traversed service: based on the path sorting result, each transmission path is traversed step by step. If there is a transmission path whose remaining capacity satisfies the service bandwidth of the service, the transmission path corresponding to the service bandwidth that satisfies the service is recorded and cached, and the transmission path traversal process is stopped; otherwise, the next transmission path is traversed continuously.

[0119] Furthermore, after all business traversals are completed, joint orchestration is completed, thereby obtaining the CDN bearer node and the return path corresponding to any business between the first province and the second province.

[0120] As a specific example, assume that there are 4 CDN services in Province A that are back-sourced to Province B, and the node capacity of the CDN node in Province A meets the total bandwidth requirements of the 4 services. The service value and service bandwidth of each service are as follows:

[0121]

[0122] Assume that there are 6 transmission paths from Province A to Province B, and the delay and capacity of each transmission path are as follows:

[0123]

[0124] The results of the joint arrangement are as follows:

[0125]

[0126] Through the above scheme, the embodiment of the present invention realizes joint arrangement based on the node capacity of each CDN node, the business bandwidth and business value of each business in each province, and the remaining capacity and path value of each transmission path, and specifies a stable and low-latency transmission path from the network layer for the CDN dynamic back-to-source content. Compared with using the Ping method to test the latency, the shortest path of the IP transmission network is specified from the router.

[0127] The following describes the back-to-source orchestration system based on CDN and SRv6 provided by the present invention. The back-to-source orchestration system based on CDN and SRv6 described below and the back-to-source orchestration method based on CDN and SRv6 described above can refer to each other.

[0128] Figure 4 : is a schematic diagram of the structure of the back-to-source orchestration system based on CDN and SRv6 provided by the present invention, such as Figure 4 As shown, a CDN and SRv6-based back-to-source orchestration system according to an embodiment of the present invention includes:

[0129] The CDN dispatch center is used to report the node capacity of each CDN node, the service bandwidth and service value of each service in each province;

[0130] An SRv6 controller, configured to report the remaining capacity and path value of each transmission path of the transmission network, wherein the path value is determined based on the path delay;

[0131] A joint orchestrator, configured to orchestrate the CDN bearer nodes and back-to-source paths of each service in each province based on the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path;

[0132] The CDN dispatch center is also used to receive the CDN bearer nodes of each service in each province to guide the user access request to the corresponding CDN bearer node;

[0133] The SRv6 controller is also used to send the back-source path of each service in each province to each router, so as to forward the user access request to the target source station according to the target scheduling path corresponding to the user access request.

[0134] The CDN dispatch center is further used to analyze the user access request and send the user access request to the corresponding CDN bearer node according to the analysis result;

[0135] The CDN bearer node is configured to send a back-to-source path request to the SRv6 controller if the resource corresponding to the user request is not cached;

[0136] The SRv6 controller is further configured to determine the target scheduling path based on each stored back-to-source path;

[0137] The CDN bearer node is further used to forward the user access request to the target source station according to the target scheduling path.

[0138] The joint orchestrator is further used for:

[0139] For each business that goes back to the source in any first province to the corresponding source station in any second province:

[0140] Based on the business value, sort the businesses to obtain a business sorting result;

[0141] Based on the path value, sorting each transmission path of the IP transmission network between the first province and the second province to obtain a path sorting result;

[0142] Determine the total bandwidth of services in the first province based on the service bandwidth of each service in the first province;

[0143] Comparing the total service bandwidth with the node capacity of each CDN node in the first province;

[0144] If the node capacity meets the total bandwidth of all services, each service is traversed according to the service sorting results;

[0145] For any traversed service: based on the path sorting result, traverse each transmission path step by step. If there is a transmission path whose remaining capacity satisfies the service bandwidth of the service, record and cache the transmission path corresponding to the service bandwidth that satisfies the service, and stop the transmission path traversal process;

[0146] After all business traversals are completed, the CDN bearer node and the return path corresponding to any business between the first province and the second province are obtained.

[0147] It should be noted here that the above-mentioned system provided by the embodiment of the present invention can implement all the method steps implemented by the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.

[0148] Figure 5 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 5 As shown, the electronic device may include: a processor 310, a memory 320, a communication interface 330 and a communication bus 340, wherein the processor 310, the memory 320 and the communication interface 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 320 to execute the back-to-source orchestration method based on CDN and SRv6.

[0149] In addition, the logic instructions in the above-mentioned memory 320 can be implemented in the form of a software functional unit and can be stored in a computer-readable medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0150] On the other hand, the present invention also provides a non-transitory computer-readable medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the CDN and SRv6-based back-to-source orchestration method provided by the above methods.

[0151] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0152] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on this understanding, the above technical solution can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0153] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention 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 cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A back-to-source orchestration method based on CDN and SRv6, characterized in that: include: Obtain the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path in the IP transmission network, wherein the path value is determined based on the path delay; in the IP transmission network, the transmission path of a data packet refers to a series of routers that the data packet passes through during the process from the source device to the destination device; Based on the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path, the CDN bearer node and the back-to-source path of each service in each province are arranged; and the back-to-source path of each service in each province is sent to each router; Determine the CDN bearer node and the target scheduling path corresponding to the user access request, so as to forward the user access request to the target source station according to the target scheduling path; Before obtaining the node capacity of each CDN node, the service bandwidth and service value of each province, and the remaining capacity of each transmission path of the transmission network, it also includes: A joint orchestration model is constructed, wherein the joint orchestration model is used to calculate the CDN bearer nodes and the back-to-source path of each service in each province. The specific construction process of the model is as follows: (1) Constructing the objective function: in, Indicates CDN services; Indicates transmission paths; Indicates provinces; Indicates a total of CDN services; Indicates a total of transmission paths; Indicates CDN services are in The province's business bandwidth; Indicates CDN services are in The business value of the province; Indicates The path value of the transmission path; represents a 0-1 decision variable, indicating the CDN services are in Province whether to use the transmission paths; (2) Construction constraints: The decision variable constraint means that each edge node can only specify one transmission path at a time: Path capacity constraint means that the total bandwidth of each transmission path carrying services cannot exceed the remaining capacity of the transmission path: CDN node capacity constraints indicate that the total bandwidth of services carried by each CDN node cannot exceed the node capacity of the CDN node: The CDN bearer nodes and back-to-source paths of each service in each province are arranged based on the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path, including: For each business that goes back to the source in any first province to the corresponding source station in any second province: Based on the business value, sort the businesses to obtain a business sorting result; Based on the path value, sorting each transmission path of the IP transmission network between the first province and the second province to obtain a path sorting result; Determine the total bandwidth of services in the first province based on the service bandwidth of each service in the first province; Based on the node capacity of each CDN node in the first province, the total bandwidth of the service, the remaining capacity of each transmission path, the service sorting result and the path sorting result, the CDN bearer node and the back-to-source path of each service in the first province are arranged; The CDN bearer nodes and back-to-source paths of each service in the first province are arranged based on the node capacity of each CDN node in the first province, the total bandwidth of the service, the remaining capacity of each transmission path, the service sorting result and the path sorting result, including: Comparing the total service bandwidth with the node capacity of each CDN node in the first province; If the node capacity meets the total bandwidth of all services, each service is traversed according to the service sorting results; For any traversed service: based on the path sorting result, traverse each transmission path step by step. If there is a transmission path whose remaining capacity satisfies the service bandwidth of the service, record and cache the transmission path corresponding to the service bandwidth that satisfies the service, and stop the transmission path traversal process; After all business traversals are completed, the CDN bearer node and the return path corresponding to any business between the first province and the second province are obtained.

2. The back-to-source orchestration method based on CDN and SRv6 according to claim 1, characterized in that: The determining of the CDN bearer node and the target scheduling path corresponding to the user access request, so as to forward the user access request to the target source station according to the target scheduling path, includes: Parsing the user access request, and sending the user access request to a corresponding CDN bearer node according to the parsing result; If the CDN bearer node does not cache the resource corresponding to the user access request, a back-to-source path request is generated; Based on the back-to-source path request, determining the target scheduling path among the stored back-to-source paths; The user access request is forwarded to the target source station according to the target scheduling path.

3. The back-to-source orchestration method based on CDN and SRv6 according to claim 1, characterized in that: After determining the CDN bearer node and the target scheduling path corresponding to the user access request so as to forward the user access request to the target source station according to the target scheduling path, the method further includes: Obtain the response content returned by the target source station, return the response content to the client, and cache the response content.

4. A back-to-source orchestration system based on CDN and SRv6, characterized in that: include: The CDN dispatch center is used to report the node capacity of each CDN node, the service bandwidth and service value of each service in each province; An SRv6 controller, configured to report the remaining capacity and path value of each transmission path of the transmission network, wherein the path value is determined based on the path delay; A joint orchestrator, configured to orchestrate the CDN bearer nodes and back-to-source paths of each service in each province based on the node capacity of each CDN node, the service bandwidth and service value of each service in each province, and the remaining capacity and path value of each transmission path; The CDN dispatch center is also used to receive the CDN bearer nodes of each service in each province to guide the user access request to the corresponding CDN bearer node; The SRv6 controller is further used to send the back-to-source path of each service in each province to each router, so as to forward the user access request to the target source station according to the target scheduling path corresponding to the user access request; Before obtaining the node capacity of each CDN node, the service bandwidth and service value of each province, and the remaining capacity of each transmission path of the transmission network, it also includes: A joint orchestration model is constructed, wherein the joint orchestration model is used to calculate the CDN bearer nodes and the back-to-source path of each service in each province. The specific construction process of the model is as follows: (1) Constructing the objective function: in, Indicates CDN services; Indicates transmission paths; Indicates provinces; Indicates a total of CDN services; Indicates a total of transmission paths; Indicates CDN services are in The province's business bandwidth; Indicates CDN services are in The business value of the province; Indicates The path value of the transmission path; represents a 0-1 decision variable, indicating the CDN services are in Province whether to use the transmission paths; (2) Construction constraints: The decision variable constraint means that each edge node can only specify one transmission path at a time: Path capacity constraint means that the total bandwidth of each transmission path carrying services cannot exceed the remaining capacity of the transmission path: CDN node capacity constraints indicate that the total bandwidth of services carried by each CDN node cannot exceed the node capacity of the CDN node: The joint orchestrator is further used for: For each business that goes back to the source in any first province to the corresponding source station in any second province: Based on the business value, sort the businesses to obtain a business sorting result; Based on the path value, sorting each transmission path of the IP transmission network between the first province and the second province to obtain a path sorting result; Determine the total bandwidth of services in the first province based on the service bandwidth of each service in the first province; Comparing the total service bandwidth with the node capacity of each CDN node in the first province; If the node capacity meets the total bandwidth of all services, each service is traversed according to the service sorting results; For any traversed service: based on the path sorting result, traverse each transmission path step by step. If there is a transmission path whose remaining capacity satisfies the service bandwidth of the service, record and cache the transmission path corresponding to the service bandwidth that satisfies the service, and stop the transmission path traversal process; After all business traversals are completed, the CDN bearer node and the return path corresponding to any business between the first province and the second province are obtained.

5. The CDN and SRv6-based back-to-source orchestration system according to claim 4, characterized in that: The CDN dispatch center is further used to analyze the user access request and send the user access request to the corresponding CDN bearer node according to the analysis result; The CDN bearer node is configured to send a back-to-source path request to the SRv6 controller if the resource corresponding to the user access request is not cached; The SRv6 controller is further configured to determine the target scheduling path based on each stored back-to-source path; The CDN bearer node is further used to forward the user access request to the target source station according to the target scheduling path.

6. A non-transitory computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the back-to-source orchestration method based on CDN and SRv6 is implemented as described in any one of claims 1 to 3.