CN108881516A - A kind of method and apparatus for dispatching more CDN service systems - Google Patents

A kind of method and apparatus for dispatching more CDN service systems Download PDF

Info

Publication number
CN108881516A
CN108881516A CN201810847479.0A CN201810847479A CN108881516A CN 108881516 A CN108881516 A CN 108881516A CN 201810847479 A CN201810847479 A CN 201810847479A CN 108881516 A CN108881516 A CN 108881516A
Authority
CN
China
Prior art keywords
view
target
cache server
under
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.)
Granted
Application number
CN201810847479.0A
Other languages
Chinese (zh)
Other versions
CN108881516B (en
Inventor
曹聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201810847479.0A priority Critical patent/CN108881516B/en
Publication of CN108881516A publication Critical patent/CN108881516A/en
Application granted granted Critical
Publication of CN108881516B publication Critical patent/CN108881516B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Abstract

The invention discloses a kind of method and apparatus for dispatching more CDN service systems, belong to Internet technical field.The method includes:According to default view information and the preparatory access domain name in each CDN service system for the configuration of target domain name, the analysis request to the access domain name under each view is initiated to the authoritative DNS of each CDN service system;The parsing result for carrying the IP address under each view that each CDN service system returns is received, the buffer service quality of cache server corresponding to the IP address under each view is monitored;When receiving the target domain name analysis request to the target domain name, the corresponding target view of the target domain name analysis request is determined, return to target ip address.Using the present invention, scheduling quality can be improved.

Description

A kind of method and apparatus for dispatching more CDN service systems
Technical field
The present invention relates to Internet technical field, in particular to a kind of method and apparatus for dispatching more CDN service systems.
Background technique
With continually developing for Internet technology, CDN (Content Delivery Network, content distributing network) clothes Business is also fast-developing therewith, correspondingly, the quantity of CDN service quotient is consequently increased.Some CDN clients often use multiple CDN The CDN service system that service provider provides carries out CDN acceleration to website, and it is each that these CDN clients can dispatch system monitoring by CDN The service quality of a CDN service system, the preferable CDN service system of real time dispatch service quality carry out CDN acceleration to website, In, above-mentioned service quality mainly includes DNS service quality and caching service quality, and DNS service quality can be based on CDN service system The factors such as dns resolution time of system, dns resolution accuracy rate obtain, and buffer service quality can be based on caching in CDN service system The factors such as cache responses time of server, cache contents hit rate obtain.
Above-mentioned CDN scheduling system can be the multiple CNAME of website domain name configuration for needing to carry out the website of CDN acceleration in advance (Canonical Name, canonical name), CNAME can be used as access of the above-mentioned website domain name in some CDN service system Domain name.When user passes through the website of the above-mentioned carry out CDN acceleration of terminal access, terminal can be to public DNS (Domain Name System, domain name system) domain name mapping request of the initiation to above-mentioned website domain name, later, public DNS can be to above-mentioned CDN tune Authoritative DNS in degree system initiates domain name analysis request, and then the authoritative DNS in CDN scheduling system can be by the website domain name Access domain name in certain CDN service system of scheduling returns to public DNS.In this way, public DNS can pass through above-mentioned input field Name initiates domain name analysis request to the authoritative DNS of the CDN service system of above-mentioned scheduling, and then public DNS can receive caching There is IP (Internet Protocol, Internet protocol) address of the cache server of above-mentioned web site contents, and by the IP Location feeds back to terminal, and then terminal can obtain the web site contents of above-mentioned cache server caching by accessing the IP address.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Public DNS firstly the need of the access domain name for getting CDN service system from the authoritative DNS in CDN scheduling system, Then the IP address that can be just got cache server from the authoritative DNS of CDN service system based on access domain name, is caused The dns resolution time is longer.In addition, if the DNS service of some CDN service system is second-rate, buffer service quality is preferable, Then CDN dispatches system and tends not to dispatch CDN service system offer CDN service, leads to not preferable to the CDN service system Buffer service made full use of.So the scheduling quality that CDN dispatches system is lower.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of methods for dispatching more CDN service systems And device.The technical solution is as follows:
In a first aspect, a kind of method for dispatching more CDN service systems is provided, the method includes:
According to default view information and the preparatory access in each CDN service system for the configuration of target domain name Domain name initiates asking under each view to the parsing of the access domain name to the authoritative DNS of each CDN service system It asks;
The parsing result for carrying the IP address under each view that each CDN service system returns is received, described in monitoring The buffer service quality of cache server corresponding to IP address under each view;
When receiving the target domain name analysis request to the target domain name, the target domain name analysis request pair is determined The target view answered returns to target ip address corresponding to cache server to be scheduled under the target view
Further, the buffer service matter of cache server corresponding to the IP address under monitoring each view After amount, further include:
According to the buffer service quality of cache server corresponding to the IP address under each view of monitoring, in advance Determine IP address corresponding to cache server to be scheduled under each view;
It is described to return to target ip address corresponding to cache server to be scheduled under the target view, including:
Under predetermined each view in IP address corresponding to cache server to be scheduled, described in lookup Target ip address corresponding to cache server to be scheduled under target view, and return it into.
It is further, described to return to target ip address corresponding to cache server to be scheduled under the target view, Including:
According to the buffer service quality of cache server corresponding to the IP address under the target view of monitoring, determine Target ip address corresponding to cache server to be scheduled under the target view, and return it into.
Further, the caching of cache server corresponding to the IP address under the target view according to monitoring Service quality determines target ip address corresponding to cache server to be scheduled under the target view, including:
The buffer service data of cache server corresponding to IP address under the target view based on monitoring calculate The mass fraction of each cache server under the target view;
Determine that the highest cache server of mass fraction is cache server to be scheduled under the target view, it will IP address corresponding to the cache server to be scheduled is determined as the target ip address.
Further, the method also includes:
When the parsing result is when retaining duration more than preset duration, again to described in the return parsing result The authoritative DNS of CDN service system initiates the analysis request to the access domain name under each view.
Second aspect, provides a kind of device for dispatching more CDN service systems, and described device includes:
Sending module, for being taken according to default view information and in advance for what target domain name configured in each CDN Access domain name in business system, to the authoritative DNS of each CDN service system initiate under each view to the access The analysis request of domain name;
Monitoring module, the parsing for carrying the IP address under each view returned for receiving each CDN service system As a result, monitoring the buffer service quality of cache server corresponding to the IP address under each view;
Determining module, for determining the target when receiving the target domain name analysis request to the target domain name Corresponding target view is requested in domain name mapping, returns to Target IP corresponding to cache server to be scheduled under the target view Address.
Further, the determining module is also used to:
According to the buffer service quality of cache server corresponding to the IP address under each view of monitoring, in advance Determine IP address corresponding to cache server to be scheduled under each view;
Under predetermined each view in IP address corresponding to cache server to be scheduled, described in lookup Target ip address corresponding to cache server to be scheduled under target view, and return it into.
Further, the determining module is also used to:
According to the buffer service quality of cache server corresponding to the IP address under the target view of monitoring, determine Target ip address corresponding to cache server to be scheduled under the target view, and return it into.
Further, the determining module is also used to:
The buffer service data of cache server corresponding to IP address under the target view based on monitoring calculate The mass fraction of each cache server under the target view;
Determine that the highest cache server of mass fraction is cache server to be scheduled under the target view, it will IP address corresponding to the cache server to be scheduled is determined as the target ip address.
Further, the sending module is also used to:
When the parsing result is when retaining duration more than preset duration, again to described in the return parsing result The authoritative DNS of CDN service system initiates the analysis request to the access domain name under each view.
The third aspect, provides a kind of controlling equipment, and the controlling equipment includes processor and memory, the memory In be stored at least one instruction, at least one section of program, code set or instruction set, at least one instruction, described at least one Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize that scheduling as described in relation to the first aspect is more The method of CDN service system.
Fourth aspect provides a kind of computer readable storage medium, at least one finger is stored in the storage medium Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or The method that instruction set is loaded by processor and executed to realize the more CDN service systems of scheduling as described in relation to the first aspect.
Technical solution bring beneficial effect provided in an embodiment of the present invention is:
In the present embodiment, public DNS only need to dispatch system to CDN and initiate domain name analysis request, can be directly obtained The IP address of the corresponding cache server of the domain name, without obtaining IP address from the CDN service system where cache server, So as to reduce the dns resolution time, the scheduling quality of CDN scheduling system is improved.In addition, CDN, which dispatches system, is dispatching more CDN When service system provides CDN service, the buffer service quality of each CDN service system need to be only considered, so as to make full use of The buffer service of each CDN service system, especially DNS service be second-rate and the preferable CDN service system of buffer service quality System, and then the scheduling quality of CDN scheduling system can be improved.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of network scenarios figure provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram for dispatching more CDN service systems provided in an embodiment of the present invention;
Fig. 3 is a kind of apparatus structure schematic diagram for dispatching more CDN service systems provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of controlling equipment provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The embodiment of the invention provides a kind of method for dispatching more CDN service systems, the executing subject of this method can be Controlling equipment in CDN scheduling system, the cluster that controlling equipment can be single server or be made of multiple servers;CDN Scheduling system can voluntarily be built by CDN client, or be bought by CDN client from scheduling system service quotient;CDN client can be with CDN acceleration is carried out to own website jointly using multiple CDN service systems;CDN service system can be mentioned by each CDN service quotient For, the access request of user can be redirected into based on the access request of user by the cache server nearest from user, The cache server can be the server that user's request content is cached in CDN service system, and cache server is receiving After the access request of user, user's request content of caching can be returned into user.The controlling equipment that CDN dispatches system can be with According to the access request of different user, judged in above-mentioned multiple CDN service systems, real time dispatch service quality is preferable CDN service system handles the access request of user.Specific network scenarios can be as shown in Figure 1.It can be in above-mentioned controlling equipment Including processor, memory, transceiver, processor can be used for carrying out dispatching the processing of more CDN service systems in following processes, Memory can be used for storing the data of the data and generation that need in following treatment processes, transceiver can be used for receiving and Send the related data in following treatment processes.
Below in conjunction with specific embodiment, to a kind of processing stream for the method for dispatching more CDN service systems shown in Fig. 2 Journey is described in detail, and content can be as follows:
Step 201:According to default view information and in advance for target domain name configuration in each CDN service system Domain name is accessed, the analysis request to access domain name under each view is initiated to the authoritative DNS of each CDN service system.
In an implementation, controlling equipment can be based on CNAME technology, configure for each website domain name take in each CDN in advance Access domain name in business system will be illustrated below with target domain name to refer to website domain name, aiming field for ease of description Name can be any website domain name.For example, target domain name can be www.xxx.com, then the access that controlling equipment configures for it Domain name can be www.xxx.com.abc.com, www.xxx.com.def.com, access domain the * abc.com or * of domain name Def.com is belonging respectively to different CDN service systems.In addition, controlling equipment can store default view information, view is preset Specific view corresponding to can recorde different IP or IP sections in information, such as Beijing view, Guangdong view, controlling equipment are based on Default view information can simulate the domain name mapping request under different views, for example, can recorde Beijing in default view information The a certain dns address of telecommunications be 219.141.136.10, the corresponding view in the address can be Beijing view, Guangdong Telecom certain One dns address be 202.96.128.86, the corresponding view in the address can be Guangdong view, controlling equipment can simulate by 219.141.136.10 or 202.96.128.86 issues the technical effect of domain name mapping request, regards to simulate in Beijing Domain name mapping request under figure or Guangdong view.In this way, controlling equipment can be aiming field in conjunction with default view information and in advance The access domain name in each CDN service system of name configuration, is initiated to the authoritative DNS of each CDN service system to input field The analysis request of name.
Step 202:The parsing result for carrying the IP address under each view that each CDN service system returns is received, Monitor the buffer service quality of cache server corresponding to the IP address under each view.
In an implementation, controlling equipment to the authoritative DNS of each CDN service system initiate under each view to access After domain name mapping request, it can receive what each CDN service system was returned for the domain name mapping request under each view Parsing result, can carry the IP address under its some corresponding view in each parsing result, which can be with Corresponding to certain cache server in CDN service system.By taking CDN service system A, CDN service system B as an example, controlling equipment The access domain name mapping under Beijing view and Guangdong view can be initiated to the respective authority DNS of CDN service system A, B to ask It asks, after above-mentioned domain name mapping request is completed in the respective authority DNS processing of CDN service system A, B, controlling equipment be can receive The parsing result for carrying the IP address under the view of Beijing that CDN service system A is returned is with the IP carried under the view of Guangdong The parsing result for carrying the IP address under the view of Beijing and carry that the parsing result and CDN service system B of location return The parsing result of IP address under the view of Guangdong.Later, controlling equipment can monitor corresponding to the IP address under each view The buffer service quality of cache server, and corresponding buffer service data are recorded, as cache responses time, cache contents are hit Rate and caching cost etc..
Optionally, controlling equipment can predefine cache server to be scheduled, correspondingly, specific processing can be as Under:According to the buffer service quality of cache server corresponding to the IP address under each view of monitoring, predefine each IP address corresponding to cache server to be scheduled under view.
In an implementation, controlling equipment can be based on corresponding to the IP address under the above-mentioned each view recorded during monitoring Cache server buffer service data, the IP address institute got under each view that each CDN service system returns is right The buffer service quality for the cache server answered, then controlling equipment can be to the slow of each cache server under each view It deposits service quality to analyze and count, finds the top-quality cache server of buffer service under each view, and then dispatch and set It is standby can be by the top-quality cache server of buffer service under each view, the caching to be scheduled that is determined as under respective view Server, while determining the corresponding IP address of above-mentioned cache server to be scheduled.
Optionally, controlling equipment can be based on the current caching clothes to be scheduled of continually changing monitoring situation adjustment at any time Business device, correspondingly, specific processing can be as follows:Every preset period of time according to the monitoring situation of record, each view is redefined Under IP address corresponding to cache server to be scheduled.
In an implementation, it is contemplated that the buffer service quality of each cache server is dynamic change, therefore, controlling equipment Can every preset period of time, such as five minutes or ten minutes, redefine under each view cache server to be scheduled and Its corresponding IP address will currently have preferably cache as much as possible so that controlling equipment can be based on newest monitoring situation The cache server of service quality is determined as cache server to be scheduled.
Step 203:When receiving the target domain name analysis request to target domain name, target domain name analysis request pair is determined The target view answered returns to target ip address corresponding to cache server to be scheduled under target view.
In an implementation, when the website that certain user access accelerates by CDN, which can be in the browser of terminal operating The website domain name (can be described as target domain name) that the website is inputted in application program, may then pass through click access buttons access should Website.In this way, the domain name mapping that terminal can be initiated to public DNS to above-mentioned target domain name is requested.Later, public DNS can be with Based on the target domain name, the address of the authoritative DNS in above-mentioned CDN scheduling system is inquired, then public DNS can be to CDN tune Authoritative DNS in degree system, which initiates the domain name mapping to the target domain name, to be requested.Later, controlling equipment can receive to target The target domain name analysis request of domain name, IP address or the target domain name analysis request that may then based on public DNS are corresponding The IP address of terminal carried in data packet, determines the corresponding target view of target domain name analysis request, and then controlling equipment can be with It gets based on the monitoring situation recorded and the IP address of cache server to be scheduled under target view of determination (can claim For target ip address), then target ip address can be returned to public DNS by controlling equipment, it should be noted that above-mentioned determination Cache server to be scheduled be usually the top-quality cache server of buffer service.In this way, public DNS is receiving mesh Mark IP address after, target ip address can be returned to above-mentioned terminal, then above-mentioned terminal can by target ip address to Above-mentioned cache server to be scheduled sends access request to obtain web site contents.
It is easily understood that it is preferable that scheduling buffer service quality may be implemented by the processing of above-mentioned steps 201-203 Cache server handles user to the technical effect of the access request of website, in this way, need to only consider each CDN service system Buffer service quality, without regard to its dns resolution quality, so as to make full use of the caching in each CDN service system Service, especially DNS service is second-rate and the preferable CDN service system of buffer service quality.
Optionally, if controlling equipment is previously determined the IP address of the cache server to be scheduled under each view, Then the part processing of step 203 can be as follows:Under predetermined each view corresponding to cache server to be scheduled In IP address, target ip address corresponding to cache server to be scheduled under target view is searched, and return it into.
In an implementation, the IP of the cache server to be scheduled under each view is previously determined due to controlling equipment Location, in this way, controlling equipment has been after having determined the corresponding target view of target domain name analysis request, it can be under each view wait adjust In IP address corresponding to the cache server of degree, the cache server to be scheduled under target view currently determined is found Corresponding IP address, i.e. target ip address mention so that target ip address directly can be returned to public DNS by controlling equipment High domain name resolution efficiency.
Optionally, controlling equipment can receive target domain name analysis request and then determine caching clothes to be scheduled Business device, correspondingly, specific processing can be as follows:According to cache server corresponding to the IP address under the target view of monitoring Buffer service quality determines target ip address corresponding to cache server to be scheduled under target view, and returns it into.
In an implementation, controlling equipment is with receiving the IP of each CDN service system return carried under each view After the parsing result of location, only the buffer service quality of cache server corresponding to the IP address under each view can be carried out Monitoring.In this way, controlling equipment can be only when receiving the target domain name analysis request to target domain name, just according to the mesh of monitoring The buffer service quality of cache server corresponding to the IP address under view is marked to determine caching to be scheduled under target view IP address corresponding to server, later, controlling equipment can be by cache server institutes to be scheduled under determining target view Corresponding IP address returns to public DNS, so as to reduce the system resource utilization rate of controlling equipment.
Optionally, cache server to be scheduled can be determined by calculating the mass fraction of cache server, with true It sets the goal under view for cache server to be scheduled, correspondingly, specific processing can be as follows:Target view based on monitoring Under IP address corresponding to cache server buffer service data, calculate target view under each cache server quality Score;Determine that the highest cache server of mass fraction is cache server to be scheduled under target view, and will be to be scheduled IP address corresponding to cache server is determined as target ip address.
In an implementation, controlling equipment can monitor the caching clothes of cache server corresponding to the IP address under each view Business quality, and corresponding buffer service data are recorded, such as the cache responses time in nearly one hour, cache contents hit rate Deng.In this way, controlling equipment can find each buffer service under target view in all buffer service data of record Then the buffer service data of device calculate the mass fraction of each cache server under target view, so it is easy to understand that quality Score is higher, then the buffer service quality of cache server is higher.Later, controlling equipment can be each slow based on what is be calculated The highest cache server of mass fraction under target view is determined as buffer service to be scheduled by the mass fraction for depositing server Device, and IP address corresponding to cache server to be scheduled is determined as target ip address.Using target view as Beijing view, For CDN service system A, CDN service system B, it is assumed that CDN service system A, B respectively returns to an IP address, then controlling equipment can To receive two IP address, then (caching clothes only can be recorded as respectively to the corresponding cache server of the two IP address Business device A, cache server B) the cache responses time be monitored, and then controlling equipment can be mono- section to cache server A, B The all previous cache responses time in time is recorded, and then it is respective average can to calculate cache server A, B for controlling equipment Cache responses time, the average cache response time can be scaled the mass fraction of cache server, for example, can be to average The cache responses time is inverted, using obtained numerical value as mass fraction, such as the average cache response time of cache server A, B Respectively 500 milliseconds, 1000 milliseconds, the then mass fraction to convert are 0.002,0.001, it can be seen that the matter of cache server A The mass fraction that score is higher than cache server B is measured, therefore controlling equipment can determine the corresponding IP address of cache server A For target ip address.
Optionally, it is contemplated that each CDN service system can dynamically adjust the corresponding IP address of each cache server Situation, controlling equipment can periodically initiate access domain name analysis request, correspondingly, specific processing can be as follows:When parsing is tied When retaining duration more than preset duration of fruit is initiated to the authoritative DNS for the CDN service system for returning to parsing result each again The analysis request to access domain name under view.
In an implementation, controlling equipment is with receiving the IP of each CDN service system return carried under each view After the parsing result of location, the duration that retains of each parsing result can be recorded.When some parsing result is when retaining When length is more than preset duration, such as one day or three days, controlling equipment can be to the authority for the CDN service system for returning to parsing result DNS re-initiates the analysis request to access domain name under each view, enters domain to obtain each CDN service system docking The newest parsing result of name thereby may be ensured that the IP address under each view is consistent with practical corresponding cache server.
In the present embodiment, public DNS only need to dispatch system to CDN and initiate domain name analysis request, can be directly obtained The IP address of the corresponding cache server of the domain name, without obtaining IP address from the CDN service system where cache server, So as to reduce the dns resolution time, the scheduling quality of CDN scheduling system is improved.In addition, CDN, which dispatches system, is dispatching more CDN When service system provides CDN service, the buffer service quality of each CDN service system need to be only considered, so as to make full use of The buffer service of each CDN service system, especially DNS service be second-rate and the preferable CDN service system of buffer service quality System, and then the scheduling quality of CDN scheduling system can be improved.
Based on the same technical idea, the embodiment of the invention also provides a kind of devices for dispatching more CDN service systems, such as Shown in Fig. 3, described device includes:
Sending module 301, for according to preset view information and in advance for target domain name configuration in each CDN Access domain name in service system initiates connecing under each view to described to the authoritative DNS of each CDN service system Enter the analysis request of domain name;
Monitoring module 302, the solution for carrying the IP address under each view returned for receiving each CDN service system Analysis is as a result, monitor the buffer service quality of cache server corresponding to the IP address under each view;
Determining module 303, for determining the mesh when receiving the target domain name analysis request to the target domain name It marks domain name mapping and requests corresponding target view, return to target corresponding to cache server to be scheduled under the target view IP address.
Optionally, the determining module 303 is also used to:
According to the buffer service quality of cache server corresponding to the IP address under each view of monitoring, in advance Determine IP address corresponding to cache server to be scheduled under each view;
Under predetermined each view in IP address corresponding to cache server to be scheduled, described in lookup Target ip address corresponding to cache server to be scheduled under target view, and return it into.
Optionally, the determining module 303 is also used to:
According to the buffer service quality of cache server corresponding to the IP address under the target view of monitoring, determine Target ip address corresponding to cache server to be scheduled under the target view, and return it into.
Optionally, the determining module 303 is also used to:
The buffer service data of cache server corresponding to IP address under the target view based on monitoring calculate The mass fraction of each cache server under the target view;
Determine that the highest cache server of mass fraction is cache server to be scheduled under the target view, it will IP address corresponding to the cache server to be scheduled is determined as the target ip address.
Optionally, the sending module 301 is also used to:
When the parsing result is when retaining duration more than preset duration, again to described in the return parsing result The authoritative DNS of CDN service system initiates the analysis request to the access domain name under each view.
In the present embodiment, public DNS only need to dispatch system to CDN and initiate domain name analysis request, can be directly obtained The IP address of the corresponding cache server of the domain name, without obtaining IP address from the CDN service system where cache server, So as to reduce the dns resolution time, the scheduling quality of CDN scheduling system is improved.In addition, CDN, which dispatches system, is dispatching more CDN When service system provides CDN service, the buffer service quality of each CDN service system need to be only considered, so as to make full use of The buffer service of each CDN service system, especially DNS service be second-rate and the preferable CDN service system of buffer service quality System, and then the scheduling quality of CDN scheduling system can be improved.
It should be noted that:The device of the more CDN service systems of scheduling provided by the above embodiment is dispatching more CDN service systems When system, only the example of the division of the above functional modules, in practical application, it can according to need and by above-mentioned function Distribution is completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete above retouch The all or part of function of stating.In addition, the device and the more CDN of scheduling of the more CDN service systems of scheduling provided by the above embodiment The embodiment of the method for service system belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Fig. 4 is the structural schematic diagram of controlling equipment provided in an embodiment of the present invention.The controlling equipment 400 can be because of configuration or property Energy is different and generates bigger difference, may include one or more central processing units 422 (for example, one or one The above processor) and memory 432, the 430 (example of storage medium of one or more storage application programs 442 or data 444 Such as one or more mass memory units).Wherein, memory 432 and storage medium 430 can be of short duration storage or lasting Storage.The program for being stored in storage medium 430 may include one or more modules (diagram does not mark), and each module can To include to the series of instructions operation in controlling equipment.Further, central processing unit 422 can be set to be situated between with storage Matter 430 communicates, and the series of instructions operation in storage medium 430 is executed on controlling equipment 400.
Controlling equipment 400 can also include one or more power supplys 426, one or more wired or wireless nets Network interface 450, one or more input/output interfaces 458, one or more keyboards 456, and/or, one or one A above operating system 441, such as Windows Server TM, Mac OS XTM, Unix TM, Linux TM, FreeBSD TM etc..
Controlling equipment 400 may include have memory and one perhaps more than one program one of them or one A procedure above is stored in memory, and is configured to execute one or one by one or more than one processor A procedure above includes the instruction for carrying out the more CDN service systems of above-mentioned scheduling.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of method for dispatching more CDN service systems, which is characterized in that the method includes:
According to default view information and the preparatory input field in each CDN service system for the configuration of target domain name Name initiates the analysis request to the access domain name under each view to the authoritative DNS of each CDN service system;
The parsing result for carrying the IP address under each view that each CDN service system returns is received, is monitored described each The buffer service quality of cache server corresponding to IP address under view;
When receiving the target domain name analysis request to the target domain name, determine that the target domain name analysis request is corresponding Target view returns to target ip address corresponding to cache server to be scheduled under the target view.
2. the method according to claim 1, wherein corresponding to the IP address monitored under each view Cache server buffer service quality after, further include:
According to the buffer service quality of cache server corresponding to the IP address under each view of monitoring, predefine IP address corresponding to cache server to be scheduled under each view;
It is described to return to target ip address corresponding to cache server to be scheduled under the target view, including:
Under predetermined each view in IP address corresponding to cache server to be scheduled, the target is searched Target ip address corresponding to cache server to be scheduled under view, and return it into.
3. the method according to claim 1, wherein described return to caching clothes to be scheduled under the target view Target ip address corresponding to business device, including:
According to the buffer service quality of cache server corresponding to the IP address under the target view of monitoring, determine described in Target ip address corresponding to cache server to be scheduled under target view, and return it into.
4. according to the method described in claim 3, it is characterized in that, IP address under the target view according to monitoring The buffer service quality of corresponding cache server determines under the target view corresponding to cache server to be scheduled Target ip address, including:
The buffer service data of cache server corresponding to IP address under the target view based on monitoring, described in calculating The mass fraction of each cache server under target view;
Determine that the highest cache server of mass fraction is cache server to be scheduled under the target view, it will be described IP address corresponding to cache server to be scheduled is determined as the target ip address.
5. the method according to claim 1, wherein the method also includes:
When the parsing result is when retaining duration more than preset duration, again to the CDN clothes for returning to the parsing result The authoritative DNS of business system initiates the analysis request to the access domain name under each view.
6. a kind of device for dispatching more CDN service systems, which is characterized in that described device includes:
Sending module, for according to preset view information and in advance for target domain name configuration in each CDN service system Access domain name in system, to the authoritative DNS of each CDN service system initiate under each view to the access domain name Analysis request;
Monitoring module, the parsing result for carrying the IP address under each view returned for receiving each CDN service system, Monitor the buffer service quality of cache server corresponding to the IP address under each view;
Determining module, for determining the target domain name when receiving the target domain name analysis request to the target domain name The corresponding target view of analysis request, with returning under the target view Target IP corresponding to cache server to be scheduled Location.
7. device according to claim 6, which is characterized in that the determining module is also used to:
According to the buffer service quality of cache server corresponding to the IP address under each view of monitoring, predefine IP address corresponding to cache server to be scheduled under each view;
Under predetermined each view in IP address corresponding to cache server to be scheduled, the target is searched Target ip address corresponding to cache server to be scheduled under view, and return it into.
8. device according to claim 6, which is characterized in that the determining module is also used to:
According to the buffer service quality of cache server corresponding to the IP address under the target view of monitoring, determine described in Target ip address corresponding to cache server to be scheduled under target view, and return it into.
9. device according to claim 8, which is characterized in that the determining module is also used to:
The buffer service data of cache server corresponding to IP address under the target view based on monitoring, described in calculating The mass fraction of each cache server under target view;
Determine that the highest cache server of mass fraction is cache server to be scheduled under the target view, it will be described IP address corresponding to cache server to be scheduled is determined as the target ip address.
10. device according to claim 6, which is characterized in that the sending module is also used to:
When the parsing result is when retaining duration more than preset duration, again to the CDN clothes for returning to the parsing result The authoritative DNS of business system initiates the analysis request to the access domain name under each view.
11. a kind of controlling equipment, which is characterized in that the controlling equipment includes processor and memory, is deposited in the memory Contain at least one instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of journey Sequence, the code set or instruction set are loaded by the processor and are executed to realize scheduling as claimed in claim 1 to 5 The method of more CDN service systems.
12. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction The method that collection is loaded by processor and executed to realize the more CDN service systems of scheduling as claimed in claim 1 to 5.
CN201810847479.0A 2018-07-27 2018-07-27 Method and device for scheduling multi-CDN service system Active CN108881516B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810847479.0A CN108881516B (en) 2018-07-27 2018-07-27 Method and device for scheduling multi-CDN service system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810847479.0A CN108881516B (en) 2018-07-27 2018-07-27 Method and device for scheduling multi-CDN service system

Publications (2)

Publication Number Publication Date
CN108881516A true CN108881516A (en) 2018-11-23
CN108881516B CN108881516B (en) 2021-03-19

Family

ID=64306429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810847479.0A Active CN108881516B (en) 2018-07-27 2018-07-27 Method and device for scheduling multi-CDN service system

Country Status (1)

Country Link
CN (1) CN108881516B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109788080A (en) * 2018-12-07 2019-05-21 中国互联网络信息中心 Domain name analytic method, device, electronic equipment and medium based on graphics view
CN110708385A (en) * 2019-10-13 2020-01-17 杭州云缔盟科技有限公司 CDN scheduling algorithm and system based on network delay
CN111447291A (en) * 2018-12-29 2020-07-24 北京奇虎科技有限公司 DNS (Domain name System) -based scheduling method and system and electronic equipment
CN112040027A (en) * 2020-09-14 2020-12-04 网易(杭州)网络有限公司 Data processing method and device, electronic equipment and storage medium
CN113411377A (en) * 2021-05-14 2021-09-17 郑州埃文计算机科技有限公司 CDN scene determination method based on DNS analysis of large content website
CN113905017A (en) * 2021-10-14 2022-01-07 牙木科技股份有限公司 Domain name resolution caching method, DNS (Domain name Server) and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8756341B1 (en) * 2009-03-27 2014-06-17 Amazon Technologies, Inc. Request routing utilizing popularity information
CN104144222A (en) * 2014-08-20 2014-11-12 北京阅联信息技术有限公司 Method and system for load balancing in DNS system based on alias record
CN104994123A (en) * 2015-05-12 2015-10-21 段利平 CDN cloud platform and flow scheduling method thereof
CN105516391A (en) * 2015-12-25 2016-04-20 互联网域名系统北京市工程研究中心有限公司 CNAME-based DNS (domain name system) domain name resolution method
CN105721394A (en) * 2014-12-03 2016-06-29 中国移动通信集团公司 Service access device, method and system oriented toward content delivery network
CN106161649A (en) * 2016-08-30 2016-11-23 常州云端网络科技股份有限公司 A kind of CDN intelligent dispatching method based on redirection mechanism
CN106453671A (en) * 2015-08-07 2017-02-22 中国电信股份有限公司 Method, client, server and system for CDN scheduling
US20170257294A1 (en) * 2009-12-22 2017-09-07 At&T Intellectual Property I, L.P. Integrated Adaptive Anycast For Content Distribution

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8756341B1 (en) * 2009-03-27 2014-06-17 Amazon Technologies, Inc. Request routing utilizing popularity information
US20170257294A1 (en) * 2009-12-22 2017-09-07 At&T Intellectual Property I, L.P. Integrated Adaptive Anycast For Content Distribution
CN104144222A (en) * 2014-08-20 2014-11-12 北京阅联信息技术有限公司 Method and system for load balancing in DNS system based on alias record
CN105721394A (en) * 2014-12-03 2016-06-29 中国移动通信集团公司 Service access device, method and system oriented toward content delivery network
CN104994123A (en) * 2015-05-12 2015-10-21 段利平 CDN cloud platform and flow scheduling method thereof
CN106453671A (en) * 2015-08-07 2017-02-22 中国电信股份有限公司 Method, client, server and system for CDN scheduling
CN105516391A (en) * 2015-12-25 2016-04-20 互联网域名系统北京市工程研究中心有限公司 CNAME-based DNS (domain name system) domain name resolution method
CN106161649A (en) * 2016-08-30 2016-11-23 常州云端网络科技股份有限公司 A kind of CDN intelligent dispatching method based on redirection mechanism

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴茜,文静,李倩: "CDN业务调度系统研究", 《电信技术》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109788080A (en) * 2018-12-07 2019-05-21 中国互联网络信息中心 Domain name analytic method, device, electronic equipment and medium based on graphics view
CN109788080B (en) * 2018-12-07 2021-09-21 中国互联网络信息中心 Domain name resolution method and device based on graph view, electronic equipment and medium
CN111447291A (en) * 2018-12-29 2020-07-24 北京奇虎科技有限公司 DNS (Domain name System) -based scheduling method and system and electronic equipment
CN111447291B (en) * 2018-12-29 2024-04-05 三六零科技集团有限公司 DNS-based scheduling method and system and electronic equipment
CN110708385A (en) * 2019-10-13 2020-01-17 杭州云缔盟科技有限公司 CDN scheduling algorithm and system based on network delay
CN112040027A (en) * 2020-09-14 2020-12-04 网易(杭州)网络有限公司 Data processing method and device, electronic equipment and storage medium
CN112040027B (en) * 2020-09-14 2023-06-16 网易(杭州)网络有限公司 Data processing method and device, electronic equipment and storage medium
CN113411377A (en) * 2021-05-14 2021-09-17 郑州埃文计算机科技有限公司 CDN scene determination method based on DNS analysis of large content website
CN113411377B (en) * 2021-05-14 2023-08-18 郑州埃文计算机科技有限公司 CDN scene judging method based on DNS analysis of large content website
CN113905017A (en) * 2021-10-14 2022-01-07 牙木科技股份有限公司 Domain name resolution caching method, DNS (Domain name Server) and computer readable storage medium

Also Published As

Publication number Publication date
CN108881516B (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN108881516A (en) A kind of method and apparatus for dispatching more CDN service systems
WO2019237557A1 (en) Method and device for controlling multi-cname traffic ratio
CN104363313B (en) Use the resource utilization support method and system of the website of content distributing network
US8966121B2 (en) Client-side management of domain name information
CN108965381A (en) Implementation of load balancing, device, computer equipment and medium based on Nginx
Cardellini et al. Request redirection algorithms for distributed web systems
US7047301B2 (en) Method and system for enabling persistent access to virtual servers by an LDNS server
US9407570B2 (en) Method, apparatus, and system for allocating CDN volume
CN107395683A (en) The system of selection of a kind of time source path and server
CN104427011B (en) The method and domain name cache server of domain name mapping
CN103685590B (en) Obtain the method and system of IP address
CN104243598B (en) A kind of information recommendation method and device
CN111614736A (en) Network content resource scheduling method, domain name scheduling server and electronic equipment
JP7056893B2 (en) Application programming interface Methods, devices, API gateways, and programs for transmitting API requests.
CN1175147A (en) Virtual enclosed cluster capable of recovery
CN108183975A (en) A kind of method and system of domain name mapping
CN110460652A (en) A kind of resource acquiring method and edge calculations dispatch server
CN107026758B (en) Information processing method, information processing system and server for CDN service update
CN109672757A (en) File access method and file access processing unit
CN109618024A (en) A kind of domain name analytic method and system based on HTTP
CN109167850A (en) A kind of method, apparatus and storage medium of determining CDN service operator
CN105978936A (en) CDN server and data caching method thereof
CN109639796A (en) A kind of implementation of load balancing, device, equipment and readable storage medium storing program for executing
CN109634753A (en) Switch data processing method, device, terminal and the storage medium of browser kernel
CN106713456A (en) Network bandwidth statistics method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant