CN103716398B - The monitoring method and monitoring system of CDN server - Google Patents

The monitoring method and monitoring system of CDN server Download PDF

Info

Publication number
CN103716398B
CN103716398B CN201310746172.9A CN201310746172A CN103716398B CN 103716398 B CN103716398 B CN 103716398B CN 201310746172 A CN201310746172 A CN 201310746172A CN 103716398 B CN103716398 B CN 103716398B
Authority
CN
China
Prior art keywords
server
http
address
domain name
cdn
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.)
Active
Application number
CN201310746172.9A
Other languages
Chinese (zh)
Other versions
CN103716398A (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.)
Beijing Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
360 Digital Security Technology Group Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310746172.9A priority Critical patent/CN103716398B/en
Publication of CN103716398A publication Critical patent/CN103716398A/en
Application granted granted Critical
Publication of CN103716398B publication Critical patent/CN103716398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of monitoring method of CDN server and monitoring system.A kind of monitoring method of CDN server provided in an embodiment of the present invention includes:The domain name of CDN server need to be detected by obtaining;Domain name mapping is carried out for the domain name that need to detect CDN server, obtains corresponding IP address;HTTP detection requests are sent to IP address;Response message according to request is detected for HTTP determines the state of CDN server.The present invention can improve detection real-time and the degree of accuracy of CDN server.

Description

The monitoring method and monitoring system of CDN server
Technical field
The present invention relates to technical field of the computer network, the monitoring method and CDN service of more particularly to a kind of CDN server The monitoring system of device.
Background technology
CDN(Content Delivery Network, content distributing network)Network is mainly characterized by avoiding as far as possible Be possible to influence the bottleneck and link of data transmission bauds and stability on internet, make content transmission faster, it is more stable, make Obtain which kind of network user anywhere uses, can comparatively fast get the Web content of needs.
CDN is a kind of distributed network, and comprising various service nodes, these service nodes cover UNICOM, electricity Each operators such as letter, are distributed in each area.In CDN, because there is numerous service nodes, in fact it could happen that part of nodes Failure, cause the situation of some areas access exception.
For the CDN user using third party's CDN service, such as using the CDN user of commercial CDN, it is necessary to pass through business The state of service node is known with CDN service provider.Referring to Fig. 1, show in existing commercial CDN to service node Monitoring method schematic diagram.Commercial CDN service provider disposes monitor client on the service node of commercial CDN, from business With getting monitoring data in CDN.Commercial CDN service provider can provide monitoring and inquiry interface to commercial CDN user, lead to Cross monitoring and inquiry interface and send Service Statistics form to commercial CDN user, inform the state of commercial CDN user services node.
However, because commercial CDN user is monitored dependent on commercial CDN service provider to the state of service node, Service abnormal information can not be obtained in time, and real-time is poor, and quality monitoring cannot also ensure.For example, commercial CDN service The failure situation in network may be concealed to strive for user in provider, so as to their service quality of false propaganda.One In the case of a little, commercial CDN user can only just can know that service node breaks down by user feedback.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on State the monitoring method of the CDN server of problem and the monitoring system with corresponding CDN server.
Foundation one aspect of the present invention, the embodiments of the invention provide a kind of monitoring method of CDN server, including:
Obtaining needs the domain name of detection content distribution network CDN server;
Domain name mapping is carried out for the domain name that need to detect CDN server, obtains corresponding IP address;
HTTP HTTP detection requests are sent to IP address;
Response message according to request is detected for HTTP determines the state of CDN server.
Wherein, the domain name progress domain name mapping for that need to detect CDN server includes:
Local dns server list is obtained, the local dns server list records are in the dns server;For needing to detect The domain name of CDN server is corresponding into local dns server list in the network of multiple area/ISPs Local dns server send domain name analysis request, obtain include all IP address that need to detect CDN server IP address arrange Table.
Wherein, sending HTTP detection requests to IP address includes:In the network of multiple area/ISPs Corresponding IP address into IP address list sends HTTP detection requests.
Wherein, sending HTTP detection requests to IP address includes:Obtain the system associated with the domain name of CDN server need to be detected One URLs url list;URL in url list, in the network of multiple area/ISPs to IP address sends HTTP detection requests, and obtains HTTP testing results by HTTP detection requests.
Wherein, determine that the state of CDN server includes according to the response message that request is detected for HTTP:When not receiving During to the response message that request is detected for HTTP, the CDN server abnormal state is determined;When receiving at least one be directed to During the response message of HTTP detection requests, it is determined that the CDN server state is normal.
Wherein, domain name mapping is carried out for the domain name of CDN server need to be detected, obtains the operation of corresponding IP address by position Dns resolution client in the network of multiple area/ISPs is realized;Sending HTTP detections to IP address please The operation asked is realized by the HTTP detection clients in the network of multiple area/ISPs.
Foundation another aspect of the present invention, the embodiments of the invention provide a kind of monitoring system of CDN server, including: Monitoring server, the multiple HTTP being arranged in the network of multiple area/ISPs detection clients and multiple Dns resolution client,
Monitoring server, domain name and the local dns list of CDN server need to be detected suitable for obtaining, and by domain name and local DNS lists are issued to each dns resolution client;With receiving the IP for the CDN server that the needs that dns resolution client reports detect Location;IP address is issued to each HTTP detections client;Receive the HTTP that is directed to that HTTP detections client reports and detect request Response message;The service state of CDN server is determined according to the response message;
Dns resolution client, it need to detect the domain name of CDN server suitable for utilization and local dns list is obtained in CDN The IP address of CDN server detected is needed, the IP address of CDN server is uploaded to monitoring server;
HTTP detects client, suitable for sending HTTP detection requests to IP address, obtains for HTTP detection requests Response message, and the response message is uploaded to monitoring server.
Wherein, monitoring server, suitable for obtaining local dns list from dns server.
Wherein, dns resolution client, suitable for orienting local dns server according to local dns server list, and from It need to detect and the domain name that current detection uses is chosen in the domain name of CDN server;The domain name that current detection is used is arranged on domain name In analysis request, domain name mapping request is sent to the local dns server oriented, to be incited somebody to action by the local dns server Domain name mapping request is sent to dns server;Receive the domain name mapping knot of the dns server forwarded by local dns server Fruit;The IP address for the CDN server that needs detect analytically is obtained in result.
Wherein, monitoring server, suitable for obtaining the url list associated with the domain name of CDN server need to be detected;By IP address Each DNS client is issued to url list, so that HTTP detects URL of the client in url list and sent to IP address HTTP detection requests, and met with a response information by HTTP detection requests.
Wherein, HTTP detects client, suitable for choosing URL to be detected from url list;URL to be detected is arranged on After HTTP detection requests, HTTP detection requests are sent to IP address, to access the URL to be detected under IP address.
Wherein, monitoring server, suitable for when be not received by for HTTP detection request response message when, it is determined that should CDN server abnormal state;When receive it is at least one for HTTP detection request response message when, it is determined that the CDN take Device state of being engaged in is normal.
From the above mentioned, the monitoring method and monitoring system of CDN server provided in an embodiment of the present invention, by needing to detect The domain name of CDN server carries out domain name mapping, obtains the technological means of corresponding IP address, and can get need to detect CDN clothes The IP address of business device, then by sending HTTP detection requests to the IP address got, detect what is asked according to for HTTP Response message determines the technological means of the state of CDN server, and the access based on user side is realized from user side to CDN service The condition monitoring of device, so as to solve existing scheme dependent on control real-time caused by the monitoring of commercial CDN service provider With quality monitoring it is poor the problem of etc., commercial CDN user can be made to get monitored results, and monitored results and user in time Actual network access situation is closer, and the authenticity of monitored results is stronger.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is shown in existing commercial CDN to the monitoring scheme schematic diagram of service node;
Fig. 2 shows the monitoring system structural representation of CDN server according to an embodiment of the invention;
Fig. 3 shows monitoring server according to an embodiment of the invention and HTTP detections client, dns resolution client The interactive mode flow chart at end;
Fig. 4 shows that dns resolution client according to an embodiment of the invention obtains the IP for the CDN server that need to be detected The method schematic diagram of address;
Fig. 5 shows a kind of monitoring method flow chart of CDN server according to another embodiment of the invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Due to how to CDN(Content Delivery Network, content distributing network)Server, which is monitored, is One core technology of commercial CDN service provider, typically will not externally be announced.Also, commercial CDN user does not have authority in business With monitor client is disposed above CDN server, commercial CDN user is caused to rely only on the prison of commercial CDN service provider Control result.For these problems, the angle of the invention from commercial CDN user, commercial CDN server is monitored, and The CDN server of Shi Faxian abnormal states.
One embodiment of the invention provides a kind of monitoring system of CDN server, and referring to Fig. 2, the system includes monitoring Server 200, multiple HTTP(HyperText Transfer Protocol, HTTP)Detect the He of client 300 Multiple DNS(Domain Name System, i.e. domain name system)Parse client 400.Multiple HTTP detections clients 300 are set In multiple area/ISPs(Such as UNICOM Internet Service Provider, telecommunication network services provider)Network in, Multiple dns resolution clients 400 are arranged in the network of multiple area/ISPs.Optionally, in monitoring system Data center 500 can also be included.These equipment are illustrated separately below.
Referring to Fig. 3, show that monitoring server 200 and HTTP detections client 300, dns resolution client 400 interact Mode flow chart, including following operation:
S300:Monitoring server 200 obtains domain name and the local dns list that need to detect CDN server.
Monitoring server 200 is established with dns server and connected, and local dns list, local dns are got from dns server The IP address of CDN server in CDN is have recorded in list.
The monitoring that monitoring server 200 can be inputted by receiving monitoring side is instructed, and CDN server need to be detected by getting Domain name.The domain name that need to detect CDN server can be included in above-mentioned monitoring instruction.The domain name that CDN server need to be detected refers to The website or the domain name of network service that the CDN server that need to be detected is supported, a need detection CDN server can correspond to one Individual or multiple domain names.
S301:Domain name and local dns list are issued to each dns resolution client 400 by monitoring server 200.
S302:Monitoring server 200 is with receiving the IP for the CDN server that the needs that dns resolution client 400 reports detect Location.
S303:IP address is issued to each HTTP and detects client 300 by monitoring server 200.
Specifically, monitoring server 200 is further adapted for obtaining the URL associated with that need to detect the domain name of CDN server (Uniform Resource Locator, URL)List;IP address and url list are issued to each DNS visitors Family end, so that HTTP detects URL of the client in url list and sends HTTP detection requests to IP address, and by the HTTP Detection request meets with a response information.
S304:Monitoring server 200 receives the response letter for HTTP detection requests that HTTP detections client 300 reports Breath.
S305:Monitoring server 200 determines the service state of CDN server according to the response message.Monitoring server 200 Suitable for when being not received by the response message for HTTP detection requests, determining the CDN server abnormal state;When receiving It is at least one for HTTP detection request response message when, it is determined that the CDN server state is normal.
Under certain situation, even if CDN server state is normal, it is also possible to monitoring server occur and do not receive HTTP detections The phenomenon for the response message that client reports, for same HTTP detection requests in the present embodiment, as long as there is a HTTP inspection Survey the response message that client receives return, you can confirm that CDN server state corresponding to accessed IP address is normal.
Dns resolution client 400 is suitable to the domain name and local dns list acquisition CDN that utilization need to detect CDN server The IP address of the middle CDN server for needing to detect, monitoring server is uploaded to by the IP address of CDN server.Referring to Fig. 4, show The method schematic diagram that dns resolution client obtains the IP address for the CDN server that need to be detected, including following operation are gone out:
First, the dns resolution client in the network of different regions or ISP can basis respectively The local dns server corresponding to it is oriented in local dns server list, and local DNS service can be recorded in local dns list The IP address of device.For example, the dns resolution client in District of Shanghai Netcom service provider network arranges according to local dns Mark the IP address of the local dns server of record(Such as 11.11.11.1)Orient the local dns server 1 corresponding to it, position Dns resolution client in Beijing area telco service provider network is according to the local dns services of local dns list records The IP address of device(Such as 20.20.20.1)Orient the local dns server 2 corresponding to it.
Secondly, dns resolution client chooses the domain name that current detection uses from the domain name that need to detect CDN server;Will The domain name that current detection uses is arranged in domain name mapping request, and domain name mapping request is sent to the local dns oriented Server.For example, the dns resolution client in District of Shanghai Netcom service provider network selects currently from multiple domain names The domain name 1 used is detected, domain name 1 is arranged in domain name mapping request and sent to local dns server 1.Beijing area telecommunications Dns resolution client in service provider network selects the domain name 2 that current detection uses from multiple domain names, by domain name 2 It is arranged in domain name mapping request and sends to local dns server 2.Each local dns server translates domain names into request hair respectively Dns server is delivered to, to be parsed by dns server to domain name mapping request.
Again, dns resolution client receives the domain name mapping result of the dns server forwarded by local dns server, The IP address for the CDN server that needs detect analytically is obtained in result.For example, in District of Shanghai Netcom service provider network Dns resolution client receive the domain name mapping result that local dns server 1 forwards, the domain name mapping result includes IP1, IP1 corresponds in CDN the IP address for a CDN server for needing detection.In Beijing area telco service provider network Dns resolution client receive the domain name mapping result that local dns server 2 forwards, the domain name mapping result includes IP2, IP2 corresponds in CDN the IP address for a CDN server for needing detection.
The IP address of the CDN server for the need detection that each dns resolution client obtains itself is respectively sent to monitor Server, so that the IP address is recorded in IP address list by monitoring server, the IP address list is sent to HTTP and examined Survey client.
HTTP detects client 300, the IP address of the need detection CDN server issued suitable for receiving monitoring server 200, HTTP detection requests are sent to the IP address, obtain the response message for HTTP detection requests, and by the response message Reach monitoring server 200.
Specifically, HTTP detections client 300 also receives the url list that monitoring server 200 issues, remember in url list Record one or more URL that the domain name of the CDN server with that need to detect associates.HTTP detections client 300 is selected from url list URL to be detected is taken, after URL to be detected is arranged on into HTTP detection requests, HTTP detection requests are sent to IP address, to access URL to be detected under IP address.When accessing successfully, HTTP detections client 300 can receive being directed to from the IP returns of access The response message of HTTP detection requests, response message show that the CDN server service state under accessed IP address is normal, HTTP detections client 300 sends the response message to monitoring server 200.When accessing failure, HTTP detection clients 300 will not receive the response message for HTTP detection requests.However, under certain situation, even if CDN server state is normal, The phenomenon that HTTP detections client 300 does not receive response message may also occur, be examined in the present embodiment for same HTTP Request is surveyed, as long as there is the response message that a HTTP detections client receives return, you can confirm accessed IP address pair The CDN server state answered is normal.
From the foregoing, it will be observed that the embodiment of the present invention proposes a kind of innovative scheme, from the angle of commercial CDN user, All CDN servers in CDN are known based on local dns list, then directly detect the state of these CDN servers. It is achieved thereby that one is more scientific, more effective service detection mechanism.
For large enterprises, the relatively large scene of customer volume, the monitoring for business is particularly important.And by of the invention real The technical scheme of example is applied, the access situation of user, the CDN server to note abnormalities, without when user can be understood in time Feedback just notes abnormalities, the service quality of the business greatly improved.
Another embodiment of the invention provides a kind of monitoring method of CDN server, and referring to Fig. 5, this method is included such as Lower step:
S500:Obtaining needs the domain name of detection content distribution network CDN server.
The domain name that CDN server need to be detected refers to website that the CDN server that need to be detected supported or the domain of network service Name, a need detection CDN server can correspond to one or more domain names.
S501:Domain name mapping is carried out for the domain name that need to detect CDN server, obtains corresponding IP address.This step can With including following operation:
First, local dns server list is obtained, the local dns server list records are in the dns server.
Secondly, the domain name for CDN server need to be detected, in the network of multiple area/ISPs to Corresponding local dns server sends domain name analysis request in local dns server list, and acquisition includes all to detect CDN The IP address list of the IP address of server.
All local dns servers that can be recorded into local dns server list send domain name analysis request, also may be used Domain name analysis request, domain name mapping request are sent with the part local dns server only recorded into local dns server list Include that the domain name of CDN server need to be detected.
Each local dns server translates domain names into request and sent to dns server, by dns server to domain name solution Domain name in analysis request is parsed, and obtains detecting the IP address of CDN server, and the IP address is back into local dns clothes Business device.The IP address that multiple local dns servers obtain is recorded in IP address list.
Exemplary, step S501 operation can be by the network of multiple area/ISPs Dns resolution client is realized.
S502:HTTP detection requests are sent to IP address.
Specifically, in the network of multiple area/ISPs, CDN server need to be detected to including all IP address IP address list in IP address send HTTP detection request.
Further, the url list associated with the domain name of CDN server need to be detected is obtained;URL in url list, IP address in from the network of multiple area/ISPs to IP address list sends HTTP detection requests, and HTTP testing results are obtained by HTTP detection requests.
Exemplary, step S502 operation can be by the network of multiple area/ISPs HTTP detection clients are realized.
S503:Response message according to request is detected for HTTP determines the state of CDN server.
When being not received by the response message for HTTP detection requests, the CDN server abnormal state is determined;When connecing Receive it is at least one for HTTP detection request response message when, it is determined that the CDN server state is normal.
Exemplary, step S500 and S503 operation can be realized by monitoring server.
The specific execution method of each step may refer to the system embodiment of the present invention in the inventive method embodiment, herein Repeat no more.
From the above mentioned, the monitoring method and monitoring system of CDN server provided in an embodiment of the present invention, by needing to detect The domain name of CDN server carries out domain name mapping, obtains the technological means of corresponding IP address, and can get need to detect CDN clothes The IP address of business device, then by sending HTTP detection requests to the IP address got, detect what is asked according to for HTTP Response message determines the technological means of the state of CDN server, and the access based on user side is realized from user side to CDN service The condition monitoring of device, so as to solve existing scheme dependent on control real-time caused by the monitoring of commercial CDN service provider With quality monitoring it is poor the problem of etc., commercial CDN user can be made to get monitored results, and monitored results and user in time Actual network access situation is closer, and the authenticity of monitored results is stronger.
Embodiment of the invention discloses that:
A1, a kind of monitoring method of CDN server, including:
Obtaining needs the domain name of detection content distribution network CDN server;
Domain name mapping is carried out for the domain name that need to detect CDN server, obtains corresponding IP address;
HTTP HTTP detection requests are sent to the IP address;
Response message according to request is detected for the HTTP determines the state of the CDN server.
A2, the method according to claim A1, wherein, carry out domain for the domain name that need to detect CDN server Name parsing includes:
Local domain name system dns server list is obtained, the local dns server list records are in the dns server;
For the domain name that need to detect CDN server, to this in the network of multiple area/ISPs Corresponding local dns server sends domain name analysis request in ground dns server list, and acquisition includes all CDN that need to detect and taken The IP address list of the IP address of business device.
A3, the method according to claim A2, wherein, sending HTTP detection requests to the IP address includes:
Corresponding IP address in from the network of multiple area/ISPs to the IP address list is sent HTTP detection requests.
A4, the method according to claim A3, wherein, sending HTTP detection requests to the IP address includes:
Obtain the uniform resource position mark URL list associated with the domain name that need to detect CDN server;
According to the URL in the url list, in the network of multiple area/ISPs to the IP Location sends HTTP detection requests, and obtains HTTP testing results by HTTP detection requests.
A5, the method according to claim A1, wherein, it is true according to the response message that request is detected for the HTTP The state of the fixed CDN server includes:
When being not received by the response message for HTTP detection requests, the CDN server abnormal state is determined;
When receive it is at least one for the HTTP detection request response message when, it is determined that the CDN server shape State is normal.
A6, the method according to claim A1 to any one of A5, wherein,
It is described to carry out domain name mapping for the domain name that detect CDN server, obtain the operation of corresponding IP address Realized by the dns resolution client in the network of multiple area/ISPs;
It is described to send the operation of HTTP detection requests by positioned at multiple area/ISPs to the IP address Network in HTTP detection client realize.
B7, a kind of monitoring system of CDN server, including:Monitoring server, it is arranged on multiple area/Internet services Multiple HTTP detection clients and multiple dns resolution clients in the network of provider,
The monitoring server, domain name and the local dns list of CDN server need to be detected suitable for obtaining, and by the domain Name and local dns list are issued to each dns resolution client;Receive the CDN that the needs that the dns resolution client reports detect The IP address of server;The IP address is issued to each HTTP detections client;The HTTP detections client is received to report For the HTTP detection request response message;The service state of CDN server is determined according to the response message;
The dns resolution client, suitable for utilizing the domain name that need to detect CDN server and local dns list acquisition The IP address of CDN server detected is needed in CDN, the IP address of CDN server is uploaded to monitoring server;
The HTTP detects client, suitable for sending HTTP detection requests to the IP address, obtains examining for the HTTP The response message of request is surveyed, and the response message is uploaded to monitoring server.
B8, the system according to claim B7, wherein, the monitoring server, suitable for obtaining institute from dns server State local dns list.
B9, the system according to claim B7, wherein, the dns resolution client, suitable for being taken according to local dns Local dns server is oriented in business device list, and the domain that current detection uses is chosen from the domain name that need to detect CDN server Name;The domain name that the current detection uses is arranged in domain name mapping request, domain name mapping request is sent to orienting Local dns server, so that domain name analysis request is sent to dns server by the local dns server;Reception passes through The domain name mapping result of the dns server of local dns server forwarding;Obtain needing the CDN detected from the analysis result The IP address of server.
B10, the system according to claim B7, wherein, the monitoring server, need to detect with described suitable for obtaining The url list of the domain name association of CDN server;The IP address and url list are issued to each DNS client, so that HTTP Detect URL of the client in url list and send HTTP detection requests to the IP address, and please be try to achieve by HTTP detections To response message.
B11, the system according to claim B10, wherein, the HTTP detects client, suitable for from the URL column URL to be detected is chosen in table;After the URL to be detected is arranged on into the HTTP detections request, being sent to the IP address should HTTP detection requests, to access the URL to be detected under the IP address.
B12, the system according to claim B10, wherein, the monitoring server, it is suitable to
When being not received by the response message for HTTP detection requests, the CDN server abnormal state is determined; When receive it is at least one for the HTTP detection request response message when, it is determined that the CDN server state is normal.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is to this specification(Including adjoint claim, summary and accompanying drawing)Disclosed in all features and so disclosed appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power Profit requirement, summary and accompanying drawing)Disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor(DSP)To realize monitoring server according to embodiments of the present invention, HTTP detection visitors The some or all functions of some or all parts in family end and dns resolution client.The present invention is also implemented as For performing some or all equipment or program of device of method as described herein(For example, computer program and Computer program product).Such program for realizing the present invention can store on a computer-readable medium, or can have The form of one or more signal.Such signal can be downloaded from internet website and obtained, or on carrier signal There is provided, or provided in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.

Claims (9)

1. a kind of monitoring method of CDN server, including:
Obtaining needs the domain name of detection content distribution network CDN server;
Domain name mapping is carried out for the domain name that need to detect CDN server, obtains corresponding IP address;
HTTP HTTP detection requests are sent to the IP address;
Response message according to request is detected for the HTTP determines the state of the CDN server;
The basis determines that the state of the CDN server includes for the response message of HTTP detection requests:
When being not received by the response message for HTTP detection requests, the CDN server abnormal state is determined;
When receive it is at least one for the HTTP detection request response message when, determine that the CDN server state is normal;
It is described to carry out domain name mapping for the domain name that detect CDN server, the operation of corresponding IP address is obtained by position Dns resolution client in the network of multiple area/ISPs is realized;
It is described to send the operation of HTTP detection requests by the net positioned at multiple area/ISPs to the IP address HTTP detection clients in network are realized.
2. according to the method for claim 1, wherein, domain name mapping is carried out for the domain name that need to detect CDN server, Obtaining corresponding IP address includes:
Local domain name system dns server list is obtained, the local dns server list records are in the dns server;
For the domain name that need to detect CDN server, to local in the network of multiple area/ISPs Corresponding local dns server sends domain name analysis request in dns server list, and acquisition includes all to detect CDN service The IP address list of the IP address of device.
3. according to the method for claim 2, wherein, sending HTTP detection requests to the IP address includes:
Corresponding IP address in from the network of multiple area/ISPs to the IP address list sends HTTP Detection request.
4. according to the method for claim 3, wherein, sending HTTP detection requests to the IP address includes:
Obtain the uniform resource position mark URL list associated with the domain name that need to detect CDN server;
According to the URL in the url list, sent out in the network of multiple area/ISPs to the IP address Send HTTP detection requests.
5. a kind of monitoring system of CDN server, including:Monitoring server, it is arranged on multiple area/ISPs Network in multiple HTTP detection clients and multiple dns resolution clients,
The monitoring server, domain name and the local dns server list of CDN server need to be detected suitable for obtaining, and by described in Domain name and local dns server list are issued to each dns resolution client;Receive the needs that the dns resolution client reports The IP address of the CDN server of detection;The IP address is issued to each HTTP detections client;Receive the HTTP detections visitor The response message for HTTP detection requests that family end reports;The service state of CDN server is determined according to the response message;Institute Monitoring server is stated, suitable for when being not received by the response message for HTTP detection requests, determining the CDN server Service state it is abnormal;When receive it is at least one for the HTTP detection request response message when, determine the CDN service The service state of device is normal;
The dns resolution client, suitable for being obtained using the domain name that need to detect CDN server and local dns server list The IP address for the CDN server for needing to detect in CDN is taken, the IP address of CDN server is uploaded to monitoring server;
The HTTP detects client, and suitable for sending HTTP detection requests to the IP address, obtaining please for HTTP detections The response message asked, and the response message is uploaded to monitoring server.
6. system according to claim 5, wherein, the monitoring server, suitable for obtaining the local from dns server Dns server list.
7. system according to claim 5, wherein, the dns resolution client, suitable for being arranged according to local dns server Table orients local dns server, and the domain name that current detection uses is chosen from the domain name that need to detect CDN server;By institute State the domain name that current detection uses to be arranged in domain name mapping request, domain name mapping request is sent to the local oriented Dns server, to be sent domain name analysis request to dns server by the local dns server;Reception passes through local The domain name mapping result of the dns server of dns server forwarding;Obtain needing the CDN service detected from the analysis result The IP address of device.
8. system according to claim 5, wherein, the monitoring server, CDN service need to be detected with described suitable for obtaining The url list of the domain name association of device;The IP address and url list are issued to each HTTP detections client, so that HTTP is examined Survey URL of the client in url list and send HTTP detection requests to the IP address, and obtained by HTTP detection requests Response message.
9. system according to claim 8, wherein, the HTTP detects client, suitable for being chosen from the url list URL to be detected;The HTTP detections request is sent to the IP address according to the URL to be detected, to access the IP address Under URL to be detected.
CN201310746172.9A 2013-12-30 2013-12-30 The monitoring method and monitoring system of CDN server Active CN103716398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310746172.9A CN103716398B (en) 2013-12-30 2013-12-30 The monitoring method and monitoring system of CDN server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310746172.9A CN103716398B (en) 2013-12-30 2013-12-30 The monitoring method and monitoring system of CDN server

Publications (2)

Publication Number Publication Date
CN103716398A CN103716398A (en) 2014-04-09
CN103716398B true CN103716398B (en) 2017-11-24

Family

ID=50408968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310746172.9A Active CN103716398B (en) 2013-12-30 2013-12-30 The monitoring method and monitoring system of CDN server

Country Status (1)

Country Link
CN (1) CN103716398B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515882B (en) * 2014-09-22 2020-04-21 奇安信科技集团股份有限公司 Website security detection method and device
CN104702439B (en) * 2015-03-16 2018-10-19 北京百度网讯科技有限公司 The method and apparatus for monitoring network node
CN106453671A (en) * 2015-08-07 2017-02-22 中国电信股份有限公司 Method, client, server and system for CDN scheduling
CN106603734B (en) * 2015-10-16 2019-08-02 任子行网络技术股份有限公司 CDN service IP detection method and system
CN105978938A (en) * 2016-04-25 2016-09-28 乐视控股(北京)有限公司 Service processing equipment service status determining method and scheduling equipment
CN106302002B (en) * 2016-07-29 2019-10-01 北京小米移动软件有限公司 Test method and device
CN107562684B (en) * 2017-08-29 2018-09-21 广州市天正通信有限公司 Control method, device, equipment and storage medium between a kind of plate
CN110874300A (en) * 2018-08-29 2020-03-10 北京京东尚科信息技术有限公司 Method and device for monitoring equipment
CN109547289B (en) * 2018-12-04 2020-10-16 杭州安恒信息技术股份有限公司 Method, storage device and system for intelligently scheduling visitor flow
CN109618017A (en) * 2018-12-12 2019-04-12 北京知道创宇信息技术有限公司 Domain name management method, apparatus and system
CN109525679A (en) * 2019-01-08 2019-03-26 郑州云海信息技术有限公司 A kind of web file server test method based on http protocol
CN110855516B (en) * 2019-10-15 2021-10-29 厦门美柚股份有限公司 CDN quality detection system and method
CN111970262B (en) * 2020-08-07 2023-02-28 杭州安恒信息技术股份有限公司 Method and device for detecting third-party service enabling state of website and electronic device
CN112839089B (en) * 2021-01-08 2023-06-23 网宿科技股份有限公司 CDN quality detection method and system
CN114189376B (en) * 2021-12-07 2023-05-16 中国电子科技集团公司第三十研究所 Cloud host state information security monitoring method based on CDN service platform

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932451A (en) * 2012-10-31 2013-02-13 北龙中网(北京)科技有限责任公司 Solving system specific to content distribution network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100776047B1 (en) * 2006-01-19 2007-11-16 삼성전자주식회사 Operating method of domain name system for updating adress information of server and domain name system of enabling the method
CN101741643B (en) * 2009-12-24 2011-09-28 北京云快线软件服务有限公司 Content delivery network node detecting method and system
CN102035696B (en) * 2010-12-22 2012-10-03 中国工商银行股份有限公司 Website access performance monitoring method, device and system
CN102111309B (en) * 2010-12-30 2013-06-26 北京世纪互联宽带数据中心有限公司 Method and system for detecting content delivery network (CDN) node

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932451A (en) * 2012-10-31 2013-02-13 北龙中网(北京)科技有限责任公司 Solving system specific to content distribution network

Also Published As

Publication number Publication date
CN103716398A (en) 2014-04-09

Similar Documents

Publication Publication Date Title
CN103716398B (en) The monitoring method and monitoring system of CDN server
US9985858B2 (en) Deep path analysis of application delivery over a network
CN104993953B (en) The method and apparatus for detecting network service state
US9071502B2 (en) Service provider optimization of content management
KR102076861B1 (en) Network performance diagnosis method and apparatus, and system
CN108234207B (en) Fault positioning method and device based on Content Delivery Network (CDN)
CN110096659A (en) A kind of page display method, device, equipment and readable storage medium storing program for executing
CN105359487B (en) The method for going reference monitoring NAT behavior by the URI in web browser
US9276901B2 (en) Method, system, and apparatus for transitioning from IPv4 to IPv6
WO2008130946A2 (en) Unobtrusive methods and systems for collecting information transmitted over a network
CN105871975A (en) Method and device for selecting source server
CN106657426A (en) Processing method and device for domain name parsing request, and server
CN103873604B (en) Network access method based on analysis of CDN data
US20180329771A1 (en) Identifying failed customer experience in distributed computer systems
CN106412063A (en) CDN node detection and resource scheduling system and method in education network
US20130275547A1 (en) System and method for providing supplemental electronic content to a networked device
CN108924012A (en) Method, equipment, system and the medium of IPv6 name server liveness detection
CN104394227B (en) User data transmission method, system and the browser of browser
EP3078180B1 (en) Performance metric of a system conveying web content
CN106921537A (en) Website visiting quality detecting method, server and system
CN104301415A (en) Global load balancing method based on HTTP redirection
CN110311837A (en) Online service availability detection method, device and computer equipment
CN110392123A (en) The methods, devices and systems of detection outlet IP address
CN107592291A (en) A kind of IP address detection method, system, device and electronic equipment
US10193853B1 (en) Web browser or web service based detection of internet facing DNS server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220401

Address after: 100016 1773, 15 / F, 17 / F, building 3, No.10, Jiuxianqiao Road, Chaoyang District, Beijing

Patentee after: Sanliu0 Digital Security Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.