CN102301682A - Method and system for network caching, domain name system redirection sub-system thereof - Google Patents

Method and system for network caching, domain name system redirection sub-system thereof Download PDF

Info

Publication number
CN102301682A
CN102301682A CN2011800006996A CN201180000699A CN102301682A CN 102301682 A CN102301682 A CN 102301682A CN 2011800006996 A CN2011800006996 A CN 2011800006996A CN 201180000699 A CN201180000699 A CN 201180000699A CN 102301682 A CN102301682 A CN 102301682A
Authority
CN
China
Prior art keywords
dns
domain name
address
cache subsystem
subsystem
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.)
Granted
Application number
CN2011800006996A
Other languages
Chinese (zh)
Other versions
CN102301682B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102301682A publication Critical patent/CN102301682A/en
Application granted granted Critical
Publication of CN102301682B publication Critical patent/CN102301682B/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
    • 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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Abstract

The present invention provides a method and a system for network caching, a Domain Name System (DNS) redirection sub-system thereof. The method includes: receiving a DNS resolution request sent from a client, parsing out a domain name carried by the DNS resolution request, and determining that the domain name is in a white list; obtaining the Internet Protocol (IP) address of the cache sub-system corresponding to the domain name, and sending the IP address of the cache sub-system to the client to enable the client to request data from the cache sub-system according to the IP address of the cache sub-system. The embodiments of the present invention can avoid the problem of network caching based on the policy route.

Description

Network-caching method and system and DNS are redirected subsystem
Technical field
The present invention relates to the network communications technology, (Domain Name System DNS) is redirected subsystem to relate in particular to a kind of network-caching method and system and domain name system.
Background technology
Along with Internet development, the netizen also can be more and more fastidious to the visit quality, wishes that on the one hand the content that the website provides is more and more abundanter, wishes that on the other hand the speed of access websites is more and more faster.Because the network architecture of network (Web) server is a bit to transmission of multiple spot, has comprised a large amount of duplicate contents in the Network Transmission, and surpass the often content of visit 20% of 80% user, so buffer memory is the best solution of above problem.Buffer memory (Cache) scheme be with the user often the content caching of visit provide service by caching server for the user at caching server, need not to take the disposal ability of source server and the outlet bandwidth of trunk, can save resource and accelerate access speed.
Existing buffering scheme mainly comprises the WebCache solution based on tactful route.WebCache solution based on tactful route is meant collocation strategy route on router, and (HyperText Transfer Protocol, HTTP) request is forwarded to buffer memory (Cache) subsystem to the HTML (Hypertext Markup Language) that the user is surfed the Net.Need under this scheme router is carried out complicated configuration modification, be difficult to safeguard, and produce Single Point of Faliure at the router place easily, reliability is low.
Summary of the invention
The embodiment of the invention provides a kind of network-caching method and system and DNS and is redirected subsystem, the problem that exists in order to the network-caching scheme that solves in the prior art based on tactful route.
The embodiment of the invention provides a kind of network-caching method, comprising:
Receive the domain name system DNS analysis request that client sends, parse the domain name that described dns resolution request is carried, determine that domain name is in white list;
Obtain the Internet protocol IP address of domain name corresponding cache subsystem, and the IP address of described cache subsystem sent to described client so that client according to the IP address of described cache subsystem to described cache subsystem request msg.
The embodiment of the invention provides a kind of network buffer system, comprising:
Domain name system DNS is redirected subsystem, is used to receive the domain name system DNS analysis request that client sends, and parses the domain name that described dns resolution request is carried, and determines that domain name is in white list; Obtain the Internet protocol IP address of domain name corresponding cache subsystem, and the IP address of described cache subsystem sent to described client so that client according to the IP address of described cache subsystem to described cache subsystem request msg;
Cache subsystem is used to receive the data request information of described client according to the IP address transmission of described cache subsystem, and sends the data corresponding with described data request information to described client.
The embodiment of the invention provides a kind of DNS to be redirected subsystem, comprising:
Deep layer packet parsing equipment is used to receive the domain name system DNS analysis request that client sends, and parses the domain name that described dns resolution request is carried, and determines that domain name is in white list;
Dns server, be used to obtain the Internet protocol IP address of domain name corresponding cache subsystem, and the IP address of described cache subsystem sent to described client so that client according to the IP address of described cache subsystem to described cache subsystem request msg.
As shown from the above technical solution, the embodiment of the invention realizes network-caching by being redirected subsystem by DNS, can avoid the problem based on the network-caching of tactful route, configuration is simple, be difficult to safeguard, and can not produce Single Point of Faliure at the router place, reliability is than higher.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done an introduction simply in will describing embodiment below, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow schematic diagram of first embodiment of the invention;
Fig. 2 is the structural representation of the system of second embodiment of the invention;
Fig. 3 is the method flow schematic diagram of second embodiment of the invention;
Fig. 4 is the structural representation that the DNS of second embodiment of the invention is redirected subsystem;
Fig. 5 obtains the schematic flow sheet of data from source server for cache subsystem in the embodiment of the invention;
Fig. 6 is the method flow schematic diagram of third embodiment of the invention;
Fig. 7 is the method flow schematic diagram of fourth embodiment of the invention;
Fig. 8 is the method flow schematic diagram of fifth embodiment of the invention;
Fig. 9 is the structural representation of the network buffer system of the embodiment of the invention;
Figure 10 is the structural representation that the DNS of the embodiment of the invention is redirected subsystem.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the method flow schematic diagram of first embodiment of the invention, comprising:
Step 11:DNS is redirected subsystem and receives the dns resolution request that client sends, and parses the domain name that described dns resolution request is carried, and determines that domain name is in white list;
Wherein, can be specially DNS and be redirected subsystem reception online request, this online request can be the dns resolution request, is that the dns resolution request is handled owing to DNS is redirected subsystem, therefore DNS is redirected subsystem parsing the request of online for after the dns resolution request, carries out subsequent treatment.
Step 12:DNS is redirected the IP address that subsystem obtains domain name corresponding cache subsystem, and the IP address of described cache subsystem sent to described client so that client according to the IP address of described cache subsystem to described cache subsystem request msg.
Present embodiment is realized network-caching by being redirected from system by DNS, can avoid network-caching based on tactful route, and has the reliability height, the network delay time period, do not influence other service features, not under the condition that can impact the existing network topology, reach and save port band width, reduce inter-network settlement, improve network utilisation efficient, reduce the network operation cost, promote the purpose of user experience.Above-mentioned embodiment illustrated in fig. 1 be from cache subsystem, to obtain data instance with client, at specific embodiment, client also may be obtained data from source server rather than cache subsystem, for this reason, the present invention provides a specific embodiment.
Fig. 2 is the structural representation of the system of second embodiment of the invention, referring to Fig. 2, comprise that client 21, domain name system (DNS) are redirected subsystem 22, buffer memory (Cache) subsystem 23, the external network 24 that comprises source server and optical splitter (perhaps router image) 25.Comprise load equalizer and network-caching (WebCache) server in the cache subsystem, wherein, in order to improve reliability, load equalizer comprises main with load equalizer and standby load equalizer.In addition, also comprise certain router and switch in this system.
With reference to system architecture shown in Figure 2, the flow process of present embodiment can be as shown in Figure 3:
Fig. 3 is the method flow schematic diagram of second embodiment of the invention, comprising:
Step 31: client sends the online request, and this online request has comprised the domain name of client-requested.
Step 32: optical splitter receives above-mentioned online request, and the request of will surfing the Net sends to redirected subsystem of domain name system (DNS) and external network respectively.
Wherein, can comprise outer net dns server and source server in the external network, by the outer net dns server this online request is resolved, and can obtain the IP address of source server, so that client is obtained the data of needs from source server according to the IP address of source server.
Step 33:DNS is redirected subsystem deep layer packet parsing (Deep Packet Inspection is carried out in this online request, DPI) resolve, this online request can be the dns resolution request, resolve this DNS analysis request, obtain the domain name of this dns resolution request correspondence, when if this domain name is redirected in the subsystem white list at DNS, then obtain the IP address of cache subsystem according to the domain name of this dns resolution request correspondence, and the IP address of this cache subsystem is carried in the DNS response returns to client, if this domain name in DNS is redirected white list in the subsystem, does not then abandon this dns resolution request.
Particularly, can be redirected in the subsystem at DNS and dispose white list, preserved the domain name of hot spot networks domain name or subscription network in this white list, the domain name of in white list, preserving, the content of representing this domain name correspondence has been buffered in the subsystem buffer memory, client can directly be obtained corresponding data in cache subsystem, wherein, above-mentioned white list can carry out human configuration in advance, the domain name of preserving in the white list can be the domain name of hot spot networks and/or subscription network, hot spot networks is meant that the interior visit capacity of special time reaches the network of specific times (this special time and specific times can be set according to the time needs), subscription network is meant with this DNS and is redirected the network that there is service relation in subsystem, for example, arrange the data of A network in advance and carry out buffer memory, then the A network is a subscription network.If the domain name of resolving this dns resolution request correspondence of acquisition is in white list, how many IP addresses of then searching this domain name corresponding cache subsystem is, if unique cache subsystem of this domain name correspondence then can be carried at the IP address of this cache subsystem in the DNS response and return to client; If a plurality of cache subsystems of this domain name correspondence, then DNS is redirected subsystem according to IP address choice algorithm, select the IP address of a cache subsystem of this domain name correspondence, and return the DNS response of the IP address of carrying this cache subsystem, for example, the algorithm that can select for use according to priority comprises: (Round-Trip Time, RTT) algorithm, topology (Topology) algorithm and the overall situation can reach (Global Availability) algorithm to round-trip delay.For example: dns server can be selected the optimization algorithm of RTT algorithm as the IP address of selecting domain name corresponding cache subsystem, promptly all dns resolution requests are all calculated its property nearby by dns server, to guarantee the optimization of most user captures, such as, when there is a plurality of available cache subsystem in a corresponding dns resolution request, select the cache subsystem nearest as the cache subsystem of corresponding cache subsystem as user capture with sending this dns resolution requesting users.The Topology algorithm when the RTT account form is barren, is then selected the cache subsystem of the online cache subsystem of the affiliated local area of user as user capture as the additional algorithm of RTT dynamic calculation.Global Availability algorithm is as the default algorithm of system, can't result of calculation and the not dns resolution request within the Topology scope with all, then select DNS to be redirected the cache subsystem of the cache subsystem of subsystem acquiescence as user capture.If do not have the domain name of this dns resolution request correspondence in this white list, the redirected subsystem of this DNS is not just handled so, abandons this dns resolution request, and does not return the DNS response to client.
In addition, referring to Fig. 4, DNS is redirected in the subsystem can specifically comprise DPI equipment 41 and dns server 42, certainly can also comprise some common apparatus, switch for example, and dns server can adopt active/standby mode, for example comprises main with dns server (being the dns server master among Fig. 4) and standby dns server (being equipped with for dns server among Fig. 4).DPI equipment is used for that DPI is carried out in the online request that receives and resolves to know whether this online request is the dns resolution request, if the dns resolution request is then obtained the domain name of carrying with the dns resolution request analysis, and this domain name is sent to dns server.Can preserve above-mentioned white list in the dns server,, then determine the domain name corresponding cache subsystem IP address that this dns resolution request is carried if the domain name that the dns resolution request that receives is carried belongs to this white list.Afterwards this cache subsystem IP address is carried in the DNS response and returns to client.Certainly, if the domain name of this dns resolution request correspondence not in this white list, then dns server can abandon this dns resolution request.
Further, the dns server in the redirected subsystem of above-mentioned DNS can adopt (Global Server Load Balance, GSLB) load balancing global server.Wherein, can dispose white list among the GSLB, and the mapping table of preserving the IP address of domain name and cache subsystem, if the domain name of this dns resolution request correspondence is included in this white list, then can obtain the IP address of this domain name corresponding cache subsystem according to the mapping table of the IP address of domain name and cache subsystem.Certainly, if the domain name of this dns resolution request correspondence not in this white list, then GSLB can abandon this dns resolution request.
Step 34: external network responds this online request, and the IP address of source server is carried in the DNS response returns to client.Wherein, the dns server that can be specially in the external network is resolved this online request, finds the IP address of source server, the IP address of source server is carried in the DNS response returns to client afterwards.
Step 35: the DNS response that client process receives earlier, the DNS that receives after abandoning response.
Generally speaking, DNS is redirected subsystem than the more close user of the dns server of external network, therefore, DNS is redirected the DNS response elder generation arrival client that subsystem returns, therefore will handle DNS in client and be redirected the DNS response that subsystem returns, promptly DNS is redirected DNS that subsystem returns and responds and come into force.Come into force because DNS is redirected the DNS response of subsystem, then client is obtained is the IP address of cache subsystem, and afterwards, client can be obtained data according to the IP address of cache subsystem from cache subsystem.
Certainly, if what client also might receive earlier is the DNS response of external network, perhaps receive only the DNS response of external network, at this moment, client is directly according to the IP address of the source server that comprises in the DNS of the external network response, visit this source server, and obtain data from source server.
After client receives the IP address of cache subsystem, send the data query request to cache subsystem, this data query request can be a web request.If preserve the data of this data query request correspondence in the cache subsystem, then these data returned to client.
In addition, DNS is redirected in the subsystem and can also be used to provide scheduling of resource.Wherein, the scheduling of resource function can realize the renewal of white list, for example DPI equipment can carry out depth analysis to the dns resolution request, regularly generates the focus list of user capture website domain name, for example generates the focus website list of the user capture of excel or text formatting weekly.In system, can also regularly obtain the analysis result of various places DPI equipment, the analysis result that gathers each DPI equipment, refresh the white list of various places load balancing global server configuration according to analysis result, to improve user's hit rate, accelerate user's access speed, thereby the online that promotes the user is experienced, and saves inter-network settlement.
In addition, client-side can also comprise local dns (Local DNS) server, can write down the corresponding relation of the IP address of domain name and cache subsystem in this local dns server, so that the IP address of faster definite dns resolution request corresponding cache subsystem.
In above-mentioned steps 31, when client sends the online request, the request of should surfing the Net at first sends local dns server, if the Local dns server has been preserved the mapping table of domain name and cache subsystem IP address, and this relation table also belongs in the term of validity, then local dns server is resolved the corresponding domain name of this online request, and search the IP address of this domain name corresponding cache subsystem, if the IP address of this domain name corresponding cache subsystem is unique, then return IP address with this cache subsystem to client, and step 32-35 skips, and need not to carry out; If the IP address of this domain name corresponding cache subsystem is a plurality of, then select the IP address of a cache subsystem of this domain name correspondence according to the above-mentioned algorithm of selecting for use according to priority, and return IP address with this cache subsystem to client, and step 32-35 skips, and need not to carry out.If it is expired that local dns server does not write down the mapping table or the record of domain name and cache subsystem IP address, then turn to step 32.
If do not preserve the data of this data query request correspondence in the cache subsystem, then cache subsystem can return to client again after source server obtains these data.
The data of preserving in the above-mentioned cache subsystem can be obtained from source server, and for example, cache subsystem can obtain primary data from source server, afterwards, can regularly obtain data to source server again and be used for upgrading.Cache subsystem obtains the flow process of data from source server can be referring to embodiment illustrated in fig. 5.
Fig. 5 comprises for cache subsystem in the embodiment of the invention obtains the schematic flow sheet of data from source server:
Step 51: cache subsystem sends data request information to source server.
Can be that cache subsystem regularly sends this data request information to source server at default time point.Also can be that cache subsystem sends this data request information to source server when receiving the request msg of client transmission.
In addition, owing to may have router, L3 switch, load-balancing device etc. in network buffer system, this data request information can be that cache subsystem sends to source server via L3 switch, load-balancing device and router.
Step 52: source server sends to cache subsystem with the data of this data request information correspondence.
Equally, if having router, L3 switch, load-balancing device etc. in network buffer system, these data can be that source server sends to source server via router, load-balancing device and L3 switch.
Certainly, form according to network buffer system different, above-mentioned path via equipment also can be different.
In addition, can comprise a plurality of caching servers in the cache subsystem, be used for storing respectively the data of different source servers.Can adopt management platform to determine source server corresponding cache server, for example, comprise the scheduling of resource module in the management platform, the scheduling of resource module realizes the monitoring management to the whole network node resource, also can be to the whole network focus access websites, hot spot region or focus time period are analyzed and add up, can also dynamically adjust and optimize at the analysis of central issue result the whole network resource, make data near the caching server buffer memory focus visit of focus access region source server, shortening on the physical distance, the online that can promote the user is experienced, and has also saved the inter-network settlement expense simultaneously.
So far, can preserve data in the cache subsystem, can return corresponding data according to the request of client afterwards.Certainly, may preserve the data of client-requested in the cache subsystem, also may not preserve, following Fig. 6, Fig. 7 will describe above-mentioned two kinds of situations respectively.
Fig. 6 is the method flow schematic diagram of third embodiment of the invention, and present embodiment is to preserve the data instance of client-requested in the cache subsystem, and referring to Fig. 8, present embodiment comprises:
Step 61: client is redirected subsystem to DNS and sends the dns resolution request.
The redirected subsystem of step 62:DNS is carried at the IP address of cache subsystem in the DNS response, sends to client.
Concrete DNS is redirected the subsystem processes flow process can be referring to the corresponding embodiment of Fig. 3.
Step 63: client sends the data query request according to the IP address of cache subsystem to cache subsystem.
Step 64: if preserve the data of this data query request correspondence in the cache subsystem, then return data is given client.
Equally, if comprise equipment such as router, L3 switch in the network buffer system, then can be that client sends to cache subsystem via router, L3 switch with the data query request; Correspondingly, cache subsystem sends the data to client via L3 switch, router.
In addition, can comprise load-balancing device and caching server in cache subsystem, load-balancing device is used to manage each caching server, can know the loading condition of each caching server.Afterwards, receive the data query request of client transmission when load-balancing device after, can the data query request that receive be sent to the lighter caching server of load according to the loading condition of each caching server, obtain data and return to client after handling by this caching server.
Fig. 7 is the method flow schematic diagram of fourth embodiment of the invention, and present embodiment is not to preserve the data instance of client-requested in the cache subsystem, and referring to Fig. 7, present embodiment comprises:
Step 71: client is redirected subsystem to DNS and sends the dns resolution request.
The redirected subsystem of step 72:DNS is carried at the IP address of cache subsystem in the DNS response, sends to client.
Concrete DNS is redirected the subsystem processes flow process can be referring to the foregoing description.
Step 73: client sends the data query request according to the IP address of cache subsystem to cache subsystem.
Step 74:, then transmit this data query request to source server if do not preserve the data of this data query request correspondence in the cache subsystem.
Step 75: source server returns the data of this data query request correspondence to cache subsystem.
Step 76: cache subsystem sends to client with the data that source server returns.
In addition, cache subsystem obtains data from source server after, can self preserve the data obtain, so that can provide corresponding data during next client-requested.
Equally, if comprise equipment such as router, L3 switch in the system, then can be that client sends to cache subsystem via router, L3 switch with the data query request; Correspondingly, cache subsystem sends the data to client via L3 switch, router.
In addition, can comprise load-balancing device and caching server in cache subsystem, load-balancing device is used to manage each caching server, can know the loading condition of each caching server.Afterwards, after the data query request that load-balancing device reception client sends, can the data query request that receive be sent to the lighter caching server of load, handle by this caching server according to the loading condition of each caching server.
Be that to be redirected the IP address that subsystem can the return cache subsystem with DNS be example in the embodiment shown in Fig. 6,7, be that DNS is redirected the domain name of preserving dns resolution request correspondence in the white list of subsystem, if do not preserve the domain name of dns resolution request correspondence in this white list, then can handle by embodiment as shown in Figure 8.
Fig. 8 is the method flow schematic diagram of fifth embodiment of the invention, and it is example that present embodiment is redirected the domain name of not preserving dns resolution request correspondence in the subsystem with DNS, and referring to Fig. 8, present embodiment comprises:
Step 81: client is redirected subsystem and outer net dns server transmission dns resolution request to DNS.
Referring to the foregoing description, client is after sending the dns resolution request, and this dns resolution request is divided into two-way through optical splitter, and riches all the way gives DNS redirected subsystem, and another road sends to the outer net dns server.
Step 82:DNS is redirected the dns resolution request that subsystem abandons reception.
Wherein, DNS is redirected in the subsystem can preserve white list, if the domain name of the dns resolution request correspondence that receives not in this white list, then DNS is redirected the IP address that subsystem can't provide cache subsystem, at this moment, the redirected subsystem of DNS abandons the dns resolution request.
Step 83: the outer net dns server is carried at the IP address of source server in the DNS response and returns to client.
Wherein, the corresponding relation of the IP address of domain name and source server can be preserved in the outer net dns server,, the IP address of source server can be obtained according to the domain name of dns resolution request correspondence, afterwards, the IP address of source server is carried in the DNS response and sends to client.
Step 84: client sends the data query request according to the IP address of source server to source server.
Step 85: source server sends to client with the data of this data query request correspondence.
Certainly, if comprise router in the system, then can be that client sends the data query request via router to source server, afterwards, source server sends data via router to client.
In the foregoing description, be redirected subsystem, can realize that transparent mode is disposed, influence is zero to existing network by DNS is set separately.The bypass of DPI equipment is disposed, no Single Point of Faliure hidden danger.Need not and the source server three-way handshake, no network delay does not influence other service features.In addition, key modules can adopt the full redundancy backup, for example, GSLB and switch adopt the 1+1 backup mode, load balancing module also can adopt the 1+1 backup mode, network cache servers (WebCache) then can be used isomorphism node dynamic backup technology, thereby guarantees the high available of whole proposal.Can realize the customer flow dynamic shunt by scheduling of resource, guarantee Web Cache system nonoverload.Can dispose the linkage strategy of the load-balancing device in GSLB and the cache subsystem, make GSLB can receive the quantity of the network-caching equipment of the health that the load-balancing device in the cache subsystem reports, with convenient cache subsystem fault or disposal ability when not enough, GSLB guarantees the dns resolution request of the website that rank is high earlier, the dns resolution request of low priority website is no longer processed, realizes the flow dynamics shunting.
Fig. 9 is the structural representation of the network buffer system of the embodiment of the invention, comprises that DNS is redirected subsystem 901 and cache subsystem 902; DNS is redirected subsystem 901 and is used to receive the domain name system DNS analysis request that client sends, and parses the domain name that described dns resolution request is carried, and determines that domain name is in white list; Obtain the Internet protocol IP address of domain name corresponding cache subsystem, and the IP address of described cache subsystem sent to described client so that client according to the IP address of described cache subsystem to described cache subsystem request msg; Cache subsystem 902 is used to receive the data request information of described client according to the IP address transmission of described cache subsystem, and sends the data corresponding with described data request information to described client.
Cache subsystem 902 specifically is used to receive the data request information that described client sends; If be cached with the data corresponding with described data request information in the described cache subsystem, then described cache subsystem sends to described client with the data corresponding with described data request information of buffer memory; If there are not the data of the described data request information correspondence of buffer memory in the described cache subsystem, then described cache subsystem sends the data request information that is used for data query to source server, described cache subsystem receives the described source server data corresponding with data request information described data query that return, and described cache subsystem sends to described client after described data are preserved in this locality and with described data.
Cache subsystem 902 also is used for described cache subsystem according to refreshing strategy, obtains data from described source server, and upgrades data in buffer.
This system can also comprise: optical splitter or router, be used for the described online request that client sends is divided into two-way, and riches all the way gives described DNS redirected subsystem, and another road sends to external network.
Present embodiment is by realizing network-caching by the DNS Redirectional system, can avoid network-caching based on tactful route, and has the reliability height, no network delay, do not influence other service features, not under the condition that can impact the existing network topology, reach and save port band width, reduce inter-network settlement, improve network utilisation efficient, reduce the network operation cost, promote the purpose of user experience.
Figure 10 is the structural representation that the DNS of the embodiment of the invention is redirected subsystem, comprises DPI equipment 1001 and dns server 1002; DPI equipment 1001 is used to receive the domain name system DNS analysis request that client sends, and parses the domain name that described dns resolution request is carried, and determines that domain name is in white list; Dns server 1002 is used to obtain the Internet protocol IP address of domain name corresponding cache subsystem, and the IP address of described cache subsystem sent to described client so that client according to the IP address of described cache subsystem to described cache subsystem request msg.
Described DPI equipment 1001 can also be used for depth analysis is carried out in the dns resolution request that receives, and is used to upgrade white list to generate the focus website.
If dns server 1002 specifically can be used for the IP address of the corresponding unique cache subsystem of domain name, the IP address that then obtains described unique cache subsystem; If the IP address of corresponding two the above cache subsystems of domain name, then according to IP address choice algorithm, the IP address of the cache subsystem of an adaptation of selection is as the Internet protocol IP address of domain name corresponding cache subsystem.Dns server 1002 can be GSLB.
Present embodiment is by realizing network-caching by the DNS Redirectional system, can avoid network-caching based on tactful route, and has the reliability height, no network delay, do not influence other service features, not under the condition that can impact the existing network topology, reach and save port band width, reduce inter-network settlement, improve network utilisation efficient, reduce the network operation cost, promote the purpose of user experience.
Be understandable that the reference mutually of the correlated characteristic in said method and the equipment.In addition, " first " in the foregoing description, " second " etc. are to be used to distinguish each embodiment, and do not represent the quality of each embodiment.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1. a network-caching method is characterized in that, comprising:
Receive the domain name system DNS analysis request that client sends, parse the domain name that described dns resolution request is carried, determine that domain name is in white list;
Obtain the Internet protocol IP address of domain name corresponding cache subsystem, and the IP address of described cache subsystem sent to described client so that client according to the IP address of described cache subsystem to described cache subsystem request msg.
2. method according to claim 1 is characterized in that, the described Internet protocol IP address that obtains domain name corresponding cache subsystem further comprises:
If the IP address of the corresponding unique cache subsystem of domain name, the IP address that then obtains described unique cache subsystem;
If the IP address of corresponding two the above cache subsystems of domain name, then according to IP address choice algorithm, the IP address of the cache subsystem of an adaptation of selection is as the Internet protocol IP address of domain name corresponding cache subsystem.
3. according to claim 1 and 2 described methods, it is characterized in that described method also comprises: if the domain name that definite described dns resolution request is carried then abandons described dns resolution request not in described white list.
4. according to each described method of claim 1 to 3, it is characterized in that described method also comprises: client sends the dns resolution request, and domain name has been carried in described dns resolution;
Described dns resolution request is through optical splitter or router is sent to external network and DNS is redirected subsystem;
Described client receives described external network and DNS is redirected the DNS response that subsystem returns respectively, the source server IP address of domain name correspondence has been carried in the DNS response that described external network returns, the IP address that cache subsystem has been carried in the DNS response that the redirected subsystem of described DNS returns, DNS that described client process receives earlier response, after receive the DNS response and abandon.
5. according to each described method of claim 1 to 4, it is characterized in that described method also comprises: depth analysis is carried out in the dns resolution request that receives, be used to upgrade white list to generate the focus website.
6. a domain name system DNS is redirected subsystem, it is characterized in that, comprising:
Deep layer packet parsing equipment is used to receive the domain name system DNS analysis request that client sends, and parses the domain name that described dns resolution request is carried, and determines that domain name is in white list;
Dns server, be used to obtain the Internet protocol IP address of domain name corresponding cache subsystem, and the IP address of described cache subsystem sent to described client so that client according to the IP address of described cache subsystem to described cache subsystem request msg.
7. domain name system DNS according to claim 6 is redirected subsystem, it is characterized in that, described deep layer packet parsing equipment also is used for depth analysis is carried out in the dns resolution request that receives, and is used to upgrade white list to generate the focus website.
8. be redirected subsystem according to claim 6 or 7 described domain name system DNS, it is characterized in that, if described dns server specifically is used for the IP address of the corresponding unique cache subsystem of domain name, the IP address that then obtains described unique cache subsystem; If the IP address of corresponding two the above cache subsystems of domain name, then according to IP address choice algorithm, the IP address of the cache subsystem of an adaptation of selection is as the Internet protocol IP address of domain name corresponding cache subsystem.
9. a network buffer system is characterized in that, comprising:
Domain name system DNS is redirected subsystem, is used to receive the domain name system DNS analysis request that client sends, and parses the domain name that described dns resolution request is carried, and determines that domain name is in white list; Obtain the Internet protocol IP address of domain name corresponding cache subsystem, and the IP address of described cache subsystem sent to described client so that client according to the IP address of described cache subsystem to described cache subsystem request msg;
Cache subsystem is used to receive the data request information of described client according to the IP address transmission of described cache subsystem, and sends the data corresponding with described data request information to described client.
10. network buffer system according to claim 9 is characterized in that, described cache subsystem specifically is used to receive the data request information that described client sends; If be cached with the data corresponding with described data request information in the described cache subsystem, then described cache subsystem sends to described client with the data corresponding with described data request information of buffer memory; If there are not the data of the described data request information correspondence of buffer memory in the described cache subsystem, then described cache subsystem sends the data request information that is used for data query to source server, described cache subsystem receives the described source server data corresponding with data request information described data query that return, and described cache subsystem sends to described client after described data are preserved in this locality and with described data.
11., it is characterized in that described cache subsystem also is used for obtaining data according to refreshing strategy from source server, and upgrades data in buffer according to claim 9 or 10 described systems.
12. according to each described system of claim 9 to 11, it is characterized in that, also comprise:
Optical splitter or router are used for the described dns resolution request that client sends is divided into two-way, and riches all the way gives described DNS redirected subsystem, and another road sends to external network.
CN201180000699.6A 2011-04-29 2011-04-29 Method and system for network caching, domain name system redirection sub-system thereof Active CN102301682B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/073566 WO2011116726A2 (en) 2011-04-29 2011-04-29 Method and system for network caching, domain name system redirection sub-system thereof

Publications (2)

Publication Number Publication Date
CN102301682A true CN102301682A (en) 2011-12-28
CN102301682B CN102301682B (en) 2014-02-19

Family

ID=44673694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201180000699.6A Active CN102301682B (en) 2011-04-29 2011-04-29 Method and system for network caching, domain name system redirection sub-system thereof

Country Status (2)

Country Link
CN (1) CN102301682B (en)
WO (1) WO2011116726A2 (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801823A (en) * 2012-08-23 2012-11-28 神州数码网络(北京)有限公司 DNS (domain name server) relay method and device
CN103581258A (en) * 2012-08-03 2014-02-12 中国移动通信集团公司 Network data caching method and system
CN104065543A (en) * 2014-05-19 2014-09-24 浪潮电子信息产业股份有限公司 Network card drive design method based on data transmission management
CN104219335A (en) * 2013-05-30 2014-12-17 张大顺 A DNS request processing method, device and system
CN104219200A (en) * 2013-05-30 2014-12-17 杭州迪普科技有限公司 Device and method for protection from DNS cache attack
CN104243344A (en) * 2014-10-11 2014-12-24 网宿科技股份有限公司 Effective data packet capturing method and request redirection server
CN104935556A (en) * 2014-03-20 2015-09-23 腾讯科技(深圳)有限公司 Network security processing method, device and system
CN106487607A (en) * 2015-08-28 2017-03-08 中国电信股份有限公司 A kind of reorientation method based on cache server status and Redirectional system
CN106487846A (en) * 2015-08-28 2017-03-08 中国电信股份有限公司 The white list updating method of caching system, acquisition and analysis device and caching system
CN106550056A (en) * 2015-09-18 2017-03-29 中国移动通信集团江苏有限公司 A kind of domain name analytic method and device
CN107534690A (en) * 2015-08-31 2018-01-02 慧与发展有限责任合伙企业 Gather domain name system flow
CN107613036A (en) * 2017-09-04 2018-01-19 北京新流万联网络技术有限公司 Realize the method and system of HTTPS Transparent Proxies
CN107872544A (en) * 2016-09-28 2018-04-03 中兴通讯股份有限公司 A kind of domain name analytic method, device, gateway and system
CN108040085A (en) * 2017-11-20 2018-05-15 广州华多网络科技有限公司 Method for network access, device and server
CN108259528A (en) * 2016-12-28 2018-07-06 华为软件技术有限公司 A kind of resource caching method and device
CN108270683A (en) * 2016-12-30 2018-07-10 华为软件技术有限公司 Flow optimization method, cache server and system under DNS forthright scenes
CN111371866A (en) * 2020-02-26 2020-07-03 厦门网宿有限公司 Method and device for processing service request

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624750B (en) * 2012-04-22 2016-08-03 吴兴利 Resist the method and system that DNS recurrence is attacked
CN104378452B (en) * 2013-08-14 2019-02-15 阿里巴巴集团控股有限公司 A kind of method, apparatus and system for domain name mapping
CN104144231B (en) * 2014-08-21 2018-01-19 北京金山安全软件有限公司 Method and device for processing DNS query request
CN111556552B (en) * 2020-03-26 2023-01-31 维沃移动通信有限公司 Data transmission method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001048622A1 (en) * 1999-12-23 2001-07-05 Webdatabank, Inc. Web contents transmission system and method thereof
CN101984637A (en) * 2010-11-02 2011-03-09 中兴通讯股份有限公司 Content distribution implementation method and system
CN102025793A (en) * 2010-01-22 2011-04-20 中国移动通信集团北京有限公司 Domain name resolution method and system and DNS in IP network
CN102571997A (en) * 2010-12-29 2012-07-11 中国移动通信集团北京有限公司 Method, system and device for data access

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070118667A1 (en) * 2005-11-21 2007-05-24 Limelight Networks, Inc. Domain name resolution based dynamic resource assignment
CN101626375B (en) * 2008-07-08 2013-10-09 鸿富锦精密工业(深圳)有限公司 Domain name protecting system and method thereof
CN101895589A (en) * 2010-07-26 2010-11-24 杭州华三通信技术有限公司 Wide area network router and method for establishing routing table items therein

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001048622A1 (en) * 1999-12-23 2001-07-05 Webdatabank, Inc. Web contents transmission system and method thereof
CN102025793A (en) * 2010-01-22 2011-04-20 中国移动通信集团北京有限公司 Domain name resolution method and system and DNS in IP network
CN101984637A (en) * 2010-11-02 2011-03-09 中兴通讯股份有限公司 Content distribution implementation method and system
CN102571997A (en) * 2010-12-29 2012-07-11 中国移动通信集团北京有限公司 Method, system and device for data access

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581258A (en) * 2012-08-03 2014-02-12 中国移动通信集团公司 Network data caching method and system
CN103581258B (en) * 2012-08-03 2017-11-03 中国移动通信集团公司 The method and system of network data caching
CN102801823A (en) * 2012-08-23 2012-11-28 神州数码网络(北京)有限公司 DNS (domain name server) relay method and device
CN104219200B (en) * 2013-05-30 2017-10-17 杭州迪普科技股份有限公司 A kind of apparatus and method for taking precautions against DNS cache attack
CN104219335B (en) * 2013-05-30 2018-08-24 张大顺 A kind of processing method of DNS request, apparatus and system
CN104219335A (en) * 2013-05-30 2014-12-17 张大顺 A DNS request processing method, device and system
CN104219200A (en) * 2013-05-30 2014-12-17 杭州迪普科技有限公司 Device and method for protection from DNS cache attack
CN104935556A (en) * 2014-03-20 2015-09-23 腾讯科技(深圳)有限公司 Network security processing method, device and system
CN104935556B (en) * 2014-03-20 2019-06-07 腾讯科技(深圳)有限公司 A kind of network security processing method, apparatus and system
CN104065543A (en) * 2014-05-19 2014-09-24 浪潮电子信息产业股份有限公司 Network card drive design method based on data transmission management
CN104243344B (en) * 2014-10-11 2018-06-19 网宿科技股份有限公司 A kind of effective data packets catching method and request Redirect Server
CN104243344A (en) * 2014-10-11 2014-12-24 网宿科技股份有限公司 Effective data packet capturing method and request redirection server
CN106487846A (en) * 2015-08-28 2017-03-08 中国电信股份有限公司 The white list updating method of caching system, acquisition and analysis device and caching system
CN106487607A (en) * 2015-08-28 2017-03-08 中国电信股份有限公司 A kind of reorientation method based on cache server status and Redirectional system
CN107534690A (en) * 2015-08-31 2018-01-02 慧与发展有限责任合伙企业 Gather domain name system flow
US10666672B2 (en) 2015-08-31 2020-05-26 Hewlett Packard Enterprise Development Lp Collecting domain name system traffic
CN106550056A (en) * 2015-09-18 2017-03-29 中国移动通信集团江苏有限公司 A kind of domain name analytic method and device
CN106550056B (en) * 2015-09-18 2019-09-10 中国移动通信集团江苏有限公司 A kind of domain name analytic method and device
CN107872544A (en) * 2016-09-28 2018-04-03 中兴通讯股份有限公司 A kind of domain name analytic method, device, gateway and system
CN108259528A (en) * 2016-12-28 2018-07-06 华为软件技术有限公司 A kind of resource caching method and device
CN108259528B (en) * 2016-12-28 2021-01-12 华为技术有限公司 Resource caching method and device
CN108270683A (en) * 2016-12-30 2018-07-10 华为软件技术有限公司 Flow optimization method, cache server and system under DNS forthright scenes
CN107613036A (en) * 2017-09-04 2018-01-19 北京新流万联网络技术有限公司 Realize the method and system of HTTPS Transparent Proxies
CN107613036B (en) * 2017-09-04 2021-07-23 北京新流万联网络技术有限公司 Method and system for realizing HTTPS transparent proxy
CN108040085A (en) * 2017-11-20 2018-05-15 广州华多网络科技有限公司 Method for network access, device and server
CN111371866A (en) * 2020-02-26 2020-07-03 厦门网宿有限公司 Method and device for processing service request
CN111371866B (en) * 2020-02-26 2023-03-21 厦门网宿有限公司 Method and device for processing service request

Also Published As

Publication number Publication date
WO2011116726A3 (en) 2012-04-05
CN102301682B (en) 2014-02-19
WO2011116726A2 (en) 2011-09-29

Similar Documents

Publication Publication Date Title
CN102301682B (en) Method and system for network caching, domain name system redirection sub-system thereof
US11805184B2 (en) Content delivery systems and methods
US8706906B2 (en) Multipath routing process
EP2266043B1 (en) Cache optimzation
US9871722B2 (en) Content delivery network routing method, system and user terminal
US8527635B2 (en) Contents delivery system and method, web server and contents provider DNS server thereof
KR101383905B1 (en) method and apparatus for processing server load balancing with the result of hash function
CN108156013B (en) Page service disaster tolerance method and device and electronic equipment
KR101959970B1 (en) Contents delivery service method using contents sharing, and cache apparatus therefor
JP2016530634A (en) Method and system for dispatching requests in a content delivery network
CN101222424A (en) Content distribution network and scheduling method based on content in the network
CN103297472A (en) Redirection method and content distribution node applied to content distribution network
KR20110040875A (en) Request routing using network computing components
WO2005022825A1 (en) A system of layered content delivery network and a method of layered delivering content
CN103581765B (en) The method and apparatus that a kind of message forwards
EP3241341A1 (en) Network address resolution
CN105610930A (en) Data optimization method based on DNS (Domain Name Server)
CN103973788A (en) Load balancing method based on transmission widespread network architecture
Wang et al. The content delivery network system based on cloud storage
CN101262489B (en) A content distribution network system and method
CN103020241A (en) Dynamic page cache method and system based on session
CN103731396B (en) Resource access method, system and cache resources information push-delivery apparatus
KR101131787B1 (en) Method for updating data stored in cache server, cache server and content delivery system thereof
KR101218574B1 (en) Delivering contents by using storage of network
CN104994058A (en) Method, device, and system for achieving accelerated access for a router

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant