CN106487607A - A kind of reorientation method based on cache server status and Redirectional system - Google Patents
A kind of reorientation method based on cache server status and Redirectional system Download PDFInfo
- Publication number
- CN106487607A CN106487607A CN201510542446.1A CN201510542446A CN106487607A CN 106487607 A CN106487607 A CN 106487607A CN 201510542446 A CN201510542446 A CN 201510542446A CN 106487607 A CN106487607 A CN 106487607A
- Authority
- CN
- China
- Prior art keywords
- caching server
- request
- domain name
- server
- state
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000004458 analytical method Methods 0.000 claims abstract description 7
- 238000001514 detection method Methods 0.000 claims description 13
- 230000004044 response Effects 0.000 claims description 13
- 238000003860 storage Methods 0.000 claims description 9
- 230000004913 activation Effects 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 claims description 2
- 238000004321 preservation Methods 0.000 claims 1
- 230000003862 health status Effects 0.000 abstract description 2
- 238000000151 deposition Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 230000036541 health Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010247 heart contraction Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000005619 thermoelectricity Effects 0.000 description 1
- 238000005303 weighing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of reorientation method based on cache server status and Redirectional system, its method includes:Receive the domain name system DNS analysis request that client sends, parse, from dns resolution request, the domain name that request accesses;Obtain caching server corresponding with domain name, judge whether caching server can use, if it is, the IP address of caching server is sent to client.The reorientation method based on cache server status of the present invention and Redirectional system, by dynamic sensing caching server health status, Redirectional system can dynamic sensing backend resources situation, obtain service ability, and can be by detecting the loading condition of caching server, dynamic adjustment redirects strategy, lifts caching system efficiency, improves Consumer's Experience.
Description
Technical field
The present invention relates to Internet technical field, more particularly, to a kind of based on cache server status
Reorientation method and Redirectional system.
Background technology
Economic globalization strengthen further the Internet globalization feature, become one kind overstep national boundaries with
National sovereignty, represented in worldwide link up with contact, exchange with interaction become
Gesture.For complying with this trend, attempt branching out in the whole world in various countries large-scale telecom operation commercial city, real
The extension of the shared and network coverage of existing content resource, on the one hand provides sensible complete for domestic user
The communication service of ball, develops overseas customer simultaneously and strengthens the competitiveness of itself.In the face of increasingly congestion
International link and large-scale immigration flow, most efficient method is exactly to set up the Internet caching to put down
Platform, reduces immigration flow by local cache internet content, alleviates international link degree of Congestion not
Disconnected rising problem.Technically solve to utilize high greatly due to network bandwidth congestion, link flow
The Consumer's Experience problem of the access the Internet of cause influence, can strengthen the data service body of user
Test;What between can also reducing because of net, flow produced simultaneously closes the account.
Caching system is disposed in existing IP network, the focus or specific interior in storage the Internet
Hold, and guide the access request of user to be forwarded to caching server.In order to meet large scale deployment need
Will, caching server is often clustered deploy(ment), is scheduling by load-balancing device.Load is all
Set up heartbeat mechanism between weighing apparatus and caching server, detect caching server health condition.When sentencing
Determine caching server unavailable when, this server can be taken from service queue by load-balancing device
Go out, do not participate in distribution next time, until this equipment recovers normal;But Redirect Server is to negative
Carry balancing equipment and the health condition of caching server cannot detect, when these equipment faults, be
System still carries out redirection, leads to load too high to affect Consumer's Experience.
Content of the invention
In view of this, the invention solves the problems that a technical problem be to provide a kind of to be based on buffer service
The reorientation method of device state and Redirectional system, enter to the state of caching server in redirection
Row detection.
A kind of reorientation method based on cache server status, including:Receive what client sent
Domain name system DNS analysis request, parses, from described dns resolution request, the domain that request accesses
Name;Obtain caching server corresponding with domain name, judge that described caching server whether may be used
With if it is, the IP address of described caching server is sent to described client.
According to one embodiment of present invention, further, judge domain name whether in white list
In, if it is, obtaining caching server corresponding with domain name;If it is not, then abandoning institute
State dns resolution request.
According to one embodiment of present invention, further, the described caching server of described judgement is
No available inclusion:Periodically sending heart beating to described caching server by default time interval please
Ask;Receive the heartbeat request answer that described caching server returns;If in default time threshold
Inside it is not received by described heartbeat request to reply, then judge the state of described caching server for can not
With.
According to one embodiment of present invention, further, the described caching server of described judgement is
No available inclusion:Periodically send ICMP by default time interval to described caching server
Message simultaneously detects the TCP/UDP port of described caching server, judges the shape of described caching server
Whether state is upstate.
According to one embodiment of present invention, further, the described caching server of described judgement is
No available inclusion:Receive the status information that described caching server sends, described status information includes
The IP address of described caching server and the load information of described caching server;Based on described negative
Information carrying breath judges whether the state of described caching server is upstate.
According to one embodiment of present invention, further, by default time interval periodically
Send SNMP request message to described caching server;Receive what described caching server returned
SNMP response message, parses load information described in described SNMP response Receive message;Wherein, institute
State load information to include:Cpu busy percentage, memory usage, storage resource utilization rate.
According to one embodiment of present invention, further, including:Based on the described caching obtaining
The load capacity of server and the state of described caching server, adjustment redirects strategy and to institute
State caching server and redistribute white list;Wherein, the described strategy that redirects includes:High-grade
User priority ensures, reduces white list quantity.
According to one embodiment of present invention, further, including:If domain name is corresponding
The quantity being in the described caching server of upstate is one, then obtain this caching server
IP address is simultaneously sent to described client;If the corresponding institute being in upstate of domain name
The quantity stating caching server is multiple, then be based on described redirection one buffer service of policy selection
Device, obtains its IP address and is sent to described client.
According to one embodiment of present invention, further, including:Described caching server receives
The data request information sending to described client, if preserved and described data request information pair
The data answered, then by the data is activation corresponding with described data request information preserving to described client
End;Described caching server without preserve data corresponding with described data request information, then
Send inquiry request of data to source server, the described data that described source server is returned preserves simultaneously
It is sent to described client.
A kind of Redirectional system, including:DNS request reception device, sends for receiving client
Domain name system DNS analysis request, from described dns resolution request parse request access domain
Name;Caching server distributor, for obtaining caching server corresponding with domain name, sentences
Whether the described caching server that breaks can use, if it is, the IP address by described caching server
It is sent to described client, if it is not, then abandoning described dns resolution request.
According to one embodiment of present invention, further, described caching server distributor,
It is additionally operable to judge domain name whether in white list, if it is, obtaining corresponding with domain name
Caching server;If it is not, then abandoning described dns resolution request.
According to one embodiment of present invention, further, described caching server distributor,
Including:State detection unit, for by default time interval periodically to described buffer service
Device sends heartbeat request;Receive the heartbeat request answer that described caching server returns;If pre-
If time threshold in be not received by described heartbeat request and reply, then judge described caching server
State be unavailable.
According to one embodiment of present invention, further, described state detection unit, is additionally operable to
Periodically send icmp packet to described caching server by default time interval and detect institute
State the TCP/UDP port of caching server, judge whether the state of described caching server is available
State.
According to one embodiment of present invention, further, described state detection unit, is additionally operable to
Receive the status information that described caching server sends, described status information includes described buffer service
The IP address of device and the load information of described caching server;Sentenced based on described load information
Whether the state of disconnected described caching server is upstate.
According to one embodiment of present invention, further, described state detection unit, is additionally operable to
Periodically send SNMP request message by default time interval to described caching server;Connect
Receive the SNMP response message that described caching server returns, parse described SNMP response Receive message
Described load information;Wherein, described load information includes:Cpu busy percentage, memory usage,
Storage resource utilization rate.
According to one embodiment of present invention, further, described caching server distributor,
Including:Developing Tactics unit, for based on obtain described caching server load capacity and
The state of described caching server, adjustment redirects strategy and described caching server is redistributed
White list;Wherein, the described strategy that redirects includes:High-grade user priority ensures, reduces in vain
List quantity.
According to one embodiment of present invention, further, described caching server distributor,
Including:Caching server chooses unit, if for the corresponding upstate of being in of domain name
The quantity of described caching server is one, then obtain the IP address of this caching server and send
To described client;If the corresponding described caching server being in upstate of domain name
Quantity is multiple, then be based on described redirection one caching server of policy selection, obtain its IP
Address is simultaneously sent to described client.
The reorientation method based on cache server status of the present invention and Redirectional system, by dynamic
State perceive caching server state, Redirectional system can dynamic sensing backend resources situation, obtain
Service ability, and by detecting the loading condition of caching server, dynamic adjustment redirects strategy,
Lifting caching system efficiency, improves Consumer's Experience.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will
The accompanying drawing of required use in embodiment or description of the prior art is briefly described, aobvious and easy
Insight, drawings in the following description are only some embodiments of the present invention, common for this area
For technical staff, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is an enforcement according to the present invention based on the reorientation method of cache server status
The schematic flow sheet of example;
Fig. 2 is another reality according to the present invention based on the reorientation method of cache server status
Apply the schematic flow sheet of example;
Fig. 3 is the schematic diagram of an embodiment of the Redirectional system according to the present invention;
Fig. 4 be the Redirectional system according to the present invention an embodiment in caching server distribution dress
The schematic diagram put.
Specific embodiment
With reference to the accompanying drawings the present invention is described more fully, the example of the present invention is wherein described
Property embodiment.Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the skill in the embodiment of the present invention
Art scheme is clearly and completely described it is clear that described embodiment is only the present invention one
Section Example, rather than whole embodiments.Based on the embodiment in the present invention, this area is general
The every other embodiment that logical technical staff is obtained under the premise of not making creative work, all
Belong to the scope of protection of the invention.With reference to each figure and embodiment to technical scheme
Carry out many descriptions.
Fig. 1 is an enforcement according to the present invention based on the reorientation method of cache server status
The schematic flow sheet of example, as shown in Figure 1:
Step 101, receives the domain name system DNS analysis request that client sends, from dns resolution
The domain name that request accesses is parsed in request.
Step 102, obtains caching server corresponding with domain name, judges that caching server whether may be used
With.
Step 103, if it is, the IP address of caching server is sent to client, such as
Really no, then abandon dns resolution request.
In one embodiment, judge domain name whether in white list, if it is, obtaining and domain
The corresponding caching server of name, if it is not, then abandon dns resolution request.White name can be configured
Single, white list saves hot spot networks domain name or the domain name of subscription network, protects in white list
The domain name deposited, represents that the corresponding content of this domain name is buffered server buffer, client can be straight
It is connected in caching server and go to obtain corresponding data.
White list can carry out human configuration in advance, and the domain name preserving in white list can be focus net
Network and/or the domain name of subscription network.Thermoelectricity network refers to that in special time, visit capacity reaches specific time
The network of number, subscription network refers to the network with this DNS Redirectional system presence service relation.
Judging whether caching server is available can have multiple methods.By the default time interval cycle
Property ground to caching server send heartbeat request, order caching server return heartbeat request answer
Multiple, if be not received by heartbeat request in default time threshold replied, judge caching clothes
The state of business device is unavailable.Can also be by default time interval periodically to caching server
Send icmp packet and detect the TCP/UDP port of caching server, judge caching server
Whether state is upstate.
The status information that order caching server sends, status information includes the IP of caching server
Address and the load information of caching server, judge the shape of caching server based on load information
Whether state is upstate.Status information can be transmitted by various protocols, for example
Telnet, snmp etc..For example, by default time interval periodically to caching server
Send SNMP request message, the SNMP response message that order caching server returns, parsing
SNMP response Receive message load information.Load information includes:Cpu busy percentage, internal memory utilize
Rate, storage resource utilization rate.
The reorientation method based on cache server status in above-described embodiment, in redirection process
In, increase judgement to the equipment availabilities such as caching server and loading condition, according to delaying in real time
Ability of depositing dynamically adjusts redirection strategy.Judge whether caching server etc. can use, the heart can be adopted
The mode jumped, periodically sends heartbeat message to caching server.When caching server is unavailable
Or under overload situations, it is possible to reduce the redirection quantity of internet access, thus improving user's body
Test.
The information collecting caching server mainly includes:Equipment is up to whether device hardware aspect may be used
With implementing to detect based on sending icmp packet.Whether service state, check TCP/UDP port
Service is provided.Loading condition, receives and monitors the equipment state load letter that caching server reports
Breath, the monitoring data that such as cpu busy percentage, memory usage, storage resource and other consult
, now caching server group can dispose SNMP Agent service to support data acquisition.
In international immigration flow, browse class, download the proportion up to 70% of class and Streaming Media class with
On, Web Cache caching system supports web browsing, file download, video playback etc. are based on
The internet content of http protocol enters row cache, and regards for locally stored file format, sound
Frequency and document No. mode all do not have particular requirement, all kinds of internet audios, video, image, literary composition
This grade file all can realize caching by system.
In one embodiment, the load capacity based on the caching server obtaining and buffer service
The state of device, adjustment redirects strategy and redistributes white list to caching server.Redirect plan
Slightly include:High-grade user priority ensures, reduces white list quantity.
For example, dispose caching system in international export, real-time detection caching server ability, when slow
When depositing server failure, calculate new white list quantity, then the white list of key customer is carried out
Keep, the white list common to the public carries out meeting the selection of quantity according to focus rank order, weight
Orientation subsystem IP ground to the dispatch server meeting target return cache system according to New Policy
Location.
Redirectional system quantifies to the service ability of caching server cluster according to the information collected
Assessment, is set to α.According to α, the empirical model that input training obtains obtains effective white list number
Amount, then considers the information such as customer group, focus website and is optimized adjustment to white list, protects
Card is redirected domain name quantity and is mated with buffer service ability.
Fig. 2 is another reality according to the present invention based on the reorientation method of cache server status
Apply the schematic flow sheet of example, as shown in Figure 2:
Step 202, receives the domain name system DNS analysis request that client sends, from dns resolution
The domain name that request accesses is parsed in request.Judge domain name whether in white list, if it is,
Entering step 203, if it is not, then entering step 206, not redirecting.
Step 203, obtains caching server corresponding with domain name, judges that caching server whether may be used
With.
Step 204, if it is, the IP address of caching server is sent to client, such as
Really no, then carry out step 207, Redirectional system is periodically carried out to the working condition of caching server
Detect, collect corresponding information, calculate service ability α.According to the practical capacity of caching server,
Obtain the white list quantity mated with service ability using learning algorithm training experience model.Dynamic tune
Bulk wight directional strategy ensures VIP user, reduces white list quantity etc. as preferential.
Step 208, redirects according to new redirection strategy, according to New Policy to meeting mesh
The IP address of the dispatch server of mark return cache system.
If the quantity of the corresponding caching server being in upstate of domain name is one, obtain
The IP address of this caching server is simultaneously sent to client.If domain name is corresponding is in available shape
The quantity of the caching server of state is multiple, then be based on and redirect one buffer service of policy selection
Device, obtains its IP address and is sent to client.Redirect strategy to include:The grade of client,
Caching server response time, network condition etc..
Caching server receives the data request information of client transmission, if preserved and data
The corresponding data of request message, then by the data is activation corresponding with data request information preserving to visitor
Family end.Caching server without preserving data corresponding with data request information, then takes to source
Business device sends inquiry request of data, and the data that source server is returned preserves and is sent to client.
As shown in Figure 3,4, the present invention provides a kind of Redirectional system.DNS request reception device
41 receive the domain name system DNS analysis request that client sends, and parse from dns resolution request
Go out the domain name that request accesses.Caching server distributor 42 obtains caching clothes corresponding with domain name
Business device, judges whether caching server can use, if it is, the IP address by caching server
It is sent to client, if it is not, then abandoning dns resolution request.Caching server distributor
42 judge domain name whether in white list, if it is, obtaining buffer service corresponding with domain name
Device;If it is not, then abandoning dns resolution request.
State detection unit 421 is pressed default time interval and is periodically sent the heart to caching server
Jump request, the heartbeat request that order caching server returns replies, if in default time threshold
Inside it is not received by heartbeat request to reply, then judge that the state of caching server is unavailable.State
Detector unit 421 is pressed default time interval and is periodically sent icmp packet to caching server
And detect the TCP/UDP port of caching server, judge whether the state of caching server is available
State.
The status information that state detection unit 421 order caching server sends, status information includes
The IP address of caching server and the load information of caching server, are sentenced based on load information
Whether the state of disconnected caching server is upstate.State detection unit 421 presses the default time
Gap periods ground sends SNMP request message to caching server, and order caching server returns
SNMP response message, parse SNMP response Receive message load information, load information includes:
Cpu busy percentage, memory usage, storage resource utilization rate.
The load capacity of the caching server based on acquisition for the Developing Tactics unit 422 and buffer service
The state of device, adjustment redirects strategy and redistributes white list to caching server.Redirect plan
Slightly include:High-grade user priority ensures, reduces white list quantity.
If caching server chooses the corresponding buffer service being in upstate of unit 423 domain name
The quantity of device is one, then obtain the IP address of this caching server and be sent to client.As
The quantity of the corresponding caching server being in upstate of fruit domain name is multiple, then be based on and redirect
One caching server of policy selection, obtains its IP address and is sent to client.
The reorientation method based on cache server status in above-described embodiment and Redirectional system,
Can overcome the shortcomings of only by load equalizer, caching server to be detected, be felt by dynamic
Know caching server health status, Redirectional system can dynamic sensing backend resources situation, obtain clothes
Business ability.And can overcome the shortcomings of to redirect only in accordance with white list, by detection caching clothes
The loading condition of business device, dynamic adjustment redirects strategy, lifts caching system efficiency, improves user
Experience.
The method of the present invention and system may be achieved in many ways.For example, can pass through soft
Part, hardware, firmware or software, hardware, the side to realize the present invention for any combinations of firmware
Method and system.Said sequence for the step of method merely to illustrating, the present invention's
The step of method is not limited to order described in detail above, unless specifically stated otherwise.
Additionally, in certain embodiments, also the present invention can be embodied as recording journey in the recording medium
Sequence, these programs include the machine readable instructions for realizing the method according to the invention.Cause
And, the present invention also covers storage and is situated between for the record executing the program of the method according to the invention
Matter.
Description of the invention is given for the sake of example and description, and is not exhaustively
Or limit the invention to disclosed form.Many modifications and variations are for the common skill of this area
It is obvious for art personnel.Select and describe the principle that embodiment is in order to the present invention is more preferably described
And practical application, and make those of ordinary skill in the art it will be appreciated that the present invention is thus design is suitable
In the various embodiments with various modifications for the special-purpose.
Claims (17)
1. a kind of reorientation method based on cache server status is it is characterised in that include:
Receive the domain name system DNS analysis request that client sends, from described dns resolution request
Parse the domain name that request accesses;
Obtain caching server corresponding with domain name, judge that described caching server whether may be used
With if it is, the IP address of described caching server is sent to described client.
2. reorientation method as claimed in claim 1 is it is characterised in that include:
Judge domain name whether in white list, if it is, obtaining corresponding with domain name
Caching server;If it is not, then abandoning described dns resolution request.
3. reorientation method as claimed in claim 2 is it is characterised in that described in described judgement
Whether caching server is available to include:
Periodically send heartbeat request by default time interval to described caching server;
Receive the heartbeat request answer that described caching server returns;
If being not received by described heartbeat request in default time threshold to reply, judge institute
The state stating caching server is unavailable.
4. reorientation method as claimed in claim 3 is it is characterised in that described in described judgement
Whether caching server is available to include:
Periodically send icmp packet to described caching server by default time interval and examine
Survey the TCP/UDP port of described caching server, judge that whether the state of described caching server is
Upstate.
5. reorientation method as claimed in claim 3 is it is characterised in that described in described judgement
Whether caching server is available to include:
Receive the status information that described caching server sends, described status information includes described caching
The IP address of server and the load information of described caching server;
It is whether available shape based on the state that described load information judges described caching server
State.
6. reorientation method as claimed in claim 5 is it is characterised in that described in described judgement
Whether caching server is available to include:
Periodically send SNMP request report by default time interval to described caching server
Literary composition;
Receive the SNMP response message that described caching server returns, parse described SNMP response report
Literary composition obtains described load information;
Wherein, described load information includes:Cpu busy percentage, memory usage, storage resource make
With rate.
7. reorientation method as claimed in claim 5 is it is characterised in that include:
Based on the load capacity of described caching server obtaining and the shape of described caching server
State, adjustment redirects strategy and redistributes white list to described caching server;
Wherein, the described strategy that redirects includes:High-grade user priority ensures, reduces white list
Quantity.
8. reorientation method as claimed in claim 7 is it is characterised in that include:
If the quantity of the corresponding described caching server being in upstate of domain name is one
Individual, then obtain the IP address of this caching server and be sent to described client;
If the quantity of the corresponding described caching server being in upstate of domain name is many
Individual, then it is based on described redirection one caching server of policy selection, obtain its IP address concurrent
Give described client.
9. reorientation method as claimed in claim 1 is it is characterised in that include:
Described caching server receives the data request information that described client sends, if preserved
There is data corresponding with described data request information, then by preservation and described data request information pair
The data is activation answered gives described client;
Described caching server without preserve data corresponding with described data request information, then
Send inquiry request of data to source server, the described data that described source server is returned preserves simultaneously
It is sent to described client.
10. a kind of Redirectional system is it is characterised in that include:
DNS request reception device, the domain name system DNS parsing for receiving client transmission please
Ask, parse, from described dns resolution request, the domain name that request accesses;
Caching server distributor, for obtaining caching server corresponding with domain name, sentences
Whether the described caching server that breaks can use, if it is, the IP address by described caching server
It is sent to described client.
11. Redirectional systems as claimed in claim 10 it is characterised in that:
Described caching server distributor, is additionally operable to judge domain name whether in white list,
If it is, obtaining caching server corresponding with domain name;If it is not, then abandoning described
Dns resolution is asked.
12. Redirectional systems as claimed in claim 11 it is characterised in that:
Described caching server distributor, including:
State detection unit, for by default time interval periodically to described caching server
Send heartbeat request;Receive the heartbeat request answer that described caching server returns;If default
Time threshold in be not received by described heartbeat request and reply, then judge described caching server
State is unavailable.
13. Redirectional systems as claimed in claim 12 it is characterised in that:
Described state detection unit, is additionally operable to by default time interval periodically to described caching
Server sends icmp packet and detects the TCP/UDP port of described caching server, judges institute
Whether the state stating caching server is upstate.
14. Redirectional systems as claimed in claim 12 it is characterised in that:
Described state detection unit, is additionally operable to receive the status information that described caching server sends,
Described status information includes the IP address of described caching server and the load of described caching server
Information;It is whether available shape based on the state that described load information judges described caching server
State.
15. Redirectional systems as claimed in claim 14 it is characterised in that:
Described state detection unit, is additionally operable to by default time interval periodically to described caching
Server sends SNMP request message;Receive the SNMP response report that described caching server returns
Literary composition, parses load information described in described SNMP response Receive message;Wherein, described load information
Including:Cpu busy percentage, memory usage, storage resource utilization rate.
16. Redirectional systems as claimed in claim 14 are it is characterised in that include:
Described caching server distributor, including:
Developing Tactics unit, for the load capacity based on the described caching server obtaining and institute
State the state of caching server, adjustment redirects strategy and described caching server redistributed white
List;Wherein, the described strategy that redirects includes:High-grade user priority ensures, reduces white name
Odd number amount.
17. Redirectional systems as claimed in claim 16 are it is characterised in that include:
Described caching server distributor, including:
Caching server chooses unit, if for the corresponding institute being in upstate of domain name
The quantity stating caching server is one, then obtain the IP address of this caching server and be sent to
Described client;If the number of the corresponding described caching server being in upstate of domain name
Measure as multiple, be then based on described redirection one caching server of policy selection, obtain its IP ground
Location is simultaneously sent to described client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510542446.1A CN106487607A (en) | 2015-08-28 | 2015-08-28 | A kind of reorientation method based on cache server status and Redirectional system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510542446.1A CN106487607A (en) | 2015-08-28 | 2015-08-28 | A kind of reorientation method based on cache server status and Redirectional system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106487607A true CN106487607A (en) | 2017-03-08 |
Family
ID=58234751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510542446.1A Pending CN106487607A (en) | 2015-08-28 | 2015-08-28 | A kind of reorientation method based on cache server status and Redirectional system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106487607A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109040153A (en) * | 2017-06-08 | 2018-12-18 | 中兴通讯股份有限公司 | Caching method, relevant device and the computer readable storage medium of cache contents |
CN110324674A (en) * | 2018-03-30 | 2019-10-11 | 武汉斗鱼网络科技有限公司 | A kind of barrage server maintaining method, device and readable storage medium storing program for executing |
CN110336848A (en) * | 2019-04-23 | 2019-10-15 | 网宿科技股份有限公司 | An access request scheduling method, scheduling system, and equipment |
CN110460673A (en) * | 2019-08-21 | 2019-11-15 | 中国工商银行股份有限公司 | A kind of address of service acquisition methods, device and equipment |
CN110855526A (en) * | 2019-11-20 | 2020-02-28 | 北京百分点信息科技有限公司 | Method and device for detecting data source connection, storage medium and electronic equipment |
CN111107172A (en) * | 2018-10-28 | 2020-05-05 | 无锡雅座在线科技股份有限公司 | Automatic switching method for terminal access entrance |
CN111371866A (en) * | 2020-02-26 | 2020-07-03 | 厦门网宿有限公司 | Method and device for processing service request |
CN111641732A (en) * | 2020-06-01 | 2020-09-08 | 湖南快乐阳光互动娱乐传媒有限公司 | Intelligent scheduling method and device |
CN112749009A (en) * | 2020-12-30 | 2021-05-04 | 杭州迪普科技股份有限公司 | Server scheduling method and device |
WO2022105591A1 (en) * | 2020-11-20 | 2022-05-27 | 上海连尚网络科技有限公司 | Cache server performance test method and apparatus, device, and medium |
CN114765612A (en) * | 2021-01-14 | 2022-07-19 | 腾讯科技(深圳)有限公司 | Service access method and device |
CN115150376A (en) * | 2022-07-01 | 2022-10-04 | 北京天融信网络安全技术有限公司 | Redirection method, redirection device, electronic equipment and computer-readable storage medium |
CN116366657A (en) * | 2023-05-31 | 2023-06-30 | 天翼云科技有限公司 | Data request scheduling method and system of cache server |
WO2024187893A1 (en) * | 2023-03-15 | 2024-09-19 | 华为云计算技术有限公司 | Load balancing method, apparatus, device, storage medium and computer program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101540775A (en) * | 2009-04-30 | 2009-09-23 | 华为技术有限公司 | Method and device for distributing contents and network system for distributing contents |
CN101764824A (en) * | 2010-01-28 | 2010-06-30 | 深圳市同洲电子股份有限公司 | Distributed cache control method, device and system |
CN102111310A (en) * | 2010-12-31 | 2011-06-29 | 网宿科技股份有限公司 | Method and system for monitoring content delivery network (CDN) equipment status |
CN102301682A (en) * | 2011-04-29 | 2011-12-28 | 华为技术有限公司 | Method and system for network caching, domain name system redirection sub-system thereof |
-
2015
- 2015-08-28 CN CN201510542446.1A patent/CN106487607A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101540775A (en) * | 2009-04-30 | 2009-09-23 | 华为技术有限公司 | Method and device for distributing contents and network system for distributing contents |
CN101764824A (en) * | 2010-01-28 | 2010-06-30 | 深圳市同洲电子股份有限公司 | Distributed cache control method, device and system |
CN102111310A (en) * | 2010-12-31 | 2011-06-29 | 网宿科技股份有限公司 | Method and system for monitoring content delivery network (CDN) equipment status |
CN102301682A (en) * | 2011-04-29 | 2011-12-28 | 华为技术有限公司 | Method and system for network caching, domain name system redirection sub-system thereof |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109040153A (en) * | 2017-06-08 | 2018-12-18 | 中兴通讯股份有限公司 | Caching method, relevant device and the computer readable storage medium of cache contents |
CN110324674A (en) * | 2018-03-30 | 2019-10-11 | 武汉斗鱼网络科技有限公司 | A kind of barrage server maintaining method, device and readable storage medium storing program for executing |
CN111107172A (en) * | 2018-10-28 | 2020-05-05 | 无锡雅座在线科技股份有限公司 | Automatic switching method for terminal access entrance |
CN110336848A (en) * | 2019-04-23 | 2019-10-15 | 网宿科技股份有限公司 | An access request scheduling method, scheduling system, and equipment |
CN110460673B (en) * | 2019-08-21 | 2022-07-19 | 中国工商银行股份有限公司 | Service address acquisition method, device and equipment |
CN110460673A (en) * | 2019-08-21 | 2019-11-15 | 中国工商银行股份有限公司 | A kind of address of service acquisition methods, device and equipment |
CN110855526A (en) * | 2019-11-20 | 2020-02-28 | 北京百分点信息科技有限公司 | Method and device for detecting data source connection, storage medium and electronic equipment |
CN110855526B (en) * | 2019-11-20 | 2022-03-29 | 北京百分点科技集团股份有限公司 | Method and device for detecting data source connection, storage medium and electronic equipment |
CN111371866A (en) * | 2020-02-26 | 2020-07-03 | 厦门网宿有限公司 | Method and device for processing service request |
CN111641732A (en) * | 2020-06-01 | 2020-09-08 | 湖南快乐阳光互动娱乐传媒有限公司 | Intelligent scheduling method and device |
CN111641732B (en) * | 2020-06-01 | 2023-01-24 | 湖南快乐阳光互动娱乐传媒有限公司 | Intelligent scheduling method and device |
WO2022105591A1 (en) * | 2020-11-20 | 2022-05-27 | 上海连尚网络科技有限公司 | Cache server performance test method and apparatus, device, and medium |
CN112749009A (en) * | 2020-12-30 | 2021-05-04 | 杭州迪普科技股份有限公司 | Server scheduling method and device |
CN114765612A (en) * | 2021-01-14 | 2022-07-19 | 腾讯科技(深圳)有限公司 | Service access method and device |
CN115150376A (en) * | 2022-07-01 | 2022-10-04 | 北京天融信网络安全技术有限公司 | Redirection method, redirection device, electronic equipment and computer-readable storage medium |
WO2024187893A1 (en) * | 2023-03-15 | 2024-09-19 | 华为云计算技术有限公司 | Load balancing method, apparatus, device, storage medium and computer program |
CN116366657A (en) * | 2023-05-31 | 2023-06-30 | 天翼云科技有限公司 | Data request scheduling method and system of cache server |
WO2024244406A1 (en) * | 2023-05-31 | 2024-12-05 | 天翼云科技有限公司 | Data request scheduling method and system for cache server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106487607A (en) | A kind of reorientation method based on cache server status and Redirectional system | |
CN106487846A (en) | The white list updating method of caching system, acquisition and analysis device and caching system | |
CN103369601B (en) | For cell-phone customer terminal provides the method for large concurrent processing and flow control | |
CN103716251B (en) | For the load-balancing method and equipment of content distributing network | |
US8959225B2 (en) | Cooperative caching method and contents providing method using request apportioning device | |
US8892737B2 (en) | Network sniffer for performing service level management | |
US8706864B1 (en) | Behavior monitoring and compliance for multi-tenant resources | |
TWI426752B (en) | Routing selection method and system of multi-wan interfaces and network device employing the same | |
CN110365793A (en) | Illegal external connection monitoring method, device, system and storage medium | |
CN106911517B (en) | Method and system for positioning end-to-end problem of mobile internet | |
CN106657426A (en) | Processing method and device for domain name parsing request, and server | |
CN103259809A (en) | Load balancer, load balancing method and stratified data center system | |
CN101605092A (en) | A Content-Based Load Balancing System | |
CN103678311B (en) | Web access method and system, crawl Routing Service device based on transfer mode | |
CN102244613A (en) | DNS (domain name system)-based multilink traffic balancing method, gateway and network | |
CN110417676A (en) | A kind of dispatching method, device and dispatch network | |
CN106412063A (en) | CDN node detection and resource scheduling system and method in education network | |
CN105794175B (en) | Convey the performance metric of the system of WEB content | |
CN102664767A (en) | IP-based WLAN network data QOS analysis method | |
CN110177140B (en) | IP scheduling system and method for client data downloading | |
CN103873604A (en) | Network access method based on analysis of CDN data | |
Saverimoutou et al. | A 6-month analysis of factors impacting web browsing quality for QoE prediction | |
US20190238444A1 (en) | Methods and apparatus for detecting internet connection problems | |
CN108111567A (en) | Realize the uniform method and system of server load | |
CN109981795A (en) | Resource request dispatching method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170308 |