WO2016082289A1 - 一种基于内容分发网络的网站加速方法及系统 - Google Patents

一种基于内容分发网络的网站加速方法及系统 Download PDF

Info

Publication number
WO2016082289A1
WO2016082289A1 PCT/CN2014/095903 CN2014095903W WO2016082289A1 WO 2016082289 A1 WO2016082289 A1 WO 2016082289A1 CN 2014095903 W CN2014095903 W CN 2014095903W WO 2016082289 A1 WO2016082289 A1 WO 2016082289A1
Authority
WO
WIPO (PCT)
Prior art keywords
acceleration
website
cdn
resources
different
Prior art date
Application number
PCT/CN2014/095903
Other languages
English (en)
French (fr)
Inventor
洪珂
梁龙虎
周炬蓉
Original Assignee
网宿科技股份有限公司
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 网宿科技股份有限公司 filed Critical 网宿科技股份有限公司
Priority to US15/531,395 priority Critical patent/US10437908B2/en
Priority to EP14906694.6A priority patent/EP3226477B1/en
Publication of WO2016082289A1 publication Critical patent/WO2016082289A1/zh

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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • 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
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Definitions

  • the invention belongs to the technical field of network communication, and relates to a method and a system for accelerating a website, in particular to a website acceleration method and system based on a content distribution network.
  • CDN Content Delivery Network
  • CDN Content Delivery Network
  • CDN represents a network service model based on quality and order.
  • the Content Distribution Network is a strategically deployed overall system that includes distributed storage, load balancing, network request redirection and content management, and content management and global network traffic management ( Traffic Management is at the heart of the CDN.
  • Traffic Management is at the heart of the CDN.
  • the CDN ensures that the content serves the user's request in an extremely efficient manner.
  • content services are based on a cache server, also known as a proxy cache (Surrogate) implementation.
  • the proxy cache is located at the edge of the network, only a "single hop" away from the user.
  • the proxy cache is a transparent image of the content provider source server (usually located in the data center of the CDN service provider).
  • CDN Code Division Multiple Access
  • the basic idea of CDN is to avoid the bottlenecks and links on the Internet that may affect the speed and stability of data transmission, so that content transmission is faster and more stable.
  • the CDN system can real-time based on network traffic and connection, load status, and distance and response time to users.
  • the integrated information redirects the user's request to the service node closest to the user.
  • the purpose is to enable users to obtain the required content in the vicinity, solve the congestion of the Internet network, and improve the response speed of users visiting the website.
  • CDN With the popularity of CDN, more and more websites choose to use CDN to speed up the access speed of the website, and more and more professional CDN acceleration service providers have appeared. Each CDN vendor has its own acceleration technology, hardware configuration and acceleration effects. The CDN vendors facing the website are also choosing more and more, and it is more and more difficult to choose.
  • CDN acceleration schemes used by the website include:
  • the company chooses CDN vendors with good reputation on the market to do accelerated testing services.
  • the domain name alias is provided by the selected CDN vendor, and the domain name alias is made on the DNS server to which the website belongs.
  • the CDN manufacturer selected by the company provides CDN acceleration service for the website, and provides data comparison before and after the acceleration of the national region.
  • CDN acceleration is done all over the country, and there are fewer users in individual regions. This service is not needed for a while, resulting in waste of expenditure.
  • one or more CDN merchants serving the same region may not be able to provide the best acceleration for each region.
  • One or more CDN merchants may not be able to provide the best acceleration for each region for different resources under the same domain name on the same website.
  • a CDN merchant may not be able to provide the best acceleration effect for each region.
  • the object of the present invention is to provide a website acceleration method and system based on a content distribution network, which has limited basis for solving the CDN acceleration scheme of the existing website, and cannot be implemented in all regions. Good acceleration effect, resulting in waste of resources.
  • the present invention provides a website acceleration method based on a content distribution network
  • the website acceleration method based on the content distribution network includes: detecting a resource structure of the website, obtaining a domain name and resources of the website; and monitoring the website Operation data, obtain the user independent IP distribution of the visited website, analyze the area to which the user independent IP belongs, the type of network operator, and the resources accessed by the user independent IP; connect the accelerated domain name provided by each CDN acceleration service provider
  • the CDN acceleration service provider's acceleration effect comparison task for the website is created; according to the test result of the acceleration effect comparison task, the optimality of the website in various regions, network operators, and different types of resources is obtained. Accelerate the domain name; select the best CDN acceleration service provider for each resource according to the optimal acceleration domain name.
  • the acceleration effect comparison task includes comparing acceleration effects of different types of resources, specifically: comparing acceleration effects of resources accessed by different domain names of the website; comparing speeds of different resources under the same domain name of the website; or A comparison of the speed of the same resources under the same domain name as the website.
  • the acceleration effect comparison task further includes accessing different types of resources to different users and independent IP addresses.
  • Acceleration effect comparison including: testing the speed comparison of user independent IP access to website resources in different regions of different network operators under the accelerated service provided by each CDN acceleration service provider; testing the accelerated service provided by each CDN acceleration service provider Under the same network operator type, the user's independent IP accesses the speed of the resources in different regions of the website; or/and tests the user's independent IP access in different regions of the same network operator type under the accelerated service provided by each CDN acceleration service provider The speed comparison of resources in different regions of the website.
  • the content distribution network-based website acceleration method further includes: creating, according to different types of resources, different access conditions, different CDN acceleration service providers, the effect of each CDN acceleration service provider on website acceleration and non-acceleration of the website. Contrast task; according to the test results of the acceleration effect comparison task, it is automatically analyzed which CDN acceleration service provider is used by each region and different network operators, and the analysis report of the national CDN acceleration service provider joint acceleration is obtained.
  • the process of detecting the resource structure of the website and obtaining the resources of the website under each domain name includes: detecting and extracting all the uniform resource locators under the website; analyzing all the uniform resource locators, obtaining All resources of the website and the domain name of the website to which each resource belongs.
  • the CDN acceleration service provider includes a professional CDN acceleration service provider and a self-built CDN service mode of the website.
  • the invention also provides a website acceleration system based on a content distribution network
  • the website acceleration system based on the content distribution network comprises: a resource detection module, detecting a resource structure of the website, obtaining a domain name and resources of the website; an operation monitoring module, and a
  • the resource detection module is connected, monitors the operation data of the website, obtains the independent IP distribution of the user accessing the website, analyzes the area to which the user independent IP belongs, the type of the network operator, and the resources accessed by the user independent IP; the acceleration comparison module And connecting to the operation monitoring module, connecting the accelerated domain name provided by each CDN acceleration service provider, creating an acceleration effect comparison task of each CDN acceleration service provider on the website according to the operation data of the website; and accelerating the decision module, compared with the acceleration Connected to the module, according to the test result of the acceleration effect comparison task, obtaining an optimal acceleration domain name of the website in each region, each network operator, and different types of resources; an acceleration execution module, connected to the acceleration decision module, according to Optimal
  • the acceleration comparison module includes: a resource acceleration comparison unit, comparing acceleration effects of different types of resources, including comparing acceleration effects of resources under different domain names of the website, and comparing speeds of different resources under the same domain name of the website. , or / and compare the speed of the same resources under the same domain name of the website; the IP acceleration comparison unit compares the acceleration effects of different users' independent IP access to different types of resources, including testing under the accelerated service provided by each CDN acceleration service provider.
  • User independent IP in the same region of different network operator types The speed comparison of accessing website resources, the speed comparison of resources of different regions of users in the same region of the same network operator type, or / and the speed of resources of different regions of users in different regions of the same network operator type.
  • the content distribution network-based website acceleration system further includes: an acceleration and non-acceleration comparison module, connected to the operation monitoring module, and created according to different types of resources, different access conditions, and different CDN acceleration service providers.
  • Each CDN accelerates the service provider to compare the effect of the website acceleration and the website acceleration;
  • the acceleration result acquisition module is connected to the acceleration decision module, and automatically analyzes the regions and different networks according to the test results of the acceleration effect comparison task. Which CDN acceleration service provider is the best for operators, and the analysis report of the national CDN acceleration service provider joint acceleration.
  • the resource detection module includes: a resource information detecting unit, detecting and extracting all the uniform resource locators under the website; the resource information acquiring unit is connected to the resource information detecting unit, and analyzing all the unified resource positioning To obtain all the resources of the website and the domain name of the website to which each resource belongs.
  • the content distribution network-based website acceleration method and system according to the present invention have the following beneficial effects:
  • the invention realizes that the website can automatically select whether to use or not use the CDN acceleration service according to the actual situation of the website, and what kind of CDN acceleration service is used, thereby achieving the optimal acceleration effect in all regions of the country and controlling it reasonably.
  • the cost of use is not limited to the cost of use.
  • FIG. 1 is a schematic flowchart of an implementation process of a website acceleration method based on a content distribution network according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a specific implementation process of step S101 according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a specific comparison content of an effect comparison task according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an implementation of a website acceleration system based on a content distribution network according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a specific implementation of a resource detection module according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a specific implementation of an acceleration comparison module according to an embodiment of the present invention.
  • the embodiment provides a website acceleration method based on a content distribution network.
  • the website acceleration method based on the content distribution network includes:
  • the implementation process of detecting a resource structure of a website and obtaining resources of the website under each domain name includes:
  • the URL is a compact representation of the location and access method of the resources that can be obtained from the Internet. This step can automatically extract all the URLs under the website according to the input URL (Universal Resource Locator).
  • the implementation manner of the step S101 may be various, and is not limited to the implementation manner shown in FIG. 2 listed in the embodiment.
  • the method for detecting the resource structure of the website and obtaining the resources of the website under each domain name by using the prior art is used. All are included in the scope of protection of the present invention.
  • S102 Monitor operation data of the website, obtain a user independent IP distribution of the visited website, analyze and obtain a region to which the user independent IP belongs, a network operator type, and a resource accessed by the user independent IP.
  • This step can collect the independent IP addresses visited by the website. According to the collected data, the total number of independent IPs can be analyzed. It can also be automatically analyzed according to the preset IP information database and website access status. The number of IPs, and even automatic analysis, obtains the number of independent IP addresses of the websites in each province; in addition, it can automatically analyze the operators to which the independent IPs belong, that is, the type of network operators, according to the preset operator information database and the website access status. Such as telecommunications, mobile, China Unicom, Great Wall and other network operators.
  • the implementation manner of the step S102 may be various, and is not limited to the implementation manner of obtaining the required information according to the IP address of the visited website listed in the embodiment, and the related information obtained by using the existing technology to obtain the website according to the operation data of the website.
  • the manner in which information is required can be used in the present invention.
  • CDN acceleration service provider Connect an accelerated domain name provided by each CDN acceleration service provider (referred to as a CDN service provider), and create a comparison task of each CDN acceleration service provider to the website acceleration according to the operation data of the website.
  • the CDN acceleration service provider includes a professional CDN acceleration service provider and a self-built CDN service mode of the website, and may also include other types of CDN acceleration service providers. The scope of protection of the present invention is not limited to the type of CDN acceleration service provider.
  • the acceleration effect comparison task includes:
  • the comparison task includes comparing the acceleration effects of different types of resources, including: comparing the acceleration effects of resources under different domain names of the website; comparing the speeds of different resources under the same domain name of the website; or/and accessing the same domain name of the website The speed comparison of the same resources under.
  • S302 Compare acceleration effects of different types of resources for different users to access different types of resources.
  • the pair is different
  • the specific content of the user's independent IP access acceleration effect of different types of resources includes: testing the speed comparison of users' independent IP access to website resources in different regions of different network operators under the acceleration service provided by each CDN acceleration service provider; Under the accelerated service provided by each CDN acceleration service provider, the speed of the user's independent IP access to the different regions of the same network operator type in the same region; or / and test under the accelerated service provided by each CDN acceleration service provider, the same network operation The speed comparison of the resources of different regions of the user's independent IP access website in different regions of the business type.
  • the scope of protection of the present invention is not limited to the specific effect comparison tasks enumerated in this embodiment.
  • the specific details and types of the comparison tasks can be flexibly set as needed. That is, the present embodiment can automatically analyze and obtain the acceleration effects of accessing resources of different websites in different provinces and different operators according to various types of effect comparison tasks created, and automatically analyze and obtain the same resources under the same domain name of the website. Comparison of acceleration effects of access by provinces and different operators, and so on.
  • steps S103 and S104 can automatically create a performance comparison task for the website acceleration by different CDN vendors, self-built CDN vendors, and no CDN vendors to accelerate the website according to the accelerated domain name provided by each CDN acceleration service provider.
  • performance comparison data may be collected according to the test result of the effect comparison task, and the best CDN acceleration service provider adopted by each resource under different domain names is automatically recommended according to the performance comparison data, or automatically according to the collected performance comparison data. Recommend the best CDN acceleration service providers for the same resources under the same domain name in different regions of the country.
  • S106 Select an optimal CDN acceleration service provider corresponding to each resource according to the optimal acceleration domain name. For example, the connection between the resources and the corresponding optimal acceleration domain name is maintained, and the connection between the resources and other accelerated domain names except the corresponding optimal acceleration domain name is disconnected. This step can realize the automatic and objective selection of the website for the CDN acceleration service provider.
  • S107 according to the test result of the acceleration effect comparison task, automatically analyzes which CDN acceleration service provider is used by each region and different network operators, and obtains the best analysis report of the national CDN acceleration service provider joint acceleration.
  • the rules for automatic analysis can be set according to the actual application.
  • the scope of protection of the present invention is not limited to the content distribution network-based website acceleration method enumerated in this embodiment.
  • the step execution sequence which is flexibly adjusted according to actual needs, step replacement, deletion, addition, etc., is included in the scope of protection of the present invention.
  • the invention can enable the website to select CDN merchants with better service quality according to the automatically evaluated results, select which CDN merchants provide acceleration services according to the number of website resources and user distribution, and select which resources according to the number of resources and user distribution of the website itself.
  • the region does not use the CDN acceleration service.
  • regions use the self-built CDN acceleration service, according to the website situation, select the CDN merchants to provide accelerated services for the resources under different domain names, and select different resources under the same domain name according to the website.
  • regions which CDN merchants provide acceleration services and so on.
  • the embodiment further provides a website acceleration system based on a content distribution network, which can implement the website acceleration method based on the content distribution network in the embodiment, but the website acceleration method based on the content distribution network in this embodiment
  • the implementation device includes, but is not limited to, the structure of the content distribution network-based website acceleration system enumerated in the embodiment.
  • the content distribution network-based website acceleration system 400 includes: a resource detection module 410, an operation monitoring module 420, an acceleration comparison module 430, an acceleration and non-acceleration comparison module 440, an acceleration decision module 450, and an accelerated execution.
  • the resource detection module 410 detects the resource structure of the website and obtains the domain name and resources of the website.
  • the resource detecting module 410 includes: a resource information detecting unit 411, and a resource information acquiring unit 412.
  • the resource information detecting unit 411 detects all the Uniform Resource Locators (URLs) under the website.
  • the URL is a compact representation of the location and access method of the resources that can be obtained from the Internet. This step can automatically extract all the URLs under the website according to the input URL (Universal Resource Locator).
  • the resource information acquiring unit 412 is connected to the resource information detecting unit 411, and analyzes all the uniform resource locators to obtain all the resources of the website and the domain name of the website to which each resource belongs. Automatically analyze all the Uniform Resource Locators of the website to get the total number of resources on the website and the number of resources under each domain name of the website.
  • the implementation of the resource detection module 410 in this embodiment may be various, and is not limited to the implementation structure shown in FIG. 5 listed in the embodiment, where the resource structure of the website is detected by using the prior art, and the website is obtained.
  • the structure of the resources under each domain name is included in the protection scope of the resource detecting module 410.
  • the operation monitoring module 420 is connected to the resource detection module 410, monitors the operation data of the website, obtains the independent IP distribution of the user accessing the website, analyzes the area to which the user independent IP belongs, the type of the network operator, and the user independence. Resources accessed by IP.
  • the operation monitoring module 420 can collect the website visited According to the collected data, the total number of independent IPs can be analyzed. According to the preset IP information database and website access status, the independent IP number of each website can be automatically analyzed, and even the automatic analysis can be performed. Obtain independent IP numbers of websites in each province; in addition, you can automatically analyze the operators to which each independent IP belongs according to the preset operator information database and website access.
  • the implementation of the operation monitoring module 420 may be implemented in various manners, and is not limited to the implementation manner of obtaining the required information according to the IP address of the visited website listed in the embodiment, and the website is obtained according to the operation data of the website by using the prior art. Various manners of requiring information may be used to replace the operational monitoring module 420.
  • the acceleration comparison module 430 is connected to the operation monitoring module 420, and connects the accelerated domain name provided by each CDN acceleration service provider, and creates an effect comparison task of each CDN acceleration service provider on the website acceleration according to the operation data of the website.
  • the CDN acceleration service provider includes a professional CDN acceleration service provider and a self-built CDN service mode of the website, and may also include other types of CDN acceleration service providers. The scope of protection of the present invention is not limited to the type of CDN acceleration service provider.
  • the acceleration comparison module 430 may include a resource acceleration comparison unit 431 and an IP acceleration comparison unit 432.
  • the resource acceleration comparison unit 431 compares the acceleration effects of different types of resources, including comparing the acceleration effects of resources under different domain names of the website, the speed comparison of different resources under the same domain name of the website, or/and the same domain name of the visited website. The speed comparison of the same resources.
  • the IP acceleration comparison unit 432 compares the acceleration effects of different users' independent IP access to different types of resources, including testing, under the acceleration service provided by each CDN acceleration service provider, user independent IP accessing website resources in the same region of different network operator types.
  • Speed comparison the speed comparison of the resources of different regions of the same network operator type in the same region of the user's independent IP access site, or / and the speed of the user's independent IP access to different regions of the same network operator type.
  • the acceleration effects of accessing resources of different websites in different provinces and different operators can be automatically analyzed, and the same resources under the same domain name of the website are automatically analyzed in each province and Comparison of acceleration effects of different operators' access.
  • the acceleration and non-acceleration comparison module 440 is connected to the operation monitoring module 420, and according to different types of resources, different access conditions, and different CDN acceleration service providers, each CDN acceleration service provider is created to accelerate the website and not accelerate the website. Effect comparison task.
  • an accelerated comparison domain name provided by each CDN acceleration service provider can automatically create a performance comparison module for the website acceleration by different CDN vendors, self-built CDN vendors, and no CDN vendors to accelerate the website.
  • the acceleration decision module 450 is connected to the acceleration comparison module 430 or/and the acceleration and non-acceleration comparison module 440, and according to the test result of the effect comparison task, obtain the website in each region, each network operator, The optimal accelerated domain name for different types of resources.
  • the acceleration decision module 450 may collect performance comparison data according to the test result of the effect comparison task, and automatically recommend the best CDN acceleration service provider for each resource under different domain names according to the performance comparison data, or according to the collected The performance comparison data automatically recommends the best CDN acceleration service providers for the same resources under the same domain name in different regions of the country.
  • the acceleration execution module 460 is connected to the acceleration decision module 450, and selects an optimal CDN acceleration service provider corresponding to each resource according to the optimal acceleration domain name. For example, the connection between the resources and the corresponding optimal acceleration domain name is maintained, and the connection between the resources and other accelerated domain names except the corresponding optimal acceleration domain name is disconnected.
  • the acceleration execution module 460 can implement automatic and objective selection of the CDN acceleration service provider according to the selection rule suitable for itself.
  • the acceleration result obtaining module 470 is connected to the acceleration decision module 450, and automatically analyzes which CDN acceleration service provider is used by each region and different network operators according to the test result of the acceleration effect comparison task, and obtains the best effect. An analysis report on the joint acceleration of national CDN acceleration service providers.
  • the purpose of the invention is to solve the problem that when the website uses the CDN acceleration service, the acceleration effect of the website in all regions of the country is optimized, and the use cost is reasonably controlled, and the CDN acceleration service can be selected according to the actual situation of each different website.
  • the website can independently and flexibly select various professional CDN acceleration service providers or websites to provide services provided by the CDN manufacturers according to their actual conditions, that is, to selectively use or not use the CDN acceleration service, and which CDN acceleration to use.
  • the service has built a working mode of multi-professional CDN acceleration service providers and CDN services provided by self-built CDN vendors on the website, so that the acceleration effect of the website in all regions of the country is optimal, and the use cost is reasonably controlled.
  • the present invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明提供一种基于内容分发网络的网站加速方法及系统,该方法包括:检测网站的资源结构,获取网站的域名和资源;监测网站的运营数据,获取访问网站的用户独立IP分布,分析获得用户独立IP所属的地区、网络运营商类型以及用户独立IP所访问的资源;连接由各CDN加速服务商提供的加速域名,根据网站的运营数据创建各CDN加速服务商对网站的加速效果对比任务;根据加速效果对比任务的测试结果,获得网站在各地区、各网络运营商、不同类型资源的最优加速域名;根据最优加速域名选择各资源对应的最佳CDN加速服务商。本发明实现了网站可以根据自身的实际情况选择CDN加速服务,在全国各地区的加速效果均达到最优,合理地控制了使用成本。

Description

一种基于内容分发网络的网站加速方法及系统 技术领域
本发明属于网络通信技术领域,涉及一种网站的加速方法及系统,特别是涉及一种基于内容分发网络的网站加速方法及系统。
背景技术
CDN(Content Delivery Network,即内容分发网络)是一种新型网络构建方式,它是为了能在传统的IP网发布宽带丰富媒体而特别优化的网络覆盖层。从广义的角度,CDN代表了一种基于质量与秩序的网络服务模式。简单地说,内容分发网络(CDN)是一个经策略性部署的整体系统,包括分布式存储、负载均衡、网络请求的重定向和内容管理4个要件,而内容管理和全局的网络流量管理(Traffic Management)是CDN的核心所在。通过用户就近性和服务器负载的判断,CDN确保了内容以一种极为高效的方式为用户的请求提供服务。总的来说,内容服务基于缓存服务器,也称作代理缓存(Surrogate)实现。代理缓存位于网络的边缘,距用户仅有“一跳”(Single Hop)之遥。同时,代理缓存是内容提供商源服务器(通常位于CDN服务提供商的数据中心)的一个透明镜像。这样的架构使得CDN服务提供商能够代表他们客户,即内容供应商,向最终用户提供尽可能好的体验,而这些用户是不能容忍请求响应时间有任何延迟的。
CDN的基本思路是尽可能避开互联网上有可能影响数据传输速度和稳定性的瓶颈和环节,使内容传输的更快、更稳定。通过在网络各处放置节点服务器所构成的在现有的互联网基础之上的一层智能虚拟网络,CDN系统能够实时地根据网络流量和各节点的连接、负载状况以及到用户的距离和响应时间等综合信息将用户的请求重新导向离用户最近的服务节点上。其目的是使用户可就近取得所需内容,解决Internet网络拥挤的状况,提高用户访问网站的响应速度。
随着CDN的普及,越来越多的网站选择采用CDN加快网站的访问速度,随之也出现越来越多的专业CDN加速服务商。每个CDN厂商都有各自的加速技术、硬件配备和加速效果,网站面临的CDN厂商选择也越来越多,越来越难以抉择。
通常情况下,网站采用的CDN加速方案包括:
1、企业自行选择市面上口碑较好的CDN厂商做加速测试服务。
2、由所选择的CDN厂商提供域名别名,并在网站所属DNS服务器上做域名别名。
3、该所选择的CDN厂商为网站提供CDN加速服务,并提供全国区域的加速前后效果对比数据。
现有的网站CDN加速方案存在以下弊端:
1、全国各地都做CDN加速,个别地区用户较少,暂无需该服务,造成支出浪费。
2、对于同一网站不同域名下的资源,一家或多家CDN商家为同一个地区服务,未必能为每个地区提供最佳加速效果。
3、对于同一网站相同域名下的不同资源,一家或多家CDN商家未必能为每个地区提供最佳加速效果。
4、对于同一网站相同域名下的相同资源,一家CDN商家未必能为每个地区提供最佳加速效果。
发明内容
鉴于以上所述现有技术的缺点,本发明的目的在于提供一种基于内容分发网络的网站加速方法及系统,用于解决现有网站选择CDN加速方案的依据有限,无法在各地区均实现最佳加速效果,造成资源浪费的问题。
为实现上述目的及其他相关目的,本发明提供一种基于内容分发网络的网站加速方法,所述基于内容分发网络的网站加速方法包括:检测网站的资源结构,获取网站的域名和资源;监测网站的运营数据,获取访问网站的用户独立IP分布,分析获得所述用户独立IP所属的地区、网络运营商类型以及所述用户独立IP所访问的资源;连接由各CDN加速服务商提供的加速域名,根据网站的运营数据创建各CDN加速服务商对网站的加速效果对比任务;根据所述加速效果对比任务的测试结果,获得所述网站在各地区、各网络运营商、不同类型资源的最优加速域名;根据最优加速域名选择各资源对应的最佳CDN加速服务商。
可选地,所述加速效果对比任务包括对不同类型资源的加速效果进行对比,具体包括:访问网站不同域名下的资源的加速效果对比;访问网站相同域名下的不同资源的速度对比;或/和访问网站相同域名下的相同资源的速度对比。
可选地,所述加速效果对比任务还包括对不同用户独立IP访问不同类型资源的 加速效果进行对比,具体包括:测试在各CDN加速服务商提供的加速服务下,不同网络运营商类型同一地区的用户独立IP访问网站资源的速度对比;测试在各CDN加速服务商提供的加速服务下,相同网络运营商类型同一地区的用户独立IP访问网站不同地区资源的速度对比;或/和测试在各CDN加速服务商提供的加速服务下,相同网络运营商类型不同地区的用户独立IP访问网站不同地区资源的速度对比。
可选地,所述基于内容分发网络的网站加速方法还包括:根据不同类型资源、不同访问条件、不同CDN加速服务商条件下,创建各CDN加速服务商对网站加速与对网站不加速的效果对比任务;根据所述加速效果对比任务的测试结果自动分析出各地区、不同网络运营商使用哪家CDN加速服务商效果最好,并得出全国CDN加速服务商联合加速的分析报告。
可选地,所述检测网站的资源结构,获取网站在各域名下的资源的一种实现过程包括:检测提取所述网站下的所有统一资源定位符;分析所述所有统一资源定位符,获得所述网站的所有资源以及各资源所归属的所述网站的域名。
可选地,所述CDN加速服务商包括专业CDN加速服务商和网站自建CDN服务模式。
本发明还提供一种基于内容分发网络的网站加速系统,所述基于内容分发网络的网站加速系统包括:资源检测模块,检测网站的资源结构,获取网站的域名和资源;运营监测模块,与所述资源检测模块相连,监测网站的运营数据,获取访问网站的用户独立IP分布,分析获得所述用户独立IP所属的地区、网络运营商类型以及所述用户独立IP所访问的资源;加速对比模块,与所述运营监测模块相连,连接由各CDN加速服务商提供的加速域名,根据网站的运营数据创建各CDN加速服务商对网站的加速效果对比任务;加速决择模块,与所述加速对比模块相连,根据所述加速效果对比任务的测试结果,获得所述网站在各地区、各网络运营商、不同类型资源的最优加速域名;加速执行模块,与所述加速决择模块相连,根据最优加速域名选择各资源对应的最佳CDN加速服务商。
可选地,所述加速对比模块包括:资源加速对比单元,对不同类型资源的加速效果进行对比,包括访问网站不同域名下的资源的加速效果对比,访问网站相同域名下的不同资源的速度对比,或/和访问网站相同域名下的相同资源的速度对比;IP加速对比单元,对不同用户独立IP访问不同类型资源的加速效果进行对比,包括测试在各CDN加速服务商提供的加速服务下,不同网络运营商类型同一地区的用户独立IP 访问网站资源的速度对比,相同网络运营商类型同一地区的用户独立IP访问网站不同地区资源的速度对比,或/和相同网络运营商类型不同地区的用户独立IP访问网站不同地区资源的速度对比。
可选地,所述基于内容分发网络的网站加速系统还包括:加速与不加速对比模块,与所述运营监测模块相连,根据不同类型资源、不同访问条件、不同CDN加速服务商条件下,创建各CDN加速服务商对网站加速与对网站不加速的效果对比任务;加速结果获取模块,与所述加速决择模块相连,根据所述加速效果对比任务的测试结果自动分析出各地区、不同网络运营商使用哪家CDN加速服务商效果最好,并得出全国CDN加速服务商联合加速的分析报告。
可选地,所述资源检测模块包括:资源信息检测单元,检测提取所述网站下的所有统一资源定位符;资源信息获取单元,与所述资源信息检测单元相连,分析所述所有统一资源定位符,获得所述网站的所有资源以及各资源所归属的所述网站的域名。
如上所述,本发明所述的基于内容分发网络的网站加速方法及系统,具有以下有益效果:
本发明实现了网站可以根据自身的实际情况针对性地自动选择使用或不使用CDN加速服务,以及使用何种CDN加速服务,实现了在全国各地区的加速效果均达到最优,并合理地控制了使用成本。
附图说明
图1为本发明实施例所述的基于内容分发网络的网站加速方法的一种实现流程示意图。
图2为本发明实施例所述的步骤S101的一种具体实现流程示意图。
图3为本发明实施例所述的效果对比任务的一种具体对比内容示意图。
图4为本发明实施例所述的基于内容分发网络的网站加速系统的一种实现结构示意图。
图5为本发明实施例所述的资源检测模块的一种具体实现结构示意图。
图6为本发明实施例所述的加速对比模块的一种具体实现结构示意图。
元件标号说明
400                    网站加速系统
410                    资源检测模块
411                    资源信息检测单元
412                    资源信息获取单元
420                    运营监测模块
430                    加速对比模块
431                    资源加速对比单元
432                    IP加速对比单元
440                    加速与不加速对比模块
450                    加速决择模块
460                    加速执行模块
470                    加速结果获取模块
S101~S107             步骤
S201~S202             步骤
S301~S302             步骤
具体实施方式
以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。
请参阅附图。需要说明的是,本实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图式中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。
下面结合实施例和附图对本发明进行详细说明。
实施例
本实施例提供一种基于内容分发网络的网站加速方法,如图1所示,所述基于内容分发网络的网站加速方法包括:
S101,检测网站的资源结构,获取网站的域名和资源。
进一步,如图2所示,所述检测网站的资源结构,获取网站在各域名下的资源的一种实现过程包括:
S201,检测提取所述网站下的所有统一资源定位符(Universal Resource Locator,URL)。URL是对可以从因特网上得到的资源的位置和访问方法的一种简洁的表示,本步骤可以根据输入的URL(Universal Resource Locator,统一资源定位符),自动提取网站下所有URL。
S202,分析所述所有统一资源定位符,获得所述网站的所有资源以及各资源所归属的所述网站的域名。自动分析网站的所有统一资源定位符,即可获得网站的资源总数,以及网站各域名下的资源个数。
步骤S101的实现方式可以有多种,不限于本实施例列举的图2所示的一种实现方式,凡是利用现有技术实现的检测网站的资源结构,获取网站在各域名下的资源的方式都包括在本发明的保护范围内。
S102,监测网站的运营数据,获取访问网站的用户独立IP分布,分析获得所述用户独立IP所属的地区、网络运营商类型以及所述用户独立IP所访问的资源。本步骤可以收集网站被访问的各独立IP,根据收集到的数据可以分析获得独立IP的总数,还可以根据预先设定的IP信息库和网站被访问情况,自动分析获得各大区的网站独立IP数,甚至自动分析获得各省份的网站独立IP数;此外,还可以根据预先设定的运营商信息库和网站被访问情况,自动分析各独立IP所属的运营商,即网络运营商类型,如电信、移动、联通、长城等网络运营商。
步骤S102的实现方式也可以有多种,不限于本实施例列举的一种根据访问网站的IP获得需要信息的实现方式,凡是利用现有技术实现的根据网站的运营数据获取网站的各种相关需要信息的方式都可以用在本发明内。
S103,连接由各CDN加速服务商(简称CDN服务商)提供的加速域名,根据所述网站的运营数据创建各CDN加速服务商对网站加速的效果对比任务。其中,所述CDN加速服务商包括专业CDN加速服务商和网站自建CDN服务模式,也可以包括其他类型的CDN加速服务商。本发明的保护范围不限于CDN加速服务商的类型。
进一步,如图3所示,所述加速效果对比任务包括:
S301,对不同类型资源的加速效果进行对比。所述对比任务包括对不同类型资源的加速效果进行对比的具体内容包括:访问网站不同域名下的资源的加速效果对比;访问网站相同域名下的不同资源的速度对比;或/和访问网站相同域名下的相同资源的速度对比。
S302,对不同用户独立IP访问不同类型资源的加速效果进行对比。所述对不同 用户独立IP访问不同类型资源的加速效果进行对比的具体内容包括:测试在各CDN加速服务商提供的加速服务下,不同网络运营商类型同一地区的用户独立IP访问网站资源的速度对比;测试在各CDN加速服务商提供的加速服务下,相同网络运营商类型同一地区的用户独立IP访问网站不同地区资源的速度对比;或/和测试在各CDN加速服务商提供的加速服务下,相同网络运营商类型不同地区的用户独立IP访问网站不同地区资源的速度对比。
本发明的保护范围不限于本实施例列举的具体效果对比任务,实际应用中可以根据需要灵活设置对比任务的具体细节和类型。即,本实施例可以根据创建的各种类型的效果对比任务,自动分析获得网站不同域名下各资源在各省份和不同运营商接入的加速效果对比,自动分析获得网站相同域名下相同资源在各省份和不同运营商接入的加速效果对比等等。
S104,根据不同类型资源、不同访问条件、不同CDN加速服务商条件下,创建各CDN加速服务商对网站加速与对网站不加速的效果对比任务。
从步骤S103和S104可知,本实施例可以根据各CDN加速服务商提供的加速域名自动创建由不同CDN厂商、自建CDN厂商对网站加速,及无CDN厂商对网站加速的性能对比任务。
S105,根据所述效果对比任务的测试结果,获得所述网站在各地区、各网络运营商、不同类型资源的最优加速域名。
本步骤S105可以根据所述效果对比任务的测试结果收集到性能对比数据,并根据性能对比数据自动推荐不同域名下各资源所采用的最佳CDN加速服务商,或根据收集到的性能对比数据自动推荐相同域名下相同资源在全国不同地区所采用的最佳CDN加速服务商等。
S106,根据最优加速域名选择各资源对应的最佳CDN加速服务商。例如:保持所述各资源与对应的最优加速域名的连接,断开所述各资源与除了对应的最优加速域名外的其他加速域名的连接。本步骤可以实现网站对CDN加速服务商的自动、客观地选定。
S107,根据所述加速效果对比任务的测试结果自动分析出各地区、不同网络运营商使用哪家CDN加速服务商效果最好,并得出全国CDN加速服务商联合加速的分析报告。其中自动分析的规则可以根据实际应用情况进行设定。
本发明的保护范围不限于本实施例列举的基于内容分发网络的网站加速方法的 步骤执行顺序,凡是根据实际需要进行灵活地顺序调整、步骤更替、删减、增加等做的变形,都包括在本发明的保护范围内。
本发明可以使网站具备根据自动评估出的结果,选择服务质量较优的CDN商家,根据网站资源数量和用户分布选择哪些地区由哪些CDN商家提供加速服务,根据网站本身资源数量和用户分布选择哪些地区不使用CDN加速服务,根据网站实际情况选择哪些地区使用自建CDN加速服务,根据网站情况选择网站不同域名下的资源由哪些CDN商家提供加速服务,根据网站情况选择网站相同域名下的不同资源在哪些地区由哪些CDN商家提供加速服务等等功能。
本实施例还提供一种基于内容分发网络的网站加速系统,该系统可以实现本实施例所述的基于内容分发网络的网站加速方法,但本实施例所述的基于内容分发网络的网站加速方法的实现装置包括但不限于本实施例列举的基于内容分发网络的网站加速系统的结构。
如图4所示,所述基于内容分发网络的网站加速系统400包括:资源检测模块410,运营监测模块420,加速对比模块430,加速与不加速对比模块440,加速决择模块450,加速执行模块460,加速结果获取模块470。
所述资源检测模块410检测网站的资源结构,获取网站的域名和资源。
进一步,如图5所示,所述资源检测模块410包括:资源信息检测单元411,资源信息获取单元412。所述资源信息检测单元411检测提取所述网站下的所有统一资源定位符(Universal Resource Locator,URL)。URL是对可以从因特网上得到的资源的位置和访问方法的一种简洁的表示,本步骤可以根据输入的URL(Universal Resource Locator,统一资源定位符),自动提取网站下所有URL。所述资源信息获取单元412与所述资源信息检测单元411相连,分析所述所有统一资源定位符,获得所述网站的所有资源以及各资源所归属的所述网站的域名。自动分析网站的所有统一资源定位符,即可获得网站的资源总数,以及网站各域名下的资源个数。
本实施例所述的资源检测模块410的实现结构可以有多种,不限于本实施例列举的图5所示的一种实现结构,凡是利用现有技术实现的检测网站的资源结构,获取网站在各域名下的资源的结构都包括在所述资源检测模块410的保护范围内。
所述运营监测模块420与所述资源检测模块410相连,监测网站的运营数据,获取访问网站的用户独立IP分布,分析获得所述用户独立IP所属的地区、网络运营商类型以及所述用户独立IP所访问的资源。所述运营监测模块420可以收集网站被访 问的各独立IP,根据收集到的数据可以分析获得独立IP的总数,还可以根据预先设定的IP信息库和网站被访问情况,自动分析获得各大区的网站独立IP数,甚至自动分析获得各省份的网站独立IP数;此外,还可以根据预先设定的运营商信息库和网站被访问情况,自动分析各独立IP所属的运营商。所述运营监测模块420的实现方式也可以有多种,不限于本实施例列举的一种根据访问网站的IP获得需要信息的实现方式,凡是利用现有技术实现的根据网站的运营数据获取网站的各种相关需要信息的方式都可以用于替换所述运营监测模块420。
所述加速对比模块430与所述运营监测模块420相连,连接由各CDN加速服务商提供的加速域名,根据网站的运营数据创建各CDN加速服务商对网站加速的效果对比任务。其中,所述CDN加速服务商包括专业CDN加速服务商和网站自建CDN服务模式,也可以包括其他类型的CDN加速服务商。本发明的保护范围不限于CDN加速服务商的类型。
进一步,如图6所示,所述加速对比模块430可以包括资源加速对比单元431,IP加速对比单元432。所述资源加速对比单元431对不同类型资源的加速效果进行对比,包括访问网站不同域名下的资源的加速效果对比,访问网站相同域名下的不同资源的速度对比,或/和访问网站相同域名下的相同资源的速度对比。所述IP加速对比单元432对不同用户独立IP访问不同类型资源的加速效果进行对比,包括测试在各CDN加速服务商提供的加速服务下,不同网络运营商类型同一地区的用户独立IP访问网站资源的速度对比,相同网络运营商类型同一地区的用户独立IP访问网站不同地区资源的速度对比,或/和相同网络运营商类型不同地区的用户独立IP访问网站不同地区资源的速度对比。本实施例可以根据创建的各种类型的对比单元,自动分析获得网站不同域名下各资源在各省份和不同运营商接入的加速效果对比,自动分析获得网站相同域名下相同资源在各省份和不同运营商接入的加速效果对比等等。
所述加速与不加速对比模块440与所述运营监测模块420相连,根据不同类型资源、不同访问条件、不同CDN加速服务商条件下,创建各CDN加速服务商对网站加速与对网站不加速的效果对比任务。本实施例可以根据各CDN加速服务商提供的加速域名自动创建由不同CDN厂商、自建CDN厂商对网站加速,及无CDN厂商对网站加速的性能对比模块。
所述加速决择模块450与所述加速对比模块430或/和加速与不加速对比模块440相连,根据所述效果对比任务的测试结果,获得所述网站在各地区、各网络运营商、 不同类型资源的最优加速域名。所述加速决择模块450可以根据所述效果对比任务的测试结果收集到性能对比数据,并根据性能对比数据自动推荐不同域名下各资源所采用的最佳CDN加速服务商,或根据收集到的性能对比数据自动推荐相同域名下相同资源在全国不同地区所采用的最佳CDN加速服务商等。
所述加速执行模块460与所述加速决择模块450相连,根据最优加速域名选择各资源对应的最佳CDN加速服务商。例如:保持所述各资源与对应的最优加速域名的连接,断开所述各资源与除了对应的最优加速域名外的其他加速域名的连接。所述加速执行模块460可以实现网站根据适合自身的选取规则对CDN加速服务商的自动、客观地选定。
所述加速结果获取模块470与所述加速决择模块450相连,根据所述加速效果对比任务的测试结果自动分析出各地区、不同网络运营商使用哪家CDN加速服务商效果最好,并得出全国CDN加速服务商联合加速的分析报告。
本发明的保护范围不限于本实施例列举的基于内容分发网络的网站加速系统的模块组成,凡是根据实际需要进行灵活地模块组成调整、模块更替、删减、增加等做的变形,都包括在本发明的保护范围内。
本发明目的在于解决网站使用CDN加速服务时,让网站在全国各地区的加速效果均达到最优,并合理控制使用成本,且可以根据每个不同网站的实际情况选择CDN加速服务。
由于不同的专业CDN加速服务商专业CDN加速服务商与网站自建CDN厂商在节点分布、带宽成本、服务器架构搭配、服务器性能、节点性能等方面各不相同,那么网站如何选择适合自己的CDN服务来达到最优加速效果即是本发明所要解决的技术问题。本发明中,网站根据自身的实际情况可以自主灵活选择各种专业CDN加速服务商或网站自建CDN厂商提供的服务,即针对性地选择使用或不使用CDN加速服务,以及使用何种CDN加速服务,构建了多专业CDN加速服务商和网站自建CDN厂商提供的CDN服务相互配合的工作模式,让网站在全国各地区的加速效果均达到最优,并合理控制了使用成本。
综上所述,本发明有效克服了现有技术中的种种缺点而具高度产业利用价值。
上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改 变。因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。

Claims (10)

  1. 一种基于内容分发网络的网站加速方法,其特征在于,所述基于内容分发网络的网站加速方法包括:
    检测网站的资源结构,获取网站的域名和资源;
    监测网站的运营数据,获取访问网站的用户独立IP分布,分析获得所述用户独立IP所属的地区、网络运营商类型以及所述用户独立IP所访问的资源;
    连接由各CDN加速服务商提供的加速域名,根据网站的运营数据创建各CDN加速服务商对网站的加速效果对比任务;
    根据所述加速效果对比任务的测试结果,获得所述网站在各地区、各网络运营商、不同类型资源的最优加速域名;
    根据最优加速域名选择各资源对应的最佳CDN加速服务商。
  2. 根据权利要求1所述的基于内容分发网络的网站加速方法,其特征在于,所述加速效果对比任务包括对不同类型资源的加速效果进行对比,具体包括:
    访问网站不同域名下的资源的加速效果对比;
    访问网站相同域名下的不同资源的速度对比;或/和
    访问网站相同域名下的相同资源的速度对比。
  3. 根据权利要求2所述的基于内容分发网络的网站加速方法,其特征在于,所述加速效果对比任务还包括对不同用户独立IP访问不同类型资源的加速效果进行对比,具体包括:
    测试在各CDN加速服务商提供的加速服务下,不同网络运营商类型同一地区的用户独立IP访问网站资源的速度对比;
    测试在各CDN加速服务商提供的加速服务下,相同网络运营商类型同一地区的用户独立IP访问网站不同地区资源的速度对比;或/和
    测试在各CDN加速服务商提供的加速服务下,相同网络运营商类型不同地区的用户独立IP访问网站不同地区资源的速度对比。
  4. 根据权利要求3所述的基于内容分发网络的网站加速方法,其特征在于,所述基于内容分发网络的网站加速方法还包括:
    根据不同类型资源、不同访问条件、不同CDN加速服务商条件下,创建各CDN加速服务商对网站加速与对网站不加速的效果对比任务;
    根据所述加速效果对比任务的测试结果自动分析出各地区、不同网络运营商使用哪家CDN加速服务商效果最好,并得出全国CDN加速服务商联合加速的分析报告。
  5. 根据权利要求1所述的基于内容分发网络的网站加速方法,其特征在于,所述检测网站的资源结构,获取网站在各域名下的资源的一种实现过程包括:
    检测提取所述网站下的所有统一资源定位符;
    分析所述所有统一资源定位符,获得所述网站的所有资源以及各资源所归属的所述网站的域名。
  6. 根据权利要求1所述的基于内容分发网络的网站加速方法,其特征在于:所述CDN加速服务商包括专业CDN加速服务商和网站自建CDN服务模式。
  7. 一种基于内容分发网络的网站加速系统,其特征在于,所述基于内容分发网络的网站加速系统包括:
    资源检测模块,检测网站的资源结构,获取网站的域名和资源;
    运营监测模块,与所述资源检测模块相连,监测网站的运营数据,获取访问网站的用户独立IP分布,分析获得所述用户独立IP所属的地区、网络运营商类型以及所述用户独立IP所访问的资源;
    加速对比模块,与所述运营监测模块相连,连接由各CDN加速服务商提供的加速域名,根据网站的运营数据创建各CDN加速服务商对网站的加速效果对比任务;
    加速决择模块,与所述加速对比模块相连,根据所述加速效果对比任务的测试结果,获得所述网站在各地区、各网络运营商、不同类型资源的最优加速域名;
    加速执行模块,与所述加速决择模块相连,根据最优加速域名选择各资源对应的最佳CDN加速服务商。
  8. 根据权利要求7所述的基于内容分发网络的网站加速系统,其特征在于,所述加速对比模块包括:
    资源加速对比单元,对不同类型资源的加速效果进行对比,包括访问网站不同域名下的资源的加速效果对比,访问网站相同域名下的不同资源的速度对比,或/和访问网站相同域名下的相同资源的速度对比;
    IP加速对比单元,对不同用户独立IP访问不同类型资源的加速效果进行对比,包括测试在各CDN加速服务商提供的加速服务下,不同网络运营商类型同一地区的用户独立IP访问网站资源的速度对比,相同网络运营商类型同一地区的用户独立IP访问网站不同地区资源的速度对比,或/和相同网络运营商类型不同地区的用户独立IP访问网站不同地区资源的速度对比。
  9. 根据权利要求7所述的基于内容分发网络的网站加速系统,其特征在于,所述基于内容分发网络的网站加速系统还包括:
    加速与不加速对比模块,与所述运营监测模块相连,根据不同类型资源、不同访问条件、不同CDN加速服务商条件下,创建各CDN加速服务商对网站加速与对网站不加速的效果对比任务;
    加速结果获取模块,与所述加速决择模块相连,根据所述加速效果对比任务的测试结果自动分析出各地区、不同网络运营商使用哪家CDN加速服务商效果最好,并得出全国CDN加速服务商联合加速的分析报告。
  10. 根据权利要求7所述的基于内容分发网络的网站加速系统,其特征在于,所述资源检测模块包括:
    资源信息检测单元,检测提取所述网站下的所有统一资源定位符;
    资源信息获取单元,与所述资源信息检测单元相连,分析所述所有统一资源定位符,获得所述网站的所有资源以及各资源所归属的所述网站的域名。
PCT/CN2014/095903 2014-11-27 2014-12-31 一种基于内容分发网络的网站加速方法及系统 WO2016082289A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US15/531,395 US10437908B2 (en) 2014-11-27 2014-12-31 Content delivery network (CDN)-based website acceleration method and system
EP14906694.6A EP3226477B1 (en) 2014-11-27 2014-12-31 Content distribution network (cdn)-based website acceleration method and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410705603.1 2014-11-27
CN201410705603.1A CN104410691B (zh) 2014-11-27 2014-11-27 一种基于内容分发网络的网站加速方法及系统

Publications (1)

Publication Number Publication Date
WO2016082289A1 true WO2016082289A1 (zh) 2016-06-02

Family

ID=52648286

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/095903 WO2016082289A1 (zh) 2014-11-27 2014-12-31 一种基于内容分发网络的网站加速方法及系统

Country Status (4)

Country Link
US (1) US10437908B2 (zh)
EP (1) EP3226477B1 (zh)
CN (1) CN104410691B (zh)
WO (1) WO2016082289A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018133306A1 (zh) * 2017-01-22 2018-07-26 华为技术有限公司 内容分发网络中的调度方法和设备
CN114430374A (zh) * 2021-12-22 2022-05-03 天翼云科技有限公司 一种网络资源分配方法、装置及计算机设备

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280103B (zh) * 2017-02-10 2022-01-07 阿里巴巴(中国)有限公司 网站指标统计方法、装置及服务器
US10503613B1 (en) * 2017-04-21 2019-12-10 Amazon Technologies, Inc. Efficient serving of resources during server unavailability
CN108933683B (zh) * 2017-05-23 2021-09-28 中国电信股份有限公司 网络加速感知方法、装置和系统
CN109474484B (zh) * 2017-09-07 2022-04-26 阿里巴巴集团控股有限公司 Cdn的检查方法及装置、系统
CN107979638A (zh) * 2017-11-16 2018-05-01 北京小米移动软件有限公司 内容提供方法、装置、设备及存储介质
CN108401011B (zh) * 2018-01-30 2021-09-24 网宿科技股份有限公司 内容分发网络中握手请求的加速方法、设备及边缘节点
CN108964967A (zh) * 2018-02-23 2018-12-07 云智慧(北京)科技有限公司 一种对cdn加速服务进行智能监控与分析的方法和系统
CN110401552A (zh) * 2018-04-24 2019-11-01 贵州白山云科技股份有限公司 一种cdn业务自动调优方法及装置
US10819789B2 (en) 2018-06-15 2020-10-27 At&T Intellectual Property I, L.P. Method for identifying and serving similar web content
CN109639823A (zh) * 2018-12-28 2019-04-16 深圳市网心科技有限公司 网络节点调度方法及装置、计算机装置及存储介质
CN109769020B (zh) * 2019-01-09 2021-09-24 网宿科技股份有限公司 Cdn集群加速服务资源管理方法及装置、电子设备和存储介质
CN110138887B (zh) * 2019-04-03 2021-07-16 华为技术有限公司 一种数据处理方法、装置及存储介质
CN110098978B (zh) * 2019-04-12 2021-02-26 网宿科技股份有限公司 一种dns调度的测试方法、装置、网络设备及存储介质
CN112311829B (zh) * 2019-07-31 2022-05-17 贵州白山云科技股份有限公司 一种调度访问请求的方法、装置、介质及设备
CN110769058B (zh) * 2019-10-25 2021-11-19 广州六一信息科技有限公司 基于多cdn服务商的加速方法及系统
CN110677307B (zh) * 2019-10-30 2022-11-25 北京博睿宏远数据科技股份有限公司 一种服务监测方法、装置、设备和存储介质
CN114050948B (zh) * 2021-11-09 2023-01-06 中国电信股份有限公司 Vpn加速方法、装置、系统及其存储介质
CN114520784B (zh) * 2021-12-24 2023-10-10 天翼云科技有限公司 一种动态内容加速访问方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090100128A1 (en) * 2007-10-15 2009-04-16 General Electric Company Accelerating peer-to-peer content distribution
CN101764747A (zh) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 内容分发网络流量智能调度方法、装置及系统
CN101989951A (zh) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 一种选择服务节点的方法、系统和设备
CN102769819A (zh) * 2011-05-03 2012-11-07 中国移动通信集团公司 无线通信系统中的内容分发方法及相应的系统和服务器

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030149581A1 (en) * 2002-08-28 2003-08-07 Imran Chaudhri Method and system for providing intelligent network content delivery
US8745177B1 (en) * 2011-11-01 2014-06-03 Edgecast Networks, Inc. End-to-end monitoring and optimization of a content delivery network using anycast routing
US9674258B2 (en) * 2012-02-23 2017-06-06 Yottaa Inc. System and method for context specific website optimization
CN102932451B (zh) * 2012-10-31 2015-11-18 北龙中网(北京)科技有限责任公司 一种针对内容分发网络的解决系统
US20140149578A1 (en) * 2012-11-26 2014-05-29 Go Daddy Operating Company, LLC Method For Testing Methods of Accelerating Content Delivery
US9141669B2 (en) * 2013-01-22 2015-09-22 Go Daddy Operating Company, LLC Configuring an origin server content delivery using a pulled data list

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090100128A1 (en) * 2007-10-15 2009-04-16 General Electric Company Accelerating peer-to-peer content distribution
CN101764747A (zh) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 内容分发网络流量智能调度方法、装置及系统
CN101989951A (zh) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 一种选择服务节点的方法、系统和设备
CN102769819A (zh) * 2011-05-03 2012-11-07 中国移动通信集团公司 无线通信系统中的内容分发方法及相应的系统和服务器

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3226477A4 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018133306A1 (zh) * 2017-01-22 2018-07-26 华为技术有限公司 内容分发网络中的调度方法和设备
US10897406B2 (en) 2017-01-22 2021-01-19 Huawei Technologies Co., Ltd. Scheduling method for content delivery network, and device
CN114430374A (zh) * 2021-12-22 2022-05-03 天翼云科技有限公司 一种网络资源分配方法、装置及计算机设备

Also Published As

Publication number Publication date
US20170344657A1 (en) 2017-11-30
EP3226477A1 (en) 2017-10-04
US10437908B2 (en) 2019-10-08
EP3226477B1 (en) 2019-06-12
EP3226477A4 (en) 2018-06-20
CN104410691B (zh) 2018-06-08
CN104410691A (zh) 2015-03-11

Similar Documents

Publication Publication Date Title
WO2016082289A1 (zh) 一种基于内容分发网络的网站加速方法及系统
CN114097207B (zh) 智能代理轮换器
US10361931B2 (en) Methods and apparatus to identify an internet domain to which an encrypted network communication is targeted
CA2709973C (en) Method for configuring acls on network device based on flow information
KR101868180B1 (ko) 다수의 기능들을 단일 플랫폼으로 취합하는 방법
US9100298B2 (en) Host visibility as a network service
Rajiullah et al. Web experience in mobile networks: Lessons from two million page visits
WO2016145753A1 (zh) 基于内容分发网络的移动终端流量处理方法、装置及系统
US20050060425A1 (en) Application-based autonomic connectivity
US10447530B2 (en) Device metering
CN103200231B (zh) 策略控制方法及系统
Fiadino et al. HTTPTag: A flexible on-line HTTP classification system for operational 3G networks
US11665078B1 (en) Discovery and tracing of external services
Hohlfeld et al. Characterizing a meta-CDN
CN106411819A (zh) 一种识别代理互联网协议地址的方法及装置
CN107360095A (zh) 基于客户端主机名称的端口转发在路由器中的实现方法
Dolberg et al. A generic framework to support application-level flow management in software-defined networks
CN106886397A (zh) 信息采集方法、网关设备及服务器
CN105227659B (zh) 一种网络通信方法及设备
CN108055329A (zh) 内容分发方法、内容分发系统及存储介质
TWI477180B (zh) Differentiate the way of registering wireless base stations
US11888719B2 (en) End-to-end distributed network tracing involving cloud edge networks
Wang et al. Research on ISPs Selection Technology Based on Network Quality Monitoring
Okuthe et al. Assessing the Impact of DNS Configuration on Low Bandwidth Networks
KR101605741B1 (ko) 애플리케이션 사용량 분석 방법 및 이를 위한 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14906694

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15531395

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014906694

Country of ref document: EP