CN107204897A - The fault detection method and system of network link - Google Patents
The fault detection method and system of network link Download PDFInfo
- Publication number
- CN107204897A CN107204897A CN201710379209.7A CN201710379209A CN107204897A CN 107204897 A CN107204897 A CN 107204897A CN 201710379209 A CN201710379209 A CN 201710379209A CN 107204897 A CN107204897 A CN 107204897A
- Authority
- CN
- China
- Prior art keywords
- node
- failure
- message
- network link
- response message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
Abstract
The invention provides a kind of fault detection method of network link and system, methods described comprises the following steps:When setting time does not receive the heartbeat message of first node, send one to first node and detect message;Detection response message as do not received first node return, it is determined that first node failure;Such as receive the detection response message of first node return, it is determined that first node is busy.The technical scheme that the present invention is provided has the advantages that user experience is high.
Description
Technical field
The present invention relates to the fault detection method and system of the communications field, more particularly to a kind of network link.
Background technology
Node is the elementary cell in network connection, and the data of network are to be transmitted in link to save accordingly by node
Point, whether failure is detected node by heartbeat message, but in actual applications, node be possible to it is busy may be now
Heartbeat message can not be sent in time and is judged as failure by mistake, influence customer experience degree.
The content of the invention
A kind of fault detection method of network link is provided, the low shortcoming of prior art user Experience Degree is which solved.
On the one hand there is provided a kind of fault detection method of network link, methods described comprises the following steps:
When setting time does not receive the heartbeat message of first node, send one to first node and detect message;
Detection response message as do not received first node return, it is determined that first node failure;
Such as receive the detection response message of first node return, it is determined that first node is busy.
Optionally, methods described also includes:
Such as first node failure, then failure application procedures are performed.
Optionally, methods described also includes:
Such as first node is busy, stops distributing task to first node.
Second aspect includes there is provided a kind of fault detection system of network link, methods described:
When Transmit-Receive Unit, heartbeat message for not receiving first node in setting time, one is sent to first node
Detect message;
Determining unit, the detection response message for not receiving first node return such as, it is determined that first node failure;
Control unit, the detection response message for such as receiving first node return, it is determined that first node is busy.
Optionally, the system also includes:
Control unit, for such as first node failure, then performs failure application procedures.
Optionally, the system also includes:
Control unit, it is busy for such as first node, stop distributing task to first node.
The third aspect is stored thereon with computer program there is provided a kind of computer-readable recording medium, and the program is processed
Device realizes the fault detection method of above-mentioned network link when performing.
There is provided a kind of terminal, including one or more processors, memory, transceiver, and one or many for fourth aspect
Individual program, one or more of programs are stored in the memory, and are configured by one or more of processing
Device is performed, and described program includes being used to perform the instruction of the step in the fault detection method of above-mentioned network link.
The technical scheme that the specific embodiment of the invention is provided does not receive the heartbeat message of first node in setting time
When, send one to first node and detect message, do not receive the detection response message of first node return such as, it is determined that first segment
Point failure, such as receives the detection response message of first node return, it is determined that first node is busy, so it has by inspection
Survey message and response message determine node whether failure, improve the advantage of the Experience Degree of user.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
A kind of flow chart of the fault detection method for network link that Fig. 1 provides for the present invention.
A kind of structure chart of the fault detection system for network link that Fig. 2 provides for the present invention.
A kind of hardware architecture diagram for terminal that Fig. 3 provides for the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Refering to Fig. 1, a kind of fault detection method for network link that Fig. 1 provides for the first better embodiment of the invention
Flow chart, this method is completed by a node, and this method is as shown in figure 1, comprise the following steps:
Step S101, when setting time does not receive the heartbeat message of first node, to first node send one detect
Message;
Step S102, the detection response message for not receiving first node return such as, it is determined that first node failure;
Step S103, the detection response message for such as receiving first node return, it is determined that first node is busy.
The technical scheme that the specific embodiment of the invention is provided does not receive the heartbeat message of first node in setting time
When, send one to first node and detect message, do not receive the detection response message of first node return such as, it is determined that first segment
Point failure, such as receives the detection response message of first node return, it is determined that first node is busy, so it has by inspection
Survey message and response message determine node whether failure, improve the advantage of the Experience Degree of user.
Optionally, it can also include after above-mentioned steps S103:
Such as first node failure, then failure application procedures are performed.
Optionally, it can also include after above-mentioned steps S103:
Such as first node is busy, stops distributing task to first node.
Refering to Fig. 2, a kind of fault detection system for network link that Fig. 2 provides for the second better embodiment of the invention,
The system as shown in Fig. 2 including:
When Transmit-Receive Unit 201, heartbeat message for not receiving first node in setting time, sent to first node
One detection message;
Determining unit 202, the detection response message for not receiving first node return such as, it is determined that first node event
Barrier;
Control unit 203, the detection response message for such as receiving first node return, it is determined that first node is numerous
It is busy.
The technical scheme that the specific embodiment of the invention is provided does not receive the heartbeat message of first node in setting time
When, send one to first node and detect message, do not receive the detection response message of first node return such as, it is determined that first segment
Point failure, such as receives the detection response message of first node return, it is determined that first node is busy, so it has by inspection
Survey message and response message determine node whether failure, improve the advantage of the Experience Degree of user.
Optionally, said system can also include:
Control unit 203, for such as first node failure, then performs failure application procedures.
Optionally, said system can also include:
Control unit 203, it is busy for such as first node, stop distributing task to first node.
It should be noted that for foregoing each method embodiment or embodiment, in order to be briefly described, therefore by its all table
State as a series of combination of actions, but those skilled in the art should know, the present invention is not by described sequence of movement
Limitation because according to the present invention, some steps can be carried out using other orders or simultaneously.Secondly, people in the art
Member should also know that embodiment or embodiment described in the specification belong to preferred embodiment, involved action and list
Necessary to the member not necessarily present invention.
The specific embodiment of the invention also provides a kind of computer-readable recording medium, is stored thereon with computer program,
The program realizes the fault detection method of above-mentioned network link when being executed by processor.
The specific embodiment of the invention also provides a kind of terminal, as shown in figure 3, including one or more processors 302, depositing
Reservoir 301, transceiver 303, and one or more programs, one or more of programs are stored in the memory,
And it is configured by one or more of computing devices, described program includes the failure inspection for being used to perform above-mentioned network link
The instruction of step in survey method.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.This area
Not be the same as Example and the feature of non-be the same as Example described in this specification can be combined or combined by technical staff.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be with
Realized with hardware, or firmware is realized, or combinations thereof mode is realized.When implemented in software, can be by above-mentioned functions
It is stored in computer-readable medium or is transmitted as one or more instructions on computer-readable medium or code.Meter
Calculation machine computer-readable recording medium includes computer-readable storage medium and communication media, and wherein communication media includes being easy to from a place to another
Any medium of individual place transmission computer program.Storage medium can be any usable medium that computer can be accessed.With
Exemplified by this but it is not limited to:Computer-readable medium can include random access memory (Random Access Memory,
RAM), read-only storage (Read-Only Memory, ROM), EEPROM (Electrically
Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-
Only Memory, CD-ROM) or other optical disc storages, magnetic disk storage medium or other magnetic storage apparatus or can be used in
Carry or storage with instruction or data structure form desired program code and can by computer access any other
Medium.In addition.Any connection can be suitably turn into computer-readable medium.If for example, software is to use coaxial cable, light
Fine optical cable, twisted-pair feeder, Digital Subscriber Line (Digital Subscriber Line, DSL) or such as infrared ray, radio and
The wireless technology of microwave etc is transmitted from website, server or other remote sources, then coaxial cable, optical fiber cable, double
The wireless technology of twisted wire, DSL or such as infrared ray, wireless and microwave etc be included in belonging to medium it is fixing in.Such as this hair
Used in bright, disk (Disk) and dish (disc) include compressing laser disc (CD), laser disc, laser disc, Digital Versatile Disc (DVD),
Floppy disk and Blu-ray Disc, the replicate data of the usual magnetic of which disk, and dish is then with laser come optical replicate data.Group above
Conjunction should also be as being included within the protection domain of computer-readable medium.
In a word, the preferred embodiment of technical solution of the present invention is the foregoing is only, is not intended to limit the present invention's
Protection domain.Within the spirit and principles of the invention, any modification, equivalent substitution and improvements made etc., should be included in
Within protection scope of the present invention.
Claims (8)
1. a kind of fault detection method of network link, it is characterised in that methods described comprises the following steps:
When setting time does not receive the heartbeat message of first node, send one to first node and detect message;
Detection response message as do not received first node return, it is determined that first node failure;
Such as receive the detection response message of first node return, it is determined that first node is busy.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
Such as first node failure, then failure application procedures are performed.
3. according to the method described in claim 1, it is characterised in that methods described also includes:
Such as first node is busy, stops distributing task to first node.
4. a kind of fault detection system of network link, it is characterised in that methods described includes:
When Transmit-Receive Unit, heartbeat message for not receiving first node in setting time, send one to first node and detect
Message;
Determining unit, the detection response message for not receiving first node return such as, it is determined that first node failure;
Control unit, the detection response message for such as receiving first node return, it is determined that first node is busy.
5. system according to claim 4, it is characterised in that
Described control unit, for such as first node failure, then performs failure application procedures.
6. system according to claim 4, it is characterised in that
Described control unit, it is busy for such as first node, stop distributing task to first node.
7. a kind of computer-readable recording medium, is stored thereon with computer program, realized such as when the program is executed by processor
The fault detection method of network link described in claim 1-3 any one.
8. a kind of terminal, it is characterised in that including one or more processors, memory, transceiver, and one or more journeys
Sequence, one or more of programs are stored in the memory, and are configured to be held by one or more of processors
OK, described program includes being used to perform the instruction of the step in the fault detection method of the network link described in 1-3 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710379209.7A CN107204897A (en) | 2017-05-25 | 2017-05-25 | The fault detection method and system of network link |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710379209.7A CN107204897A (en) | 2017-05-25 | 2017-05-25 | The fault detection method and system of network link |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107204897A true CN107204897A (en) | 2017-09-26 |
Family
ID=59906210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710379209.7A Pending CN107204897A (en) | 2017-05-25 | 2017-05-25 | The fault detection method and system of network link |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107204897A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018214107A1 (en) * | 2017-05-25 | 2018-11-29 | 深圳市伊特利网络科技有限公司 | Network link fault detection method and system |
CN110430097A (en) * | 2019-08-07 | 2019-11-08 | 聚好看科技股份有限公司 | Instruct transmission method, apparatus and system |
CN112956158A (en) * | 2018-11-19 | 2021-06-11 | 思科技术公司 | Structured data plane monitoring |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101345663A (en) * | 2008-08-22 | 2009-01-14 | 杭州华三通信技术有限公司 | Heartbeat detection method and heartbeat detection apparatus |
US20100205481A1 (en) * | 2007-10-26 | 2010-08-12 | Huawei Technologies Co., Ltd. | Method and Apparatus for Detecting and Handling Peer Faults in Peer-to-Peer Network |
CN103036696A (en) * | 2011-09-30 | 2013-04-10 | 中国移动通信集团甘肃有限公司 | Achievement method and system and corresponding device of online business |
-
2017
- 2017-05-25 CN CN201710379209.7A patent/CN107204897A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100205481A1 (en) * | 2007-10-26 | 2010-08-12 | Huawei Technologies Co., Ltd. | Method and Apparatus for Detecting and Handling Peer Faults in Peer-to-Peer Network |
CN101345663A (en) * | 2008-08-22 | 2009-01-14 | 杭州华三通信技术有限公司 | Heartbeat detection method and heartbeat detection apparatus |
CN103036696A (en) * | 2011-09-30 | 2013-04-10 | 中国移动通信集团甘肃有限公司 | Achievement method and system and corresponding device of online business |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018214107A1 (en) * | 2017-05-25 | 2018-11-29 | 深圳市伊特利网络科技有限公司 | Network link fault detection method and system |
CN112956158A (en) * | 2018-11-19 | 2021-06-11 | 思科技术公司 | Structured data plane monitoring |
CN112956158B (en) * | 2018-11-19 | 2024-04-16 | 思科技术公司 | Structural data plane monitoring |
CN110430097A (en) * | 2019-08-07 | 2019-11-08 | 聚好看科技股份有限公司 | Instruct transmission method, apparatus and system |
CN110430097B (en) * | 2019-08-07 | 2021-06-01 | 聚好看科技股份有限公司 | Instruction transmission method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107171955A (en) | The system of selection of data link and system in network | |
CN107105482A (en) | Terminal wifi connection control methods and system | |
CN107070729A (en) | Main equipment elects method and system in network linking | |
CN107196821A (en) | The method of calibration and system of time delay in network link | |
CN107135108A (en) | The update method and system of network connection list | |
CN107204897A (en) | The fault detection method and system of network link | |
CN107229875A (en) | Terminal method for secret protection and system | |
CN107180109A (en) | Location-based Condom recommends method and system | |
CN107146081A (en) | Terminal quick payment method and system based on positioning | |
CN106992905A (en) | Long-distance service method and system after network link failure | |
CN106998394A (en) | The method to set up and system of particular contact prompting | |
CN107103565A (en) | Network meal-ordering method and system based on positioning | |
CN106971550A (en) | The detection method and system of intelligent transportation map Bridge | |
CN107148001A (en) | Wechat friend invitation method and system based on positioning | |
CN107071090A (en) | Application process and system of the virtual network address in the link of networking | |
CN107181814A (en) | The positioning sharing method and system of the bound device of terminal | |
CN107249177A (en) | The reminding method and system of children's wrist-watch position in terminal | |
CN107096228A (en) | Player's grasping means based on positioning and system in fighting landlord | |
CN106973072A (en) | Network link encryption method and system based on terminal | |
CN107153920A (en) | The quantity method and system for planning of fire fighting truck in fire fighting | |
CN107277841A (en) | The system of selection of terminal network connection and system | |
CN107086943A (en) | The computational methods and system of packet loss in network linking | |
CN107153552A (en) | The quick of terminal app exits method and system | |
CN107101646A (en) | The application process and system positioned in self-driving | |
CN107016825A (en) | Alarm method and system based on positioning |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170926 |