CN105703952B - Network Fault Detecting method and device - Google Patents

Network Fault Detecting method and device Download PDF

Info

Publication number
CN105703952B
CN105703952B CN201610117507.4A CN201610117507A CN105703952B CN 105703952 B CN105703952 B CN 105703952B CN 201610117507 A CN201610117507 A CN 201610117507A CN 105703952 B CN105703952 B CN 105703952B
Authority
CN
China
Prior art keywords
wireless data
data collection
collection device
failure
preset threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610117507.4A
Other languages
Chinese (zh)
Other versions
CN105703952A (en
Inventor
冯超
刘珺
文敏
丁亚伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fangxin Technology Co.,Ltd.
Original Assignee
HUNAN FANGXIN TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HUNAN FANGXIN TECHNOLOGY Co Ltd filed Critical HUNAN FANGXIN TECHNOLOGY Co Ltd
Priority to CN201610117507.4A priority Critical patent/CN105703952B/en
Publication of CN105703952A publication Critical patent/CN105703952A/en
Application granted granted Critical
Publication of CN105703952B publication Critical patent/CN105703952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • H04L41/064Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis involving time analysis
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • H04L41/065Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis involving logical or physical relationship, e.g. grouping and hierarchies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The problem of the embodiment of the invention provides a kind of Network Fault Detecting method and device, improving equipment networking malfunction monitoring in the prior art, time-consuming, low efficiency, reduces network availability.The Network Fault Detecting method includes: detection and records the wireless data collection device of communication failure and the time point of communication failure;Count the wireless data collection device total amount that the continuous communiction frequency of failure within the same period reaches the first preset threshold;Judge whether wireless data collection device total amount reaches the second preset threshold, if reaching the second preset threshold, then detection continuous communiction frequency of failure within the same period reach in each wireless data collection device of the first preset threshold with the presence or absence of for critical path by wireless data collection device, if there is for critical path by wireless data collection device, then be detected as critical path by wireless data collection device whether failure.Using the Network Fault Detecting method and device, malfunction monitoring efficiency and network availability can be improved.

Description

Network Fault Detecting method and device
Technical field
The present invention relates to monitoring technical fields, in particular to a kind of Network Fault Detecting method and device.
Background technique
To often carry out data interaction after multiple wireless data collection device networkings now, when carrying out data interaction there may be Certain wireless data collection device data interaction failures, in order to ensure the reliability of data interaction, need to carry out network failure inspection It surveys, processing.Currently used fault monitoring method be using comparing passively mode, such as: record in network and own when networking The information of wireless data collection device carries out the letter of the wireless data collection device of record acquisition failure when whole network data acquisition Breath thinks that these wireless data collection devices are suspected to be failure if failure wireless data collection device quantity reaches certain proportion, By networking again, trial will be suspected to be that failure wireless data collection device restores, and will be unable to the nothing for restoring to network after networking again Line data acquisition equipment predicates wireless data collection device failure.Using this kind of mode, when individual wireless data collection devices When communication failure, system can not also have no chance to judge to be that network communication failure or data acquisition are set in a long time Standby failure, and networking time length, low efficiency, cause the real-time of wireless data collection device malfunction monitoring poor.Also, for can Self- recoverage (many communication failures be all temporary, mostly caused by interfering, after a period of time, communication can restore normal) Network communication failure can not judge, the wireless data collection device of these self recoveries, in the case where without any processing It can restore normal communication, and recombination net at this time wastes a large amount of time, reduces the availability of network.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of Network Fault Detecting method and device, to improve Wireless data collection device networking failure is directly handled by way of networking in the prior art, time-consuming, low efficiency, reduces The problem of network availability.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
The embodiment of the invention provides a kind of Network Fault Detecting methods, are applied to main control device, which is used for It establishes and wirelessly communicates with multiple wireless data collection devices, to form wireless data acquisition network, which comprises
Detect and record the wireless data collection device of communication failure and the time point of communication failure;
It judges whether there is the continuous communiction frequency of failure and reaches the wireless data collection device of the first preset threshold, if deposited Then counting the wireless data collection device that the continuous communiction frequency of failure within the same period reaches first preset threshold Total amount;
Judge whether the wireless data collection device total amount reaches the second preset threshold, if it is default to reach described second Threshold value, then detection continuous communiction frequency of failure within the same period reaches each data acquisition of first preset threshold In equipment with the presence or absence of for critical path by wireless data collection device, if there is for critical path by data acquisition set It is standby, then be detected as critical path by the wireless data collection device whether failure.
Preferably, the method also includes:
If each wireless data that the continuous communiction frequency of failure reaches first preset threshold within the same period is adopted Integrate in equipment there is no for critical path by wireless data collection device, then determine that continuous communiction failure is secondary within the same period Each wireless data collection device that number reaches first preset threshold does not break down.
Preferably, the method also includes:
If the wireless data collection device total amount is lower than second preset threshold, continuous communiction is detected respectively and is lost It loses number and reaches each wireless data collection device of first preset threshold and whether break down.
Preferably, each wireless data that the continuous communiction frequency of failure of detection respectively reaches first preset threshold is adopted Collect that the step of whether equipment breaks down includes:
Find out the institute that every continuous communiction frequency of failure reaches the wireless data collection device of first preset threshold There is adjacent wireless data collection device;
Control instruction is issued to every adjacent wireless data collection device, makes every adjacent wireless data collection device successively The wireless data collection device for reaching first preset threshold with the continuous communiction frequency of failure is communicatively coupled;
It judges whether there is adjacent wireless data collection device and the continuous communiction frequency of failure reaches the described first default threshold The wireless data collection device of value is successfully established communication connection, if it does not exist, then determining that the continuous communiction frequency of failure reaches The wireless data collection device to first preset threshold is failure wireless data collection device.
Preferably, the method also includes:
Reach first preset threshold if there is adjacent wireless data collection device and the continuous communiction frequency of failure The wireless data collection device is successfully established communication connection, then determines that the continuous communiction frequency of failure reaches the described first default threshold The wireless data collection device generation of value can recovery-type network communication failure.
The embodiment of the invention also provides a kind of Network Fault Detecting devices, are applied to main control device, which uses It is wirelessly communicated in being established with multiple wireless data collection devices, to form wireless data acquisition network, the Network Fault Detecting Device includes:
Detection and recording unit, for detect and record communication failure wireless data collection device and communication failure when Between point;
Judging unit, the wireless data that the first preset threshold is reached for judging whether there is the continuous communiction frequency of failure are adopted Collect equipment, if it is present statistics continuous communiction frequency of failure within the same period reaches the nothing of first preset threshold Line data acquisition equipment total amount;For judging whether the wireless data collection device total amount reaches the second preset threshold, if Reach second preset threshold, then detection continuous communiction frequency of failure within the same period reaches first preset threshold Each wireless data collection device in the presence or absence of for critical path by wireless data collection device, if there is for critical path by Wireless data collection device, then be detected as critical path by the wireless data collection device whether failure.
Preferably, the judging unit is also used to the continuous communiction frequency of failure within the same period and reaches described first In each wireless data collection device of preset threshold there is no for critical path by wireless data collection device when, determine same Each wireless data collection device that the continuous communiction frequency of failure reaches first preset threshold in period does not break down.
Preferably, the Network Fault Detecting device further include:
Processing unit, for obtaining the wireless data collection device total amount lower than described the in judging unit judgement When two preset thresholds, each wireless data collection device that the continuous communiction frequency of failure reaches first preset threshold is detected respectively Whether break down.
Preferably, the processing unit includes:
Search subelement, for find out every continuous communiction frequency of failure reach first preset threshold without line number According to all adjacent wireless data collection devices of acquisition equipment;
Control subelement, for issuing control instruction to every adjacent wireless data collection device, make every it is adjacent wireless Data acquisition equipment successively reaches the wireless data collection device of first preset threshold with the continuous communiction frequency of failure It is communicatively coupled;
Judgment sub-unit reaches for judging whether there is adjacent wireless data collection device with the continuous communiction frequency of failure The wireless data collection device of first preset threshold is successfully established communication connection, if it does not exist, then determining continuous The wireless data collection device that communication failure number reaches first preset threshold is failure wireless data collection device.
Preferably, the judgment sub-unit is also used to there are adjacent wireless data collection device and continuous communictions to fail When the wireless data collection device that number reaches first preset threshold is successfully established communication connection, continuous communiction is determined The wireless data collection device generation that the frequency of failure reaches first preset threshold can recovery-type network communication failure.
Network Fault Detecting method and device provided in the embodiment of the present invention, malfunction monitoring mechanism are adopted in wireless data The collection equipment continuous communiction frequency of failure starts after reaching the first preset threshold, without with the wireless data collection device of communication failure The judgement of shared population proportion, as long as there is any wireless data collection device that can not communicate, can startup separator monitoring mechanism, rather than Recombination net is just carried out until there are enough wireless data collection device communication failures as the prior art.On this basis, originally Scheme in inventive embodiments can also count the nothing that the continuous communiction frequency of failure within the same period reaches the first preset threshold Whether line data acquisition equipment total amount confirms rapidly the type of failure, does not need more than the second preset threshold by inferring mechanism Again networking.
Further, Network Fault Detecting method and device provided in the embodiment of the present invention, for individually without line number According to the network failure of acquisition equipment, too small amount of neighboring communication traversal can be led to confirm whether wireless data collection device is former Barrier, neighbours' quantity of single wireless data collection device is far fewer than the number of devices in network, thus fault location speed is faster.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of application environment signal of Network Fault Detecting method and device provided by the embodiment of the present invention Figure.
Fig. 2 shows the structural block diagrams of the control device in a kind of Fig. 1 provided by the embodiment of the present invention.
Fig. 3 shows a kind of flow chart of Network Fault Detecting method provided by the embodiment of the present invention.
Fig. 4 shows a kind of flow chart of equipment fault detection provided by the embodiment of the present invention.
Fig. 5 shows a kind of structural schematic diagram of Network Fault Detecting device provided by the embodiment of the present invention.
Specific embodiment
Network Fault Detecting method and device provided by the embodiment of the present invention can be applied to application environment as shown in Figure 1 In.It is communicated to connect as shown in Figure 1, main control device 200, wireless data collection device 100 can be established by network 300, makes winner Control equipment 200 and wireless data collection device 100 can carry out data communication and interaction between each other.The network 300 is preferably Wireless network.
In the embodiment of the present invention, main control device 200 is the equipment that can be obtained data and be stored and handled, can be with Including concentrator (Concentrator device), data processor etc..Fig. 2 shows the master controls in a kind of embodiment The structural block diagram of equipment 200.As shown in Fig. 2, main control device 200 may include: memory 201, processor 202 and network mould Block 203.
Memory 201 can be used for storing software program and module, such as the Network Fault Detecting side in the embodiment of the present invention Method and the corresponding program instruction/unit of device, processor 202 by the software program that is stored in memory 201 of operation and Unit, thereby executing various function application and data processing, such as Network Fault Detecting method provided in an embodiment of the present invention.It deposits Reservoir 201 may include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage fills It sets, flash memory or other non-volatile solid state memories.Software program and module in above-mentioned memory 201 include network Fault monitoring device 500 may also include that operating system 221 and service module 222.Wherein operating system 221 can for LINUX, UNIX, WINDOWS, may include it is various for management system task (such as memory management, storage wireless data collection device control System, power management etc.) component software and/or driving, and can mutually be communicated with various hardware or component software, to provide it The running environment of his component software.Service module 222 operates on the basis of operating system 221, and passes through operating system 221 The request for carrying out automatic network is monitored in network service, completes corresponding data processing according to request, and return to processing result to client. That is, service module 222 can be used for providing network service to client.
Network module 203 is used for the communication established between main control device 200 and external communications terminals by the network 300 The transmitting-receiving operation of network signal and data is realized in connection.
It is appreciated that structure shown in Fig. 2 is only to illustrate, main control device 200 may also include it is more than shown in Fig. 2 or Less component, or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can using hardware, software or its Combination is realized.
Network Fault Detecting method and device provided in the embodiment of the present invention, for main control device 200 and no line number According to the wireless data acquisition network that acquisition equipment 100 forms, it can be monitored in the application stage and record each wireless data collection device The information of 100 each communication failures and time, it is default to reach first in the 100 continuous communiction frequency of failure of wireless data collection device Startup separator diagnosis mechanism after threshold value counts the nothing that the continuous communiction frequency of failure within the same period reaches the first preset threshold Whether 100 total amount of line data acquisition equipment when same period has more wireless data collection device more than the second preset threshold When 100 communication failure, the type of failure can be confirmed rapidly, does not need networking again by inferring mechanism.Such as: with for the moment Between section have more 100 communication failure of wireless data collection device may be because a certain section occur have a power failure etc. failures, cause this All 100 communication failures of wireless data collection device in section.It may also is that for critical path by wireless data collection device 100 break down, cause by this for critical path by other wireless datas that are communicated of wireless data collection device 100 adopt Collect 100 communication failure of equipment, wherein for critical path by wireless data collection device 100 refer to the relaying section that transmits as data The wireless data collection device 100 of point.Based on above-mentioned analysis, first carry out with the presence or absence of for critical path by data acquisition set Standby 100 judgement, when exist for critical path by wireless data collection device 100 when, be detected as critical path by wireless data Acquire equipment 100 whether failure, when there is no for critical path by wireless data collection device 100 when, can directly infer hair The events such as large-area power-cuts are given birth to, each wireless data collection device 100 does not break down.
This kind of Network Fault Detecting mode can effectively improve 300 availability of malfunction monitoring efficiency and network.
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
As shown in figure 3, it is applied to main control device 200 the embodiment of the invention provides a kind of Network Fault Detecting method, it should Main control device 200 is used to establish with multiple wireless data collection devices 100 and wirelessly communicate, to form wireless data acquisition network, It the described method comprises the following steps.
Step S401: detecting and records wireless data collection device 100 and the time point of communication failure of communication failure.
Wherein, the wireless data collection device 100 of communication failure refers to fail and carries out the wireless data of data interaction and adopt Collect equipment 100.
In practical applications, each wireless data collection device 100 can be set and periodically carry out data interaction, then, it is setting Time fails to complete the wireless data collection device 100 of the as communication failure of wireless data collection device 100 of data interaction, should Setting time is the time point of communication failure.Also it may be set under certain condition, refer to as administrative staff issue data acquisition Each wireless data collection device 100 carries out data interaction under conditions of order, then, after administrative staff issue data acquisition instruction The wireless data collection device 100 for failing completion data interaction is the wireless data collection device 100 of communication failure, administrator Member issues the time point that the time point that data acquisition instructs is communication failure.
Step S402: it judges whether there is the continuous communiction frequency of failure and reaches the data acquisition of the first preset threshold and set Standby 100, if it is present executing step S403: statistics continuous communiction frequency of failure within the same period reaches described first 100 total amount of wireless data collection device of preset threshold.
In the present embodiment, show that the wireless data for reaching the first preset threshold there are the continuous communiction frequency of failure is adopted in judgement When collecting equipment 100, that is, startup separator diagnosis mechanism, this care diagnostic mechanism abandoned in the prior art only one in network 300 The direct processing mode of networking again when the device fails of certainty ratio, can effectively improve the timeliness of troubleshooting.
Wherein, fault diagnosis mechanism includes above-mentioned steps S403: statistics continuous communiction frequency of failure within the same period Reach 100 total amount of wireless data collection device and step S404 of first preset threshold: judging that the wireless data is adopted Whether collection 100 total amount of equipment reaches the second preset threshold, if reaching second preset threshold, thens follow the steps step S405: detection each data acquisition that the continuous communiction frequency of failure reaches first preset threshold within the same period is set In standby 100 with the presence or absence of for critical path by wireless data collection device 100, if there is for critical path by wireless data adopt Collect equipment 100, then follow the steps S406: be detected as critical path by the wireless data collection device 100 whether failure.
Wherein, the first preset threshold and the second preset threshold can with flexible setting, such as: if main control device 200 and multiple Wireless data acquisition network composed by wireless data collection device 100 is smaller, such as unit of cell, in order to improve failure prison Timeliness is surveyed, the first preset threshold can be set as 3, then, in each wireless data collection device 100 being set in cell There are the communication failure numbers of any wireless data collection device 100 to reach 3 times, i.e. startup separator diagnosis mechanism.Assuming that cell In a minimum of 3 wireless data collection devices 100 in each family, the second preset threshold can be set as 3, then, master control is set The continuous communiction frequency of failure reaches 3 wireless data collection devices 100 always within the same period in the standby 200 detection cell Whether amount reaches 3 or more, may be a certain family or multiple family's integrated communications in the cell if reaching 3 or more It goes wrong or some communication relay node goes wrong, at this point, first detecting whether that there are communication relay nodes, i.e. master control Equipment 200 detect communication failure 3 wireless data collection devices 100 in the presence or absence of for critical path by data acquisition Equipment 100, if there is for critical path by wireless data collection device 100, then be detected as critical path by the no line number According to acquisition equipment 100 whether failure.
A kind of completely new fault diagnosis mechanism is provided in above scheme, it can be in more wireless data collection devices 100 Specific aim diagnosis is carried out when concentration breaks down, and exists for key in the wireless data collection device 100 of more communication failures When the wireless data collection device 100 of routing, directly to for critical path by wireless data collection device 100 diagnose, and It is non-that networking again directly is carried out to all wireless data collection devices 100 such as the prior art, so that being diagnosed to be as critical path By wireless data collection device 100 break down when, only need to for critical path by wireless data collection device 100 carry out again Failure can be solved in new connection, will not improve available to the networking again of wireless data collection device 100 that remaining is worked normally Property.
If each wireless data that the continuous communiction frequency of failure reaches first preset threshold within the same period is adopted Integrate in equipment 100 there is no for critical path by wireless data collection device 100, then follow the steps S407: judgement is in same a period of time Between the continuous communiction frequency of failure reaches first preset threshold in section each wireless data collection device 100 do not break down.
Equally by among the above by taking wireless data acquisition network 300 composed as unit of cell as an example, the first preset threshold It is 3, there are the communications of any wireless data collection device 100 in each wireless data collection device 100 being set in cell The frequency of failure reaches 3 times, i.e. startup separator diagnosis mechanism.A minimum of 3 wireless data collection devices in each family in cell 100, the second preset threshold is set as 3, then, main control device 200 detects the continuous communiction mistake within the same period in the cell It loses number and reaches 3 100 total amounts of wireless data collection device and whether reach 3 or more, it, may if reaching 3 or more It is that a certain family or multiple family's integrated communications go wrong in the cell or some communication relay node goes wrong, this When, first detect whether that there are communication relay nodes, i.e. 3 wireless data collection devices of the detection of main control device 200 communication failure In 100 with the presence or absence of for critical path by wireless data collection device 100, if there is no for critical path by wireless data adopt Collect equipment 100, then it is believed that certain families may occur to concentrate power-off in cell, communication failure, which is powered off, to be caused, rather than because of nothing Line data acquisition equipment 100 breaks down, at this point, being then not necessarily to networking again.
It should be noted that the wireless data collection device 100 of outage area can communicate mistake in occurrence of large-area power-off Lose, at this point, may include in the wireless data collection device 100 of communication failure for critical path by wireless data collection device 100, in that case, it can be determined that with the presence or absence of it is multiple for critical path by wireless data collection device 100 in same a period of time Between section communication failure, if it is multiple for critical path by wireless data collection device 100 also may be used in same period communication failure Determining that power cut-off incident occurs, communication failure, which is powered off, to be caused, rather than because wireless data collection device 100 breaks down, at this point, then Without networking again.
If the same period continuous communiction frequency of failure reaches the wireless data collection device of the first preset threshold 100 total amounts are lower than second preset threshold, then follow the steps S408: detecting the continuous communiction frequency of failure respectively and reach described the Whether each wireless data collection device 100 of one preset threshold breaks down.
When implementing, the second preset threshold is preferably set as 300 unit of minimal network in wireless data acquisition network, Such as: among the above as unit of cell in composed wireless data acquisition network 300, if family is minimum unit in cell, A minimum of 3 wireless data collection devices 100 in each family, that second preset threshold are 3.If small within the same period It is 2 that the continuous communiction frequency of failure, which reaches 3 wireless data collection devices 100, in area, then illustrates it is not centainly for critical path By wireless data collection device 100 break down or some family have a power failure, then 2 wireless datas of communication failure are adopted at this time Collection equipment 100 is detected respectively.
The embodiment of the invention provides the realization sides whether one of detection wireless data collection device 100 breaks down Case, as shown in figure 4, the continuous communiction frequency of failure of detection respectively reaches each data acquisition of first preset threshold The step of whether equipment 100 breaks down includes the following steps.
Step S501: the data acquisition that every continuous communiction frequency of failure reaches first preset threshold is found out All adjacent wireless data collection devices 100 of equipment 100.
Wherein, the adjacent wireless data collection device 100 of wireless data collection device 100 is preferably without being relayed i.e. The equipment that data interaction directly can be carried out with the wireless data collection device 100.When implementation, preferably control device is in networking stage Record 100 information of adjacent wireless data collection device of each wireless data collection device 100.
Step S502: control instruction is issued to every adjacent wireless data collection device 100, makes every adjacent wireless data Acquisition equipment 100 successively reaches the wireless data collection device of first preset threshold with the continuous communiction frequency of failure 100 are communicatively coupled.
Step S503: adjacent wireless data collection device 100 is judged whether there is with the continuous communiction frequency of failure and reaches institute The wireless data collection device 100 for stating the first preset threshold is successfully established communication connection, if it does not exist, then executing step S504: the wireless data collection device 100 for determining that the continuous communiction frequency of failure reaches first preset threshold is failure Wireless data collection device 100.Reach described with the continuous communiction frequency of failure if there is adjacent wireless data collection device 100 The wireless data collection device 100 of first preset threshold is successfully established communication connection, thens follow the steps S505: determining continuous The generation of the wireless data collection device 100 that communication failure number reaches first preset threshold can recovery-type network 300 Communication failure wireless data collection device 100.
The implementation whether above-mentioned detection wireless data collection device 100 breaks down is not only suitable for a small number of communication failures Wireless data collection device 100 fault detection, also be suitable for for critical path by wireless data collection device 100 inspection It surveys.
In the present embodiment, when 100 communication failure of wireless data collection device, it can be adopted using the wireless data of communication failure The adjacent wireless data collection device 100 of collection equipment 100 establishes communication connection therewith, reacquires the wireless data of communication failure Acquire equipment 100 data collected, in this way can detection communication failure wireless data collection device 100 whether failure It is completed at the same time 300 self- recoverage of network, efficiency is higher, can effectively ensure 300 availability of network.
On the basis of the above, it the embodiment of the invention also provides a kind of Network Fault Detecting device 500, is set applied to master control Standby 200, which is used to establish with multiple wireless data collection devices 100 and wirelessly communicate, and is adopted with forming wireless data Collect network, as shown in figure 5, the Network Fault Detecting device 500 includes detection and recording unit 601 and judging unit 602.
Wherein, detection and recording unit 601 are used to detect and record the wireless data collection device 100 of communication failure and lead to Believe the time point of failure.The description as described in the detection and recording unit 601 can specifically join the description to step S401 in Fig. 3. That is, the step S401 can be executed by the detection and recording unit 601.
Judging unit 602 is for judging whether there is the wireless data that the continuous communiction frequency of failure reaches the first preset threshold Equipment 100 is acquired, if it is present statistics continuous communiction frequency of failure within the same period reaches first preset threshold 100 total amount of wireless data collection device;For judging it is default whether 100 total amount of wireless data collection device reaches second Threshold value, if reaching second preset threshold, detection continuous communiction frequency of failure within the same period reaches described the In each wireless data collection device 100 of one preset threshold with the presence or absence of for critical path by wireless data collection device 100, such as Fruit exist for critical path by wireless data collection device 100, then be detected as critical path by the wireless data collection device 100 whether failure.The description as described in the judging unit 602 can specifically be joined to step S402~step S408 description in Fig. 3. That is, the step S402~step S408 can be executed by the judging unit 602.
Preferably, the judging unit 602 is also used to the continuous communiction frequency of failure within the same period and reaches described In each wireless data collection device 100 of one preset threshold there is no for critical path by wireless data collection device 100 when, sentence It is scheduled on the continuous communiction frequency of failure in the same period and reaches each wireless data collection device 100 of first preset threshold not It breaks down.
The Network Fault Detecting device 500 further includes processing unit 603.The processing unit 603 described for sentencing When the disconnected judgement of unit 602 obtains 100 total amount of wireless data collection device lower than second preset threshold, detection connects respectively Whether each wireless data collection device 100 that continuous communication failure number reaches first preset threshold breaks down.
Further, the processing unit 603 includes: to search subelement 604, control subelement 605 and judgment sub-unit 606。
Wherein, it searches subelement 604 and reaches first preset threshold for finding out every continuous communiction frequency of failure Wireless data collection device 100 all adjacent wireless data collection devices 100.
Subelement 605 is controlled to be used to issue control instruction to every adjacent wireless data collection device 100, make every it is adjacent The wireless data that wireless data collection device 100 successively reaches first preset threshold with the continuous communiction frequency of failure is adopted Collection equipment 100 is communicatively coupled.
Judgment sub-unit 606 is for judging whether there is adjacent wireless data collection device 100 and continuous communiction failure time The wireless data collection device 100 that number reaches first preset threshold is successfully established communication connection, if it does not exist, then Determining that the continuous communiction frequency of failure reaches the wireless data collection device 100 of first preset threshold is failure without line number According to acquisition equipment 100.The judgment sub-unit 606 is also used to there are adjacent wireless data collection device 100 and continuous communictions When the wireless data collection device 100 that the frequency of failure reaches first preset threshold is successfully established communication connection, determine The generation of the wireless data collection device 100 that the continuous communiction frequency of failure reaches first preset threshold can recovery-type network 300 communication failure wireless data collection devices 100.
The particular technique of Network Fault Detecting device 500 provided by the embodiment of the present invention, implementation and generation is imitated Fruit is similar with preceding method content, and the realization principle in Network Fault Detecting device 500 can refer to preceding method content, because without Make more explanations.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of Network Fault Detecting method is applied to main control device, the main control device with multiple data acquisitions for setting It is standby to establish wireless communication, to form wireless data acquisition network, which is characterized in that the described method includes:
Detect and record the wireless data collection device of communication failure and the time point of communication failure;
The wireless data collection device that the continuous communiction frequency of failure reaches the first preset threshold is judged whether there is, if it does, Then statistics within the same period continuous communiction frequency of failure reach first preset threshold wireless data collection device it is total Amount;
Judge whether the wireless data collection device total amount reaches the second preset threshold, if reaching the described second default threshold Value, then detection each data acquisition that the continuous communiction frequency of failure reaches first preset threshold within the same period is set In standby with the presence or absence of for critical path by wireless data collection device, if there is for critical path by data acquisition set It is standby, then be detected as critical path by the wireless data collection device whether failure.
2. Network Fault Detecting method according to claim 1, which is characterized in that the method also includes:
If each data acquisition that the continuous communiction frequency of failure reaches first preset threshold within the same period is set In standby there is no for critical path by wireless data collection device, then determine that the continuous communiction frequency of failure reaches within the same period Each wireless data collection device to first preset threshold does not break down.
3. Network Fault Detecting method according to claim 1, which is characterized in that the method also includes:
If the wireless data collection device total amount is lower than second preset threshold, continuous communiction failure time is detected respectively Whether each wireless data collection device that number reaches first preset threshold breaks down.
4. Network Fault Detecting method according to claim 3, which is characterized in that the continuous communiction failure of detection respectively The step of whether each wireless data collection device that number reaches first preset threshold breaks down include:
Find out all phases that every continuous communiction frequency of failure reaches the wireless data collection device of first preset threshold Adjacent wireless data collection device;
Control instruction is issued to every adjacent wireless data collection device, makes every adjacent wireless data collection device successively and connects The wireless data collection device that continuous communication failure number reaches first preset threshold is communicatively coupled;
It judges whether there is adjacent wireless data collection device and the continuous communiction frequency of failure reaches first preset threshold The wireless data collection device is successfully established communication connection, if it does not exist, then determining that the continuous communiction frequency of failure reaches institute The wireless data collection device for stating the first preset threshold is failure wireless data collection device.
5. Network Fault Detecting method according to claim 4, which is characterized in that the method also includes:
Reach described in first preset threshold if there is adjacent wireless data collection device and the continuous communiction frequency of failure Wireless data collection device is successfully established communication connection, then determines that the continuous communiction frequency of failure reaches first preset threshold The wireless data collection device generation can recovery-type network communication failure.
6. a kind of Network Fault Detecting device is applied to main control device, the main control device with multiple data acquisitions for setting It is standby to establish wireless communication, to form wireless data acquisition network, which is characterized in that the Network Fault Detecting device includes:
Detection and recording unit, for detecting and recording the wireless data collection device of communication failure and the time of communication failure Point;
Judging unit, the data acquisition that the first preset threshold is reached for judging whether there is the continuous communiction frequency of failure are set It is standby, if it is present statistics within the same period continuous communiction frequency of failure reach first preset threshold without line number According to acquisition equipment total amount;For judging whether the wireless data collection device total amount reaches the second preset threshold, if reached Second preset threshold, then detection continuous communiction frequency of failure within the same period reaches each of first preset threshold In wireless data collection device with the presence or absence of for critical path by wireless data collection device, if there is for critical path by nothing Line data acquisition equipment, then be detected as critical path by the wireless data collection device whether failure.
7. Network Fault Detecting device according to claim 6, which is characterized in that the judging unit is also used to same The continuous communiction frequency of failure, which reaches to be not present in each wireless data collection device of first preset threshold, in one period is Critical path by wireless data collection device when, determine that it is pre- to reach described first for the continuous communiction frequency of failure within the same period If each wireless data collection device of threshold value does not break down.
8. Network Fault Detecting device according to claim 6, which is characterized in that the Network Fault Detecting device also wraps It includes:
Processing unit, for showing that the wireless data collection device total amount is pre- lower than described second in judging unit judgement If when threshold value, respectively detect the continuous communiction frequency of failure reach first preset threshold each wireless data collection device whether It breaks down.
9. Network Fault Detecting device according to claim 8, which is characterized in that the processing unit includes:
Subelement is searched, the wireless data that first preset threshold is reached for finding out every continuous communiction frequency of failure is adopted Collect all adjacent wireless data collection devices of equipment;
Subelement is controlled, for issuing control instruction to every adjacent wireless data collection device, makes every adjacent wireless data The wireless data collection device that acquisition equipment successively reaches first preset threshold with the continuous communiction frequency of failure carries out Communication connection;
Judgment sub-unit reaches described for judging whether there is adjacent wireless data collection device and the continuous communiction frequency of failure The wireless data collection device of first preset threshold is successfully established communication connection, if it does not exist, then determining continuous communiction The wireless data collection device that the frequency of failure reaches first preset threshold is failure wireless data collection device.
10. Network Fault Detecting device according to claim 9, which is characterized in that the judgment sub-unit is also used to There are the wireless datas that adjacent wireless data collection device and the continuous communiction frequency of failure reach first preset threshold When acquisition equipment is successfully established communication connection, determine that the continuous communiction frequency of failure reaches the described wireless of first preset threshold Data acquisition equipment generation can recovery-type network communication failure.
CN201610117507.4A 2016-03-02 2016-03-02 Network Fault Detecting method and device Active CN105703952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610117507.4A CN105703952B (en) 2016-03-02 2016-03-02 Network Fault Detecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610117507.4A CN105703952B (en) 2016-03-02 2016-03-02 Network Fault Detecting method and device

Publications (2)

Publication Number Publication Date
CN105703952A CN105703952A (en) 2016-06-22
CN105703952B true CN105703952B (en) 2019-04-26

Family

ID=56222563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610117507.4A Active CN105703952B (en) 2016-03-02 2016-03-02 Network Fault Detecting method and device

Country Status (1)

Country Link
CN (1) CN105703952B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254101B (en) * 2016-07-28 2019-12-31 华自科技股份有限公司 RS485 serial port equipment communication state detection method and device
CN106385332A (en) * 2016-09-14 2017-02-08 上海亿铁科技发展有限公司 Operation data collection and fault response method based on WIFI
CN106254150B (en) * 2016-09-18 2019-06-28 南方电网科学研究院有限责任公司 network fault processing method and system
CN107886692B (en) * 2017-10-30 2020-08-25 皖西学院 Sensor loRa wireless network communication system for bioengineering

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512749A (en) * 2002-12-27 2004-07-14 华为技术有限公司 Warning method for frequent discrete event fault
CN101257355A (en) * 2008-04-08 2008-09-03 杭州电子科技大学 Method for detecting wireless sensor network node malfunction
CN101540932A (en) * 2008-03-21 2009-09-23 大唐移动通信设备有限公司 Method and device for fault location of multi-channel device
WO2012024883A1 (en) * 2010-08-27 2012-03-01 中兴通讯股份有限公司 Method and system for monitoring state of wireless sensor network nodes
CN102769539A (en) * 2012-07-04 2012-11-07 杭州华三通信技术有限公司 Method for diagnosing forwarding faults of distributed network equipment and equipment
CN104066103A (en) * 2013-03-19 2014-09-24 中国移动通信集团湖北有限公司 Data service core network fault positioning method and device
CN104796937A (en) * 2015-05-11 2015-07-22 重庆大学 Wireless sensor network node fault polling method based on mobile robot

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512749A (en) * 2002-12-27 2004-07-14 华为技术有限公司 Warning method for frequent discrete event fault
CN101540932A (en) * 2008-03-21 2009-09-23 大唐移动通信设备有限公司 Method and device for fault location of multi-channel device
CN101257355A (en) * 2008-04-08 2008-09-03 杭州电子科技大学 Method for detecting wireless sensor network node malfunction
WO2012024883A1 (en) * 2010-08-27 2012-03-01 中兴通讯股份有限公司 Method and system for monitoring state of wireless sensor network nodes
CN102769539A (en) * 2012-07-04 2012-11-07 杭州华三通信技术有限公司 Method for diagnosing forwarding faults of distributed network equipment and equipment
CN104066103A (en) * 2013-03-19 2014-09-24 中国移动通信集团湖北有限公司 Data service core network fault positioning method and device
CN104796937A (en) * 2015-05-11 2015-07-22 重庆大学 Wireless sensor network node fault polling method based on mobile robot

Also Published As

Publication number Publication date
CN105703952A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN105703952B (en) Network Fault Detecting method and device
CN110493042A (en) Method for diagnosing faults, device and server
CN102158360B (en) Network fault self-diagnosis method based on causal relationship positioning of time factors
CN103778044B (en) Method and device for diagnosing system faults
CN102111310B (en) Method and system for monitoring content delivery network (CDN) equipment status
US7576518B2 (en) Battery monitoring network
CN104932978B (en) A kind of system operation automatic fault selftesting and the method and system of selfreparing
CN111817911B (en) Method, device, computing equipment and storage medium for detecting network quality
CN109257195A (en) The fault handling method and equipment of cluster interior joint
CN107171819A (en) A kind of network fault diagnosis method and device
CN107659423A (en) Method for processing business and device
CN103596208A (en) Method and system for judging fault of network element
CN105183952B (en) A kind of power transmission network method for diagnosing faults based on separation time Fuzzy Petri Net
CN102970029A (en) High-safety digital quantity signal acquisition circuit
CN101715203B (en) Method and device for automatically positioning fault points
CN103049365B (en) Information and application resource running state monitoring and evaluation method
CN108572308A (en) fault diagnosis method and system
CN105915426A (en) Failure recovery method and device of ring network
CN108199899A (en) A kind of wireless sensor network fault detection method, apparatus and system
CN106527410A (en) Data recording gateway for vehicle and diagnosis system based on gateway
CN102315988A (en) Efficient inter-domain routing protocol prefix hijacking detecting method
CN109557468A (en) BMS passively balanced abatement detecting method, device and equalizing circuit
CN107360171A (en) Industrial control system information security test device and method based on status lamp detection
CN102841589A (en) Remote intelligent maintenance system for online environment monitoring instrument
CN104570853B (en) Highly reliable combination intelligent spatial overlay

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 412000 room d305, R & D plant C, phase 2-1, Xinma power innovation park, No. 899, Xianyue Ring Road, Tianyuan District, Zhuzhou City, Hunan Province

Patentee after: Fangxin Technology Co.,Ltd.

Address before: 412000 No. 712, agricultural training center, Huanghe North Road, Tianyuan District, Zhuzhou City, Hunan Province

Patentee before: HUNAN FANGXIN TECHNOLOGY Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Network fault monitoring method and device

Effective date of registration: 20220913

Granted publication date: 20190426

Pledgee: Bank of Communications Co.,Ltd. Hunan Branch

Pledgor: Fangxin Technology Co.,Ltd.

Registration number: Y2022430000082

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230619

Granted publication date: 20190426

Pledgee: Bank of Communications Co.,Ltd. Hunan Branch

Pledgor: Fangxin Technology Co.,Ltd.|Hunan Yuanxin Information Technology Co.,Ltd.|HUNAN FANGXIN ENERGY TECHNOLOGY Co.,Ltd.

Registration number: Y2022430000082

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Network Fault Monitoring Methods and Devices

Effective date of registration: 20230626

Granted publication date: 20190426

Pledgee: Bank of Communications Co.,Ltd. Hunan Branch

Pledgor: Fangxin Technology Co.,Ltd.|Hunan Yuanxin Information Technology Co.,Ltd.|HUNAN FANGXIN ENERGY TECHNOLOGY Co.,Ltd.

Registration number: Y2023980045573

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 205, Building A1, Lugu New Changhai Center, No. 627 Lugu Avenue, High tech Development Zone, Changsha City, Hunan Province, 410205

Patentee after: Fangxin Technology Co.,Ltd.

Address before: 412000 room d305, R & D plant C, phase 2-1, Xinma power innovation park, No. 899, Xianyue Ring Road, Tianyuan District, Zhuzhou City, Hunan Province

Patentee before: Fangxin Technology Co.,Ltd.

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20190426

Pledgee: Bank of Communications Co.,Ltd. Hunan Branch

Pledgor: Fangxin Technology Co.,Ltd.|Hunan Yuanxin Information Technology Co.,Ltd.|HUNAN FANGXIN ENERGY TECHNOLOGY Co.,Ltd.

Registration number: Y2023980045573

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Network fault monitoring methods and devices

Granted publication date: 20190426

Pledgee: Bank of Communications Co.,Ltd. Hunan Branch

Pledgor: Fangxin Technology Co.,Ltd.

Registration number: Y2024980025523