CN109728931A - The failure of network delimits method, apparatus and computer storage medium - Google Patents
The failure of network delimits method, apparatus and computer storage medium Download PDFInfo
- Publication number
- CN109728931A CN109728931A CN201711047408.4A CN201711047408A CN109728931A CN 109728931 A CN109728931 A CN 109728931A CN 201711047408 A CN201711047408 A CN 201711047408A CN 109728931 A CN109728931 A CN 109728931A
- Authority
- CN
- China
- Prior art keywords
- message
- interchanger
- server
- failure
- control equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The failure that the application provides a kind of network delimits method, device and computer storage medium, the described method includes: control equipment sends fault detection instruction message to the server for carrying out failure demarcation, the failure indication information is used to indicate server and tracks message to transmission using failure IP to be tracked, control the number that equipment receives the tracking message that each interchanger in network is sent, the number for tracking message is that interchanger is obtained according to message matching strategy, wherein, message matching strategy on each interchanger is identical, the number for the tracking message that control equipment is sent according to each interchanger, determine the interchanger to break down.In this method, since the message matching strategy on each interchanger is identical, and the message matching strategy of interchanger is not influenced by networking, so that the configuration amount of interchanger greatly reduces, and this method carries out failure demarcation according to the number of tracking message, realizes simply, delimits quick and precisely.
Description
Technical field
This application involves the communication technologys more particularly to a kind of failure of network to delimit method, apparatus and computer storage
Medium.
Background technique
Service interaction between server is needed through excessive platform switching equipment, and any one switching equipment in network occurs
Hardware and/or software fault can all cause service message to be lost, and therefore, when network failure, need quickly to carry out network
Failure delimit, that is, be quickly found out the switching equipment to break down.With the increase of network size and complexity, the failure of network
The difficulty of demarcation is also gradually increased.
By taking CLOS (Crouse) network as an example, CLOS network is using multistage architecture for exchanging, and there are a plurality of etc. in CLOS network
Valence routes (Equal Cost Multi-Path, ECMP), clog-free so as to accomplish.Switching equipment, can when E-Packeting
To select forward-path, under normal circumstances, the forward-path of the message on same stream according to the cryptographic Hash of the five-tuple of message
It is that message on fixed, different stream can be routed in different paths.When network failure occurs, although for fixed fixed
The equipment on boundary detects that the Internet protocol (Intent Protocol, IP) of failure is right, but due to existing forward-path compared with
It is more, it is tracked using traditional the Internet packets survey meter (Packet Internet Groper, ping) and routing
(transroute) failure that method is unable to complete network is delimited, therefore in the prior art, through frequently with Network Quality Analysis
The failure that (Network Quality Analyzer, NQA) technology carries out network is delimited, and NQA technology, which passes through, sends test packet,
Network performance or service quality are analyzed, determine the position broken down based on the analysis results.
But NQA technology needs each of the links configuration parameter to every interchanger in network, an interchanger is usual
Including multilink, the configuration of each of the links is all different, very huge so as to cause the configuration amount of interchanger, and the technology by
The influence of networking change is very big, for example, requiring when the IP address of some port of interchanger changes to the IP address
The link at place reconfigures, and also will increase the configuration amount of interchanger.
Summary of the invention
The failure that the application provides a kind of network delimits method and apparatus, so that the configuration amount of interchanger greatly reduces, and
Failure delimits method quick and precisely.
The failure that the application first aspect provides a kind of network delimits method, comprising:
It controls equipment and sends fault detection instruction message to the server for carrying out failure demarcation, the fault detection refers to
Show that message is used to indicate the server and tracks message to transmission using the internet protocol IP of failure to be tracked;
The control equipment receives the number for the tracking message that each interchanger in network is sent, of the tracking message
Number is that the interchanger is obtained according to message matching strategy matching, and the message matching strategy is used to indicate interchanger to described
The tracking message that server is sent is matched and is counted, wherein the message matching strategy on each interchanger is identical;
The number for the tracking message that the control equipment is sent according to each interchanger, determines the exchange broken down
Machine.
Optionally, it before the control equipment receives the number for tracking message that each interchanger in network is sent, also wraps
It includes:
The control equipment sends enabled instruction message to each interchanger, and the enabled instruction message is used to indicate friendship
It changes planes and enables the message matching strategy.
Optionally, after determining the interchanger to break down, further includes:
The control equipment goes enabled instruction message to each interchanger transmission, described to go enabled instruction message for referring to
Show that interchanger goes to enable to the message matching strategy.
Optionally, it is described control equipment to for carrying out failure demarcation server send fault detection instruction message it
Before, further includes:
The control equipment receives the fault warning message of at least one server transmission, wraps in the fault warning message
Include IP pairs of failure that server detects;
The control equipment is determined from least one described server for carrying out event according to IP pairs of the failure received
Hinder the server of detection and IP pairs of failure to be tracked described.
Optionally, it is described control equipment to for carrying out failure demarcation server send fault detection instruction message it
Before, further includes:
The control equipment is that each interchanger configures the message matching strategy.
The application second aspect provides a kind of demarcation method of network failure, comprising:
Server other servers into network send probe messages;
When the server detects the internet protocol IP clock synchronization of failure according to the probe messages, the server is to control
Equipment sends fault warning message, includes IP pairs of failure that the server detects in the fault warning message;
The server receives the fault detection instruction message that the control equipment is sent, the fault detection instruction message
It is used to indicate the server and message is tracked to transmission using failure IP to be tracked;
The server sends N number of tracking message to interchanger, and the IP of the tracking message is to event to be tracked for described in
IP pairs of barrier, N are the integer greater than 1.
The application third aspect provides a kind of demarcation method of network failure, comprising:
Interchanger receives the message that server or other interchangers are sent;
The interchanger matches the message received according to preconfigured message matching strategy, when being matched to
When tracking message, the number for tracking message is added 1, the message matching strategy is used to indicate interchanger and chases after to server transmission
Track message is matched and is counted;
When meeting report condition, the interchanger sends the number for the tracking message being matched to control equipment.
Optionally, the interchanger is according to message matching strategy, before matching to the message received, further includes:
The enabled instruction message that the interchanger receiving control apparatus is sent, the enabled instruction message is used to indicate enabled
The message matching strategy;
The interchanger enables the message matching strategy according to the enabled instruction message.
Optionally, after the interchanger sends the number for tracking message to the control equipment, further includes:
The interchanger receives the enabled instruction message of going of the control equipment transmission, described that enabled instruction message is gone to be used for
Instruction goes to enable to the message matching strategy;
The interchanger goes enabled instruction message to go to enable to the message matching strategy according to.
Optionally, the interchanger is according to message matching strategy, before matching to the message received further include:
The interchanger receives the configuration message that the control equipment is sent, and the configuration message is for configuring the message
Matching strategy.
The application fourth aspect provides a kind of control equipment, comprising:
Sending module, for sending fault detection instruction message, the failure to the server for carrying out failure demarcation
Detection instruction message is used to indicate the server and tracks message to transmission using the internet protocol IP of failure to be tracked;
Receiving module, the number of the tracking message for receiving the transmission of each interchanger in network, the tracking message
Number is that the interchanger is obtained according to message matching strategy matching, and the message matching strategy is used to indicate interchanger to institute
The tracking message for stating server transmission is matched and is counted, wherein the message matching strategy on each interchanger is identical;
First determining module, the number of the tracking message for being sent according to each interchanger, what determination was broken down
Interchanger.
Optionally, the sending module, is also used to: sending enabled instruction message, the enabled finger to each interchanger
Show that message is used to indicate interchanger and enables the message matching strategy.
Optionally, the sending module, is also used to: enabled instruction message is gone to each interchanger transmission, it is described to go to make
Energy instruction message is used to indicate interchanger and goes to enable to the message matching strategy.
Optionally, the receiving module is also used to receive the fault warning message of at least one server transmission, the event
It include IP pairs of failure that server detects in barrier alarm information;
The control equipment further include:
Second determining module, IP pairs of the failure for being received according to the receiving module, from least one described service
Server for carrying out fault detection and IP pairs of failure to be tracked described is determined in device.
Optionally, further includes: configuration module, for configuring the message matching strategy for each interchanger.
The 5th aspect of the application provides a kind of server, comprising:
Sending module, for other servers transmission probe messages into network;
The sending module is also used to detect the internet protocol IP pair of failure according to the probe messages when the server
When, fault warning message is sent to control equipment, includes the failure IP that the server detects in the fault warning message
It is right;
Receiving module, the fault detection instruction message sent for receiving the control equipment, the fault detection instruction
Message is used to indicate the server and tracks message to transmission using failure IP to be tracked;
The sending module, for sending N number of tracking message to interchanger, the IP of the tracking message to described in being wait chase after
IP pairs of the failure of track, N are the integer greater than 1.
The 6th invention of the application provides a kind of interchanger, comprising:
Receiving module, the message sent for receiving server or other interchangers;
Matching module, for being matched to the message received, working as matching according to preconfigured message matching strategy
To when tracking message, the number for tracking message is added 1, the message matching strategy is used to indicate what interchanger sent server
Tracking message is matched and is counted;
Sending module, for sending the tracking that the matching module is matched to control equipment when meeting report condition
The number of message.
It optionally, further include enabled module;
The receiving module, is also used to the enabled instruction message of receiving control apparatus transmission, and the enabled instruction message is used
The message matching strategy is enabled in instruction;
Enabled module, for enabling the message matching strategy according to the enabled instruction message.
Optionally, the receiving module is also used to receive the enabled instruction message of going of the control equipment transmission, described to go
Enabled instruction message is used to indicate goes to enable to the message matching strategy;
The enabled module is also used to that enabled instruction message is gone to go to enable to the message matching strategy according to.
Optionally, the receiving module is also used to receive the configuration message that the control equipment is sent, the configuration message
For configuring the message matching strategy.
Optionally, in the application first aspect into the 6th aspect, the message matching strategy is service quality QoS plan
Slightly;
The qos policy includes: that an advanced access control list ACL, stream type and flowing are made, the stream type and institute
Flowing is stated to be associated with;
Wherein, the match options of the advanced ACL include at least one of following information: track message source port,
Destination port and differential server code point DSCP;
The stream type is the advanced ACL described in the message matching received;
The number for the tracking message that the flowing is arrived as statistical match.
Optionally, in the application first aspect into the 6th aspect, the match options of the advanced ACL further include described chase after
The number of track message.
Optionally, in the application first aspect into the 6th aspect, source port, destination port and the difference of the tracking message
At least one of sub-server code point DSCP is different from other messages in network.
The 7th aspect of the application provides a kind of computer readable storage medium, applies in control equipment, the computer
Readable storage medium storing program for executing is stored with instruction, when described instruction is executed by a computing apparatus, so that the control equipment executes such as this Shen
It please method described in first aspect.
The application eighth aspect provides a kind of computer readable storage medium, and using in the server, the computer can
It reads storage medium and is stored with instruction, when described instruction is executed by a computing apparatus, so that the server executes such as the application the
Method described in two aspects.
The 9th aspect of the application provides a kind of computer readable storage medium, and using in a switch, the computer can
It reads storage medium and is stored with instruction, when described instruction is executed by a computing apparatus, so that the interchanger executes such as the application the
Method described in three aspects.
The tenth aspect of the application provides a kind of control equipment, comprising: processor, memory and transceiver, the memory
For storing instruction, the transceiver is used for and other equipment communication, the processor store in the memory for executing
Instruction so that the control equipment executes method as described in the application first aspect.
The tenth one side of the application provides a kind of network equipment, comprising: processor, memory and transceiver, the storage
For storing instruction, the transceiver is used for device and other equipment communication, the processor are deposited in the memory for executing
The instruction of storage, so that the server executes the method as described in the application second aspect.
The 12nd aspect of the application provides a kind of interchanger, comprising: processor, memory and transceiver, the memory
For storing instruction, the transceiver is used for and other equipment communication, the processor store in the memory for executing
Instruction so that the interchanger executes method as described in the application third aspect.
The failure of network provided by the present application delimits method, apparatus and computer storage medium, and control equipment is to being used for
The server for carrying out failure demarcation sends fault detection instruction message, which is used to indicate server use wait chase after
The failure IP of track receives the number for the tracking message that each interchanger in network is sent, chases after to tracking message, control equipment is sent
The number of track message is that interchanger is obtained according to message matching strategy, and message matching strategy is used for the tracking sent to server
Message is matched and is counted, wherein the message matching strategy on each interchanger is identical, and control equipment is sent according to each interchanger
Tracking message number, determine the interchanger that breaks down.In this method, due to the message matching strategy phase on each interchanger
Together, and the message matching strategy of interchanger is not influenced by networking, so that the configuration amount of interchanger greatly reduces, and the party
Method carries out failure demarcation according to the number of tracking message, realizes simply, delimits quick and precisely.
Detailed description of the invention
Fig. 1 is the schematic diagram for the network architecture that the application is applicable in;
Fig. 2 is a kind of structural schematic diagram of CLOS network;
Fig. 3 is another structural schematic diagram of CLOS network;
Fig. 4 is the flow chart of the demarcation method for the network failure that the embodiment of the present application one provides;
Fig. 5 is a kind of forwarding schematic diagram for tracking message;
Fig. 6 is the flow chart of the demarcation method for the network failure that the embodiment of the present application two provides;
Fig. 7 is the flow chart of the demarcation method for the network failure that the embodiment of the present application three provides;
Fig. 8 is the signaling diagram of the demarcation method for the network failure that the embodiment of the present application four provides;
Fig. 9 is the structural schematic diagram for the control equipment that the embodiment of the present application five provides;
Figure 10 is the structural schematic diagram for the control equipment that the embodiment of the present application six provides;
Figure 11 is the structural schematic diagram for the server that the embodiment of the present application seven provides;
Figure 12 is the structural schematic diagram for the interchanger that the embodiment of the present application eight provides;
Figure 13 is the structural schematic diagram for the control equipment that the embodiment of the present application nine provides;
Figure 14 is the structural schematic diagram for the server that the embodiment of the present application ten provides;
Figure 15 is the structural schematic diagram for the interchanger that the embodiment of the present application 11 provides.
Specific embodiment
The application provides a kind of demarcation method of network failure, and Fig. 1 is the schematic diagram for the network architecture that the application is applicable in, such as
Shown in Fig. 1, which includes: exchange network, control equipment and server.Exchange network is made of multiple switch, should
Exchange network can be CLOS network.The number of server be it is multiple, the service interaction between server is needed by the exchange
Network.Control equipment is the equipment that the application increases newly, and control equipment can be with server and switch communication, wherein control is set
It is standby to be led to by Simple Network Management Protocol (Simple network manage protocol, SNMP) between interchanger
Letter.
Fig. 2 is a kind of structural schematic diagram of CLOS network, as shown in Fig. 2, the CLOS network is made of three-tier switch: connecing
Enter layer, convergence layer and core layer, wherein the interchanger for being located at access layer (network lowermost layer) is known as access switch or boundary is handed over
It changes planes, each edge switch can be connect with multiple servers, and server accesses network by edge switch.Convergence layer
The interchanger of (network middle layer) is known as convergence switch, and the interchanger of core layer (network is top) is known as core switch,
Each convergence switch is connect with multiple edge switch, and each core switch is connect with all convergence switches.
Fig. 3 is another structural schematic diagram of CLOS network, as shown in figure 3, the network only includes two layer switch: core
Layer and access layer, each core switch are all connected with all edge switch.
In the application, each server sending and receiving in addition to finishing service message of network shown in Fig. 1 will also generate spy
Text is observed and predicted, is detected two-by-two by probe messages and other servers in network, when detecting link and breaking down, to control
Control equipment sends fault warning message, is broken down with notice control device network.And in the event for receiving control equipment transmission
When barrier detection instruction message, generates tracking message and be sent to the interchanger of connection.
Control equipment is used to that message matching strategy, the message matching of each interchanger to be respectively configured for each interchanger in network
Strategy is all the same, and the message matching strategy is for being matched and being counted to the tracking message that server is sent.When control equipment
After the fault warning message for receiving server transmission, instruction server generates tracking message, subsequent to have sent in tracking message
Cheng Hou, receives the number for the tracking message that each interchanger reports, and determines the interchanger to break down according to the number of tracking message.
Interchanger is used to that tracking message to be matched and be counted according to message matching strategy.
Based on above-mentioned Fig. 1-network architecture shown in Fig. 3, the demarcation method of network failure provided by the present application, it is intended to solve
In the prior art in the demarcation method of network failure, the problem of the configuration amount of interchanger greatly, more than occupancy resource.
How the technical solution of the application and the technical solution of the application are solved with specifically embodiment below above-mentioned
Technical problem is described in detail.These exemplary embodiments can be combined with each other below, for the same or similar general
Thought or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiments herein is described.
Fig. 4 is the flow chart of the demarcation method for the network failure that the embodiment of the present application one provides, as shown in figure 4, this implementation
Example provide method the following steps are included:
Step S101, control equipment sends fault detection instruction message, failure to the server for carrying out failure demarcation
Detection instruction message is used to indicate server and tracks message to transmission using failure IP to be tracked.
After server receives fault detection instruction message, according to failure IP to be tracked to tracking message is generated, this is chased after
The source IP address and purpose IP address of track message are failure IP to be tracked to the source IP address and purpose IP address for including.Tracking
Message should be different from existing message (including existing service message and probe messages), can will track message in the application
Source port, destination port, differential server code point (Differentiated Services Code Point, DSCP) or
It is one or more using the particular value for being different from existing message in person's agreement, so that tracking message is different from existing message.DSCP
It is the QoS in order to guarantee communication, 8 identification bytes on the head data packet IP are encoded, and segmentation service classification is carried out, and distinguish clothes
The priority of business.
Optionally, before step S101, control equipment determines server and event to be tracked for carrying out failure demarcation
IP pairs of barrier.Illustratively, control equipment can be determined as follows server for carrying out failure demarcation and wait track
IP pairs of failure: control equipment receives the fault warning message of at least one server transmission, includes in the fault warning message
Detect IP pairs of failure of server, control equipment determine use according to IP pairs of the failure received from least one server
In carry out fault detection server and to be tracked IP pairs of failure.
Wherein, fault warning message is when server detects network failure to control equipment transmission, and failure is accused
Alert message is for notifying control device network to break down.Include multiple servers in network, is visited two-by-two between server
It surveys, to determine whether network breaks down, and break down IP pairs of failure, a failure IP is to including a source IP address
With a target ip address, source IP address and purpose IP address of the failure IP to the message for indicating to occur packet loss.One server
The failure IP reported is to may be one or more.
When only one server reporting fault alarm information, control equipment determines that the server is for carrying out failure
The server of demarcation.When there is multiple server reporting fault alarm informations, control equipment can be selected from multiple servers
Part server can also determine that Servers-all carries out failure demarcation for carrying out failure demarcation.What multiple servers reported
It may be overlapped between IP pairs of failure, the failure in network may be caused by the same exchange fault, if Servers-all
Failure demarcation is all carried out, server can generate a large amount of tracking message, occupy a large amount of Internet resources, and therefore, server can be with
Selected section server is for carrying out failure demarcation, for example, selecting a server to delimit for failure from multiple servers.
For example, the failure IP that server A and server B report is to failure IP identical, that server A and server B report
To may, if two servers all carry out failure demarcation, cause Internet resources as caused by identical failed switches
Waste, control equipment can choose server A or server B for failure demarcation.
The failure IP that receives of control equipment to may also be it is multiple, control equipment from multiple failure IP centering determine to
IP pairs of the failure of tracking, failure IP to be tracked may be one or more.When the server for carrying out failure demarcation is more
When a, the failure IP to be tracked of multiple servers may be identical, it is also possible to different.
In the above method, control equipment is delimited by receiving the fault warning message that server reports, triggering failure, should
Method is detected network failure automatically by server and is reported to control equipment, so as in time to network failure carry out delimit and
It excludes, the network problem for helping operation maintenance personnel discovery complicated makes operation maintenance personnel as much as possible extensive before client finds the problem
Multiple failure, to promote the whole competitiveness of network.
Optionally, before step S101, control equipment receives the failure that network management system is sent and delimits instruction message, optional
, which, which delimits instruction message and can be gateway system and receive, sends after the failure of reporting of user.Control equipment according to
The failure is delimited instruction message triggering failure and is delimited.Optionally, it can also include for carrying out which, which delimits in instruction message,
The mark for the server that failure is delimited, if in failure demarcation instruction not including the mark for carrying out the server of failure demarcation
Know, then controlling equipment may further be random from multiple servers or according to the one or more servers of preset rules selection
For carrying out failure demarcation, failure IP to be tracked by control equipment to also being specified.
Optionally, control equipment can be delimited with periodic triggers failure, so as to find network failure in time.Work as control
When control equipment detection cycle reaches, control equipment can it is random from multiple servers or according to preset rules select one or
Multiple servers are for carrying out failure demarcation, and failure IP to be tracked by control equipment to also being specified, then, control equipment to
Fault detection instruction message is sent in the server for carrying out failure demarcation.
Step S102, control equipment receives the number for the tracking message that each interchanger in network is sent, and tracks message
Number is that interchanger is obtained according to message matching strategy matching, wherein message matching strategy is used to indicate interchanger to service
The tracking message that device is sent is matched and is counted.
Wherein, the message matching strategy of the configuration on each interchanger is identical.It is pre- that message matching strategy can be control equipment
It is first allocated to interchanger, is also possible to other equipment or administrative staff's manual configuration to interchanger.Illustratively, it controls
Equipment can send configuration message to each interchanger by SNMP, include the message matching strategy, the configuration in the configuration message
Message is used for configuration message matching strategy.
The method of the present embodiment, since the configuration message matching strategy of each interchanger is identical, and it only need to be every for controlling equipment
A interchanger configures a message matching strategy, compared with the prior art in, reduce the configuration amount of interchanger.The prior art
In, an interchanger has multilink, need each of the links configuration parameter for each interchanger, and different links
Configuration parameter is different, and configuration amount is very big.And the method for the present embodiment is not influenced by networking, for example, when the IP address in network
When changing, message matching strategy is had no effect on.
Optionally, message matching strategy is qos policy, which includes: an advanced accesses control list
(traffic is made in (Access Control List, ACL), stream type (traffic classifier) and flowing
Behavior), stream type is associated with flowing.Wherein, the match options of advanced ACL include at least one of following information:
Track source port, destination port and the DSCP of message.
By taking port numbers as an example, the value of existing port number is 0-65535, and port numbers can be divided into following three categories:
(1) generally acknowledge port (Well Known Ports): from 0 to 1023, their tight bindings (binding) are in some clothes
Business.The communication of these usual ports has clearly indicated that the agreement of certain service.Such as: port numbers 80 indicate hypertext transfer protocol
(HyperText Transfer Protocol, HTTP) communication, port numbers 21 indicate File Transfer Protocol (File Transfer
Protocol, FTP) communication.
(2) registered port (Registered Ports): from 1024 to 49151.They are loosely bound to some services,
That is there are many service bindings in these ports, these ports are equally used for many other purposes.Such as: at many systems
Dynamic port is managed since 1024 or so.
(3) dynamic and/or privately owned port (Dynamic and/or Private Ports): from 49152 to 65535.
In the present embodiment, the source port number and destination slogan for tracking message can be third generic port 49152 to 65535
In any one port numbers, as long as the port numbers of tracking message are different from the port numbers of other messages.DSCP occupies 8 altogether
A bit (bit), wherein first six digits are the value of DSCP, and rear two reservations, then the worth range of DSCP is 0~63, can be with
Use some reserved values in 0-63 that can also newly define the DSCP of one 7 or 8 as the DSCP of tracking message.
Optionally, the match options of advanced ACL further include tracking the agreement of message, and the agreement for tracking message can be user
Datagram protocol (User Datagram Protocol, UDP).
In the present embodiment, stream type is to flow the tracking arrived as statistical match to the message matching advanced ACL received
The number of message.When configuring to qos policy, advanced ACL can be first configured, stream type and flowing work is being defined, is then configuring
Stream type is associated with by qos policy with flowing.
Optionally, which is global type, and global type needs not distinguish between interface, i.e., interchanger is to all
The message received on interface all carries out unified matching and counting using the message matching strategy.Optionally, the message matching plan
Slightly local type, local type need distinguishing interface, i.e. interchanger matches the message being matched on each interface respectively
And counting, correspondingly, the message number that subsequent switch reports each Interface Matching to arrive to server, server is according on interchanger
Each Interface Matching of report to message number can position that failure has occurred in which interface of interchanger.
Step S103, the number for the tracking message that control equipment is sent according to each interchanger, determines the exchange broken down
Machine.
The number for the tracking message that server is sent is fixed value, if tracking message there is no network failure
The number for the tracking report that each interchanger receives on the path of process is also the fixed value, in case of network failure, is occurred
The number of the exchange opportunity packet loss of failure, the tracking message for causing subsequent switch to receive is reduced.Control equipment receives respectively
After the number for the tracking message that interchanger is sent, the interchanger on the path of tracking message process is first determined, specifically, control is set
It is standby to judge whether the number of the tracking message received on each interchanger is greater than 0, if the tracking message that interchanger receives
Number is greater than 0, illustrates that the interchanger is the interchanger tracked on the path that message passes through, if the tracking report that interchanger receives
The number of text is 0, then illustrating the interchanger not is the interchanger tracked on the path that message passes through.
Determine tracking message by path on interchanger after, according to the networking situation of interchanger, can determine and chase after
Then the sequence of interchanger on the path that track message passes through compares tracking message by the number of the interchanger on path, if
Since some interchanger, the tracking message that interchanger receives on path is all reduced, then can be determined before the interchanger
Failure has occurred in the link of one interchanger to the interchanger, causes to track message loss, so as to cause friendship subsequent on path
The tracking message number received of changing planes all is reduced.
Fig. 5 is a kind of forwarding schematic diagram for tracking message, as shown in figure 5, the CLOS network includes two layer switch: boundary
Interchanger and core switch, the number of edge switch are 4, and the number of core switch is 2, and server number is 2,
Server 1 is connect with edge switch 1 and 2, and server 2 and edge switch 3 and 4 connect, edge switch 1,2,3,4 with
Core switch 1 and core switch 2 connect.It is assumed that the IP address of server 1 is IP1, the IP address of edge switch 1 is
IP2, the IP address of edge switch 2 are IP3, and the IP address of edge switch 3 is IP4, and the IP address of edge switch 4 is
IP5, the IP address of core switch 1 are IP6, and the IP address of core switch 2 is IP7, and the IP address of server 2 is IP10.
Server 1 is the server for carrying out failure demarcation, it is assumed that server 1 has sent 100 tracking messages, tracking
Message forwarding path is the path that thick solid black lines are passed through in Fig. 5, and thin solid black lines indicate that the link between equipment, dotted line indicate
Link failure, then track message process path are as follows: server 1, edge switch 2, core switch 2, edge switch 3,
Server 2.Wherein, server 1 has sent 100 tracking messages to edge switch 2, and edge switch 2 receives 100 and chases after
Track message, core switch 2, edge switch 3, server 2 receive 80 tracking messages, illustrate that edge switch 2 arrives
Failure has occurred in the link of core switch 2, so as to cause tracking message loss.
The method of the present embodiment, control equipment send fault detection instruction to the server for carrying out failure demarcation and disappear
Breath, the failure indication information are used to indicate server and are received using failure IP to be tracked to tracking message, control equipment is sent
The number for the tracking message that each interchanger in network is sent, the number for tracking message is that interchanger is obtained according to message matching strategy
It arrives, message matching strategy is for being matched and being counted to the tracking message that server is sent, wherein the report on each interchanger
Literary matching strategy is identical, and the number for the tracking message that control equipment is sent according to each interchanger determines the interchanger to break down.
Since the message matching strategy on each interchanger is identical, and the message matching strategy of interchanger is not influenced by networking, to make
The configuration amount for obtaining interchanger greatly reduces, and this method carries out failure demarcation according to the number of tracking message, realizes simple, demarcation
Quick and precisely.
On the basis of example 1, optionally, control equipment receives the tracking message that each interchanger in network is sent
Number before, control equipment sends enabled instruction message to each interchanger, which, which is used to indicate interchanger, makes
It can message matching strategy.In this method, the message matching strategy on interchanger is in non-enabled state, interchanger under normal circumstances
It will not be matched and be counted according to the message matching strategy after receiving message, only receive the enabled of control equipment transmission
After instruction message, message matching and counting just will do it after policy enabled to the message matching.
After failure is delimited, interchanger can enable to the message matching strategy automatically.Illustratively, it hands over
Change planes to control equipment report tracking message number for a period of time after, automatically the message matching strategy enable.
Alternatively, interchanger starts timing after receiving enabled instruction message, when reaching preset time, such as enabled instruction is received
After message 30 minutes, automatically the message matching strategy enable.
Optionally, control equipment can also go to enable after determining the interchanger to break down to the transmission of each interchanger
Instruction message, this goes enabled instruction message to be used to indicate interchanger to go to enable to message matching strategy.
By being enabled when failure is delimited and started to message matching strategy, after failure is delimited, to message
Enable with strategy, interchanger is avoided, there is no also matching to the message received when failure, to occupy in network
The resource of interchanger.
Certainly, in the possible implementation of the application, the message matching strategy on interchanger, which can also be constantly in, to be made
Energy state, the application limit not to this.
Fig. 6 is the flow chart of the demarcation method for the network failure that the embodiment of the present application two provides, and embodiment one is set from control
Standby angle describes the demarcation method of network failure, and the present embodiment is described from the angle of server, as shown in fig. 6, the present embodiment
The method of offer the following steps are included:
Step S201, server other servers into network send probe messages.
Two servers are included at least in network, are detected two-by-two between server, to determine whether network occurs event
Barrier, the probe messages are different from the tracking message of embodiment one kind, the present embodiment not to the format and content of probe messages into
Row limits, and probe messages can be identical as the five-tuple information of existing service message, DSCP.
Step S202, when server detects failure IP clock synchronization according to probe messages, server sends event to control equipment
Hinder alarm information, includes IP pairs of failure that server detects in fault warning message.
The failure IP that server detects is to may be multiple.
Step S203, the fault detection instruction message that server receiving control apparatus is sent, fault detection instruction message are used
Message is tracked to transmission using failure IP to be tracked in instruction server.
Include failure IP to be tracked in fault detection instruction message, should failure IP be tracked to being that server determines
, should be to be tracked IP pairs of failure is identical to possibility as the failure IP that server detects, may be different.
Step S204, server sends N number of tracking message, tracks the IP of message to being to be tracked IP pairs of failure.
After server receives fault detection instruction message, according to failure IP to be tracked to generation tracking message, and to
The interchanger of connection sends N number of tracking message, and N is the integer greater than 1.Optionally, the five-tuple of message and probe messages is tracked
Information is identical, and probe messages are different from the tracking DSCP of message.If it is different from the destination slogan of probe messages to track message,
Then server and interchanger are separately turned on two ports, need to monitor two ports respectively can just monitor tracking message and
Probe messages.When tracking message is identical as the destination slogan of probe messages, server and interchanger can be for tracking reports
Text and probe messages only open a port, tracking message and probe messages can be monitored by a port, to hand over
The quantity of the port of unlatching can be reduced with server by changing planes, and then reduce the monitoring overhead to port.
In the present embodiment, server other servers into network send probe messages, to detect whether network occurs event
Barrier, when server detects failure IP clock synchronization according to probe messages, server sends fault warning message, failure to control equipment
IP pairs of failure detected in alarm information including server, and the fault detection instruction message that receiving control apparatus is sent, therefore
Barrier detection instruction message is used to indicate server and is examined to tracking message, server is sent according to failure using failure IP to be tracked
It surveys instruction and sends N number of tracking message.This method is detected network failure automatically by server and is reported to control equipment, so that
Control equipment can be delimited and be excluded to network failure in time, the network problem for helping operation maintenance personnel discovery complicated, allow fortune
Dimension personnel as much as possible restore failure before client finds the problem, to promote the whole competitiveness of network.
Fig. 7 is the flow chart for the demarcation method of network failure that the embodiment of the present application three provides, and the present embodiment is from interchanger
Angle the demarcation method of network failure is described, as shown in fig. 7, method provided in this embodiment the following steps are included:
Step S301, interchanger receives the message that server or other interchangers are sent.
Step S302, interchanger matches the message received according to preconfigured message matching strategy, when
When being fitted on tracking message, the number for tracking message is added 1, which is used to indicate what interchanger sent server
Tracking message is matched and is counted.
Message matching strategy can be control equipment and be pre-configured with to interchanger, be also possible to other equipment or management
Personnel's manual configuration is to interchanger.The method of the present embodiment since the configuration message matching strategy of each interchanger is identical, and is controlled
Control equipment only need to for each interchanger configure a message matching strategy, compared with the prior art in, reduce configuration amount.
The message matching strategy can be qos policy, which includes: that an advanced ACL, stream type and flowing are made,
Stream type is associated with flowing.Wherein, the match options of advanced ACL include at least one of following information: to be matched chases after
Source port, destination port and the DSCP of track message, stream type are to the message matching advanced ACL received;Flowing is as statistics
The number for the tracking message being matched to.Optionally, the match options of advanced ACL further include tracking the agreement of message.
Interchanger matches five-tuple information, DSCP and the agreement of the message received with ACL, if matching at
Function, it is determined that the message received is tracking message, and the number for tracking message is added one, if it fails to match, that is, determines and receives
To message be not tracking message, then the message received is forwarded, abandon or other processing.
Optionally, before step S302, the enabled instruction message that interchanger receiving control apparatus is sent, enabled instruction disappears
Breath is used to indicate enabled message matching strategy, and interchanger enables message matching strategy according to enabled instruction message.If message
It is constantly in enabled state with strategy, then controlling equipment, no need to send enabled instruction messages, alternatively, control device periodically touching
Failure demarcation is sent out, then control equipment can configure detection cycle in advance for interchanger, when detection cycle reaches, interchanger is certainly
Dynamic enabled message matching strategy.
Step S303, when meeting report condition, interchanger sends the number for the tracking message being matched to control equipment.
Optionally, which can be with are as follows: interchanger is not matched to the number of tracking message in preset duration.
Since server is after receiving fault detection instruction message, a certain number of tracking messages are continuously transmitted whithin a period of time,
After server stops sending tracking message, correspondingly, interchanger is also matched less than tracking message, therefore, interchanger can be set
A preset time is set, for example, 5 minutes, if interchanger is not matched to tracking message in 5 minutes, it is determined that service
Device stopping has sent tracking message, and interchanger sends the number for the tracking message being matched to control equipment.
Optionally, which can be with are as follows: interchanger when certain time after receiving enabled instruction message reaches,
Alternatively, interchanger is being matched to first tracking message after a certain period of time, the tracking message being matched to is sent to control equipment
Number.
Optionally, which can be with are as follows: when interchanger receives the request message that control equipment is sent, to control
Equipment sends the number of tracking message, and the number which is used to that interchanger to be requested to send the tracking message being matched to should
Request message is that control equipment is sent after determining that tracking message transmission terminates to interchanger.
Control equipment determines the interchanger to break down according to the number for receiving the tracking message that each interchanger is sent,
Associated description of the specific implementation referring to embodiment one.
Enabled instruction message is had sent to interchanger if controlling equipment, optionally, interchanger is chased after to control equipment transmission
After the number of track message, further includes: what interchanger receiving control apparatus was sent goes enabled instruction message, goes enabled instruction message
It is used to indicate and message matching strategy is gone to enable, interchanger goes to enable according to going enabled instruction message to message matching strategy.
The method of the present embodiment, interchanger receives the message that server or other interchangers are sent, according to preconfigured
Message matching strategy matches the message received, when being matched to tracking message, the number for tracking message is added 1, report
Literary matching strategy is for being matched and being counted to the tracking message that server is sent;When meeting report condition, interchanger to
Control equipment sends the number for the tracking message being matched to.By reporting the message number being matched to so that control equipment according to
The number for the tracking message that each interchanger reports determines the interchanger to break down.In this method, the message of each interchanger configuration
Matching strategy is identical, so that the configuration amount of interchanger is reduced, fault location is quick and precisely.
On the basis of embodiment one is to embodiment three, Fig. 8 is the demarcation for the network failure that the embodiment of the present application four provides
The signaling diagram of method, as shown in figure 8, method provided in this embodiment the following steps are included:
Step S401, control equipment sends configuration message to each interchanger.
The configuration message is used for configuration message matching strategy, wherein the message matching strategy of each interchanger is identical, and each friendship
Message matching strategy on changing planes is in non-enabled state in the initial state, and message matching strategy is used to indicate interchanger to clothes
The tracking message that business device is sent is matched and is counted.
Step S402, server detects whether that network failure occurs.
Network Fault Detection is carried out by sending probe messages two-by-two between server, can detecte by probe messages
IP pairs of the failure to break down.
Step S403, when detecting generation network failure, server sends fault warning message to control equipment.
It include IP pairs of failure that server detects in the fault warning message.
Step S404, control equipment is determined from least one server for carrying out according to IP pairs of the failure received
The server of fault detection and to be tracked IP pairs of failure.
Step S405, control equipment sends fault detection instruction message to the server for carrying out fault detection.
The fault detection instruction message is used to indicate server and tracks message to transmission using failure IP to be tracked.
Step S406, control equipment sends enabled instruction message to each interchanger.
The enabled instruction message is used to indicate interchanger and enables message matching strategy, it should be clear that, step S405 and
Step S406 without sequencing, also may be performed simultaneously when being executed.
Step S407, server sends N number of tracking message to interchanger according to fault detection instruction message.
Server generates tracking message according to fault detection instruction message, and sends tracking message to the interchanger of connection.
Step S408, interchanger matches the message received with message matching strategy, when being matched to tracking message
When, the number for tracking message is added 1.
Step S409, when meeting report condition, interchanger sends the number for the tracking message being matched to control equipment.
Step S410, the number for the tracking message that control equipment is sent according to each interchanger, determines the exchange broken down
Machine.
Step S411, control equipment goes enabled instruction message to the transmission of each interchanger.
It goes enabled instruction message to be used to indicate interchanger message matching strategy is gone to enable.
Fig. 9 is the structural schematic diagram for the control equipment that the embodiment of the present application five provides, as shown in figure 9, the present embodiment provides
Control equipment include:
Sending module 11, for sending fault detection instruction message, the event to the server for carrying out failure demarcation
Barrier detection instruction message is used to indicate the server and tracks message to transmission using the internet protocol IP of failure to be tracked;
Receiving module 12, the number of the tracking message for receiving the transmission of each interchanger in network, the tracking message
Number be that the interchanger is obtained according to message matching strategy matching, the message matching strategy is used to indicate interchanger pair
The tracking message that the server is sent is matched and is counted, wherein the message matching strategy on each interchanger is identical;
First determining module 13, the number of the tracking message for being sent according to each interchanger, determination are broken down
Interchanger.
Optionally, the sending module 11, is also used to: enabled instruction message is sent to each interchanger, it is described enabled
Instruction message is used to indicate interchanger and enables the message matching strategy.And enabled instruction is gone to disappear to each interchanger transmission
Breath, it is described to go enabled instruction message to be used to indicate interchanger the message matching strategy is gone to enable.
Optionally, the message matching strategy is QoS policy;The qos policy includes: an advanced access
It controls list ACL, stream type and flowing to make, the stream type is associated with the flowing.Wherein, the matching of the advanced ACL
Option includes at least one of following information: the source port, destination port and differential server code point DSCP of message are tracked,
The stream type is described in the message matching received advanced ACL, and the flowing tracks message as what statistical match arrived
Number.
Optionally, at least one in the source port of the tracking message, destination port and differential server code point DSCP
It is a different from other messages of in network.
Figure 10 is the structural schematic diagram for the control equipment that the embodiment of the present application six provides, as shown in Figure 10, the present embodiment
It further include the second determining module 14 on the basis of controlling equipment control equipment shown in Fig. 9.
The receiving module 12, is also used to receive the fault warning message of at least one server transmission, and the failure is accused
It include IP pairs of failure that server detects in alert message;
Second determining module 14, IP pairs of the failure for being received according to the receiving module, from least one described clothes
Server for carrying out fault detection and IP pairs of failure to be tracked described is determined in business device.
Optionally, the control equipment further includes configuration module 15, for configuring the message for each interchanger
With strategy.
Control equipment provided by the embodiments of the present application can be used for executing above method embodiment one and control into example IV
The operation that equipment executes, specific implementation is similar with technical effect, and which is not described herein again.
Figure 11 is the structural schematic diagram for the server that the embodiment of the present application seven provides, as shown in figure 11, the present embodiment provides
Server include:
Sending module 21, for other servers transmission probe messages into network;
The sending module 21 is also used to detect the internet protocol IP of failure according to the probe messages when the server
Clock synchronization sends fault warning message to control equipment, includes the failure that the server detects in the fault warning message
IP pairs;
Receiving module 22, the fault detection instruction message sent for receiving the control equipment, the fault detection refer to
Show that message is used to indicate the server and tracks message to transmission using failure IP to be tracked;
The sending module 21, is also used to send N number of tracking message to interchanger, and the IP of the tracking message is to described in being
IP pairs of failure to be tracked, N are the integer greater than 1.
Optionally, at least one in the source port of the tracking message, destination port and differential server code point DSCP
It is a different from other messages of in network.
Server provided in this embodiment can be used for executing the server into example IV of above method embodiment one and execute
Operation, specific implementation is similar with technical effect, and which is not described herein again.
Figure 12 is the structural schematic diagram for the interchanger that the embodiment of the present application eight provides, as shown in figure 12, the present embodiment provides
Interchanger include:
Receiving module 31, the message sent for receiving server or other interchangers;
Matching module 32 matches the message received for according to preconfigured message matching strategy, when
When being fitted on tracking message, the number for tracking message is added 1, the message matching strategy is used to indicate interchanger and sends to server
Tracking message matched and counted;
Sending module 33, for when meeting report condition, send that the matching module is matched to control equipment is chased after
The number of track message.
Optionally, the interchanger further includes enabled module;The receiving module is also used to receiving control apparatus transmission
Enabled instruction message, the enabled instruction message, which is used to indicate, enables the message matching strategy;Enabled module, for according to institute
It states enabled instruction message and enables the message matching strategy.
Optionally, the receiving module 31 is also used to receive the enabled instruction message of going of the control equipment transmission, described
It goes enabled instruction message to be used to indicate the message matching strategy is gone to enable;The enabled module is also used to go according to
Enabled instruction message goes to enable to the message matching strategy.
Optionally, the receiving module 31, is also used to receive the configuration message that the control equipment is sent, and the configuration disappears
Breath is for configuring the message matching strategy.
Optionally, the message matching strategy is QoS policy;The qos policy includes: an advanced access
It controls list ACL, stream type and flowing to make, the stream type is associated with the flowing.Wherein, the matching of the advanced ACL
Option includes at least one of following information: the source port, destination port and differential server code point DSCP of message are tracked,
The stream type is described in the message matching received advanced ACL, and the flowing tracks message as what statistical match arrived
Number.
Optionally, at least one in the source port of the tracking message, destination port and differential server code point DSCP
It is a different from other messages of in network.
Figure 13 is the structural schematic diagram for the control equipment that the embodiment of the present application nine provides, and as shown in figure 13, the present embodiment mentions
The control equipment of confession includes: processor 41, memory 42 and transceiver 43, the memory 42 and transceiver 43 by bus with
The processor 41 connects and communicates, and for storing instruction, the transceiver 43 is used for the memory 42 and other equipment are logical
Letter, the processor 41 is for executing the instruction stored in the memory 42, so that the control equipment executes the above method
The step of equipment executes is controlled in embodiment, specific implementation is similar with technical effect, and which is not described herein again.
Figure 14 is the structural schematic diagram for the server that the embodiment of the present application ten provides, as shown in figure 14, the present embodiment provides
Server include: processor 51, memory 52 and transceiver 53, the memory 52 and transceiver 53 by bus with it is described
Processor 51 connects and communicates, and for storing instruction, the transceiver 53 is used for and other equipment communication, institute for the memory 52
Processor 51 is stated for executing the instruction stored in the memory 52, so that the server executes in above method embodiment
The step of server executes, specific implementation is similar with technical effect, and which is not described herein again.
Figure 15 is the structural schematic diagram for the interchanger that the embodiment of the present application 11 provides, and as shown in figure 15, the present embodiment mentions
The interchanger of confession includes: processor 61, memory 62 and transceiver 63, and the memory 62 and transceiver 63 pass through bus and institute
Processor 61 to be stated to connect and communicate, for storing instruction, the transceiver 63 is used for and other equipment communication for the memory 62,
The processor 61 is for executing the instruction stored in the memory 62, so that the interchanger executes above method embodiment
The step of middle interchanger executes, specific implementation is similar with technical effect, and which is not described herein again.
The embodiment of the present application 12 provides a kind of computer readable storage medium, applies in control equipment, the calculating
Machine readable storage medium storing program for executing is stored with instruction, when described instruction is executed by a computing apparatus, so that the control equipment executes as above
It states and controls the step of equipment executes in embodiment of the method, specific implementation is similar with technical effect, and which is not described herein again.
The embodiment of the present application 13 provides a kind of computer readable storage medium, using in the server, the computer
Readable storage medium storing program for executing is stored with instruction, when described instruction is executed by a computing apparatus, so that the server executes such as above-mentioned side
The step of server executes in method embodiment, specific implementation is similar with technical effect, and which is not described herein again.
The embodiment of the present application 14 provides a kind of computer readable storage medium, using in a switch, the computer
Readable storage medium storing program for executing is stored with instruction, when described instruction is executed by a computing apparatus, so that the interchanger executes such as above-mentioned side
The step of interchanger executes in method embodiment, specific implementation is similar with technical effect, and which is not described herein again.
It is appreciated that processor used in control equipment, server or interchanger can be central processing in the application
Device (CPU), general processor, digital signal processor (DSP), specific integrated circuit (ASIC), field programmable gate array
(FPGA) perhaps other programmable logic device, transistor logic hardware component or any combination thereof.It may be implemented
Or it executes and combines various illustrative logic blocks, module and circuit described in present disclosure.The processor
It can be the combination for realizing computing function, such as combined comprising one or more microprocessors, DSP and the combination of microprocessor etc.
Deng.
Bus described herein can be industry standard architecture (Industry Standard
Architecture, ISA) bus, external equipment interconnection (Peripheral Component, PCI) bus or extension industry mark
Quasi- architecture (Extended Industry Standard Architecture, EISA) bus etc..Bus can be divided into ground
Location bus, data/address bus, control bus etc..For convenient for indicating, the bus in illustrations does not limit an only bus
Or a type of bus.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Claims (27)
1. a kind of failure of network delimits method characterized by comprising
It controls equipment and sends fault detection instruction message to the server for carrying out failure demarcation, the fault detection instruction disappears
Breath is used to indicate the server and tracks message to transmission using the internet protocol IP of failure to be tracked;
The control equipment receives the number for the tracking message that each interchanger in network is sent, and the number of the tracking message is
The interchanger is obtained according to message matching strategy matching, and the message matching strategy is used to indicate interchanger to the service
The tracking message that device is sent is matched and is counted, wherein the message matching strategy on each interchanger is identical;
The number for the tracking message that the control equipment is sent according to each interchanger, determines the interchanger to break down.
2. being sent the method according to claim 1, wherein the control equipment receives each interchanger in network
Tracking message number before, further includes:
The control equipment sends enabled instruction message to each interchanger, and the enabled instruction message is used to indicate interchanger
Enable the message matching strategy.
3. according to the method described in claim 2, it is characterized in that, after determining the interchanger to break down, further includes:
The control equipment goes enabled instruction message to each interchanger transmission, described that enabled instruction message is gone to be used to indicate friendship
It changes planes and the message matching strategy is gone to enable.
4. method according to claim 1-3, which is characterized in that the control equipment is determined to for carrying out failure
The server on boundary is sent before fault detection instruction message, further includes:
The control equipment receives the fault warning message of at least one server transmission, includes clothes in the fault warning message
Detect IP pairs of failure of business device;
The control equipment is determined from least one described server for carrying out failure inspection according to IP pairs of the failure received
The server of survey and IP pairs of failure to be tracked described.
5. method according to claim 1-4, which is characterized in that the control equipment is determined to for carrying out failure
The server on boundary is sent before fault detection instruction message, further includes:
The control equipment is that each interchanger configures the message matching strategy.
6. a kind of demarcation method of network failure characterized by comprising
Server other servers into network send probe messages;
When the server detects the internet protocol IP clock synchronization of failure according to the probe messages, the server is to control equipment
Fault warning message is sent, includes IP pairs of failure that the server detects in the fault warning message;
The server receives the fault detection instruction message that the control equipment is sent, and the fault detection instruction message is used for
Indicate that the server tracks message to transmission using failure IP to be tracked;
The server sends N number of tracking message to interchanger, and the IP of the tracking message is to failure IP to be tracked for described in
Right, N is the integer greater than 1.
7. a kind of demarcation method of network failure characterized by comprising
Interchanger receives the message that server or other interchangers are sent;
The interchanger matches the message received according to preconfigured message matching strategy, tracks when being matched to
When message, the number for tracking message is added 1, the message matching strategy is used to indicate the tracking report that interchanger sends server
Text is matched and is counted;
When meeting report condition, the interchanger sends the number for the tracking message being matched to control equipment.
8. the method according to the description of claim 7 is characterized in that the interchanger is according to message matching strategy, to receiving
Message matched before, further includes:
The enabled instruction message that the interchanger receiving control apparatus is sent, the enabled instruction message are used to indicate enabled described
Message matching strategy;
The interchanger enables the message matching strategy according to the enabled instruction message.
9. according to the method described in claim 8, it is characterized in that, the interchanger sends tracking message to the control equipment
Number after, further includes:
The interchanger receives the enabled instruction message of going of the control equipment transmission, described that enabled instruction message is gone to be used to indicate
The message matching strategy is gone to enable;
The interchanger goes enabled instruction message to go to enable to the message matching strategy according to.
10. the method according to the description of claim 7 is characterized in that the interchanger is according to message matching strategy, to receiving
Message matched before further include:
The interchanger receives the configuration message that the control equipment is sent, and the configuration message is for configuring the message matching
Strategy.
11. -10 described in any item methods according to claim 1, which is characterized in that the message matching strategy is service quality
Qos policy;
The qos policy includes: that an advanced access control list ACL, stream type and flowing are made, the stream type and the stream
Movement association;
Wherein, the match options of the advanced ACL include at least one of following information: tracking source port, the purpose of message
Port and differential server code point DSCP;
The stream type is the advanced ACL described in the message matching received;
The number for the tracking message that the flowing is arrived as statistical match.
12. -10 described in any item methods according to claim 1, which is characterized in that the source port of the tracking message, purpose
At least one of port and differential server code point DSCP are different from other messages in network.
13. a kind of control equipment characterized by comprising
Sending module, for sending fault detection instruction message, the fault detection to the server for carrying out failure demarcation
Instruction message is used to indicate the server and tracks message to transmission using the internet protocol IP of failure to be tracked;
Receiving module, the number of the tracking message for receiving the transmission of each interchanger in network, the number of the tracking message
The interchanger is obtained according to message matching strategy matching, and the message matching strategy is used to indicate interchanger to the clothes
The tracking message that business device is sent is matched and is counted, wherein the message matching strategy on each interchanger is identical;
First determining module, the number of the tracking message for being sent according to each interchanger, determines the exchange broken down
Machine.
14. control equipment according to claim 13, which is characterized in that the sending module is also used to:
Enabled instruction message is sent to each interchanger, the enabled instruction message is used to indicate interchanger and enables the message
Matching strategy.
15. control equipment according to claim 14, which is characterized in that the sending module is also used to:
Enabled instruction message is gone to each interchanger transmission, it is described that enabled instruction message is gone to be used to indicate interchanger to the report
Literary matching strategy goes to enable.
16. the described in any item control equipment of 3-15 according to claim 1, which is characterized in that
The receiving module is also used to receive the fault warning message of at least one server transmission, the fault warning message
In include detect IP pairs of failure of server;
The control equipment further include:
Second determining module, IP pairs of the failure for being received according to the receiving module, from least one described server
Determine server for carrying out fault detection and IP pairs of failure to be tracked described.
17. the described in any item control equipment of 3-16 according to claim 1, which is characterized in that further include:
Configuration module, for configuring the message matching strategy for each interchanger.
18. a kind of server characterized by comprising
Sending module, for other servers transmission probe messages into network;
The sending module is also used to work as the server according to the probe messages and detects the internet protocol IP clock synchronization of failure,
Fault warning message is sent to control equipment, includes IP pairs of failure that the server detects in the fault warning message;
Receiving module, the fault detection instruction message sent for receiving the control equipment, the fault detection instruction message
It is used to indicate the server and message is tracked to transmission using failure IP to be tracked;
The sending module, is also used to send N number of tracking message to interchanger, the IP of the tracking message to described in being wait track
IP pairs of failure, N is integer greater than 1.
19. a kind of interchanger characterized by comprising
Receiving module, the message sent for receiving server or other interchangers;
Matching module, for matching to the message received, being chased after when being matched to according to preconfigured message matching strategy
When track message, the number for tracking message is added 1, the message matching strategy is used to indicate the tracking that interchanger sends server
Message is matched and is counted;
Sending module, for sending the tracking message that the matching module is matched to control equipment when meeting report condition
Number.
20. interchanger according to claim 19, which is characterized in that further include enabled module;
The receiving module is also used to the enabled instruction message of receiving control apparatus transmission, and the enabled instruction message is for referring to
Show and enables the message matching strategy;
Enabled module, for enabling the message matching strategy according to the enabled instruction message.
21. interchanger according to claim 20, which is characterized in that
The receiving module is also used to receive the enabled instruction message of going of the control equipment transmission, described that enabled instruction is gone to disappear
Breath is used to indicate to be gone to enable to the message matching strategy;
The enabled module is also used to that enabled instruction message is gone to go to enable to the message matching strategy according to.
22. interchanger according to claim 19, which is characterized in that
The receiving module is also used to receive the configuration message that the control equipment is sent, and the configuration message is for configuring institute
State message matching strategy.
23. the described in any item control equipment of 3-17, server, 19-22 described in 18 are described in any item according to claim 1
Interchanger, which is characterized in that the message matching strategy is QoS policy;
The qos policy includes: that an advanced access control list ACL, stream type and flowing are made, the stream type and the stream
Movement association;
Wherein, the match options of the advanced ACL include at least one of following information: tracking source port, the purpose of message
Port and differential server code point DSCP;
The stream type is the advanced ACL described in the message matching received;
The number for the tracking message that the flowing is arrived as statistical match.
24. the described in any item control equipment of 3-17, server, 19-22 described in 18 are described in any item according to claim 1
Interchanger, which is characterized in that in the source port for tracking message, destination port and differential server code point DSCP at least
One different from other messages in network.
25. a kind of computer readable storage medium is applied in control equipment, which is characterized in that the computer-readable storage
Media storage has instruction, when described instruction is executed by a computing apparatus, so that the control equipment executes claim 1-5 such as and appoints
Method described in one.
26. a kind of computer readable storage medium, using in the server, which is characterized in that the computer-readable storage medium
Matter is stored with instruction, when described instruction is executed by a computing apparatus, so that the server executes side as claimed in claim 6
Method.
27. a kind of computer readable storage medium, using in a switch, which is characterized in that the computer-readable storage medium
Matter is stored with instruction, when described instruction is executed by a computing apparatus, so that the interchanger is executed as claim 7-12 is any
Method described in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711047408.4A CN109728931B (en) | 2017-10-31 | 2017-10-31 | Network fault delimitation method and device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711047408.4A CN109728931B (en) | 2017-10-31 | 2017-10-31 | Network fault delimitation method and device and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109728931A true CN109728931A (en) | 2019-05-07 |
CN109728931B CN109728931B (en) | 2021-06-15 |
Family
ID=66293532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711047408.4A Active CN109728931B (en) | 2017-10-31 | 2017-10-31 | Network fault delimitation method and device and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109728931B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110868321A (en) * | 2019-11-14 | 2020-03-06 | 成都银河思亩特数字技术有限公司 | Fault positioning method and system based on edge calculation algorithm verification |
CN110932894A (en) * | 2019-11-22 | 2020-03-27 | 北京金山云网络技术有限公司 | Network fault positioning method and device of cloud storage system and electronic equipment |
CN112165409A (en) * | 2020-09-16 | 2021-01-01 | 烽火通信科技股份有限公司 | Port management method, system, device and readable storage medium |
CN114513403A (en) * | 2021-12-31 | 2022-05-17 | 深圳触海科技有限公司 | Method for marking network address jump behavior and tracking fault information |
CN115865850A (en) * | 2022-11-30 | 2023-03-28 | 广西壮族自治区信息中心 | Message processing method, device, equipment and storage medium |
CN118200215A (en) * | 2024-05-15 | 2024-06-14 | 深圳市丰润达科技有限公司 | Networking automation detection method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070230360A1 (en) * | 2006-03-31 | 2007-10-04 | Fujitsu Limited | Loop locating apparatus and loop locating method in layer 3 network |
CN102325073A (en) * | 2011-07-06 | 2012-01-18 | 杭州华三通信技术有限公司 | VPLS (Virtual Private Local Area Network Service)-based message processing method and device thereof |
CN102868553A (en) * | 2012-08-28 | 2013-01-09 | 华为技术有限公司 | Failure positioning method and associated equipment |
CN106375105A (en) * | 2015-07-24 | 2017-02-01 | 华为技术有限公司 | Method of determining path fault, controller, switches and system |
CN106961344A (en) * | 2016-01-08 | 2017-07-18 | 中兴通讯股份有限公司 | A kind of network fault detecting method and device |
-
2017
- 2017-10-31 CN CN201711047408.4A patent/CN109728931B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070230360A1 (en) * | 2006-03-31 | 2007-10-04 | Fujitsu Limited | Loop locating apparatus and loop locating method in layer 3 network |
CN102325073A (en) * | 2011-07-06 | 2012-01-18 | 杭州华三通信技术有限公司 | VPLS (Virtual Private Local Area Network Service)-based message processing method and device thereof |
CN102868553A (en) * | 2012-08-28 | 2013-01-09 | 华为技术有限公司 | Failure positioning method and associated equipment |
CN106375105A (en) * | 2015-07-24 | 2017-02-01 | 华为技术有限公司 | Method of determining path fault, controller, switches and system |
CN106961344A (en) * | 2016-01-08 | 2017-07-18 | 中兴通讯股份有限公司 | A kind of network fault detecting method and device |
Non-Patent Citations (1)
Title |
---|
戴青虎: "ping+流统进行故障定界", 《百度文库 HTTPS://WK.BAIDU.COM/VIEW/1F39CAF96529647D272852A0?IVK_SA=1023194J》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110868321A (en) * | 2019-11-14 | 2020-03-06 | 成都银河思亩特数字技术有限公司 | Fault positioning method and system based on edge calculation algorithm verification |
CN110932894A (en) * | 2019-11-22 | 2020-03-27 | 北京金山云网络技术有限公司 | Network fault positioning method and device of cloud storage system and electronic equipment |
CN112165409A (en) * | 2020-09-16 | 2021-01-01 | 烽火通信科技股份有限公司 | Port management method, system, device and readable storage medium |
CN114513403A (en) * | 2021-12-31 | 2022-05-17 | 深圳触海科技有限公司 | Method for marking network address jump behavior and tracking fault information |
CN115865850A (en) * | 2022-11-30 | 2023-03-28 | 广西壮族自治区信息中心 | Message processing method, device, equipment and storage medium |
CN118200215A (en) * | 2024-05-15 | 2024-06-14 | 深圳市丰润达科技有限公司 | Networking automation detection method, device, equipment and storage medium |
CN118200215B (en) * | 2024-05-15 | 2024-08-30 | 深圳市丰润达科技有限公司 | Networking automation detection method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109728931B (en) | 2021-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109728931A (en) | The failure of network delimits method, apparatus and computer storage medium | |
US11381474B1 (en) | Wan link selection for SD-WAN services | |
Curtis et al. | Mahout: Low-overhead datacenter traffic management using end-host-based elephant detection | |
Lee et al. | Network monitoring: Present and future | |
CN101505230B (en) | Event triggered traceroute for optimized routing in a computer network | |
US8477772B2 (en) | System and method for determination of routing information in a network | |
US8289839B2 (en) | Scaling BFD sessions for neighbors using physical / sub-interface relationships | |
Fontugne et al. | Pinpointing delay and forwarding anomalies using large-scale traceroute measurements | |
US10277487B2 (en) | Systems and methods for maintaining network service levels | |
JP7313480B2 (en) | Congestion Avoidance in Slice-Based Networks | |
Trestian et al. | OFLoad: An OpenFlow-based dynamic load balancing strategy for datacenter networks | |
WO2016162833A1 (en) | Method and system for traffic pattern generation in a software-defined networking (sdn) system | |
WO2021017658A1 (en) | System and method for evaluating transmission performance related to network node and related device | |
Awan et al. | An improved mechanism for flow rule installation in-band SDN | |
CN108123824A (en) | A kind of network fault detecting method and device | |
Liu et al. | MOZART: Temporal coordination of measurement | |
CN108306777A (en) | SDN controller-based virtual gateway active/standby switching method and device | |
CN108028828A (en) | A kind of distributed denial of service ddos attack detection method and relevant device | |
CN108632099A (en) | A kind of fault detection method and device of link aggregation | |
CN106411625A (en) | Link message packet loss measurement method and system, target node and initiator node | |
US8553539B2 (en) | Method and system for packet traffic congestion management | |
US9866456B2 (en) | System and method for network health and management | |
CN110519103A (en) | A kind of Fault Locating Method of heterogeneous network, device and terminal | |
Yasrebi et al. | Security function virtualization in software defined infrastructure | |
Lu et al. | POPI: a user-level tool for inferring router packet forwarding priority |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200422 Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Applicant after: HUAWEI TECHNOLOGIES Co.,Ltd. Address before: 301, A building, room 3, building 301, foreshore Road, No. 310053, Binjiang District, Zhejiang, Hangzhou Applicant before: Huawei Technologies Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |