CN110830572B - CDN access optimization method and system - Google Patents

CDN access optimization method and system Download PDF

Info

Publication number
CN110830572B
CN110830572B CN201911074795.XA CN201911074795A CN110830572B CN 110830572 B CN110830572 B CN 110830572B CN 201911074795 A CN201911074795 A CN 201911074795A CN 110830572 B CN110830572 B CN 110830572B
Authority
CN
China
Prior art keywords
cdn
cdn node
node
cache
service score
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911074795.XA
Other languages
Chinese (zh)
Other versions
CN110830572A (en
Inventor
陈光明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201911074795.XA priority Critical patent/CN110830572B/en
Publication of CN110830572A publication Critical patent/CN110830572A/en
Application granted granted Critical
Publication of CN110830572B publication Critical patent/CN110830572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Abstract

The embodiment of the invention relates to the field of network communication, and discloses a CDN access optimization method, which comprises the following steps: acquiring a resource type cached by a CDN node, a cache hit rate of the CDN node, a load parameter of the CDN node and a load parameter of a source station server; if the resource type is a static resource, determining a cache period according to the cache hit rate of the CDN node and the load parameter of the source station server, so that the CDN node caches the static resource according to the cache period; if the resource type is dynamic resource, determining an access path according to the load parameter of the CDN node, so that the CDN node accesses the dynamic resource according to the access path. The embodiment of the invention also provides a CDN access optimization system. The CDN access optimization method and the system provided by the embodiment of the invention can improve the CDN access efficiency.

Description

CDN access optimization method and system
Technical Field
The invention relates to the field of network communication, in particular to a CDN access optimization method and a CDN access optimization system.
Background
Content delivered by a Content Delivery Network (CDN) includes static resources and dynamic resources. For static resources, the CDN generally sets a fixed cache period, and updates the static resources according to the cache period; for dynamic resources, the CDN generally obtains the dynamic resources by continuously accessing the source station server through a set access path.
However, for static resources, if the cache period set by the CDN is too long, the static resources are easily not updated in time; if the cache period set by the CDN is too short, the CDN needs to frequently access the source station server, and the pressure of the source station server is increased. For dynamic resources, if the load of a CDN node in a set access path is high, a time delay is long, and the real-time requirement for user access is affected.
In summary, the CDN access efficiency is low at present.
Disclosure of Invention
The embodiment of the invention aims to provide a CDN access optimization method and a system, so that the CDN access efficiency is improved.
In order to solve the above technical problem, an embodiment of the present invention provides a CDN access optimization method, including the following steps: acquiring a resource type cached by a CDN node, a cache hit rate of the CDN node, a load parameter of the CDN node and a load parameter of a source station server; if the resource type is a static resource, determining a cache period according to the cache hit rate of the CDN node and the load parameter of the source station server, so that the CDN node caches the static resource according to the cache period; if the resource type is dynamic resource, determining an access path according to the load parameter of the CDN node, so that the CDN node accesses the dynamic resource according to the access path.
The embodiment of the invention also provides a CDN access optimization system which comprises a source station server, an information management platform and CDN nodes; the information management platform is used for: acquiring a resource type cached by the CDN node, a cache hit rate of the CDN node, a load parameter of the CDN node and a load parameter of the source station server; if the resource type is a static resource type, determining a cache period according to the cache hit rate of the CDN node and the load parameter of the source station server, so that the CDN node caches the static resource according to the cache period; if the resource type is a dynamic resource type, determining an access path according to the load parameter of the CDN node so that the CDN node accesses the dynamic resource according to the access path.
Compared with the prior art, the embodiment of the invention dynamically adjusts the cache cycle according to the cache hit rate of the CDN node and the load parameter of the source station server for the static resource, so that the determined cache cycle better conforms to the cache hit condition of the CDN node and the load condition of the source station server, and the condition that the update is not timely caused by overlong cache cycle of the CDN node and the pressure of the source station server is overlarge caused by too short cache cycle of the CDN node is avoided; for dynamic resources, an access path is determined according to a load parameter of a CDN node, and because a conventional method accesses and transmits dynamic resources according to a relatively fixed access path, when a CDN node with a higher load exists in the access path, an access delay is easily lengthened, so that the access path is dynamically adjusted according to the load parameter of the CDN node, the determined access path can better conform to the load condition of the CDN node, the situation that the access delay is lengthened due to an excessively high load of a certain CDN node in the access path is avoided, and the access timeliness is improved. By optimizing the static resource and dynamic resource access of the CDN node, the CDN access efficiency is improved.
In addition, the determining a cache cycle according to the cache hit rate of the CDN node and the load parameter of the source station server includes: calculating a CDN service score according to the cache hit rate of the CDN node and the load parameter of the source station server; and determining a cache period according to the CDN service score.
In addition, the calculating of the CDN service score according to the cache hit rate of the CDN node and the load parameter of the source station server specifically includes: calculating the CDN service score according to a first calculation formula: k ═ α ═ I- β ═ J; the CDN service score is obtained by dividing a CDN service score into a plurality of CDN service scores, wherein K is the CDN service score, I is a load parameter of the source station server, I is inversely proportional to the load of the source station server, J is a cache hit rate of the CDN node, J is directly proportional to the cache hit rate of the CDN node, and alpha and beta are preset weight coefficients.
In addition, the determining a cache period according to the CDN service score includes: if the CDN service score is greater than a first threshold, determining a cache period according to a second calculation formula: t is n+1 =T n - Δ T; wherein, T n+1 A buffer cycle of n +1 th cycle, T n The value is a caching period of the nth period, and delta T is a preset time variable value; if the CDN service score is smaller than a second threshold, determining a cache period according to a third calculation formula: t is n+1 =T n + Δ T; if the CDN service score is greater than or equal to a second threshold and less than or equal to a first threshold, determining that a cache period is as follows: t is n+1 =T n
In addition, the number of CDN nodes is N, wherein N is a natural number greater than 1; before determining an access path according to the load parameter of the CDN node, the method further includes: and establishing connection among the N CDN nodes in a VPN mode. The connection between the N CDN nodes is established in a VPN mode, which is equivalent to establishing a separated special channel between the CDN nodes, so that the transmission speed can be increased when the CDN nodes transmit dynamic resources, and the security of data transmission is also improved.
In addition, the information management platform is further configured to: calculating a CDN service score according to the cache hit rate of the CDN node and the load parameter of the source station server; and determining a cache period according to the CDN service score.
In addition, the information management platform is further configured to: calculating the CDN service score according to the following first calculation formula: k ═ α ═ I- β ═ J; the CDN service score is obtained by dividing a CDN service score into a plurality of CDN service scores, wherein K is the CDN service score, I is a load parameter of the source station server, I is inversely proportional to the load of the source station server, J is a cache hit rate of the CDN node, J is directly proportional to the cache hit rate of the CDN node, and alpha and beta are preset weight coefficients.
In addition, the information management platform is further configured to: if the CDN service score is greater than a first threshold, determining a cache period according to a second calculation formula: t is n+1 =T n - Δ T; wherein, T n+1 A buffer cycle of n +1 th cycle, T n The value is a caching period of the nth period, and delta T is a preset time variable value; if the CDN service score is smaller than a second threshold, determining a cache period according to a third calculation formula: t is n+1 =T n + Δ T; if the CDN service score is greater than or equal to a second threshold and less than or equal to a first threshold, determining a caching period as follows: t is n+1 =T n
In addition, the number of CDN nodes is N, wherein N is a natural number greater than 1; the information management platform is further configured to: and establishing connection among the N CDN nodes in a VPN mode.
Drawings
One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.
Fig. 1 is a schematic flowchart of a CDN access optimization method according to a first embodiment of the present invention;
fig. 2 is a schematic flowchart of the step of refining S102 in the CDN access optimization method according to the first embodiment of the present invention;
fig. 3 is a schematic flowchart of the step of refining S1022 in the CDN access optimization method according to the first embodiment of the present invention;
fig. 4 is a schematic structural diagram of a CDN access optimization system provided in a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
The first embodiment of the invention relates to a CDN access optimization method, which comprises the steps of obtaining the resource type cached by a CDN node, the cache hit rate of the CDN node, the load parameter of the CDN node and the load parameter of a source station server; if the resource type is static resource, determining a cache period according to the cache hit rate of the CDN node and the load parameter of the source station server, so that the CDN node caches the static resource according to the cache period; and if the resource type is dynamic resources, determining an access path according to the load parameters of the CDN node so that the CDN node accesses the dynamic resources according to the access path. For static resources, recalculating and determining a cache period according to the cache hit rate of the CDN node and the load parameters of the source station server, so that the cache period is more consistent with the cache hit condition of the CDN node and the load condition of the source station server, and the condition that the update is not timely due to the overlong cache period of the CDN node and the pressure of the source station server is overlarge due to the overlong cache period of the CDN node is avoided; for dynamic resources, an access path is determined according to the load parameters of the CDN node, so that the determined access path better conforms to the load condition of the CDN node, the access can be performed more quickly, the resources can be obtained, and the access timeliness is improved. By optimizing the static resource and dynamic resource access of the CDN node, the CDN access efficiency is improved.
It should be noted that the implementation subject of the embodiment of the present invention may be a server connected to the CDN node, where the server may be implemented by an independent server or a server cluster composed of multiple servers, and the following description takes the server as an example.
A specific flow of the CDN access optimization method provided by the embodiment of the present invention is shown in fig. 1, and specifically includes the following steps:
s101: and acquiring the resource type of the CDN node cache, the cache hit rate of the CDN node, the load parameter of the CDN node and the load parameter of the source station server.
The resource types cached by the CDN nodes are divided into static resources and dynamic resources. The cache hit rate of the CDN node is the probability of hitting the CDN cache when the user accesses the network resource node. The load parameters of the CDN nodes may include parameters such as a memory usage rate, a CPU occupancy rate, and a user concurrency number of the CDN nodes, which is not specifically limited herein. The load parameters of the source station server may include parameters such as a memory usage rate, a CPU occupancy rate, and a user concurrency number of the source station server, which are not limited herein.
Optionally, the cache hit rate of the CDN node may be obtained by performing analysis statistics on the CDN log, or may be obtained by other obtaining methods, which is not specifically limited herein.
Optionally, the source station server may set an agent, and the server may obtain the load parameter of the source station server by sending the load parameter of the source station server to the server through the agent; or the server side can directly acquire the load parameters of the source station server from the source station server.
S102: and if the resource type is the static resource, determining a cache period according to the cache hit rate of the CDN node and the load parameter of the source station server, so that the CDN node caches the static resource according to the cache period.
The cache cycle refers to a time for updating the cache resources by the CDN node, that is, a time interval between two times of updating the cache resources.
Optionally, the server may determine the resource type according to the file types of the static resource and the dynamic resource.
In a specific example, the cache cycle is determined according to the cache hit rate of the CDN node and the load parameter of the source station server, as shown in fig. 2, the method specifically includes the following steps:
s1021: and calculating the CDN service score according to the cache hit rate of the CDN node and the load parameters of the source station server.
S1022: and determining a cache period according to the CDN service score.
Specifically, when the cache hit rate of the CDN node is low, it indicates that the original cache period is too long, and the cache period needs to be shortened; when the cache hit rate of the CDN node is high, it indicates that the original cache cycle may be appropriate or too short, and needs to be determined in combination with the load parameter of the source station server. When the load of the source station server is higher, the original cache period is too short, and the cache period needs to be shortened; when the load of the source station server is low, it indicates that the original cache cycle may be appropriate, or may be too long, and needs to be determined by combining the cache hit rate of the CDN node. Therefore, the server side can set a relatively low score when the cache hit rate of the CDN node is relatively low; when the cache hit rate of the CDN node is higher, the score is correspondingly higher; when the load of the source station server is higher, the score is higher correspondingly; when the load of the source station server is low, the score is correspondingly low; and setting that when the overall score is lower than a first preset value, a smaller coefficient, for example 80%, is used to multiply the original cache period to determine the cache period; when the overall score is higher than the second preset value, a larger coefficient, for example, 120%, is used to multiply the original cache period to determine the cache period. The original cache cycle may be given according to an empirical value.
Optionally, the CDN service score may be calculated according to the following first calculation formula:
K=α*I-β*J;
the CDN service score is obtained by dividing a CDN service score into a plurality of CDN service scores, wherein K is the CDN service score, I is a load parameter of the source station server, I is inversely proportional to the load of the source station server, J is a cache hit rate of the CDN node, J is directly proportional to the cache hit rate of the CDN node, and alpha and beta are preset weight coefficients.
In a specific example, when the CDN service score is calculated according to the first calculation formula, in S1022, the determining the cache period according to the CDN service score may include the following steps, as shown in fig. 3:
s10221: if the CDN service score is greater than a first threshold, determining a cache period according to a second calculation formula: t is n+1 =T n - Δ T, wherein T n+1 A buffer cycle of n +1 th cycle, T n And delta T is a preset time variable value for the caching period of the nth period.
S10222: if the CDN service score is smaller than a second threshold, determining a cache period according to a third calculation formula: t is n+1 =T n +ΔT。
S10223: if the CDN service score is greater than or equal to a second threshold and less than or equal to a first threshold, determining a caching period as follows: t is n+1 =T n
In S10221 and S10222, the first threshold and the second threshold may be set according to actual conditions, and are not particularly limited herein.
Specifically, the server side obtains a CDN service score by adopting a first calculation formula according to the cache hit rate of the CDN node and the load parameter of the source station server, and then compares the CDN service score with a first threshold value; if the CDN service score is greater than the first threshold, since the load parameter of the source station server is inversely proportional to the load of the source station server, it indicates that the load of the source station server is relatively low, and the reason that the CDN service score is greater than the first threshold at this time is that the cache hit rate of the CDN node is relatively low, then the server side calculates a formula T according to a second calculation formula n+1 =T n - Δ T determines the buffering period, shortening the buffering periodTherefore, the cache hit rate of the CDN node can be improved. Where Δ T may be set according to actual needs, and is not specifically limited herein. If the CDN service score is smaller than the second threshold, since the cache hit rate of the CDN node is inversely proportional to the CDN service score, it indicates that the cache hit rate of the CDN node is higher, and the reason that the CDN service score is smaller than the second threshold at this time is that the load of the source station server is higher, then the server side calculates a formula T according to a third calculation formula n+1 =T n The + Δ T determines the buffering period, extending the buffering period. If the CDN service score is greater than or equal to the second threshold and less than or equal to the first threshold, it is indicated that the cache hit rate of the CDN node and the load of the source station server are both within a reasonable range at the moment, and the cache period is kept unchanged, namely T n+1 =T n
S103: and if the resource type is dynamic resources, determining an access path according to the load parameters of the CDN node so that the CDN node accesses the dynamic resources according to the access path.
It can be understood that when the CDN nodes obtain the dynamic resources from the source station server and return to the user side, data is transmitted through a plurality of CDN nodes, that is, the number of CDN nodes is N, where N is a natural number greater than 1. Because the load of each CDN node is constantly changing, if a fixed access path is set, when data is transparently transmitted in the set access path, if the load of more than one CDN node is high, the time delay of data transparent transmission may be long, which is not favorable for a user side to obtain data of a corresponding dynamic resource. Therefore, the server determines the access path according to the load parameter of the CDN node, so that congestion and too long time delay caused by an excessively high load of a certain CDN node in the determined access path are avoided.
Optionally, when the load of a certain CDN node in the original access path is high, the server replaces the CDN node with a CDN node closest to the CDN node to determine the access path; if the load of the CDN node closest to the CDN node is also high, the server side replaces the CDN node with the next CDN node of the CDN node to determine an access path, and the like is performed until an optimal access path is determined, so that the CDN node accesses and transmits dynamic resources according to the determined access path.
Further, in order to make access to dynamic resources smoother, connections between N CDN nodes may be established in a VPN manner. The VPN is an abbreviation of Virtual private network (Virtual private network), that is, a separate dedicated channel is established between CDN nodes, so that when the CDN nodes transparently transmit data to dynamic resources, the transmission speed is increased, and the security of transmitting the data is also increased.
Compared with the prior art, the CDN access optimization method provided by the embodiment of the invention dynamically adjusts the cache period according to the cache hit rate of the CDN node and the load parameter of the source station server for the static resource, so that the determined cache period better conforms to the cache hit condition of the CDN node and the load condition of the source station server, the update is not timely caused by overlong cache period of the CDN node, and the source station server pressure is not too high because the cache period of the CDN node is too short; for dynamic resources, an access path is determined according to the load parameters of the CDN node, so that the determined access path better conforms to the load condition of the CDN node, the access can be more quickly performed by the re-determined access path, the resources can be acquired, and the access timeliness is improved. By optimizing the static resource and dynamic resource access of the CDN node, the CDN access efficiency is improved.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the steps contain the same logical relationship, which is within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A second embodiment of the present invention relates to a CDN access optimization system, as shown in fig. 4, including: the system comprises a source station server 201, an information management platform 202 and CDN nodes 203; the information management platform 202 is configured to:
acquiring a resource type cached by the CDN node 203, a cache hit rate of the CDN node 203, a load parameter of the CDN node 203 and a load parameter of the source station server 201;
if the resource type is a static resource type, determining a cache cycle according to the cache hit rate of the CDN node 203 and the load parameter of the source station server 201, so that the CDN node 203 caches the static resource according to the cache cycle;
if the resource type is a dynamic resource type, determining an access path according to the load parameter of the CDN node 203, so that the CDN node 203 accesses the dynamic resource according to the access path.
Further, the information management platform 202 is further configured to:
calculating a CDN service score according to the cache hit rate of the CDN node 203 and the load parameters of the source station server 201;
and determining a cache period according to the CDN service score.
Further, the information management platform 202 is further configured to:
calculating the CDN service score according to the following first calculation formula:
K=α*I-β*J;
wherein, K is a CDN service score, I is a load parameter of the source station server 201, I is inversely proportional to a load of the source station server 201, J is a cache hit rate of the CDN node 203, J is proportional to the cache hit rate of the CDN node 203, and α and β are preset weight coefficients.
Further, the information management platform 202 is further configured to:
if the CDN service score is greater than the first threshold, determining a cache period according to a second calculation formula as follows:
T n+1 =T n -ΔT;
wherein, T n+1 A buffer cycle of n +1 th cycle, T n The value is a caching period of the nth period, and delta T is a preset time variable value;
if the CDN service score is smaller than a second threshold, determining a cache period according to a third calculation formula as follows:
T n+1 =T n +ΔT;
determining if the CDN service score is greater than or equal to a second threshold and less than or equal to a first thresholdThe caching period is as follows: t is n+1 =T n
Further, the number of CDN nodes 203 is N, where N is a natural number greater than 1;
the information management platform 202 is also configured to: and establishing connection among the N CDN nodes 203 in a VPN mode.
It should be understood that this embodiment is a system example corresponding to the first embodiment, and may be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A CDN access optimization method is characterized by comprising the following steps:
acquiring a resource type cached by a CDN node, a cache hit rate of the CDN node, a load parameter of the CDN node and a load parameter of a source station server;
if the resource type is a static resource, determining a cache period according to the cache hit rate of the CDN node and the load parameter of the source station server, so that the CDN node caches the static resource according to the cache period;
if the resource type is dynamic resources, the server determines an access path according to load parameters of CDN nodes in the network, and when the load of a certain CDN node in the original access path is higher, the server replaces the CDN node with the CDN node closest to the CDN node to determine the access path, so that the CDN node with the resource type as the dynamic resources accesses the dynamic resources according to the access path; if the load of the CDN node closest to the CDN node is also high, the server replaces the CDN node with the next CDN node of the CDN node to determine an access path, so that the CDN node with the resource type as the dynamic resource accesses the dynamic resource according to the access path.
2. The CDN access optimization method of claim 1, wherein the determining a cache period according to the cache hit rate of the CDN node and the load parameter of the source station server comprises:
calculating a CDN service score according to the cache hit rate of the CDN node and the load parameter of the source station server;
and determining a cache period according to the CDN service score.
3. The CDN access optimization method of claim 2, wherein the calculating a CDN service score according to the cache hit rate of the CDN node and the load parameter of the source station server specifically includes:
calculating the CDN service score according to the following first calculation formula:
K=α*I-β*J;
the CDN service score is obtained by dividing a CDN service score into a plurality of CDN service scores, wherein K is the CDN service score, I is a load parameter of the source station server, I is inversely proportional to the load of the source station server, J is a cache hit rate of the CDN node, J is directly proportional to the cache hit rate of the CDN node, and alpha and beta are preset weight coefficients.
4. The CDN access optimization method of claim 3 wherein said determining a cache period according to the CDN service score comprises:
if the CDN service score is greater than a first threshold, determining a cache period according to a second calculation formula as follows:
T n+1 =T n -ΔT;
wherein, T n+1 A buffer cycle of n +1 th cycle, T n The value is a caching period of the nth period, and delta T is a preset time variable value;
if the CDN service score is smaller than a second threshold value, determining a cache period according to a third calculation formula as follows:
T n+1 =T n +ΔT;
if the CDN service score is greater than or equal to a second threshold and less than or equal to a first threshold, determining a caching period as follows: t is n+1 =T n
5. The CDN access optimization method of claim 1 wherein the number of CDN nodes is N, wherein N is a natural number greater than 1;
before the server determines an access path according to a load parameter of a CDN node in a network, the method further includes:
and establishing connection among the N CDN nodes in a VPN mode.
6. A CDN access optimization system is characterized by comprising a source station server, an information management platform and CDN nodes; the information management platform is used for:
acquiring a resource type cached by the CDN node, a cache hit rate of the CDN node, a load parameter of the CDN node and a load parameter of the source station server;
if the resource type is a static resource type, determining a cache period according to the cache hit rate of the CDN node and the load parameter of the source station server, so that the CDN node caches the static resource according to the cache period;
if the resource type is a dynamic resource type, the server determines an access path according to load parameters of CDN nodes in the network, and when the load of a certain CDN node in the original access path is higher, the server replaces the CDN node with the CDN node closest to the CDN node to determine the access path, so that the CDN node with the resource type as the dynamic resource accesses the dynamic resource according to the access path; if the load of the CDN node closest to the CDN node is also high, the server replaces the CDN node with the next CDN node of the CDN node to determine an access path, so that the CDN node with the resource type as the dynamic resource accesses the dynamic resource according to the access path.
7. The CDN access optimization system of claim 6 wherein the information management platform is further configured to:
calculating a CDN service score according to the cache hit rate of the CDN node and the load parameter of the source station server;
and determining a cache period according to the CDN service score.
8. The CDN access optimization system of claim 7, wherein the information management platform is further configured to:
calculating the CDN service score according to the following first calculation formula:
K=α*I-β*J;
the CDN service score is obtained by dividing a CDN service score into a plurality of CDN service scores, wherein K is the CDN service score, I is a load parameter of the source station server, I is inversely proportional to the load of the source station server, J is a cache hit rate of the CDN node, J is directly proportional to the cache hit rate of the CDN node, and alpha and beta are preset weight coefficients.
9. The CDN access optimization system of claim 8, wherein the information management platform is further configured to:
if the CDN service score is greater than a first threshold, determining a cache period according to a second calculation formula as follows:
T n+1 =T n -ΔT;
wherein, T n+1 A buffer cycle of n +1 th cycle, T n The value is a caching period of the nth period, and delta T is a preset time variable value;
if the CDN service score is smaller than a second threshold value, determining a cache period according to a third calculation formula as follows:
T n+1 =T n +ΔT;
if the CDN service score is greater than or equal to a second threshold and less than or equal to a first threshold, determining a caching period as follows: t is n+1 =T n
10. The CDN access optimization system of claim 6 wherein the CDN nodes are N, wherein N is a natural number greater than 1;
the information management platform is further configured to: and establishing connection among the N CDN nodes in a VPN mode.
CN201911074795.XA 2019-11-06 2019-11-06 CDN access optimization method and system Active CN110830572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911074795.XA CN110830572B (en) 2019-11-06 2019-11-06 CDN access optimization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911074795.XA CN110830572B (en) 2019-11-06 2019-11-06 CDN access optimization method and system

Publications (2)

Publication Number Publication Date
CN110830572A CN110830572A (en) 2020-02-21
CN110830572B true CN110830572B (en) 2022-08-05

Family

ID=69552839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911074795.XA Active CN110830572B (en) 2019-11-06 2019-11-06 CDN access optimization method and system

Country Status (1)

Country Link
CN (1) CN110830572B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187656B (en) * 2020-09-30 2023-10-03 安徽极玩云科技有限公司 Management system of CDN node
CN112202906B (en) * 2020-10-09 2022-11-01 安徽极玩云科技有限公司 CDN access optimization method and system
CN112256495A (en) * 2020-10-20 2021-01-22 平安科技(深圳)有限公司 Data transmission method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196060A (en) * 2011-06-15 2011-09-21 北京蓝汛通信技术有限责任公司 Method and system for selecting source station by Cache server
CN103532817A (en) * 2013-10-12 2014-01-22 无锡云捷科技有限公司 CDN (content delivery network) dynamic acceleration system and method
CN107357890A (en) * 2017-07-12 2017-11-17 腾讯科技(深圳)有限公司 A kind of web page files processing method, apparatus and system and storage device
CN109150627A (en) * 2018-10-09 2019-01-04 南京邮电大学 The construction method mapped based on dynamic resource demand and the virtual network of topology ambiguity

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9596312B2 (en) * 2013-01-28 2017-03-14 Facebook, Inc. Static resource caching
US9930132B2 (en) * 2014-01-10 2018-03-27 Facebook, Inc. Content specific router caching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196060A (en) * 2011-06-15 2011-09-21 北京蓝汛通信技术有限责任公司 Method and system for selecting source station by Cache server
CN103532817A (en) * 2013-10-12 2014-01-22 无锡云捷科技有限公司 CDN (content delivery network) dynamic acceleration system and method
CN107357890A (en) * 2017-07-12 2017-11-17 腾讯科技(深圳)有限公司 A kind of web page files processing method, apparatus and system and storage device
CN109150627A (en) * 2018-10-09 2019-01-04 南京邮电大学 The construction method mapped based on dynamic resource demand and the virtual network of topology ambiguity

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于云存储的内容分发技术研究";贾冬青等;《西南师范大学学报(自然科学版)》;20160620;全文 *

Also Published As

Publication number Publication date
CN110830572A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN110830572B (en) CDN access optimization method and system
US20200413299A1 (en) Multichannel data transmission method and apparatus
US8661197B2 (en) Opportunistic block transmission with time constraints
US8656406B2 (en) Load balancer and load balancing system
US20170149660A1 (en) Packet transmission method, apparatus, and system
US10404603B2 (en) System and method of providing increased data optimization based on traffic priority on connection
CN104580393A (en) Method and device for expanding server cluster system and server cluster system
EP4024763A1 (en) Network congestion control method, node, system and storage medium
US20080259822A1 (en) Dynamic packet training
US20150332191A1 (en) Reducing costs related to use of networks based on pricing heterogeneity
WO2020019743A1 (en) Traffic control method and device
US20220377016A1 (en) Service Level Adjustment Method and Apparatus, Device, and Storage Medium
CN112583895B (en) TCP communication method, system and device
US9521064B2 (en) Cooperative caching method and apparatus for mobile communication system
US20170222930A1 (en) System and method of providing compression technique for jitter sensitive application through multiple network links
CN107113323B (en) Data storage method, device and system
CN112838989A (en) Data stream management method, network equipment and storage medium
CN102075584B (en) Distributed file system and access method thereof
CN112383486A (en) Lease-based distributed object storage service quality assurance method and system
CN109788075B (en) Private network system, data acquisition method and edge server
CN112839070B (en) Data processing method and device and node equipment in CDN (content delivery network)
US20220200911A1 (en) Communication control system, communication control method, communication control apparatus and communication control program
WO2017008492A1 (en) Congestion control method and network node
US20130346601A1 (en) Network device, method of controlling the network device, and network system
CN116112829A (en) Mapping multiplexing method and device for optical transport network, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant