CN103037025B - Multilink self adaptation dns resolution equipment - Google Patents
Multilink self adaptation dns resolution equipment Download PDFInfo
- Publication number
- CN103037025B CN103037025B CN201210516710.0A CN201210516710A CN103037025B CN 103037025 B CN103037025 B CN 103037025B CN 201210516710 A CN201210516710 A CN 201210516710A CN 103037025 B CN103037025 B CN 103037025B
- Authority
- CN
- China
- Prior art keywords
- module
- address
- domain name
- dns
- link
- 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.)
- Expired - Fee Related
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Multilink self adaptation dns resolution equipment, it relates to Internet communication technology field; Its DNS request module (1) is connected with dns resolution module (2), dns resolution module (2) is connected with link analysis module (3), link analysis module (3) is connected with routing scheduling module (4), and routing scheduling module (4) is connected with DNS respond module (5).It can carry out domain name mapping adjustment according to link and server state self-adaption, resolve to user side most suitable server ip, not only ensure that the speed that user accesses but also optimize outbound, improve link-access performance, dns resolution and link scheduling are united two into one, not only ensure that the access to netwoks speed of client but also the optimization achieved outbound and scheduling.
Description
Technical field:
The present invention relates to Internet communication technology field, be specifically related to a kind of multilink self adaptation dns resolution method and apparatus.
Background technology:
Along with the fast development of the Internet is with universal, the application based on the Internet is increasing, and how fast access the Internet becomes a lot of enterprise, unit issues that need special attention.Although access can be realized by an ISP accessing Internet, be difficult to ensure because the bottleneck existed between each ISP causes some Internet resources to access effect.
For addressing this problem, some enterprises and unit, by multiple ISP link accessing Internet, achieve good effect.From some Research Literatures both domestic and external, if the ISP of access more than three, then access efficiency can improve 20%-25%.But because user side can only adopt static routing mode accesses network, make the performance that really cannot play multilink access.
Summary of the invention:
The object of this invention is to provide a kind of multilink self adaptation dns resolution equipment, it can carry out domain name mapping adjustment according to link and server state self-adaption, resolve to user side most suitable server ip, not only ensure that the speed that user accesses but also optimize outbound, improve link-access performance, dns resolution and link scheduling are united two into one, not only ensure that the access to netwoks speed of client but also the optimization achieved outbound and scheduling.
In order to solve the problem existing for background technology, the present invention adopts following technical scheme: it comprises DNS request module 1, dns resolution module 2, link analysis module 3, routing scheduling module 4, DNS respond module 5, DNS request module 1 is connected with dns resolution module 2, dns resolution module 2 is connected with link analysis module 3, link analysis module 3 is connected with routing scheduling module 4, and routing scheduling module 4 is connected with DNS respond module 5, the DNS name resolution request that described DNS request module 1 sends for monitoring client, obtains domain name to be resolved, and this domain name is sent to dns resolution module, concrete operations flow process is: the domain name mapping request starting → monitor client, obtain domain name to be resolved → by domain name and send dns resolution module → return to, described dns resolution module 2 receives the domain name to be resolved that DNS request module sends over, nslookup resolution data storehouse, if existing resolving information, then direct taking-up from database resolves IP set, sends to DNS respond module, if without this domain name in domain name mapping database, then it is resolved in detail, obtain all application server IPs of this domain name in each link deploy, comprise each application server IP on same link and the application server IP on different link, form IP address set, this IP address set is sent to link analysis module, concrete operations flow process is: the domain name to be resolved that beginning → reception DNS request module sends → inquiry home domain name parsing storehouse → existence → obtain this domain name mapping IP from database, sends to DNS respond module, there is not → send from the name server of each this domain name of bar chain road direction respectively the parsing IP of this domain name of analysis request → obtain from each bar link, form IP address set, send to link analysis module, described link analysis module 3 receives the IP address set that dns resolution module sends, do time delay end to end from each chain way outlet respectively to each IP address in set to detect, the time delay of hop count detects, the detection of outlet bandwidth time delay, each IP address obtains three master datas: end-to-end delay, routing delay and outlet time delay, these data are carried out addition calculation by certain weights or ratio and obtains the final delay time, was sorted from small to large according to time of delay in each IP address, and determine that the final IP address set returning to user is stored in database according to predefined rule, link analysis module can also be carried out timing to the information in domain name mapping database and detected and upgrade, to ensure accuracy and the actual effect of data, concrete operations flow process is: start → obtain IP address set that dns resolution module sends or timing from storehouse, read the IP address set in territory to be updated → carry out information detection to each IP address, each IP address obtains three master datas: the average delay time obtaining each IP after end-to-end delay, routing delay and outlet time delay → be weighted these three data, after temporally being sorted in IP address according to setting rule stored in domain name mapping database, and send to respond module → return, IP address set in described routing scheduling module 4 pairs of domain name mapping databases carries out the judgement and the selection that export default route: if optimum IP address route is default route, does not need scheduling, if optimum IP address route is not default route, route adjustment is carried out to the IP address field at IP place and judges: if meet regulation rule, then the default route of this IP address field is dispatched in optimum link, and this IP address field flag information is reset, otherwise revise the flag information of this IP address field, but do not carry out routing scheduling, concrete operations flow process for: whether be default route export, if it is do not need to adjust if starting → obtaining to export selected by IP address set → inquiry high priority IP address that IP address set/timing that link analysis module sends reads territory to be updated from storehouse, if regulate several IP of judgement → IP address section to be the high IP of priority if not then carrying out route, and the access times of these IP and quantity reach the threshold value preset, then this IP address field is carried out route adjustment, and by counter O reset, otherwise counter is added one, but does not carry out adjusting → returning, the optimum IP address parsed is returned to client by described DNS respond module 5, concrete operations flow process is: the IP address → by this IP address starting → monitor to send over sends to client → return.
The present invention can carry out domain name mapping adjustment according to link and server state self-adaption, resolve to user side most suitable server ip, not only ensure that the speed that user accesses but also optimize outbound, improve link-access performance, dns resolution and link scheduling are united two into one, not only ensure that the access to netwoks speed of client but also the optimization achieved outbound and scheduling.
Accompanying drawing illustrates:
Fig. 1 is structural representation of the present invention,
Fig. 2 is the flow chart of DNS request module 1 in the present invention,
Fig. 3 is the flow chart of dns resolution module 2 in the present invention,
Fig. 4 is the flow chart of link analysis module 3 of the present invention,
Fig. 5 is the flow chart of route scheduler module 4 in the present invention,
Fig. 6 is the flow chart of DNS respond module 5 in the present invention.
Embodiment:
Referring to Fig. 1-Fig. 6, this embodiment adopts following technical scheme: it comprises DNS request module 1, dns resolution module 2, link analysis module 3, routing scheduling module 4, DNS respond module 5, DNS request module 1 is connected with dns resolution module 2, dns resolution module 2 is connected with link analysis module 3, link analysis module 3 is connected with routing scheduling module 4, and routing scheduling module 4 is connected with DNS respond module 5, the DNS name resolution request that described DNS request module 1 sends for monitoring client, obtains domain name to be resolved, and this domain name is sent to dns resolution module, concrete operations flow process is: the domain name mapping request starting → monitor client, obtain domain name to be resolved → by domain name and send dns resolution module → return to, described dns resolution module 2 receives the domain name to be resolved that DNS request module sends over, nslookup resolution data storehouse, if existing resolving information, then direct taking-up from database resolves IP set, sends to DNS respond module, if without this domain name in domain name mapping database, then it is resolved in detail, obtain all application server IPs of this domain name in each link deploy, comprise each application server IP on same link and the application server IP on different link, form IP address set, this IP address set is sent to link analysis module, concrete operations flow process is: the domain name to be resolved that beginning → reception DNS request module sends → inquiry home domain name parsing storehouse → existence → obtain this domain name mapping IP from database, sends to DNS respond module, there is not → send from the name server of each this domain name of bar chain road direction respectively the parsing IP of this domain name of analysis request → obtain from each bar link, form IP address set, send to link analysis module, described link analysis module 3 receives the IP address set that dns resolution module sends, do time delay end to end from each chain way outlet respectively to each IP address in set to detect, the time delay of hop count detects, the detection of outlet bandwidth time delay, each IP address obtains three master datas: end-to-end delay, routing delay and outlet time delay, these data are carried out addition calculation by certain weights or ratio and obtains the final delay time, was sorted from small to large according to time of delay in each IP address, and determine that the final IP address set returning to user is stored in database according to predefined rule, link analysis module can also be carried out timing to the information in domain name mapping database and detected and upgrade, to ensure accuracy and the actual effect of data, concrete operations flow process is: start → obtain IP address set that dns resolution module sends or timing from storehouse, read the IP address set in territory to be updated → carry out information detection to each IP address, each IP address obtains three master datas: the average delay time obtaining each IP after end-to-end delay, routing delay and outlet time delay → be weighted these three data, after temporally being sorted in IP address according to setting rule stored in domain name mapping database, and send to respond module → return, IP address set in described routing scheduling module 4 pairs of domain name mapping databases carries out the judgement and the selection that export default route: if optimum IP address route is default route, does not need scheduling, if optimum IP address route is not default route, route adjustment is carried out to the IP address field at IP place and judges: if meet regulation rule, then the default route of this IP address field is dispatched in optimum link, and this IP address field flag information is reset, otherwise revise the flag information of this IP address field, but do not carry out routing scheduling, concrete operations flow process for: whether be default route export, if it is do not need to adjust if starting → obtaining to export selected by IP address set → inquiry high priority IP address that IP address set/timing that link analysis module sends reads territory to be updated from storehouse, if regulate several IP of judgement → IP address section to be the high IP of priority if not then carrying out route, and the access times of these IP and quantity reach the threshold value preset, then this IP address field is carried out route adjustment, and by counter O reset, otherwise counter is added one, but does not carry out adjusting → returning, the optimum IP address parsed is returned to client by described DNS respond module 5, concrete operations flow process is: the IP address → by this IP address starting → monitor to send over sends to client → return.
This embodiment can carry out domain name mapping adjustment according to link and server state self-adaption, resolve to user side most suitable server ip, not only ensure that the speed that user accesses but also optimize outbound, improve link-access performance, dns resolution and link scheduling are united two into one, not only ensure that the access to netwoks speed of client but also the optimization achieved outbound and scheduling.
Claims (1)
1. multilink self adaptation dns resolution equipment, it is characterized in that it comprises DNS request module (1), dns resolution module (2), link analysis module (3), routing scheduling module (4), DNS respond module (5), DNS request module (1) is connected with dns resolution module (2), dns resolution module (2) is connected with link analysis module (3), link analysis module (3) is connected with routing scheduling module (4), and routing scheduling module (4) is connected with DNS respond module (5), the DNS name resolution request that described DNS request module (1) sends for monitoring client, obtains domain name to be resolved, and this domain name is sent to dns resolution module, concrete operations flow process is: the domain name mapping request starting → monitor client, obtain domain name to be resolved → by domain name and send dns resolution module → return to, described dns resolution module (2) receives the domain name to be resolved that DNS request module sends over, nslookup resolution data storehouse, if existing resolving information, then direct taking-up from database resolves IP set, sends to DNS respond module, if without this domain name in domain name mapping database, then it is resolved in detail, obtain all application server IPs of this domain name in each link deploy, comprise each application server IP on same link and the application server IP on different link, form IP address set, this IP address set is sent to link analysis module, concrete operations flow process is: the domain name to be resolved that beginning → reception DNS request module sends → inquiry home domain name parsing storehouse → existence → obtain this domain name mapping IP from database, sends to DNS respond module, there is not → send from the name server of each this domain name of bar chain road direction respectively the parsing IP of this domain name of analysis request → obtain from each bar link, form IP address set, send to link analysis module, described link analysis module (3) receives the IP address set that dns resolution module sends, do time delay end to end from each chain way outlet respectively to each IP address in set to detect, the time delay of hop count detects, the detection of outlet bandwidth time delay, each IP address obtains three master datas: end-to-end delay, routing delay and outlet time delay, these data are carried out addition calculation by certain weights or ratio and obtains the final delay time, was sorted from small to large according to time of delay in each IP address, and determine that the final IP address set returning to user is stored in database according to predefined rule, link analysis module can also be carried out timing to the information in domain name mapping database and detected and upgrade, to ensure accuracy and the actual effect of data, concrete operations flow process is: start → obtain IP address set that dns resolution module sends or timing from storehouse, read the IP address set in territory to be updated → carry out information detection to each IP address, each IP address obtains three master datas: the average delay time obtaining each IP after end-to-end delay, routing delay and outlet time delay → be weighted these three data, after temporally being sorted in IP address according to setting rule stored in domain name mapping database, and send to respond module → return, described routing scheduling module (4) carries out to the IP address set in domain name mapping database the judgement and the selection that export default route: if optimum IP address route is default route, does not need scheduling, if optimum IP address route is not default route, route adjustment is carried out to the IP address field at IP place and judges: if meet regulation rule, then the default route of this IP address field is dispatched in optimum link, and this IP address field flag information is reset, otherwise revise the flag information of this IP address field, but do not carry out routing scheduling, concrete operations flow process for: whether be default route export, if it is do not need to adjust if starting → obtaining to export selected by IP address set → inquiry high priority IP address that IP address set/timing that link analysis module sends reads territory to be updated from storehouse, if regulate several IP of judgement → IP address section to be the high IP of priority if not then carrying out route, and the access times of these IP and quantity reach the threshold value preset, then this IP address field is carried out route adjustment, and by counter O reset, otherwise counter is added one, but does not carry out adjusting → returning, the optimum IP address parsed is returned to client by described DNS respond module (5), concrete operations flow process is: the IP address → by this IP address starting → monitor to send over sends to client → return.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210516710.0A CN103037025B (en) | 2012-11-21 | 2012-11-21 | Multilink self adaptation dns resolution equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210516710.0A CN103037025B (en) | 2012-11-21 | 2012-11-21 | Multilink self adaptation dns resolution equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103037025A CN103037025A (en) | 2013-04-10 |
CN103037025B true CN103037025B (en) | 2016-03-30 |
Family
ID=48023493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210516710.0A Expired - Fee Related CN103037025B (en) | 2012-11-21 | 2012-11-21 | Multilink self adaptation dns resolution equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103037025B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107395683A (en) * | 2017-06-26 | 2017-11-24 | 网宿科技股份有限公司 | The system of selection of a kind of time source path and server |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104253873B (en) * | 2013-06-25 | 2017-03-22 | 腾讯科技(深圳)有限公司 | Domain name access method, terminal and domain name access system |
CN103532852B (en) * | 2013-10-11 | 2017-12-19 | 小米科技有限责任公司 | A kind of routing scheduling method, device and the network equipment |
CN103685611A (en) * | 2013-12-31 | 2014-03-26 | 山石网科通信技术有限公司 | Network access processing method and device |
CN105897822B (en) * | 2015-11-11 | 2019-07-26 | 法法汽车(中国)有限公司 | A kind of content distributing network CDN node selection method and its device |
CN108156642B (en) * | 2016-12-02 | 2021-04-23 | 联芯科技有限公司 | Method and system for coexistence of mobile network and WiFi network and mobile terminal |
CN106790647B (en) * | 2017-01-15 | 2020-06-23 | 网宿科技股份有限公司 | Method and system for self-adaptive service management |
CN109787907A (en) * | 2017-11-14 | 2019-05-21 | 北京星河星云信息技术有限公司 | A kind of cloud intelligent DNS scheduling system and its user's access and domain name analytic method |
CN112565481B (en) * | 2018-11-21 | 2022-04-12 | Oppo广东移动通信有限公司 | Electronic equipment, domain name query method and related product |
CN114500456B (en) * | 2020-10-23 | 2024-01-12 | 中国移动通信集团河北有限公司 | DNS (Domain name System) scheduling optimization method and device based on whole network sniffing and computing equipment |
CN112532765B (en) * | 2020-12-14 | 2023-04-11 | 广东睿江云计算股份有限公司 | Network access method and system thereof |
CN113572863A (en) * | 2021-07-21 | 2021-10-29 | 江南信安(北京)科技有限公司 | Application acceleration method and system based on dynamic routing protocol |
CN117097698A (en) * | 2023-08-29 | 2023-11-21 | 江南信安(北京)科技有限公司 | Network acceleration method and device based on DNS protocol, storage medium and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101340327A (en) * | 2008-08-21 | 2009-01-07 | 腾讯科技(深圳)有限公司 | Method, system and domain name parsing server implementing load balance of network server |
CN101764855A (en) * | 2009-12-30 | 2010-06-30 | 福建星网锐捷网络有限公司 | Method, device and system for providing domain name resolution services |
-
2012
- 2012-11-21 CN CN201210516710.0A patent/CN103037025B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101340327A (en) * | 2008-08-21 | 2009-01-07 | 腾讯科技(深圳)有限公司 | Method, system and domain name parsing server implementing load balance of network server |
CN101764855A (en) * | 2009-12-30 | 2010-06-30 | 福建星网锐捷网络有限公司 | Method, device and system for providing domain name resolution services |
Non-Patent Citations (1)
Title |
---|
多出口服务访问技术的研究与实现;张仁伟等;《信息技术》;20100531;全文 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107395683A (en) * | 2017-06-26 | 2017-11-24 | 网宿科技股份有限公司 | The system of selection of a kind of time source path and server |
Also Published As
Publication number | Publication date |
---|---|
CN103037025A (en) | 2013-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103037025B (en) | Multilink self adaptation dns resolution equipment | |
CN102932451B (en) | A kind of resolution system for content distributing network | |
AU2011101543A4 (en) | Tailoring content based on available bandwidth | |
CN101616079B (en) | NAT outlet link load balancing method and device of DNS request message | |
CN101232511B (en) | Distribution of network communications based on server power consumption | |
CN103746929A (en) | Optimal access flow scheduling method based on DNS (Domain Name System) and optimal access flow scheduling equipment based on DNS | |
CN103824442B (en) | A kind of power information real time inquiry system based on electric power Internet of Things | |
CN106412063B (en) | CDN node detection and resource scheduling system and method in education network | |
CN104821965B (en) | DNS intelligently parsing methods based on egress network | |
CN101989951A (en) | Method, system and equipment for selecting service node | |
CN104168316B (en) | A kind of Webpage access control method, gateway | |
CN101764855A (en) | Method, device and system for providing domain name resolution services | |
CN102244613A (en) | DNS (domain name system)-based multilink traffic balancing method, gateway and network | |
CN101610294A (en) | A kind of method of utilizing intelligent DNS to improve website visiting speed | |
CN108429701A (en) | network acceleration system | |
CN103338279A (en) | Optimal sorting method and system based on domain name resolution | |
CN103873604B (en) | Network access method based on analysis of CDN data | |
CN102447719A (en) | Dynamic load balancing information processing system for Web GIS service | |
US20120210002A1 (en) | Dynamic walled garden | |
CN108989487A (en) | CDN Optimization Scheduling based on local dns | |
US20120278445A1 (en) | Load balancing system | |
CN102780791A (en) | Self-adaption IP (Internet Protocol) method, device and system | |
CN104734869A (en) | Intelligent DNS domain name system and method based on dynamic detection | |
CN101895550B (en) | Cache accelerating method for compatibility of dynamic and static contents of internet website | |
CN104270371A (en) | CDN cache server selecting method based on fuzzy logic |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160330 Termination date: 20181121 |
|
CF01 | Termination of patent right due to non-payment of annual fee |