Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, those of ordinary skill in the art are obtained every other without making creative work
Embodiment shall fall in the protection scope of this application.
As used in this application, term " unit ", " component ", " module ", " system " etc. are intended to refer to computer phase
Entity is closed, which can be hardware, firmware, the combination of hardware and software, software or running software.
For example, component may be, but not limited to, is:In the processing that runs on a processor, processor, object, executable file, execution
Thread, program and/or computer.As an example, the application run on the computing device and the computing device can be groups
Part.One or more components can reside in process in execution and/or thread, and component can be located at a computer
In and/or be distributed between two or more computers.In addition, these components can be from it with various data
It is performed in the various computer-readable mediums of structure.These components can be by such as according to one or more packets
(for example, the data from a component, the component interacted with another component in local system, distributed system and/
Or interacted in a manner of signal by the network of such as internet etc and other systems) signal, with local and/or remote
The mode of journey process communicates.
Various aspects, embodiment or spy will be presented around the system that may include multiple equipment, component, module etc. in the application
Sign.It is to be understood and appreciated that each system can include other equipment, component, module etc. and/or can be simultaneously
Do not include with reference to all devices, component, module of attached drawing discussion etc..Further, it is also possible to the combination using these schemes.
In addition, in the embodiment of the present application, " exemplary " word makees example, illustration or explanation for expression.In the application
Be described as any embodiment of " example " or designing scheme be not necessarily to be construed as it is more more preferable than other embodiments or designing scheme
Or more advantage.Specifically, it using an exemplary word is intended to that concept is presented in specific ways.
In the embodiment of the present application, information (information), signal (signal), message (message), channel
(channel) it can use with sometimes, it is noted that when not emphasizing its difference, meaning to be expressed is consistent.
" (of) ", " corresponding (corresponding, relevant) " and " corresponding (corresponding) " can be mixed sometimes
With, it is noted that when not emphasizing its difference, meaning to be expressed is consistent.
The embodiment of the present application is applied in ADN network systems.As described in Figure 1, a kind of ADN networks system provided for the application
The structure diagram of system, wherein when subscriber terminal equipment needs to access source station, subscriber terminal equipment is equal to overall situation load first
Weighing apparatus inquires access node, and global load balancing device feeds back suitable access node by load balancing for subscriber terminal equipment.
Then network request is sent to the access node by user terminal, and is based on network section using the global routing function of ADN networks
Link state and path configuration data between point, the optimal path slave access node to source station extrapolated please by the network
It asks and is sent to source station, and then provide network service to the user.Wherein include the access section of network path in the configuration data of path
IP (Internet Protocol, network between interconnection agreement) address of point, the IP address of source station, may also include transfer sometimes
The IP address of node and the IP address for returning source node, wherein returning the upper hop network node that source node refers to source station.Specifically,
When selecting path for network request in ADN networks, it can select and number is configured by path based on the link state between network node
The optimal path of each network node in.It should be noted that network path included in the configuration data of path can also be
One complete network path, when network path included in the configuration data of path is a complete network path, then
The global routing function for not needing to ADN networks reselects optimal path, the network road directly in the configuration data of path again
Network request is sent to source station by diameter.For example, in such as Fig. 1 when subscriber terminal equipment sends network request to source station, if
By the use of global load balancing device network node A is selected as access node, and network road is further comprised in the configuration data of path
The access node of diameter is network node A, time source node is network node E.It so can be with for this by global routing function
Network request selects optimal path:Subscriber terminal equipment-network node A- network node C- network node E- source stations.Together
Reason, if selecting network node B as access node by the use of global load balancing device, and further comprises net in the configuration data of path
The access node in network path is network node B, time source node is network node E.So by global routing function can with for
This network request selects optimal path:Subscriber terminal equipment-network node B- network node D- network node E- source stations.
In addition, also comprising control centre's equipment in ADN network systems provided by the embodiments of the present application, control centre's equipment can detect respectively
The information such as the path configuration data of the corresponding network path of network connection state and network service between a network node, and
Implement herein described network failure probing method using these data.Then after, being detected with, network path operation is different
Chang Shi, the also transmittable warning information of control centre's equipment, to notify operation maintenance personnel timely processing failure.
The structure of the above-mentioned described ADN network systems of the embodiment of the present application is to more clearly illustrate the application reality
The technical solution of example is applied, does not form the restriction for technical solution provided by the embodiments of the present application, ordinary skill people
For member it is found that in the ADN network systems of different structure, technical solution provided by the embodiments of the present application asks similar technology
Topic, it is equally applicable.
The embodiment of the present application provides a kind of network failure probing method, can apply the network structure in similar to Fig. 1
In ADN network systems.This method can find failure in time when the network node in ADN networks breaks down, and promote ADN nets
The O&M efficiency and service quality of network.As shown in Fig. 2, this method includes the following steps
S101, control centre's equipment obtain the network connection state in ADN networks between each network node.
Specifically, ADN network nodes can continue between detecting each network node, including returning between source node and source station
Network connection situation, and these data are all transferred to control centre's equipment.
S102, abnormal network node in ADN networks is determined according to network connection state.
In one embodiment, step S102 specifically includes the content of following S102a1-S102a2:
S102a1, determine that target network node connects the number of obstructed network node according to network connection state.
If S102a2, the number to the obstructed network node of target network node connection are more than threshold value, target network is determined
Network node is abnormal network node.
In the embodiment of the present application, using the connection status of other network nodes to target network node, target network is determined
The health status of node.When the connection of the network node more than threshold number to target network node is obstructed, then the mesh is judged
Mark the operation exception of network node.
In another embodiment, before step S102 is performed, this method further includes:Obtain at least one network path
Path configuration data, path configuration data includes the network node that a network path is passed through.Step S102 is specifically wrapped
It includes:
S102b, the path configuration data according to network connection state and at least one network path, determine target network section
There is specified upper hop network node o'clock at least one network path, and upper hop network node is to target network node
Connection it is obstructed when, determine target network node be abnormal network node.
Specifically, control centre's equipment preserves the path configuration data of each network service.It is included in the configuration data of path
Have the access node of the corresponding network path of network service, the network address of source station, sometimes can also include transit node and
The network address of source node is returned, and is organized these network nodes in the form of configuration path.It is selected in ADN networks
Lu Shi, can network node information in the configuration data of path, select the optimal paths of process these network nodes.Cause
This, when being determined in the path configuration data from a network path, target network node exists specified in a network path
Upper hop network node when, then when the connection of upper hop network node to the target network node is obstructed, you can with true
The fixed target network node is there are failure, and the transmission services for having network path are affected.And then the embodiment of the present application
In, by obtain at least one network path path configuration data, and using the path configuration data determine this at least one
Whether include target network node and the specified upper hop network with the presence or absence of the target network node in network path
Node so as to whether unimpeded by the connection of upper hop network node to target network node for judging to specify, and then determines mesh
The operating condition that the operating condition of mark network node and at least one network path pass through the target network node.
In addition, in the above-mentioned methods due to the upper hop network node to being connected between the target network node
Few use determines that abnormal network node can be filtered out to real network in a network path, therefore by this method
Service does not have influential Network Abnormal to fluctuate, and more accurately judges to influence the abnormal conditions of the network node of network service.
If for example, the connection of network node A to network node B are obstructed, but network node A is not appeared in any configuration path,
The path configuration data of i.e. no any network path includes network node A, then even if network node A to network node B
Connection it is obstructed, the network service carried in ADN networks can't be affected, thus at this time and without using network node B as
Abnormal nodes.
Illustratively, if including the net of the access node of the network path in the path configuration data of a network path
The network address of network address, the network address for returning source node and source station.So when the connection for going back to source node to source station is obstructed,
It is abnormal nodes then to determine the source station.
S103, the network path for passing through abnormal network node is detected.
In one embodiment, step S103 specifically includes the content of following S103a1-S103a3:
S103a1, judge whether abnormal network node is access node in network path.
S103a2, when determining abnormal network node as the access node in network path, then judge whether at least to exist pre-
If the connection of the network node of number to abnormal network node is obstructed.
If S103a3, judge at least there are the network node of predetermined number to abnormal network node connection it is obstructed when, really
The fixed network path operation exception.
Specifically, it is considered that when the connection more than a certain number of network nodes to access node is obstructed, then exist very
Big probability causes terminal device that network request can not be sent to the access node, and is being to connect using global routing function
Ingress selects that during next-hop network node suitable network node may also can not be selected.And then in the application, when abnormal net
When network node is the access node in network path, the number of the network node by determining the abnormal network node is come true
Whether the fixed network path is affected.
Further, in one embodiment, determine abnormal network node in network path in step S103a2
After access node, this method can also include:Control centre's equipment is sent to global load balancing device stops dispatch command, with
So that global load balancing device stops network request being dispatched to abnormal network node according to dispatch command is stopped.
After the trouble shooting for determining the access node, this method further includes:Control centre's equipment is to global load balancing
Device sends restoration schedule instruction so that global load balancing device restore network request being dispatched to according to restoration schedule instruction it is different
Normal network node.
In the present embodiment, it is contemplated that when the access node in network path is there are when exception or failure, then influence whether
Subsequently it is dispatched to the transmission of other network requests of the access node.Therefore the access node in network path is determined is abnormal
Afterwards, control centre's equipment is then sent to global load balancing device stops dispatch command, so that the stopping of global load balancing device will
Network request is dispatched to abnormal network node.And then avoid causes other follow-up networks please since access node breaks down
The problem of transmission asked is affected.
In another embodiment, step S103 is specifically included:
S103b1, judge whether abnormal network node is access node in network path;
S103b2, when abnormal network node is other network nodes except the access node in network path, then judge
It whether there is the specified upper hop network node of abnormal network node in network path.
If S103b3, in network path there are the specified upper hop network node of abnormal network node, and upper hop
Network node to abnormal network node connection it is obstructed when, determine network path operation exception;If it alternatively, is not deposited in network path
In the specified upper hop network node of abnormal network node, and at least network node of predetermined number is to abnormal network node
Connection it is obstructed when, determine network path operation exception.
Specifically, after the non-access node during network path is determined is abnormal network node, it is different that this can't be provided
Whether the failure of normal network node has influenced the operation of network path.Determining that the abnormal nodes are not accesses in the present embodiment
After node, influence of the abnormal nodes to network path is judged in two kinds of situation:
If there are specified upper the one of the abnormal network node and the abnormal network node in the first situation, network path
Network node is jumped, i.e., that is the abnormal network node and specified upper hop network node are saved in network path
Point, therefore the two nodes can not be bypassed using the global routing function of ADN networks, again path is selected for network path.
At this time if upper hop network node to the abnormal network node connection it is obstructed when, can determine that the network path can be by shadow
It rings.For example, if network node B is abnormal network node, network node A is net in the path configuration data of a network path
The upper hop network node of network node B, then when network node A is obstructed to network node B connections, it may be determined that the network path
It is affected.
If in the second situation, network path there is no the abnormal network node and the abnormal network node it is specified on
One jumps network node, i.e., that is during specifically the data such as network request are sent, global routing function is needed to come for this
Abnormal network node selects suitable upper hop network node.And then in the present embodiment, by determining the abnormal network node
The obstructed network node of connection number, to judge the overall operation situation of the abnormal network node.If there is default at this time
Several network nodes to the abnormal network node connect it is obstructed, then can determine may also be difficult even with global routing function
Suitable upper hop network node is selected for the abnormal network node.As a result, in the present embodiment, when being not present in network path
The specified upper hop network node of abnormal network node, and at least network node of predetermined number is to abnormal network node
When connecting obstructed, it is determined that the network path operation exception.
In one embodiment, the abnormal network node in step S102 determines ADN networks according to network connection state
When, can simultaneously recording exceptional network node abnormal cause.For example, it will be detected using the method for S102a1-S102a2
The abnormal cause of abnormal network node is recorded as " connection more than network node to the present networks node of threshold number is obstructed ", will
The abnormal cause of abnormal network node detected using the method for step S102b be recorded as " in network path with direct phase
Neighbors connection is obstructed ".
And then it when step S103 by the network path of abnormal network node to being detected, then can directly utilize
The abnormal cause of abnormal network node is detected.For example, when determining abnormal network node for the access section in network path
Point is then judging whether at least there are the connection of the network node of the predetermined number abnormal network node not in step S103a2
When logical, the abnormal cause of abnormal network node can be directly inquired, when the abnormal cause for determining the abnormal network node is above-mentioned
" connection more than network node to the present networks node of threshold number is obstructed ", then can directly determine that the network path receives
The influence of abnormal network node, the network path operation exception.For another example when determining that abnormal network node is in network path B
Other network nodes in addition to access node then inquire the abnormal cause of abnormal network node, when abnormal cause is " in network
In the B of path, it is connect with direct neighbor node obstructed ", it is determined that the abnormal network node exists in network path one on specified
The connection jumped between network node and the two adjacent nodes is obstructed, that is, performs and complete the interior of step S103b2-S103b3
Hold.
S104, when detecting network path operation exception, send out warning information.
Specifically, working as the failure detected in abnormal network node has influenced network path operation, i.e. the network road
Diameter operation exception then can send out warning information, to notify that operation maintenance personnel is timely by sending the modes such as alarm email, short message
Solve the problem.
Further, in one embodiment, warning information includes the abnormal network node for influencing network path operation
Location information and abnormal cause.To help the timely failure judgement position of operation maintenance personnel and reason.
In the application, the network connection state in the ADN networks that control centre's equipment utilization obtains between each network node,
Network node in ADN networks is detected.It is achieved thereby that fault-finding is carried out in ADN networks so that when ADN networks
In network node can find failure in time, and then promote the O&M efficiency and service quality of ADN networks when breaking down.
Based on above-mentioned network failure probing method, the application provides a kind of control centre's equipment.Fig. 3 is shown involved by the application
And a kind of possible structure diagram of control centre's equipment.Specifically, control centre's equipment 30 includes:Acquiring unit 301
And determination unit 302, wherein:
Acquiring unit 301, for obtaining the network connection shape in application delivery network A DN networks between each network node
State;
Determination unit 302, for after acquiring unit 301 obtains network connection state, being determined according to network connection state
Abnormal network node in ADN networks.
In one embodiment, determination unit 302, specifically for determining target network node according to network connection state
Connect obstructed network node number;If connect obstructed network node number more than threshold value to target network node, determine
Target network node is abnormal network node.
In another embodiment, acquiring unit 301 are additionally operable to obtain the path configuration number of at least one network path
According to path configuration data includes the network node that a network path is passed through;
Determination unit 302, specifically for the path configuration data according to network connection state and at least one network path,
Determine that target network node has specified upper hop network node, and upper hop network node at least one network path
To target network node connection it is obstructed when, determine target network node operation exception.
Optionally, control centre's equipment 30 further includes:Detection unit 303 and transmitting element 304;
Detection unit 303, for the abnormal network during ADN networks are determined according to network connection state in determination unit 302
After node, to being detected by the network path of abnormal network node;
Transmitting element 304 when detecting network path operation exception for detection unit 303, sends out warning information.
In one embodiment, detection unit 303, specifically for judging whether abnormal network node is in network path
Access node;When determining that abnormal network node is the access node in network path, then judge whether that at least there are predetermined numbers
Network node to abnormal network node connection it is obstructed;If judging, at least there are the network nodes of predetermined number to abnormal network
When the connection of node is obstructed, network path operation exception is determined.
Further, transmitting element 304, the access section being additionally operable in detection unit abnormal network node is network path
It after point, is sent to global load balancing device and stops dispatch command, so that global load balancing device is according to stopping dispatch command
Stop network request being dispatched to abnormal network node.
In one embodiment, detection unit 303, specifically for judging whether abnormal network node is in network path
Access node;When abnormal network node is other network nodes except the access node in network path, then judge in network
It whether there is the specified upper hop network node of abnormal network node in path;
If there are the specified upper hop network node of abnormal network node in network path, and upper hop network node
When connecting obstructed to abnormal network node, network path operation exception is determined;If alternatively, there is no abnormal nets in network path
The specified upper hop network node of network node, and at least the network node of predetermined number to abnormal network node connection not
When logical, network path operation exception is determined.
Since control centre's equipment in the embodiment of the present application can be applied to implement above method embodiment,
It can be obtained technique effect and also can refer to above method embodiment, details are not described herein for the embodiment of the present application.
In the case of using integrated unit, attached drawing 4 shows control centre's equipment involved in above-described embodiment
A kind of possible structure diagram.Control centre's equipment 40 includes:Processing module 401 and communication module 402.Processing module
401 to the action of control centre's equipment for carrying out control management, for example, processing module 401 is used to support control centre's equipment
Step S102, S103 and/or other processes for techniques described herein, processing module 401 performed in Fig. 2 is additionally operable to
Control communication module 402 supports control centre's equipment to perform step S101, S104 in Fig. 1 and/or for described herein
Other processes of technology.Communication module 402 is used to support control centre's equipment and the communication of other entity devices, and control centre sets
Standby 40 can also include memory module 403, for storing the program code of control centre's equipment 40 and data.
Wherein, processing module 401 can be processor or controller, such as can be central processing unit (Central
Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP),
Application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array
It is (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic, hard
Part component or its arbitrary combination.It can realize or perform and various illustratively patrol with reference to the disclosure of invention is described
Collect box, module and circuit.The processor can also be the combination for realizing computing function, such as include one or more micro- places
Manage device combination, combination of DSP and microprocessor etc..Communication module 402 can be transceiver, transmission circuit or communication interface
Deng.Memory module 6403 can be memory.
When processing module 401 is processor, communication module 402 is communication interface, when memory module 403 is memory, this
Control centre's equipment involved by inventive embodiments can be control centre's equipment shown in attached drawing 5.
Refering to shown in attached drawing 5, which includes:Processor 501, communication interface 502, memory 503 with
And bus 504.Wherein, communication interface 502, processor 501 and memory 503 are connected with each other by bus 504;Bus 504
Can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or extension industry mark
Quasi- structure (Extended Industry Standard Architecture, EISA) bus etc..The bus can be divided into ground
Location bus, data/address bus, controlling bus etc..It for ease of representing, is only represented in attached drawing 5 with a thick line, it is not intended that only
A piece bus or a type of bus.
It can be realized in a manner of hardware with reference to the step of described method of the disclosure of invention or algorithm, also may be used
It is realized in a manner of being to perform software instruction by processor.The embodiment of the present invention also provides a kind of storage medium, which is situated between
Matter can include memory 503, and for storing the computer software instructions used in control centre's equipment, it includes perform above-mentioned reality
Program code designed by the network failure probing method provided in example is provided.Specifically, software instruction can be by corresponding software
Module form, software module can be stored on random access memory (Random Access Memory, RAM), flash memory, only
Read memory (Read Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable
ROM, EPROM), Electrically Erasable Programmable Read-Only Memory (Electrically EPROM, EEPROM), register, hard disk, movement
In the storage medium of hard disk, CD-ROM (CD-ROM) or any other form well known in the art.One kind is illustratively deposited
Storage media is coupled to processor, so as to enable a processor to from the read information, and can be written to the storage medium
Information.Certainly, storage medium can also be the component part of processor.
The embodiment of the present invention also provides a kind of computer program, which can be loaded directly into memory 503,
And contain software code, which via computer is loaded into and can realize after performing the net that above-described embodiment is provided
Network fault detection method.
Those skilled in the art are it will be appreciated that in said one or multiple examples, work(described in the invention
It can be realized with hardware, software, firmware or their arbitrary combination.It when implemented in software, can be by these functions
Storage is transmitted in computer-readable medium or as one or more instructions on computer-readable medium or code.
Computer-readable medium includes computer storage media and communication media, and wherein communication media includes being convenient for from a place to another
Any medium of one place transmission computer program.It is any that storage medium can be that general or specialized computer can access
Usable medium.
Above-described specific embodiment has carried out the purpose of the present invention, technical solution and advantageous effect further
It is described in detail, it should be understood that the foregoing is merely the specific embodiment of the present invention, is not intended to limit the present invention
Protection domain, all any modification, equivalent substitution, improvement and etc. on the basis of technical scheme of the present invention, done should all
Including within protection scope of the present invention.