CN109286520A - The method that CDN accelerates node is constructed by intelligently parsing and Nginx reverse proxy - Google Patents

The method that CDN accelerates node is constructed by intelligently parsing and Nginx reverse proxy Download PDF

Info

Publication number
CN109286520A
CN109286520A CN201811019724.5A CN201811019724A CN109286520A CN 109286520 A CN109286520 A CN 109286520A CN 201811019724 A CN201811019724 A CN 201811019724A CN 109286520 A CN109286520 A CN 109286520A
Authority
CN
China
Prior art keywords
reverse proxy
cdn
rule
node
server
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.)
Pending
Application number
CN201811019724.5A
Other languages
Chinese (zh)
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 Network Information Security Ltd By Share Ltd
Original Assignee
China Network Information Security Ltd By Share 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 Network Information Security Ltd By Share Ltd filed Critical China Network Information Security Ltd By Share Ltd
Priority to CN201811019724.5A priority Critical patent/CN109286520A/en
Publication of CN109286520A publication Critical patent/CN109286520A/en
Pending legal-status Critical Current

Links

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
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/083Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for increasing network speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • 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/1036Load balancing of requests to servers for services different from user content provisioning, e.g. load balancing across domain name servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to Internet technical fields, the method that CDN accelerates node is constructed with Nginx reverse proxy by intelligently parsing more particularly to a kind of, including configuring BIND service in dns server, definition controls list ACL strategy, create view rule, creation parses domain file A record, registers public network dns server, respective nodes server is resolved to according to the respective rule of domain name and setting, all node servers are arranged to source station reverse proxy.The present invention saves cost of serving, and controllability is high, and from the puzzlement of CDN market price fluctuations, being conducive to cost is reduced;By self-built CDN system, cost is reduced, and independence is higher, controllability is higher, and also very low to the environmental requirement of server, realization principle is easily understood, the use when business of being more suitable for needs CDN auxiliary to support;Intelligently parsing, caching are accelerated to be combined with each other, with the method for BIND+NGINX reverse proxy, realize the acceleration of CDN node.

Description

The method that CDN accelerates node is constructed by intelligently parsing and Nginx reverse proxy
Technical field
The present invention relates to Internet technical fields, and in particular to one kind is by intelligently parsing and Nginx reverse proxy come structure Make the method that CDN accelerates node.
Background technique
Intelligently parsing: domain name intelligently parsing refers to domain name resolution server according to the IP type of visitor, to same domain name Make corresponding different parsings.Visitor to IP from telecommunications translates domain names into the domain name and corresponds to the clothes that IP address is telecommunications It is engaged on device.Visitor to IP from Netcom translates domain names into the domain name and corresponds on the server that IP address is Netcom.To protect Card visitor does not cause network speed slow because of Netcom's telecommunication line bottleneck.
Reverse proxy: reverse proxy (Reverse Proxy) mode refers to be received on internet with proxy server Connection request, then forward a request to the server on internal network, and the result obtained from server is returned to The client of connection is requested on internet, proxy server externally will appear as a Reverse Proxy at this time.
The full name of CDN:CDN is Content Delivery Network, i.e. content distributing network.Its basic ideas is to the greatest extent The bottleneck and link that may avoid being possible to influencing data transmission bauds and stability on internet, make content transmission faster, It is more stable.The purpose is to make user that can obtain required content nearby, the crowded situation of Internet network is solved, user is improved and visits Ask the response speed of website.
And CDN industry belongs to technology-driven type industry, the CDN technological reserve of telecom operators is weaker.It interconnects and asks The problem of topic causes operator that can only do CDN business on the network of oneself, and across a network is runed relatively is difficult to resolve certainly, parsing precision by Telecom operators influence.CDN is not the main business of telecom operators, lacks operation experience and service ability.Self-built CDN initial stage Human input is larger, and increases operation and research and development cost, and to the energy of main business, number of nodes is few for non-core services, easily dispersion, Demand cannot be fully met, can not be applicable in batches.
Summary of the invention
It is an object of the invention to overcome problems of the prior art, provide a kind of by intelligently parsing and Nginx Reverse proxy is come the method for constructing CDN acceleration node, it may be implemented to save cost of serving, and controllability is high, from CDN market price The dynamic puzzlement of lattice wave, being conducive to cost reduces.
To realize above-mentioned technical purpose and the technique effect, the present invention is achieved by the following technical solutions:
A method of it constructing CDN by intelligently parsing and Nginx reverse proxy and accelerates node, include the following steps:
Step 1 is serviced in dns server configuration BIND;
Step 2, definition control list ACL strategy;
Step 3, creation view rule;
Step 4, creation parsing domain file A record;
Step 5, registration public network dns server;
Step 6 is resolved to respective nodes server according to the respective rule of domain name and setting;
Step 7 is arranged all node servers to source station reverse proxy, and specific steps include:
Step 7.1, configuration NGINX reverse proxy;
Step 7.2, configuration site do reverse proxy to source station, and requesting host domain name is changed to accelerated domain name;
CACHE DIRECTORY is arranged according to configuration path in step 7.3.
Further, the step 3 creates in view rule, includes the following steps:
Step 3.1, definition meet the internal rule of control list;
View except step 3.2, definition rule.
Beneficial effects of the present invention: constructing the method that CDN accelerates node by intelligently parsing and Nginx reverse proxy, Cost of serving is saved, controllability is high, and from the puzzlement of CDN market price fluctuations, being conducive to cost is reduced;By self-built CDN system, Cost being reduced, and independence is higher, controllability is higher, and also very low to the environmental requirement of server, realization principle is easily understood, The use when business of being more suitable for needs CDN auxiliary to support;Intelligently parsing, caching are accelerated to be combined with each other, it is anti-with BIND+NGINX To the method for agency, the acceleration of CDN node is realized.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will be described below to embodiment required Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of stream for constructing CDN by intelligently parsing and Nginx reverse proxy and accelerating the method for node of the present invention Journey schematic diagram.
Specific embodiment
In order to be easy to understand the technical means, the creative features, the aims and the efficiencies achieved by the present invention, below will In conjunction with the attached drawing in the embodiment of the present invention, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that Described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the implementation in the present invention Example, all other embodiment obtained by those of ordinary skill in the art without making creative efforts belong to The scope of protection of the invention.
A kind of method for constructing CDN by intelligently parsing and Nginx reverse proxy and accelerating node as shown in Figure 1, packet Include following steps:
Step 1 is serviced in dns server configuration BIND;
Step 2, definition control list ACL strategy;
Step 3, creation view rule;
Step 4, creation parsing domain file A record;
Step 5, registration public network dns server;
Step 6 is resolved to respective nodes server according to the respective rule of domain name and setting;
Step 7 is arranged all node servers to source station reverse proxy, and specific steps include:
Step 7.1, configuration NGINX reverse proxy;
Step 7.2, configuration site do reverse proxy to source station, and requesting host domain name is changed to accelerated domain name;
CACHE DIRECTORY is arranged according to configuration path in step 7.3.
The step 3 creates in view rule, includes the following steps:
Step 3.1, definition meet the internal rule of control list;
View except step 3.2, definition rule.
Present invention disclosed above preferred embodiment is only intended to help to illustrate the present invention.There is no detailed for preferred embodiment All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification, It can make many modifications and variations.These embodiments are chosen and specifically described to this specification, is in order to better explain the present invention Principle and practical application, so that skilled artisan be enable to better understand and utilize the present invention.The present invention is only It is limited by claims and its full scope and equivalent.

Claims (2)

1. a kind of method for constructing CDN by intelligently parsing and Nginx reverse proxy and accelerating node, which is characterized in that including Following steps:
Step 1 is serviced in dns server configuration BIND;
Step 2, definition control list ACL strategy;
Step 3, creation view rule;
Step 4, creation parsing domain file A record;
Step 5, registration public network dns server;
Step 6 is resolved to respective nodes server according to the respective rule of domain name and setting;
Step 7 is arranged all node servers to source station reverse proxy, and specific steps include:
Step 7.1, configuration NGINX reverse proxy;
Step 7.2, configuration site do reverse proxy to source station, and requesting host domain name is changed to accelerated domain name;
CACHE DIRECTORY is arranged according to configuration path in step 7.3.
2. the method for accelerating node according to CDN is constructed described in right 1 by intelligently parsing and Nginx reverse proxy, special Sign is that the step 3 creates in view rule, includes the following steps:
Step 3.1, definition meet the internal rule of control list;
View except step 3.2, definition rule.
CN201811019724.5A 2018-09-03 2018-09-03 The method that CDN accelerates node is constructed by intelligently parsing and Nginx reverse proxy Pending CN109286520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811019724.5A CN109286520A (en) 2018-09-03 2018-09-03 The method that CDN accelerates node is constructed by intelligently parsing and Nginx reverse proxy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811019724.5A CN109286520A (en) 2018-09-03 2018-09-03 The method that CDN accelerates node is constructed by intelligently parsing and Nginx reverse proxy

Publications (1)

Publication Number Publication Date
CN109286520A true CN109286520A (en) 2019-01-29

Family

ID=65183849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811019724.5A Pending CN109286520A (en) 2018-09-03 2018-09-03 The method that CDN accelerates node is constructed by intelligently parsing and Nginx reverse proxy

Country Status (1)

Country Link
CN (1) CN109286520A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448787A (en) * 2021-12-27 2022-05-06 天翼云科技有限公司 CDN system channel configuration method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299969A (en) * 2011-09-16 2011-12-28 北京新媒传信科技有限公司 Web accessing method, layer seven switching equipment and service network
CN102859960A (en) * 2009-08-14 2013-01-02 阿卡麦科技公司 Method and apparatus for correlating nameserver IPv6 and IPv4 addresses
CN103428302A (en) * 2012-05-15 2013-12-04 阿里巴巴集团控股有限公司 Domain name resolution method, server and system
CN103563335A (en) * 2011-05-05 2014-02-05 阿卡麦科技公司 Combined cdn reverse proxy and an edge forward proxy with secure connections
CN103701817A (en) * 2013-12-27 2014-04-02 乐视网信息技术(北京)股份有限公司 Method and device for generating configuration file

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102859960A (en) * 2009-08-14 2013-01-02 阿卡麦科技公司 Method and apparatus for correlating nameserver IPv6 and IPv4 addresses
CN103563335A (en) * 2011-05-05 2014-02-05 阿卡麦科技公司 Combined cdn reverse proxy and an edge forward proxy with secure connections
CN102299969A (en) * 2011-09-16 2011-12-28 北京新媒传信科技有限公司 Web accessing method, layer seven switching equipment and service network
CN103428302A (en) * 2012-05-15 2013-12-04 阿里巴巴集团控股有限公司 Domain name resolution method, server and system
CN103701817A (en) * 2013-12-27 2014-04-02 乐视网信息技术(北京)股份有限公司 Method and device for generating configuration file

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448787A (en) * 2021-12-27 2022-05-06 天翼云科技有限公司 CDN system channel configuration method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102238226B (en) Conversation shift on the network centered by content
US11502969B2 (en) Method and system for directing user between captive and open domains
US9806943B2 (en) Enabling planned upgrade/downgrade of network devices without impacting network sessions
CN104836821B (en) A kind of network accelerating method based on router device, device and equipment
CN102594877B (en) In conjunction with the method, the system that are redirected download request and the service of agency service accelerating network
CN103139051A (en) Instant messaging communication method based on Websocket protocol
WO2012151980A1 (en) Service processing server, system, and method
CN103379184A (en) Network service access method and system
CN101895520B (en) Widget system data sharing method, server and data sharing system
CN106357697A (en) Multi-terminal page synchronizing method based on WebSocket attribute synchronization
CN103516785A (en) Web page proxy system and communication method thereof
CN102137126B (en) System and method for updating web data
CN103401946A (en) HTTP (hyper text transfer protocol) uploading acceleration method and system
CN113179187A (en) CDN node accelerated configuration distribution method
US20150006622A1 (en) Web contents transmission method and apparatus
CN110545230B (en) Method and device for forwarding VXLAN message
CN103428310A (en) Virtual IP (internal protocol) based non-HTTP (hyper text transport protocol) domain name guidance system and method
CN109286520A (en) The method that CDN accelerates node is constructed by intelligently parsing and Nginx reverse proxy
KR20100112979A (en) Method and apparatus for providing mobile advertising service in mobile advertising system
CN115242882B (en) Method and device for accessing k8s container environment based on transport layer route
CN103533001A (en) Communication method and communication system based on HTTP multi-proxy, and intermediate proxy server
CN106790717A (en) A kind of webpage means of communication and device
CN102685113A (en) Self-configuration method for IMS terminal based on UPnP
CN115665026A (en) Cluster networking method and device
CN105577433B (en) A kind of ACS cluster management method, device and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190129

RJ01 Rejection of invention patent application after publication