CN104301415A - Global load balancing method based on HTTP redirection - Google Patents

Global load balancing method based on HTTP redirection Download PDF

Info

Publication number
CN104301415A
CN104301415A CN201410558586.3A CN201410558586A CN104301415A CN 104301415 A CN104301415 A CN 104301415A CN 201410558586 A CN201410558586 A CN 201410558586A CN 104301415 A CN104301415 A CN 104301415A
Authority
CN
China
Prior art keywords
server
gslb
domain name
client
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410558586.3A
Other languages
Chinese (zh)
Inventor
张焰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUXI YUNJIE TECHNOLOGY Co Ltd
Original Assignee
WUXI YUNJIE TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WUXI YUNJIE TECHNOLOGY Co Ltd filed Critical WUXI YUNJIE TECHNOLOGY Co Ltd
Priority to CN201410558586.3A priority Critical patent/CN104301415A/en
Publication of CN104301415A publication Critical patent/CN104301415A/en
Pending legal-status Critical Current

Links

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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1014Server selection for load balancing based on the content of a request
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing

Landscapes

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

Abstract

The invention discloses a global load balancing method based on HTTP redirection. When a client side inputs a domain name to a user browser, a local DNS server responds to the request of the client side and returns an IP address of global server load balance (GSLB), the user browser sends an HTTP request to the GSLB according to the IP address of the GSLB, the GSLB returns an HTTP data packet of the HTTP request to the user browser, modifies the domain name into a new domain name and transmits the new domain name to the client side, the client side inputs the new domain name to the user browser and requests service from a server which finally provides service for the client side. Compared with a global load balancing method based on a DNS, the global load balancing method has the advantages that the IP address of a user and the specific content requested by the user can be considered, and the method is accurate in positioning and high in accuracy on the premise that data of IP addresses of users are effectively maintained.

Description

A kind of Whole load equalizing method based on HTTP redirection
Technical field
The present invention relates to content distributing network, specifically relate to a kind of Whole load equalizing method based on HTTP redirection.
Background technology
Based on domain name service (DNS, Domain Name service) Whole load equalizing method, at content distributing network (CDN, Content Delivery Network) in, in fact exactly load-balancing device is deployed in DNS system, when user sends any application connection request, first must ask by DNS system the IP address obtaining server, based on the Whole load equalizing method (GSLB of DNS, Global Server Load Balancing) in the process returning dns resolution result, carry out intelligent decision just, the IP address of a best server is returned to user, make use of the domain name mapping that DNS system is intrinsic, close judges, polling algorithm etc., load balancing can be completed by means of independent of the public DNS system outside system.But DNS system is not naturally do load balancing, so its intrinsic working mechanism can bring certain limitation to GSLB.
As everyone knows, distance between user and local dns server directly affects the accuracy of the GSLB result based on DNS, in some cases, client and local dns server may not in regions, because DNS total system intelligence sees the IP address of local dns server, can't see the IP address of real client, so the request scheduling of client can be gone to inappropriate server.Such as, the IP address of the local dns server of a client manual configuration oneself, when this client moves to other local time, can continue to use this local dns server, in this case, GSLB can provide a distance to cry server very far away of shielding a shortcoming or fault for user according to the IP address of local dns server, causes the delay to the response done by the request of client.
Summary of the invention
Goal of the invention: in order to overcome the deficiencies in the prior art, the invention provides a kind of Whole load equalizing method based on HTTP redirection, is carrying out realizing accurate positioning under the prerequisite effectively safeguarded and precision is high to IP address data.
Technical scheme: for achieving the above object, the Whole load equalizing method based on HTTP redirection of the present invention, comprises the following steps:
(1) client inputs domain name on user browser;
(2) local dns server customer in response end request and return to the IP address of GSLB;
(3) described user browser initiates HTTP request according to the IP address of described GSLB to described GSLB;
(4) described GSLB returns the HTTP packet responding described HTTP request to described user browser, and described HTTP packet comprises the IP address providing the server of service eventually to client;
(5) described GSLB is modified as new domain name domain name simultaneously, and described new domain name is passed to described client, and described new domain name is corresponding with the described IP address of the server of service that provides eventually to client;
(6) described client inputs described new domain name again on described user browser, to the described server for services providing service eventually to client;
(7) provide the server of service for described client end response request eventually to client described in and service is provided.
Beneficial effect: the beneficial effect that the present invention compared with prior art has is the IP address that global load balancing system can examine user, and the particular content that user will ask, can carry out under the prerequisite effectively safeguarded to IP address data with the inventive method, accurate positioning and precision is high.
Accompanying drawing explanation
Fig. 1 is the flow chart of the Whole load equalizing method based on HTTP redirection.
Embodiment
Below in conjunction with drawings and Examples, the present invention is further described.
See Fig. 1, a kind of Whole load equalizing method based on HTTP redirection of the present invention, first client inputs domain name on user browser; Then local dns server customer in response end request and return to the IP address of GSLB; Described local dns server address distributes to described client by client network configuration mode.After described local dns server obtains the domain name mapping request of described user browser, recursive query mode can be adopted to propose inquiry request to other remote servers in DNS system, recursive query mode refers to that each inquiry request is all initiated by local dns server, be subject to filing a request to next remote DNS server again significantly, knowing acquisition result, is the query script of more common practicality.Then described user browser initiates HTTP request according to the IP address of described GSLB to described GSLB; Described GSLB returns the HTTP packet responding described HTTP request to described user browser, described HTTP packet comprises the IP address providing the server of service eventually to client; Described GSLB is modified as new domain name domain name simultaneously, and described new domain name is passed to described client, and described new domain name is corresponding with the described IP address of the server of service that provides eventually to client; Described client inputs described new domain name again on described user browser, to the described server for services providing the IP address of the server of service corresponding eventually to client; There is provided the server of service for described client end response request eventually to client described in last and service is provided.
In the present embodiment, when user inputs a domain name URL in browser address bar, as HTTP: during //www.CDNbook.com, the analysis result that local dns server returns is the IP address of GSLB GSLB, user side browser can initiate HTTP request to this GSLB GSLB, GSLB GSLB returns the HTTP packet of response request to browser, and this HTTP packet can tell that user is to the server request content of certain IP address.In this process, GSLB GSLB also can do an action, revises original domain name URL exactly, and it is rewritten into another new domain name URL ', user after meeting with a response, starts real browsed web content to server request content with this new domain name URL '.Such as, user obtains the IP address of GSLB GSLB: 211.100.48.250, then user is to this IP Address requests content, GSLB GSLB returns to user's HTTP302 response message, in message, the URL that user asks is replaced to new URL containing this IP address of 222.222.96.14, server apparatus corresponding to this IP address is exactly the IP address that user needs again to initiate the equipment of asking.
Preferably, the each period of time T of described GSLB GSLB carries out health examination to the server in CDN system, GSLB obtains the various health and fitness informations of server by the mode of inquiry, if described GSLB can not receive in the response message of server or the response message of server and contains the in-problem information of health status, then this server can not be chosen as best server node.Quality and the health status of the final server selected of guarantee are all preferred, allow to like this locate more accurately.
The above is only the preferred embodiment of the present invention; be noted that for those skilled in the art; under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (4)

1. based on a Whole load equalizing method for HTTP redirection, it is characterized in that: comprise the following steps:
(1) client inputs domain name on user browser;
(2) local dns server customer in response end request and return to the IP address of GSLB;
(3) described user browser initiates HTTP request according to the IP address of described GSLB to described GSLB;
(4) described GSLB returns the HTTP packet responding described HTTP request to described user browser, and described HTTP packet comprises the IP address providing the server of service eventually to client;
(5) described GSLB is modified as new domain name domain name simultaneously, and described new domain name is passed to described client, and described new domain name is corresponding with the described IP address of the server of service that provides eventually to client;
(6) described client inputs described new domain name again on described user browser, to the described server for services providing service eventually to client;
(7) provide the server of service for described client end response request eventually to client described in and service is provided.
2. a kind of GSLB server disposition method based on DNS according to claim 1, it is characterized in that: in step (2), described local dns server address distributes to described client by client network configuration mode.
3. a kind of GSLB server disposition method based on DNS according to claim 1, it is characterized in that: in step (2), after described local dns server obtains the domain name mapping request of described user browser, recursive query mode can be adopted to propose inquiry request to other remote servers in DNS system.
4. a kind of GSLB server disposition method based on DNS according to claim 1, it is characterized in that: each period of time T of described GSLB carries out health examination to the server in CDN system, GSLB obtains the various health and fitness informations of server by the mode of inquiry, if described GSLB can not receive in the response message of server or the response message of server and contains the in-problem information of health status, then this server can not be chosen as best server node.
CN201410558586.3A 2014-10-21 2014-10-21 Global load balancing method based on HTTP redirection Pending CN104301415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410558586.3A CN104301415A (en) 2014-10-21 2014-10-21 Global load balancing method based on HTTP redirection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410558586.3A CN104301415A (en) 2014-10-21 2014-10-21 Global load balancing method based on HTTP redirection

Publications (1)

Publication Number Publication Date
CN104301415A true CN104301415A (en) 2015-01-21

Family

ID=52320978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410558586.3A Pending CN104301415A (en) 2014-10-21 2014-10-21 Global load balancing method based on HTTP redirection

Country Status (1)

Country Link
CN (1) CN104301415A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847448A (en) * 2016-06-02 2016-08-10 南京师范大学 Routing and redirection-based anycasting method and system applied to NDN (named data networking)
CN109743416A (en) * 2019-03-19 2019-05-10 广州品唯软件有限公司 CDN domain name dispatching method, device, computer readable storage medium and system
CN110225087A (en) * 2019-05-08 2019-09-10 平安科技(深圳)有限公司 Cloud access method, device and storage medium based on global load balancing
CN110476401A (en) * 2017-03-29 2019-11-19 三星电子株式会社 Multimedia service content providing device and method
CN110602182A (en) * 2019-08-27 2019-12-20 深圳前海达闼云端智能科技有限公司 Service scheduling method, device and system, global load balancer and client
CN110891077A (en) * 2018-09-07 2020-03-17 阿里巴巴集团控股有限公司 CDN node detection method and device
US10834176B2 (en) 2017-03-10 2020-11-10 The Directv Group, Inc. Automated end-to-end application deployment in a data center
WO2021073000A1 (en) * 2019-10-18 2021-04-22 网宿科技股份有限公司 Method, plug-in, and device for data scheduling, and scheduling server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101904135A (en) * 2007-12-20 2010-12-01 雅虎公司 DNS wildcard beaconing to determine client location and resolver load for global traffic load balancing
CN102710780A (en) * 2012-06-08 2012-10-03 深信服网络科技(深圳)有限公司 Global load balancing method, load balancing equipment and client
CN102792292A (en) * 2009-12-07 2012-11-21 考持·维 System and method for website performance optimization and Internet traffic processing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101904135A (en) * 2007-12-20 2010-12-01 雅虎公司 DNS wildcard beaconing to determine client location and resolver load for global traffic load balancing
CN102792292A (en) * 2009-12-07 2012-11-21 考持·维 System and method for website performance optimization and Internet traffic processing
CN102710780A (en) * 2012-06-08 2012-10-03 深信服网络科技(深圳)有限公司 Global load balancing method, load balancing equipment and client

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847448B (en) * 2016-06-02 2019-04-26 南京师范大学 Based on routing and the anycast's method and system redirected in a kind of NDN
CN105847448A (en) * 2016-06-02 2016-08-10 南京师范大学 Routing and redirection-based anycasting method and system applied to NDN (named data networking)
US10834176B2 (en) 2017-03-10 2020-11-10 The Directv Group, Inc. Automated end-to-end application deployment in a data center
US11297128B2 (en) 2017-03-10 2022-04-05 Directv, Llc Automated end-to-end application deployment in a data center
CN110476401B (en) * 2017-03-29 2022-04-15 三星电子株式会社 Multimedia service content providing apparatus and method
CN110476401A (en) * 2017-03-29 2019-11-19 三星电子株式会社 Multimedia service content providing device and method
US11190815B2 (en) 2017-03-29 2021-11-30 Samsung Electronics Co., Ltd. Multimedia service content providing device and method
CN110891077A (en) * 2018-09-07 2020-03-17 阿里巴巴集团控股有限公司 CDN node detection method and device
CN109743416A (en) * 2019-03-19 2019-05-10 广州品唯软件有限公司 CDN domain name dispatching method, device, computer readable storage medium and system
CN109743416B (en) * 2019-03-19 2023-01-03 广州品唯软件有限公司 CDN domain name scheduling method, device, computer readable storage medium and system
CN110225087A (en) * 2019-05-08 2019-09-10 平安科技(深圳)有限公司 Cloud access method, device and storage medium based on global load balancing
CN110602182A (en) * 2019-08-27 2019-12-20 深圳前海达闼云端智能科技有限公司 Service scheduling method, device and system, global load balancer and client
CN110602182B (en) * 2019-08-27 2022-02-01 达闼机器人有限公司 Service scheduling method, device and system, global load balancer and client
WO2021073000A1 (en) * 2019-10-18 2021-04-22 网宿科技股份有限公司 Method, plug-in, and device for data scheduling, and scheduling server

Similar Documents

Publication Publication Date Title
CN104301415A (en) Global load balancing method based on HTTP redirection
US9160703B2 (en) Request routing management based on network components
US8577992B1 (en) Request routing management based on network components
CN103297472B (en) A kind of reorientation method and content distribution nodes applied to content distributing network
US9712484B1 (en) Managing request routing information utilizing client identifiers
US9083743B1 (en) Managing request routing information utilizing performance information
CN103716398B (en) The monitoring method and monitoring system of CDN server
US11089128B2 (en) Content node selection using network performance profiles
US20110078327A1 (en) Content delivery utilizing multiple content delivery networks
CN108234207B (en) Fault positioning method and device based on Content Delivery Network (CDN)
CN103780714B (en) The detection method of a kind of dns server and device
EP3322156A1 (en) 302 jump method, url generation method and system, and domain name resolution method and system
CN107113337B (en) Method and system for network content delivery
WO2017012475A1 (en) Data acquisition method and device
CN109474718B (en) Domain name resolution method and device
CN105100174A (en) Method, device and system for scheduling Internet resource
JP2014516499A5 (en)
CN106412063A (en) CDN node detection and resource scheduling system and method in education network
CN103873604A (en) Network access method based on analysis of CDN data
CN106210158B (en) Domain name resolution synchronization method and device
WO2016160623A1 (en) Advanced resource selection
CN102624914A (en) Method for detecting local DNS (Domain Name Server) used by client side in Web form
CN106789956B (en) A kind of P2P order method and system based on HLS
CN104935653A (en) Bypass cache method for visiting hot spot resource and device
US8713088B2 (en) Identifying users of remote sessions

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20150121