CN106027284A - Network fault diagnosis method and device - Google Patents
Network fault diagnosis method and device Download PDFInfo
- Publication number
- CN106027284A CN106027284A CN201610282639.2A CN201610282639A CN106027284A CN 106027284 A CN106027284 A CN 106027284A CN 201610282639 A CN201610282639 A CN 201610282639A CN 106027284 A CN106027284 A CN 106027284A
- Authority
- CN
- China
- Prior art keywords
- server
- client
- network
- instruction information
- detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000003745 diagnosis Methods 0.000 title abstract description 6
- 238000004891 communication Methods 0.000 claims abstract description 47
- 238000001514 detection method Methods 0.000 claims description 108
- 230000004888 barrier function Effects 0.000 claims description 4
- 238000007689 inspection Methods 0.000 claims 4
- 230000008569 process Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to the technical field of networks, and discloses a network fault diagnosis method and device. The network fault diagnosis method comprises the following steps: detecting the connectivity between a client and a router, wherein a network includes the client, the router, a first server and a second server, the first server is a target server, and the second server is a non-target server; detecting the network connectivity between the client and the first server if a successful connection between the client and the router is detected; detecting the network connectivity between the client and the second server if a failure of communication between the client and the first server is detected; and judging that the first server fails if successful communication between the client and the second server is detected. Compared with the prior art, the network fault diagnosis method and device have the advantages that causes of network faults can be found accurately, and the user experience is improved.
Description
Technical field
The present invention relates to network technology, particularly to method for diagnosing faults and the device of a kind of network.
Background technology
In realizing process of the present invention, inventor finds that in prior art, at least there are the following problems: user
Often run into when browsing information after triggering accesses operation and slowly can not get response, and user does not knows
Any reason causes this problem, does not also know that seeking which kind of approach solves this problem, affects Consumer's Experience.
Summary of the invention
Present invention solves the problem in that method for diagnosing faults and the device that a kind of network is provided, can be accurate
Find out the reason place of network failure, be conducive to promoting Consumer's Experience.
For solving above-mentioned technical problem, embodiments of the present invention provide the fault diagnosis side of a kind of network
Method, described network packet containing client, router, first server and described second server, described the
One server is destination server, and described second server is non-targeted server;
The method for diagnosing faults of network comprises the steps of between the described client of detection and described router
Connectedness;If detect described client connect described router success, then detect described client with
The network connectivty of described first server;If detecting between described client and described first server
Communication failure, then detect the network connectivty of described client and described second server;If detecting
Communication success between described client and described second server, then judge that described first server occurs
Fault.
Embodiments of the present invention additionally provide the trouble-shooter of a kind of network, comprise: the first detection
Module, the first judge module, the second detection module, the second judge module, the 3rd detection module and the 3rd
Judge module;
Described first detection module, for detecting the connectedness between described client and described router;
Described first judge module, for judging that described first detection module detects that described client connects institute
When stating router success, trigger described second detection module and detect described client and described first server
Network connectivty;Described second judge module, for judging that described second detection module detects institute
When stating the communication failure between client and described first server, trigger described 3rd detection module detection
Described client and the network connectivty of described second server;Described 3rd judge module, for sentencing
Fixed described 3rd detection module detects the communication success between described client and described second server
Time, it is determined that described first server breaks down.
Embodiment of the present invention in terms of existing technologies, by detection client and router between
Connectedness, can quickly judge whether router breaks down.Normal with router UNICOM in client
Time detection client and first server between connectedness, can quickly judge whether first server goes out
Existing fault.In order to prevent erroneous judgement, when judging communication failure between client and first server, also examine
Surveying the connectedness between client and non-targeted server, communicate between client with destination server mistake
Lose and with when communicating successfully between non-targeted server just judge first server break down, so, can
To avoid erroneous judgement, improve the accuracy of Network Fault Detection.In a word, embodiment of the present invention makes at net
When network occurs abnormal can reason place convenient, fast, Network Search fault exactly, be conducive to carrying
Rise Consumer's Experience.
It addition, the described client of described detection and the network connectivty of described second server step it
After, also comprise the steps of
Generate detection daily record;Wherein, described detection daily record is including at least the first instruction information, the second instruction
Information and the 3rd instruction information;Described first instruction information is used for indicating described client and described router
Between connectedness;Described second instruction information be used for indicating described client and described first server it
Between connectedness;Described 3rd instruction information is used for indicating between described client and described second server
Connectedness;Described detection daily record is uploaded to the 3rd server;
Described 3rd server searches, according to described detection daily record, the fault that described network exists, and by result
Feed back to described client;Wherein, information is indicated to indicate described client to connect described road described first
The communication between described client and described first server is indicated by device success, described second instruction information
Failed and described 3rd instruction information indicates the communication success between described client and described second server
Time, described 3rd server judges that described first server breaks down.
Detection daily record is uploaded to the 3rd server, and the 3rd server can be searched by analyzing detection daily record
Causing the reason of network failure, and result is fed back to client, so, user can be intuitively visitor
Family end is seen the reason of fault, facilitates the timely handling failure of user, improve embodiment of the present invention just
Profit.
It addition, in the step of the described client of described detection Yu the network connectivty of described first server
In, specifically comprise the steps of and detect described client and described first server by Ping order
Network connectivty.Ping is the Internet packets survey meter, for the program of test network connection amount.Pass through
" Ping " order can check whether network connects very easily, helps to analyze and judge network failure.
It addition, described detection daily record also comprises the positional information of described client, the 4th instruction information and the
Five instruction information;Wherein, described 4th instruction information be used for indicating described client and the 4th server it
Between connectedness;Described 5th instruction information is for indicating the company between described client and the 5th server
The general character;Described 4th server is the master server in server cluster, and described first server belongs to institute
State server cluster;Described 5th server is the content distributing network CDN in described server cluster
Server;
After detecting described client and the step of the network connectivty of described first server, and in institute
Stating before generating the step detecting daily record, detecting that described client is with described if also comprising the steps of
Communication success between first server, then detect the company between described client and described 4th server
The general character and detect the connectedness between described client and described 5th server;
After the described step generating detection daily record, described client detected if comprising the steps of
And the communication success between described 4th server, is uploaded to described 4th server by described detection daily record;
If the communication success detected between described client and described 5th server, the most described 4th server
It is that described client distributes the CDN server closest with described client according to described positional information.
So so that when client and server communication success, can be by master server according to client
Positional information is the CDN server that the distribution of this client is the most nearest, and then can improve network transmission
Speed, promotes Consumer's Experience.
It addition, described detection daily record also comprises speed of download information;Described speed of download information is used for indicating
Described client downloads the speed of file from described CDN server.So user just can see intuitively
To the network transfer speeds of client, contribute to grasping network operation situation.
Accompanying drawing explanation
Fig. 1 is the method for diagnosing faults flow chart of the network according to first embodiment of the invention;
Fig. 2 is the structural representation according to the network in third embodiment of the invention;
Fig. 3 is the trouble-shooter structural representation of the network according to third embodiment of the invention;
Fig. 4 is the structural representation according to the network in four embodiment of the invention;
Fig. 5 is the trouble-shooter structural representation of the network according to four embodiment of the invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to this
Bright each embodiment is explained in detail.But, it will be understood by those skilled in the art that
In each embodiment of the present invention, propose many technology to make reader be more fully understood that the application thin
Joint.But, even if there is no these ins and outs and many variations based on following embodiment and amendment,
The application each claim technical scheme required for protection can also be realized.
First embodiment of the present invention relates to the method for diagnosing faults of a kind of network, in present embodiment
Network packet is containing client, router, first server, second server and the 3rd server, Qi Zhong
One server is destination server to be detected, and second server is non-targeted server.Such as, examine
When surveying mobile phone and the happy server regarded connective, the happy server regarded is as destination server, other clothes
Business device is non-targeted server.The method for diagnosing faults flow process of the network of present embodiment as it is shown in figure 1,
Specific as follows:
In a step 101, the connectedness between detection client and router.Specifically, Ke Yitong
Cross the connectedness between Ping order detection client and router, such as, it is desirable to whether detection mobile phone
Connecting with router, can open run dialog in mobile phone, input Ping space is plus router ground
Then location, such as input Ping 192.168.1.1 are put and are determined, both can be with the number of viewing client-side Yu router
According to the situation of return.
In a step 102, it is judged that the whether successful connection of client and router.If then entering step 104,
Otherwise enter step 103.Specifically, in Ping order, if returning an equal amount of packet,
Then explanation client and router successful connection, if returning request timed out, then explanation client and route
Device connects unsuccessful.In this step, if the determination result is YES, client and router successful connection are described,
Then entering step 104, otherwise explanation client is connected unsuccessful with router, then enter step 103.
In step 103, it is determined that router failure.
At step 104, detection client and the network connectivty of first server.Specifically, may be used
To be detected the connectedness between client and first server by Ping order, such as, it is desirable to detection
Whether mobile phone can access and happy regard server (address as www.letv.com), can control mobile phone and pass through
Ping command access www.letv.com, as such, it is possible to obtain mobile phone and the happy connection situation regarding server.
In step 105, it is judged that the communication between client and first server is the most successful.If then
Enter 106, otherwise enter step 107.Specifically, in this step if the determination result is YES, visitor is described
Family end can access first server, then enter step 106, and otherwise explanation client cannot access the
One server, then enter step 107.
In step 106, it is determined that first server does not has fault.
In step 107, detection client and the network connectivty of second server.Specifically, may be used
To be detected the connectedness between client and second server by Ping order, such as, detect mobile phone
Whether can access Baidu's server (address is www.baidu.com), mobile phone can be controlled and pass through Ping
Command access www.baidu.com, as such, it is possible to obtain the connection situation of mobile phone and www.baidu.com.
In step 108, it is judged that the communication between client and second server is the most successful.If then
Enter 109, otherwise terminate flow process.Specifically, in this step if the determination result is YES, client is described
End cannot access first server, but can access second server, then enter step 109, no
Then explanation client can not access first server, can not access second server, then terminate network
The flow process of fault diagnosis.
In step 109, it is determined that first server breaks down.
In step 110, detection daily record is generated.Specifically, the detection daily record in present embodiment is extremely
Comprising the first instruction information, the second instruction information and the 3rd instruction information less, the first instruction information is used for referring to
Show that the connectedness between client and router, the second instruction information are used for indicating client and first service
Connectedness between device, the 3rd instruction information is for indicating the connectedness between client and second server.
In actual applications, instruction information can be a field, can be such as true (instruction is passed through successfully)
Or false (instruction is passed through unsuccessfully).
In step 111, detection daily record is uploaded to the 3rd server.Specifically, the 3rd server
It can be fault detect server.
In step 112, the fault that the 3rd server exists according to detection daily record Network Search.Concrete
Say, detection daily record contains the communications condition information between client and router and server,
First instruction information instruction client connection route device success, the second instruction information instruction client and first
Communication failure between server and the communication between the 3rd instruction information instruction client and second server
During success, the 3rd server judges that first server breaks down.
In step 113, result is fed back to client.Specifically, in present embodiment, permissible
Result is fed back to client by the method pushed by message so that can be seen intuitively by client
The reason of fault.
It should be noted that present embodiment is applicable to the electronics that computer, mobile phone, flat board etc. can be networked
Equipment, such as when we use surfing Internet with cell phone, when being frequently encountered access webpage, cannot ring for a long time
Situation about answering, it is possible to use the method for diagnosing faults of the network provided in present embodiment, detects event automatically
The reason of barrier, in order to the timely handling failure of user.
Present embodiment compared with prior art, by detection client and router between connectedness,
Can quickly judge whether router breaks down.The detection visitor when client is normal with router UNICOM
Connectedness between family end and first server, can quickly judge whether first server breaks down.
In order to prevent erroneous judgement, when judging communication failure between client and first server, also detect client
And the connectedness between non-targeted server, communication failure and with non-between client and destination server
Just judge when communicating successfully between destination server that first server breaks down, this way it is possible to avoid by mistake
Sentence, improve the accuracy of Network Fault Detection.In a word, embodiment of the present invention makes occur different at network
Time often can reason place convenient, fast, Network Search fault exactly, be conducive to promoting user's body
Test.
Second embodiment of the present invention relates to the method for diagnosing faults of a kind of network.Second embodiment exists
Improve on the basis of first embodiment, the improvement is that: in the present embodiment, in detection
To router and client all there is no fault time, for the client nearest node server of distribution, improve net
Network transmission speed.
Specifically, the network in present embodiment also comprises the 4th server and the 5th server, wherein
4th server is the master server in server cluster, and first server belongs to server cluster, the 5th
Server is CDN (content distributing network) server in server cluster.
In present embodiment detect daily record can also comprise the positional information of client, the 4th instruction information,
5th instruction information and speed of download information.Wherein, the 4th instruction information is used for indicating client and the 4th
Connectedness between server, the 5th instruction information is for indicating the company between client and the 5th server
The general character, speed of download information downloads the speed of file for indicating client from CDN server.Pass through
Check detection daily record, be possible not only to the connectedness seeing client with server, it is also possible to obtain client
Position and client download the speed of file from CDN server, convenient when speed of download exception
Process.
In the present embodiment, detection client and first server network connectivty step it
After, and before generating the step of detection daily record, also comprise the steps of
If the communication success between the client of detecting and first server, then detection client and the 4th clothes
The connectedness between connectedness and detection client and the 5th server between business device.
After generating the step of detection daily record, comprise the steps of
If the communication success between the client of detecting and the 4th server, detection daily record is uploaded to the 4th
Server.If between the client of detecting and the 5th server communication success, then the 4th server according to
Positional information is the CDN server that client distribution is closest with client.
It is to say, the 4th server in present embodiment can be the main service in server cluster
Device, the 5th server can be the CDN server in server cluster, and CDN server can have
Multiple, master server can be that each client distributes CDN server.In actual applications, log in
During client, it sometimes appear that download the slowest situation of speed of file from CDN server, cause this
The reason planting Network Abnormal is generally client failure, server failure or CDN server distribution not
Rationally, the most in the present embodiment, in the case of client and server all proper communication, detection
Communication between client and master server and CDN server, and detection daily record is uploaded to main clothes
Business device, wherein detection daily record contains the positional information of client, client and master server and
Communication conditions between CDN server, if between client and master server and CDN server
Communicate successfully, then master server is according to the position of client, distributes nearest CDN server for it,
The network transfer speeds of client can be improved further, promote Consumer's Experience.
When reality is applied, detection daily record can also comprise the IP address of client, as standby message.
The step of the most various methods divides, and is intended merely to describe clear, it is achieved time can merge into one
Step or split some step, is decomposed into multiple step, as long as comprising identical logical relation,
All in the protection domain of this patent;To adding inessential amendment in algorithm or in flow process or drawing
Enter inessential design, but do not change the core design of its algorithm and flow process all at the protection model of this patent
In enclosing.
Third embodiment of the invention relates to a kind of trouble-shooter, the network structure in present embodiment
As in figure 2 it is shown, comprise: client, router, first server, second server and the 3rd service
Device, first server is destination server, and second server is non-targeted server, and first server,
Second server and the 3rd server respectively both can nothings with router wireless connections, client and router
Line is connected and can also be connected by netting twine.
The trouble-shooter of network in present embodiment, concrete as it is shown on figure 3, comprise: the first detection
Module, the first judge module, the second detection module, the second judge module, the 3rd detection module, the 3rd
Judge module, generation module, output module and receiver module.
First detection module, for detecting the connectedness between client and router.
First judge module, for judging that first detection module detects the success of client connection route device
Time, trigger the network connectivty of the second detection module detection client and first server.
Second judge module, for judge the second detection module detect client and first server it
Between communication failure time, trigger the network connectivty of the 3rd detection module detection client and second server.
3rd judge module, for judge the 3rd detection module detect client and second server it
Between communication success time, it is determined that first server breaks down.
Generation module, is used for generating detection daily record;Wherein, detection daily record including at least first instruction information,
Second instruction information and the 3rd instruction information;First instruction information is used for indicating between client and router
Connectedness;Second instruction information is for indicating the connectedness between client and first server;3rd
Instruction information is for indicating the connectedness between client and second server.
Output module, for being uploaded to the 3rd server by detection daily record.
3rd server, for the fault existed according to detection daily record Network Search, and by result by connecing
Receive module feedback to client;Wherein, first instruction information instruction client connection route device success,
Communication failure between second instruction information instruction client and first server and the 3rd instruction information instruction
During communication success between client and second server, the 3rd server judge first server occur therefore
Barrier.
It is seen that, present embodiment is the device embodiment corresponding with the first embodiment, this enforcement
Mode can be worked in coordination enforcement with the first embodiment.The relevant technical details mentioned in first embodiment
The most effective, in order to reduce repetition, repeat no more here.Correspondingly, this enforcement
The relevant technical details mentioned in mode is also applicable in the first embodiment.
It is noted that each module involved in present embodiment is logic module, in reality
In application, a logical block can be a physical location, it is also possible to be one of a physical location
Point, it is also possible to realize with the combination of multiple physical locations.Additionally, for the innovative part highlighting the present invention,
Not by the unit the closest with solving technical problem relation proposed by the invention in present embodiment
Introduce, but this is not intended that in present embodiment the unit that there is not other.
Four embodiment of the invention relates to a kind of trouble-shooter.4th embodiment is implemented the 3rd
Improve on the basis of mode, the improvement is that: in the present embodiment, increase by two detection moulds
Block, when router being detected and client does not all have fault, distributes nearest server for client,
Improve network transfer speeds.
Specifically, the network in present embodiment also comprises the 4th server and the 5th server, such as figure
Shown in 4, the 4th server and the 5th server are respectively at router wireless connections, and the 4th server is clothes
Master server in business device cluster, first server belongs to server cluster, and the 5th server is server
Content distribution network CDN service device in cluster.
Detection daily record in present embodiment also comprise the positional information of client, the 4th instruction information, the
Five instruction information and speed of download information;Wherein, the 4th instruction information is used for indicating client and the 4th clothes
Connectedness between business device;5th instruction information is for indicating the connection between client and the 5th server
Property, speed of download information downloads the speed of file for indicating client from CDN server.
The trouble-shooter of the network in present embodiment also comprises the 4th detection module and the 5th detection
Module, as shown in Figure 5.
4th detection module, for detecting between client and first server at first detection module
Connectedness when communicating successfully, between detection client and the 4th server.
5th detection module, for detecting between client and first server at first detection module
Connectedness when communicating successfully, between detection client and the 5th server.
When the 4th detection module detects the communication success between client and the 4th server, export mould
Block is for being uploaded to the 4th server by detection daily record.
When the 5th detection module detects the communication success between client and the 5th server, the 4th clothes
Business device is that client distributes the CDN server closest with client according to positional information.
Owing to the second embodiment is the most corresponding with present embodiment, therefore present embodiment can be real with second
The mode of executing is worked in coordination enforcement.The relevant technical details mentioned in second embodiment is in the present embodiment
Still effective, the technique effect that can reach in this second embodiment the most too may be used
To realize, in order to reduce repetition, repeat no more here.Correspondingly, that mentions in present embodiment is relevant
Ins and outs are also applicable in the second embodiment.
It will be understood by those skilled in the art that the respective embodiments described above are realize the present invention concrete
Embodiment, and in actual applications, can to it, various changes can be made in the form and details, and the most inclined
From the spirit and scope of the present invention.
Claims (10)
1. the method for diagnosing faults of a network, it is characterised in that described network packet contains client, road
By device, first server and described second server, described first server is destination server, described
Second server is non-targeted server;
The method for diagnosing faults of described network comprises the steps of
Detect the connectedness between described client and described router;If detecting, described client connects
The success of described router, then detect the network connectivty of described client and described first server;
If the communication failure detected between described client and described first server, then detect described visitor
Family end and the network connectivty of described second server;If described client and described second service being detected
Communication success between device, then judge that described first server breaks down.
The method for diagnosing faults of network the most according to claim 1, it is characterised in that described
After the step of the network connectivty detecting described client and described second server, also comprise following step
Rapid:
Generate detection daily record;Wherein, described detection daily record is including at least the first instruction information, the second instruction
Information and the 3rd instruction information;Described first instruction information is used for indicating described client and described router
Between connectedness;Described second instruction information be used for indicating described client and described first server it
Between connectedness;Described 3rd instruction information is used for indicating between described client and described second server
Connectedness;
Described detection daily record is uploaded to the 3rd server;
Described 3rd server searches, according to described detection daily record, the fault that described network exists, and by result
Feed back to described client;Wherein, information is indicated to indicate described client to connect described road described first
The communication between described client and described first server is indicated by device success, described second instruction information
Failed and described 3rd instruction information indicates the communication between described client and described second server to become
During merit, described 3rd server judges that described first server breaks down.
The method for diagnosing faults of network the most according to claim 2, it is characterised in that described
In the step of the network connectivty detecting described client and described first server, specifically comprise following step
Rapid:
The network connectivty of described client and described first server is detected by Ping order.
The method for diagnosing faults of network the most according to claim 2, it is characterised in that described inspection
Survey daily record and also comprise the positional information of described client, the 4th instruction information and the 5th instruction information;Wherein,
Described 4th instruction information is for indicating the connectedness between described client and the 4th server;Described
Five instruction information are for indicating the connectedness between described client and the 5th server;Described 4th service
Device is the master server in server cluster, and described first server belongs to described server cluster;Described
5th server is the content distribution network CDN service device in described server cluster;
After detecting described client and the step of the network connectivty of described first server, and in institute
State before generating the step detecting daily record, also comprise the steps of
If the communication success detected between described client and described first server, then detect described visitor
Connectedness between family end and described 4th server and detect described client and described 5th service
Connectedness between device;
After the described step generating detection daily record, comprise the steps of
If the communication success detected between described client and described 4th server, by described detection day
Will is uploaded to described 4th server;
If the communication success detected between described client and described 5th server, the most described 4th clothes
Business device is that described client distributes the CDN clothes closest with described client according to described positional information
Business device.
The method for diagnosing faults of network the most according to claim 4, it is characterised in that described inspection
Survey daily record and also comprise speed of download information;Described speed of download information is used for indicating described client from described
CDN server downloads the speed of file.
The method for diagnosing faults of network the most according to claim 2, it is characterised in that described
Detect among the connective step between described client and described router,
If detecting, described client connects the failure of described router, then judge that event occurs in described router
Barrier.
7. the trouble-shooter of a network, it is characterised in that described network packet contains client, road
By device, first server and described second server, described first server is destination server, described
Second server is non-targeted server;
The trouble-shooter of described network comprises: first detection module, the first judge module, the second inspection
Survey module, the second judge module, the 3rd detection module and the 3rd judge module;
Described first detection module, for detecting the connectedness between described client and described router;
Described first judge module, for judging that described first detection module detects that described client is even
When connecing described router success, trigger described second detection module and detect described client and described first clothes
The network connectivty of business device;
Described second judge module, for judge described second detection module detect described client with
During communication failure between described first server, trigger described 3rd detection module and detect described client
Network connectivty with described second server;
Described 3rd judge module, for judge described 3rd detection module detect described client with
During communication success between described second server, it is determined that described first server breaks down.
The trouble-shooter of network the most according to claim 7, it is characterised in that also comprise
Generation module, output module and receiver module;Described network also comprises the 3rd server;
Described generation module, is used for generating detection daily record;Wherein, described detection daily record includes at least first
Instruction information, the second instruction information and the 3rd instruction information;Described first instruction information is used for indicating described
Connectedness between client and described router;Described second instruction information is used for indicating described client
And the connectedness between described first server;Described 3rd instruction information be used for indicating described client with
Connectedness between described second server;
Described output module, for being uploaded to described 3rd server by described detection daily record;
Described 3rd server, for searching, according to described detection daily record, the fault that described network exists, and
Result is fed back to described client by described receiver module;Wherein, refer in described first instruction information
Show that described client connects the success of described router, described second instruction information indicates described client and institute
State the communication failure between first server and described 3rd instruction information indicates described client with described
During communication success between second server, described 3rd server judge described first server occur therefore
Barrier.
The trouble-shooter of network the most according to claim 8, it is characterised in that described net
Network also comprises the 4th server and the 5th server;Described 4th server is the main clothes in server cluster
Business device, described first server belongs to described server cluster;Described 5th server is described server
Content distribution network CDN service device in cluster;
Described detection daily record also comprises the positional information of described client, the 4th instruction information and the 5th instruction
Information;Wherein, described 4th instruction information is used for indicating between described client and described 4th server
Connectedness;Described 5th instruction information is for indicating between described client and described 5th server
Connective;
The trouble-shooter of described network also comprises the 4th detection module and the 5th detection module;
At described first detection module, described 4th detection module, for detecting that described client is with described
During communication success between first server, detect the company between described client and described 4th server
The general character;
At described first detection module, described 5th detection module, for detecting that described client is with described
During communication success between first server, detect the company between described client and described 5th server
The general character;
The communication between described client and described 4th server is detected at described 4th detection module
During success, described output module is for being uploaded to described 4th server by described detection daily record;
The communication between described client and described 5th server is detected at described 5th detection module
During success, described 4th server is the distribution of described client and described client according to described positional information
Closest CDN server.
The trouble-shooter of network the most according to claim 9, it is characterised in that described inspection
Survey daily record and also comprise speed of download information;Described speed of download information is used for indicating described client from described
CDN server downloads the speed of file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610282639.2A CN106027284A (en) | 2016-04-29 | 2016-04-29 | Network fault diagnosis method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610282639.2A CN106027284A (en) | 2016-04-29 | 2016-04-29 | Network fault diagnosis method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106027284A true CN106027284A (en) | 2016-10-12 |
Family
ID=57081432
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610282639.2A Pending CN106027284A (en) | 2016-04-29 | 2016-04-29 | Network fault diagnosis method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106027284A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107959939A (en) * | 2017-12-29 | 2018-04-24 | 北京奇虎科技有限公司 | The connectivity recognition methods of wireless access points AP a kind of and device |
CN109586969A (en) * | 2018-12-13 | 2019-04-05 | 平安科技(深圳)有限公司 | Content distributing network disaster recovery method, device, computer equipment and storage medium |
CN111314181A (en) * | 2020-03-20 | 2020-06-19 | 北京无限光场科技有限公司 | Network connectivity diagnosis method, device, terminal and storage medium |
CN111417142A (en) * | 2020-03-09 | 2020-07-14 | 中国移动通信集团江苏有限公司 | User identification method, device, equipment and storage medium |
CN114006845A (en) * | 2020-07-14 | 2022-02-01 | 芜湖美的厨卫电器制造有限公司 | Control method and control device for household appliance, household appliance and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136786A (en) * | 2006-08-29 | 2008-03-05 | 郑州威科姆技术开发有限公司 | Network fault node diagnosis method |
CN102035660A (en) * | 2009-09-24 | 2011-04-27 | 中国移动通信集团公司 | Internet data center (IDC) network-based service processing method, equipment and system |
RU2454711C1 (en) * | 2011-04-04 | 2012-06-27 | Общество с ограниченной ответственностью "СДН-видео" | Method of distributing load between content delivery network (cdn) servers |
US20130007537A1 (en) * | 2011-06-24 | 2013-01-03 | Canon Kabushiki Kaisha | Information processing apparatus, information processing method, and storage medium storing program therefor |
CN103596240A (en) * | 2013-11-26 | 2014-02-19 | 上海交通大学 | Method for acquiring data of mobile terminal dominated by wireless mesh network |
CN103684897A (en) * | 2012-09-11 | 2014-03-26 | 北京百度网讯科技有限公司 | Method, system and device for detecting network connectivity in client |
-
2016
- 2016-04-29 CN CN201610282639.2A patent/CN106027284A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136786A (en) * | 2006-08-29 | 2008-03-05 | 郑州威科姆技术开发有限公司 | Network fault node diagnosis method |
CN102035660A (en) * | 2009-09-24 | 2011-04-27 | 中国移动通信集团公司 | Internet data center (IDC) network-based service processing method, equipment and system |
RU2454711C1 (en) * | 2011-04-04 | 2012-06-27 | Общество с ограниченной ответственностью "СДН-видео" | Method of distributing load between content delivery network (cdn) servers |
US20130007537A1 (en) * | 2011-06-24 | 2013-01-03 | Canon Kabushiki Kaisha | Information processing apparatus, information processing method, and storage medium storing program therefor |
CN103684897A (en) * | 2012-09-11 | 2014-03-26 | 北京百度网讯科技有限公司 | Method, system and device for detecting network connectivity in client |
CN103596240A (en) * | 2013-11-26 | 2014-02-19 | 上海交通大学 | Method for acquiring data of mobile terminal dominated by wireless mesh network |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107959939A (en) * | 2017-12-29 | 2018-04-24 | 北京奇虎科技有限公司 | The connectivity recognition methods of wireless access points AP a kind of and device |
CN107959939B (en) * | 2017-12-29 | 2022-01-11 | 北京奇虎科技有限公司 | Method and device for identifying connectivity of wireless Access Point (AP) |
CN109586969A (en) * | 2018-12-13 | 2019-04-05 | 平安科技(深圳)有限公司 | Content distributing network disaster recovery method, device, computer equipment and storage medium |
CN109586969B (en) * | 2018-12-13 | 2022-02-11 | 平安科技(深圳)有限公司 | Content distribution network disaster tolerance method and device, computer equipment and storage medium |
CN111417142A (en) * | 2020-03-09 | 2020-07-14 | 中国移动通信集团江苏有限公司 | User identification method, device, equipment and storage medium |
CN111314181A (en) * | 2020-03-20 | 2020-06-19 | 北京无限光场科技有限公司 | Network connectivity diagnosis method, device, terminal and storage medium |
CN111314181B (en) * | 2020-03-20 | 2022-06-24 | 北京无限光场科技有限公司 | Network connectivity diagnosis method, device, terminal and storage medium |
CN114006845A (en) * | 2020-07-14 | 2022-02-01 | 芜湖美的厨卫电器制造有限公司 | Control method and control device for household appliance, household appliance and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106027284A (en) | Network fault diagnosis method and device | |
CN109660502A (en) | Detection method, device, equipment and the storage medium of abnormal behaviour | |
KR102076862B1 (en) | Network performance indicator visualization method and apparatus, and system | |
CN106657367A (en) | Service data acquisition method, device and system | |
CN107786545A (en) | A kind of attack detection method and terminal device | |
CN106034051B (en) | Network monitoring data processing method and network monitoring data processing unit | |
CN102739663A (en) | Detection method and scanning engine of web pages | |
CN110287119A (en) | A kind of automatic interface testing method and device based on python | |
CN112737800B (en) | Service node fault positioning method, call chain generating method and server | |
CN108900388A (en) | Method and apparatus for monitor network quality | |
CN107483260A (en) | Fault handling method and device, electronic equipment | |
CN106936791A (en) | Intercept the method and apparatus that malice network address is accessed | |
CN106789442A (en) | LAN client performance analysis method based on data on flows | |
CN109714221A (en) | The determination method, apparatus and system of network packet | |
CN102223266B (en) | Method and device for detecting protocol agent | |
CN103780450A (en) | Browser access web address detection method and system | |
CN106130791B (en) | Cache equipment service capability traversal test system and method based on service quality | |
CN108449273A (en) | A kind of network accelerating method and system | |
CN101582897A (en) | Deep packet inspection method and device | |
CN102298112B (en) | The method of testing of a kind of PLD and system | |
CN106060048A (en) | Network resource access method and network resource access device | |
CN110032872A (en) | A kind of service logic leak detection method and device | |
US12068930B2 (en) | Method and apparatus for determining application service dependency and processor | |
CN109462527A (en) | Network congestion analysis method, device and storage medium | |
CN103281288B (en) | A kind of SMSCallFilter system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161012 |
|
WD01 | Invention patent application deemed withdrawn after publication |