CN103905534A - Global load balancing method and device based on operator city information - Google Patents
Global load balancing method and device based on operator city information Download PDFInfo
- Publication number
- CN103905534A CN103905534A CN201410095735.7A CN201410095735A CN103905534A CN 103905534 A CN103905534 A CN 103905534A CN 201410095735 A CN201410095735 A CN 201410095735A CN 103905534 A CN103905534 A CN 103905534A
- Authority
- CN
- China
- Prior art keywords
- operator
- city
- informaiton
- address list
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a global load balancing method based on operator city information. The method particularly comprises the steps of S1, constructing an address list, S2, obtaining matched city and operator information by matching of a source address and the address list, and S3, conducting matching on the obtained city and operator information and city and operator information preset by each data center to obtain a matching result, and returning the matching result. According to the global load balancing method and device based on the operator city information, the corresponding address list among an operator, the city and an IP address section can be constructed, global load balancing equipment conducts scheduling according to the comparison between local configuration information and list layering, and a user have the access to the global resources more rapidly and reasonably. The invention further discloses a global load balancing device based on the operator city information.
Description
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of Whole load equalizing method and device based on operator's urban information.
Background technology
GSLB technology is mainly the multiple data centers in order to meet user different regions in global range, the same business that externally provides is provided, make the user of different location in the time of access service, be directed into optimum website, and still can access identical services on other websites in the time that single-site breaks down.Existing technology is mainly divided into two large classes:
One,, according to the mode of source address and tactful matched routings address list, DNS is redirected.Its core is address list and data center's binding.Address list is an address section list, and form is generally by the ascending or descending arrangement in address, as:
1.56.0.0-1.63.255.255
1.188.0.0-1.191.255.255
14.196.0.0-14.197.255.255
14.204.0.0-14.205.255.255
27.8.0.0-27.15.255.255
Data center can distinguish by ID or IP, and address list is generally bundled in data center, and the message of list of matches source address is scheduled for this data center.Some realizations also can, by multiple data center sides in a pond, share an address list, dispatch by poll or Hash scheduling algorithm.
Two, carry out the detection of nearly property according to some data center's node, the parameters such as comprehensive time delay determine which website provides service.Its core is healthprobe technology.Detection by data dispatching center to access originator, obtain the parameter such as response delay of surveying, in conjunction with data center's existing resource service condition, dynamically adjust the result of dispatching out, its phenomenon showing be same source in the time that different time is accessed, the data center of dispatching out may be different.
Further, existing Whole load equalizing method, is redirected by DNS.The modes such as detection source network proximity, are finally dispatched to a rational global data center according to load-balancing algorithm, make user with fast access resource service.This result of dispatching out by load-balancing algorithm is often for the optimal solution of data center but not for user, and the large performance of resource consumption is low, and when data center position or interface variation, configuration is changed greatlyr, and existing method has following shortcoming in detail:
What 1, often dispatch out by the redirected mode of DNS is not the optimum website for user.
2, by the method for surveying, waste a large amount of resources on detecting user close.
3, when network state fluctuation is larger, the result detecting is often inaccurate, does not have a reference value.
4,, in the time of data center's shift in position or interface variation, to GSLB, configuration is changed larger.
Summary of the invention
Technical problem to be solved by this invention is that how resource consumption is little, performance is high, the problem that when data center position or interface variation, the GSLB of less realization based on operator's urban information changed in configuration.
For this purpose, the present invention proposes a kind of Whole load equalizing method based on operator's urban information, described method specifically comprises:
S1: structure address list, wherein said address list comprises operator, city and IP address;
S2: by address list described in source address matches, obtain the city, the operator's informaiton that match;
S3: the described city getting, operator's informaiton described city, the operator's informaiton pre-configured with each data center are mated and obtain matching result, and described matching result is returned.
Further, after described step S1, comprise: the described city, the operator's informaiton parameter that configure the outlet of described each data center.
Particularly, multi-layer division is carried out in described city.
For this purpose, the invention allows for a kind of GSLB device based on operator's urban information, comprising:
Constructing module, for constructing address list, wherein said address list comprises operator, city and IP address;
Acquisition module, for by address list described in source address matches, obtains the city, the operator's informaiton that match;
Matching module, for the described city getting, operator's informaiton described city, the operator's informaiton pre-configured with each data center are mated and obtain matching result, and returns to described matching result.
Further, also comprise:
Parameter configuration module, for configuring described city, the operator's informaiton parameter of the outlet of described each data center.
Further, also comprise:
Grade classification module, for carrying out multi-layer division to described city.
By adopting a kind of Whole load equalizing method based on operator's urban information disclosed in this invention, by operator being distinguished and its city, place IP information being carried out to successively classification, can construct an operator and city, the corresponding address list of IP address section, GSLB equipment is relatively dispatched according to local configuration information and list layering, is that user sooner, more reasonably accesses global resource.The invention also discloses a kind of GSLB device based on operator's urban information.
Accompanying drawing explanation
Can more clearly understand the features and advantages of the present invention by reference to accompanying drawing, accompanying drawing is schematically to should not be construed as the present invention is carried out to any restriction, in the accompanying drawings:
Fig. 1 shows the flow chart of steps of a kind of Whole load equalizing method based on operator's urban information in the embodiment of the present invention;
Fig. 2 shows the structure chart of a kind of GSLB device based on operator's urban information in the embodiment of the present invention.。
Embodiment
Below in conjunction with accompanying drawing, embodiments of the present invention is described in detail.
As shown in Figure 1, in the embodiment of the present invention, provide a kind of Whole load equalizing method based on operator's urban information, specifically comprised the following steps:
Step S1: structure address list, wherein address list comprises operator, city and IP address.
Step S2: by source address matches address list, obtain the city, the operator's informaiton that match.
Step S3: the city getting, operator's informaiton city, the operator's informaiton pre-configured with each data center are mated and obtain matching result, and matching result is returned.
Further, after step S1, comprise: configure city, the operator's informaiton parameter of the outlet of each data center, the present invention configures the city of each data center outlet, the mode of operator's informaiton parameter is but is not limited to city to carry out multi-layer division.
As shown in Figure 2, in the embodiment of the present invention, provide a kind of GSLB device 20 based on operator's urban information, having comprised: constructing module 201, acquisition module 202 and matching module 203.
Particularly, constructing module 201 is for constructing address list, and wherein address list comprises operator, city and IP address; Acquisition module 202, for by source address matches address list, obtains the city, the operator's informaiton that match; Matching module 203 is for the city getting, operator's informaiton city, the operator's informaiton pre-configured with each data center are mated and obtain matching result, and matching result is returned.
Further, also comprise: parameter configuration module 204 is for configuring city, the operator's informaiton parameter of the outlet of each data center, and grade classification module 205 is for carrying out multi-layer division to city.
Understand and a kind of Whole load equalizing method based on operator's urban information of applying the present invention's proposition for better, carry out following giving an example:
Particularly, in address list of the present invention, distinguish operator by file name, for example ISP_ChinaTelecom.txt represents China Telecom, and ISP_ChinaMobile.txt represents China Mobile, can judgement place be then which operator according to the file name matching.
Further, in the address list based on operator, content mainly comprises city, IP address range two parts, and wherein classification can be continued in city, and inclusion relation is presented as in IP address in list, and its form is as follows:
1.0.0.0-1.255.255.255 Chinese
2.0.0.0-2.255.255.255 Chinese
1.1.0.0-1.1.255.255 China-Beijing
2.1.0.0-2.1.255.255 China-Beijing
1.1.1.0-1.1.1.255 China-Beijing-Chaoyang District
2.1.1.0-2.1.1.255 China-Beijing-Chaoyang District
1.1.2.0-1.1.2.255 China-Beijing-Tongzhou District
2.1.2.0-2.1.2.255 China-Beijing-Tongzhou District
1.2.0.0-1.2.255.255 China-Tianjin
Further, when actual configuration address list, also can continue to optimize, IP is arranged according to a definite sequence, by certain algorithmic match to Downward match no longer after the result of wanting.
Wherein, urban information is take the longest coupling as optimal result, for example three DC1 of data center,
The urban information that DC2, DC3 configure be respectively " China-Tianjin ", " China-Beijing ",
" China-Beijing-Chaoyang District ", in the time that the source IP packet that is 1.1.1.100 arrives,
Having 3 mates with it:
1.0.0.0-1.255.255.255 Chinese
1.1.0.0-1.1.255.255 China-Beijing
1.1.1.0-1.1.1.255 China-Beijing-Chaoyang District
Relatively these three records find that the longest coupling is " China-Beijing-Chaoyang District ", and the data center matching is DC3.
Can be read a book by above-mentioned example, the present invention distinguishes operator's informaiton, in list, has increased the urban information of classification with address list file name, although increased some redundancies, dispatch the result that matches more accurately rationally according to user source IP, the cost of cost is less.Particularly, little because the geographical location information of IP address section changes, the present invention can be mated more accurately, and scheduling matches optimal data center, and this result is the optimal solution for user.
Further, the present invention is operator and the city, place that judgement provides service according to user source IP, address list is easy to equally safeguard and revises, do not need dynamic instrumentation, reduced resource consumption, rely on less to network environment, simultaneously, in the time that data center geographical position, interface etc. change, only need revise the parameter in city, place, configure more convenient, flexible, easy-to-use.
By adopting a kind of Whole load equalizing method based on operator's urban information disclosed in this invention, by operator being distinguished and its city, place IP information being carried out to successively classification, can construct an operator and city, the corresponding address list of IP address section, GSLB equipment is relatively dispatched according to local configuration information and list layering, is that user sooner, more reasonably accesses global resource.The invention also discloses a kind of GSLB device based on operator's urban information.
Although described by reference to the accompanying drawings embodiments of the present invention, but those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, such modification and modification all fall into by within claims limited range.
Claims (6)
1. the Whole load equalizing method based on operator's urban information, is characterized in that, described method specifically comprises:
S1: structure address list, wherein said address list comprises operator, city and IP address;
S2: by address list described in source address matches, obtain the city, the operator's informaiton that match;
S3: the described city getting, operator's informaiton described city, the operator's informaiton pre-configured with each data center are mated and obtain matching result, and described matching result is returned.
2. the method for claim 1, is characterized in that, after described step S1, comprises: the described city, the operator's informaiton parameter that configure the outlet of described each data center.
3. the method for claim 1, is characterized in that, multi-layer division is carried out in described city.
4. the GSLB device based on operator's urban information, is characterized in that, comprising:
Constructing module, for constructing address list, wherein said address list comprises operator, city and IP address;
Acquisition module, for by address list described in source address matches, obtains the city, the operator's informaiton that match;
Matching module, for the described city getting, operator's informaiton described city, the operator's informaiton pre-configured with each data center are mated and obtain matching result, and returns to described matching result.
5. device as claimed in claim 4, is characterized in that, also comprises:
Parameter configuration module, for configuring described city, the operator's informaiton parameter of the outlet of described each data center.
6. device as claimed in claim 4, is characterized in that, also comprises:
Grade classification module, for carrying out multi-layer division to described city.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410095735.7A CN103905534A (en) | 2014-03-14 | 2014-03-14 | Global load balancing method and device based on operator city information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410095735.7A CN103905534A (en) | 2014-03-14 | 2014-03-14 | Global load balancing method and device based on operator city information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103905534A true CN103905534A (en) | 2014-07-02 |
Family
ID=50996689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410095735.7A Pending CN103905534A (en) | 2014-03-14 | 2014-03-14 | Global load balancing method and device based on operator city information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103905534A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018184302A1 (en) * | 2017-04-06 | 2018-10-11 | 平安科技(深圳)有限公司 | Data transmission method, system, virtual load balancer and readable storage medium |
CN110830309A (en) * | 2019-11-22 | 2020-02-21 | 北京麦哲科技有限公司 | Intelligent distribution device and method for network server |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070204035A1 (en) * | 2000-03-07 | 2007-08-30 | Nippon Telegraph And Telephone Corporation | Semantic information network (SION) |
CN101420337A (en) * | 2007-10-26 | 2009-04-29 | 北大方正集团有限公司 | Method, device and indexing server for resource positioning |
CN101764747A (en) * | 2009-12-24 | 2010-06-30 | 北京世纪互联宽带数据中心有限公司 | Intelligent dispatching method, device and system of content delivery network flow |
CN101989986A (en) * | 2010-10-28 | 2011-03-23 | 北京瑞汛世纪科技有限公司 | Method for inquiring service node, server and system |
EP2530899A1 (en) * | 2010-10-19 | 2012-12-05 | Huawei Technologies Co., Ltd. | Method and node for obtaining the content and content network |
CN103166985A (en) * | 2011-12-09 | 2013-06-19 | 上海盛霄云计算技术有限公司 | Global load balancing scheduling method and data transmission method and device and system |
-
2014
- 2014-03-14 CN CN201410095735.7A patent/CN103905534A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070204035A1 (en) * | 2000-03-07 | 2007-08-30 | Nippon Telegraph And Telephone Corporation | Semantic information network (SION) |
CN101420337A (en) * | 2007-10-26 | 2009-04-29 | 北大方正集团有限公司 | Method, device and indexing server for resource positioning |
CN101764747A (en) * | 2009-12-24 | 2010-06-30 | 北京世纪互联宽带数据中心有限公司 | Intelligent dispatching method, device and system of content delivery network flow |
EP2530899A1 (en) * | 2010-10-19 | 2012-12-05 | Huawei Technologies Co., Ltd. | Method and node for obtaining the content and content network |
CN101989986A (en) * | 2010-10-28 | 2011-03-23 | 北京瑞汛世纪科技有限公司 | Method for inquiring service node, server and system |
CN103166985A (en) * | 2011-12-09 | 2013-06-19 | 上海盛霄云计算技术有限公司 | Global load balancing scheduling method and data transmission method and device and system |
Non-Patent Citations (1)
Title |
---|
思杰(CITRIX)系统亚太有限公司: "Citrix NetScaler 全局负载均衡解决方案", 《百度文库》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018184302A1 (en) * | 2017-04-06 | 2018-10-11 | 平安科技(深圳)有限公司 | Data transmission method, system, virtual load balancer and readable storage medium |
US10693785B2 (en) | 2017-04-06 | 2020-06-23 | Ping An Technology (Shenzhen) Co., Ltd. | Method and system for forwarding data, virtual load balancer, and readable storage medium |
CN110830309A (en) * | 2019-11-22 | 2020-02-21 | 北京麦哲科技有限公司 | Intelligent distribution device and method for network server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10992535B2 (en) | Hybrid cloud integration fabric and ontology for integration of data, applications, and information technology infrastructure | |
US10275232B1 (en) | Architecture for incremental deployment | |
CN110896355B (en) | Network slice selection method and device | |
CN105917632B (en) | Method for scalable distributed network traffic analysis in telecommunications | |
EP2901308B1 (en) | Load distribution in data networks | |
CN102217273B (en) | Systems and methods for application fluency policies | |
US10034222B2 (en) | System and method for mapping a service-level topology to a service-specific data plane logical topology | |
CN104125208B (en) | Data transmission method and device | |
Chen et al. | Reinforcement learning–based QoS/QoE‐aware service function chaining in software‐driven 5G slices | |
CN110249596A (en) | The learning skill of the classification and priority ranking based on QOS for SAAS application | |
US20140280803A1 (en) | Optimized Content Distribution Based on Metrics Derived from the End User | |
US20100312891A1 (en) | Utilizing affinity groups to allocate data items and computing resources | |
CN108353040A (en) | system and method for distributed packet scheduling | |
US9459897B2 (en) | System and method for providing data analysis service in cloud environment | |
CN102783090A (en) | Systems and methods for object rate limiting in a multi-core system | |
CN103119907A (en) | Systems and methods for providing a smart group | |
CN103685583A (en) | Method and system for resolving domain names | |
US9338595B1 (en) | Location-based mobile object management in a distributed cloud for enhancing access and performance | |
CN110113399A (en) | Load balancing management method and relevant apparatus | |
US9229740B1 (en) | Cache-assisted upload proxy | |
CN103746934A (en) | CDN bandwidth balancing method, CDN control center and system | |
CN103945000A (en) | Load balance method and load balancer | |
US10334013B2 (en) | Avoiding web request failures before they occur by component analysis | |
CN103329493B (en) | For the method and apparatus avoiding bandwidth of memory to utilize during packet transaction | |
US10911314B2 (en) | Systems and methods for determining entry points for mapping a network |
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: 20140702 |