CN108737174A - Abnormal localization method and device - Google Patents
Abnormal localization method and device Download PDFInfo
- Publication number
- CN108737174A CN108737174A CN201810476233.7A CN201810476233A CN108737174A CN 108737174 A CN108737174 A CN 108737174A CN 201810476233 A CN201810476233 A CN 201810476233A CN 108737174 A CN108737174 A CN 108737174A
- Authority
- CN
- China
- Prior art keywords
- wireless network
- gateway device
- data
- management equipment
- network coordinator
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A kind of abnormal localization method of present invention offer and device.The method includes:The working condition that detection back-stage management equipment is controlled executing node, and control back-stage management equipment in working condition exception and carry out reading and writing data at background server;If cannot achieve reading and writing data, judge that the data high in the clouds processing procedure of background server is abnormal;If successfully realizing reading and writing data, control background server transmits director data to gateway device;If gateway device can not be sent to, the abnormal conditions on background server or gateway device are positioned based on gateway management equipment;If being successfully sent to gateway device, control gateway device transmits director data to wireless network coordinator;If wireless network coordinator can not be sent to, the abnormal conditions on gateway device or wireless network coordinator are positioned based on gateway management equipment.The method rapidly can carry out precise positioning to the unusual condition in Internet of things system, improve the O&M efficiency of operation maintenance personnel.
Description
Technical field
The present invention relates to internet of things field, in particular to a kind of abnormal localization method and device.
Background technology
With the continuous development of science and technology, existing Internet of things system along with user to the regulatory requirement of terminal device
In the trend development of composition diversification and manipulation diversification, and existing Internet of things system is made to correspond to the internet of things equipment of management
Gradually increase.Existing Internet of things system is usually by background devices, gateway device, wireless sensor device and multiple execution node groups
At such Internet of things system generally requires operation maintenance personnel during operational management and takes a significant amount of time one by one when something goes wrong
Ground carries out abnormal investigation to each equipment in system, and whole abnormal location efficiency is not high, and human resources consumption is big, can not be rapidly
Precise positioning is carried out to the unusual condition in system.
Invention content
In order to overcome above-mentioned deficiency in the prior art, the purpose of the present invention is to provide a kind of abnormal localization method and dresses
It sets, the abnormal location efficiency of the exception localization method is high, and human resources consumption is small, can be rapidly in Internet of things system
Unusual condition carries out precise positioning, improves the O&M efficiency of operation maintenance personnel.
For method, the embodiment of the present invention provides a kind of abnormal localization method, and the method is used for Internet of things system
Carry out abnormal positioning, the Internet of things system include background server, back-stage management equipment, gateway device, gateway management equipment,
Wireless network management equipment, wireless network coordinator and the execution node being connect with the wireless network coordinator, the method
Including:
The back-stage management equipment is detected through the background server, the gateway device and the wireless network coordinator
To the working condition that the execution node is controlled, and the back-stage management is controlled when detecting the working condition exception
Equipment carries out digital independent or data write-in at platform server in the rear;
If cannot achieve digital independent or data write-in, the corresponding data high in the clouds processing procedure of the background server is judged
There are exceptions;
If successfully realizing digital independent or data write-in, controls the background server and transmit instruction to the gateway device
Data;
If described instruction data can not be sent to the gateway device, based on the gateway management equipment to the backstage
Abnormal conditions on server or the gateway device are positioned;
If described instruction data are successfully sent to the gateway device, the gateway device is controlled to the wireless network
Coordinator transmits described instruction data;
If described instruction data can not be sent to the wireless network coordinator, based on the gateway management equipment to institute
The abnormal conditions stated in gateway device or the wireless network coordinator are positioned.
Optionally, in embodiments of the present invention, the first agreement is based between above-mentioned background server and the gateway device
Carry out data transmission, it is described based on the gateway management equipment to the abnormal feelings on the background server or the gateway device
The step of condition is positioned include:
The gateway management equipment is controlled to send to the background server by the gateway device based on the first agreement
First test data;
If the first test data is successfully sent to the background server by the gateway device, the background service is judged
The downlink process of device exists abnormal;
If the first test data can not be sent to the background server by the gateway device, the gateway device is judged
Uplink process exist it is abnormal.
Optionally, in embodiments of the present invention, second is based between above-mentioned gateway device and the wireless network coordinator
Agreement carries out data transmission, described to be based on the gateway management equipment on the gateway device or the wireless network coordinator
Abnormal conditions the step of being positioned include:
It controls the gateway management equipment and is based on second protocol by the gateway device to the wireless network coordinator
Send the second test data;
If the second test data is successfully sent to the wireless network coordinator by the gateway device, judge described wireless
The uplink process of network coordinator exists abnormal;
If the second test data can not be sent to the wireless network coordinator by the gateway device, the gateway is judged
The downlink process of equipment exists abnormal.
Optionally, in embodiments of the present invention, the above method further includes:
If described instruction data are successfully sent to the wireless network coordinator, it is based on the wireless network management equipment
Abnormal conditions in the wireless network coordinator or the execution node are positioned.
Optionally, in embodiments of the present invention, above-mentioned that the wireless network is assisted based on the wireless network management equipment
The device or described abnormal conditions the step of being positioned executed on node is adjusted to include:
It controls the wireless network management equipment and third is sent to the execution node by the wireless network coordinator
Test data;
If the third test data is successfully sent to the execution node by the wireless network coordinator, described in judgement
It executes node and there is exception;
If the third test data can not be sent to the execution node by the wireless network coordinator, described in judgement
The downlink process of wireless network coordinator exists abnormal.
For device, the embodiment of the present invention provides a kind of abnormal positioning device, and described device is used for Internet of things system
Carry out abnormal positioning, the Internet of things system include background server, back-stage management equipment, gateway device, gateway management equipment,
Wireless network management equipment, wireless network coordinator and the execution node being connect with the wireless network coordinator, described device
Including:
State detection module, for detect the back-stage management equipment through the background server, the gateway device and
The working condition that the wireless network coordinator controls the execution node, and detecting that the working condition is abnormal
When control the back-stage management equipment and carry out digital independent or data write-in at platform server in the rear;
If abnormal locating module judges that the background server corresponds to for cannot achieve digital independent or data write-in
Data high in the clouds processing procedure exist it is abnormal;
If data control block controls the background server to institute for successfully realizing digital independent or data write-in
State gateway device transmission director data;
The exception locating module is based on institute if being additionally operable to that described instruction data can not be sent to the gateway device
Gateway management equipment is stated to position the abnormal conditions on the background server or the gateway device;
The data control block controls institute if being additionally operable to that described instruction data are successfully sent to the gateway device
It states gateway device and transmits described instruction data to the wireless network coordinator;
The exception locating module, if being additionally operable to that described instruction data can not be sent to the wireless network coordinator,
The abnormal conditions on the gateway device or the wireless network coordinator are positioned based on the gateway management equipment.
Optionally, in embodiments of the present invention, the first agreement is based between above-mentioned background server and the gateway device
Carry out data transmission, the exception locating module sets the background server or the gateway based on the gateway management equipment
Include for the mode that upper abnormal conditions are positioned:
The gateway management equipment is controlled to send to the background server by the gateway device based on the first agreement
First test data;
If the first test data is successfully sent to the background server by the gateway device, the background service is judged
The downlink process of device exists abnormal;
If the first test data can not be sent to the background server by the gateway device, the gateway device is judged
Uplink process exist it is abnormal.
Optionally, in embodiments of the present invention, second is based between above-mentioned gateway device and the wireless network coordinator
Agreement carries out data transmission, and the exception locating module is based on the gateway management equipment to the gateway device or described wireless
The mode that abnormal conditions on network coordinator are positioned includes:
It controls the gateway management equipment and is based on second protocol by the gateway device to the wireless network coordinator
Send the second test data;
If the second test data is successfully sent to the wireless network coordinator by the gateway device, judge described wireless
The uplink process of network coordinator exists abnormal;
If the second test data can not be sent to the wireless network coordinator by the gateway device, the gateway is judged
The downlink process of equipment exists abnormal.
Optionally, in embodiments of the present invention, above-mentioned abnormal locating module, if being additionally operable to successfully send out described instruction data
It is sent to the wireless network coordinator, based on the wireless network management equipment to the wireless network coordinator or the execution
Abnormal conditions on node are positioned.
Optionally, in embodiments of the present invention, above-mentioned abnormal locating module is based on the wireless network management equipment to institute
Stating the mode that wireless network coordinator or the abnormal conditions executed on node are positioned includes:
It controls the wireless network management equipment and third is sent to the execution node by the wireless network coordinator
Test data;
If the third test data is successfully sent to the execution node by the wireless network coordinator, described in judgement
It executes node and there is exception;
If the third test data can not be sent to the execution node by the wireless network coordinator, described in judgement
The downlink process of wireless network coordinator exists abnormal.
In terms of existing technologies, abnormal localization method and device provided in an embodiment of the present invention have below beneficial to effect
Fruit:The abnormal location efficiency of the exception localization method is high, and human resources consumption is small, can be rapidly in Internet of things system
Unusual condition carries out precise positioning, improves the O&M efficiency of operation maintenance personnel.The method is used to carry out Internet of things system abnormal
Positioning, the Internet of things system includes background server, back-stage management equipment, gateway device, gateway management equipment, wireless network
Management equipment, wireless network coordinator and the execution node being connect with the wireless network coordinator.First, the method detects
The back-stage management equipment executes section through the background server, the gateway device and the wireless network coordinator to described
The working condition that point is controlled, and control the back-stage management equipment in the rear when detecting the working condition exception
Digital independent or data write-in are carried out at platform server.Then, the method is when cannot achieve digital independent or data and be written,
It is abnormal to judge that the corresponding data high in the clouds processing procedure of the background server exists;The method successfully realize digital independent or
When data are written, control the background server and transmit director data to the gateway device.Then, the method can not incite somebody to action
When described instruction data are sent to the gateway device, based on the gateway management equipment to the background server or the net
The abnormal conditions closed in equipment are positioned;The method when described instruction data are successfully sent to the gateway device,
It controls the gateway device and transmits described instruction data to the wireless network coordinator.Finally, the method is can not be by institute
It states director data and is sent to the wireless network coordinator, based on the gateway management equipment to the gateway device or the nothing
Abnormal conditions on line network coordinator are positioned.The method is by way of multi-layer judgement rapidly to Internet of Things system
Unusual condition in system is positioned, and to improve the abnormal location efficiency of Internet of things system, reduces the manpower money of operation maintenance personnel
Source consumes, and improves the O&M efficiency of system.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, present pre-ferred embodiments cited below particularly,
And coordinate appended attached drawing, it is described in detail below.
Description of the drawings
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 the claims in the present invention protection domain, for those of ordinary skill in the art, what is do not made the creative labor
Under the premise of, it can also be obtained according to these attached drawings other relevant attached drawings.
Fig. 1 is the block diagram of Internet of things system provided in an embodiment of the present invention.
Fig. 2 is one of the flow diagram of abnormal localization method provided in an embodiment of the present invention.
Fig. 3 is the two of the flow diagram of abnormal localization method provided in an embodiment of the present invention.
Fig. 4 is the block diagram of abnormal positioning device provided in an embodiment of the present invention.
Icon:10- Internet of things system;11- back-stage management equipment;12- background servers;13- gateway management equipment;14-
Gateway device;15- wireless network management equipment;16- wireless network coordinators;17- executes node;100- exception positioning devices;
110- state detection modules;120- exception locating modules;130- data control blocks.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is implemented
The component of example can be arranged and be designed with a variety of different configurations.Therefore, below to the reality of the present invention provided in the accompanying drawings
The detailed description for applying example is not intended to limit the range of claimed invention, but is merely representative of the selected implementation of the present invention
Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without creative efforts
Every other embodiment, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.In description of the invention
In, it should be noted that term " first ", " second ", " third " etc. are only used for distinguishing description, and should not be understood as instruction or dark
Show relative importance.Below in conjunction with the accompanying drawings, it elaborates to some embodiments of the present invention.In the absence of conflict,
Feature in following embodiments and embodiment can be combined with each other.
Fig. 1 is please referred to, is the block diagram of Internet of things system 10 provided in an embodiment of the present invention.In the embodiment of the present invention
In, the Internet of things system 10 include back-stage management equipment 11, background server 12, gateway management equipment 13, gateway device 14,
Wireless network management equipment 15, wireless network coordinator 16 and the execution node 17 being connect with the wireless network coordinator 16,
The Internet of things system 10 passes through above-mentioned back-stage management equipment 11, background server 12, gateway management equipment 13, gateway device
14, wireless network management equipment 15, wireless network coordinator 16 and execution node 17 realize corresponding internet of things functional.Wherein,
The background server 12 can be stored with a large amount of execution for providing back-end data processing service in the background server 12
Related data when node 17 works.The back-stage management equipment 11 is communicated to connect with the background server 12, for institute
Background server 12 is stated to be managed, the back-stage management equipment 11 can by the operating parameter to the background server 12 into
Row digital independent or the mode of data write-in control the operation conditions of the background server 12.The gateway device 14 is for establishing
Communication connection between the background server 12 and the wireless network coordinator 16, the gateway device 14 respectively with it is described
Background server 12 and the wireless network coordinator 16 communicate to connect, so that the background server 12 is set based on the gateway
Standby 14 carry out data interaction with the wireless network coordinator 16.The gateway management equipment 13 is communicated with the gateway device 14
Connection, for being managed to gateway device 14.The wireless network management equipment 15 is logical with the wireless network coordinator 16
Letter connection, for being managed to the wireless network coordinator 16.The execution node 17 is executed for carrying out operation to reach
To the internet of things functional effect of the Internet of things system 10, the execution node 17 passes through logical with the wireless network coordinator 16
The mode of letter connection coordinates the wireless network coordinator 16 to build to form a wireless network.The back-stage management equipment 11 can be through
The background server 12, the gateway device 14 and the wireless network coordinator 16 send to the execution node 17 and control
Instruction, to control the execution node 17, to realize 10 corresponding internet of things functional of the Internet of things system.
In the present embodiment, the mode of web interface management can be used to the background server in the Internet of things system 10
12 and the gateway device 14 be managed, the wireless network coordinator 16 is managed using physical hardware devices, then
The back-stage management equipment 11 is the terminal device at 12 corresponding management of webpage interface of background server described in sign-on access, described
Gateway management equipment 13 is the terminal device at 14 corresponding management of webpage interface of gateway device described in sign-on access, the wireless network
Network management equipment 15 is the terminal device directly communicated to connect with the wireless network coordinator 16.Wherein, the terminal device
It may be, but not limited to, smart mobile phone, PC (Personal Computer, PC), tablet computer, personal digital assistant
(Personal Digital Assistant, PDA), mobile internet surfing equipment (Mobile Internet Device, MID) etc..
In the present embodiment, data are carried out based on the first agreement between the background server 12 and the gateway device 14
Transmission, is carried out data transmission between the gateway device 14 and the wireless network coordinator 16 based on second protocol, and described the
It is had differences between one agreement and the second protocol.The data that the background server 12 is sent to the gateway device 14 need
Meet first agreement, the data needs that the gateway device 14 is sent to the wireless network coordinator 16 meet described
Second protocol;The data that the wireless network coordinator 16 is sent to the gateway device 14 need to meet the second protocol,
The data that the gateway device 14 is sent to the background server 12 need to meet first agreement.The one of the present embodiment
In kind embodiment, data biography is carried out based on third agreement between the back-stage management equipment 11 and the background server 12
Defeated, the third agreement has differences with first agreement and the second protocol, if the back-stage management equipment 11 needs
When will be to 16 transmission data of wireless network coordinator, which need to be sent to the background service after third protocol translation
Device 12 is sent to the gateway device 14, then after being converted to the data with the first agreement by the background server 12
The wireless network coordinator 16 is sent to after being converted to the data with second protocol by the gateway device 14.
In the present embodiment, the wireless network coordinator 16 can be wireless sensor network coordinator, then described wireless
It is wireless sensor network that network coordinator 16, which coordinates the execution node 17 to build the wireless network to be formed, wherein the execution
The number of node 17 is at least one.
Fig. 2 is please referred to, is one of the flow diagram of abnormal localization method provided in an embodiment of the present invention.Of the invention real
It applies in example, the exception localization method to Internet of things system shown in Fig. 1 10 for carrying out abnormal positioning, in the Internet of Things
The unusual condition in the system quickly accurately position when exception occurs in net system 10, to improve operation maintenance personnel
O&M efficiency.The detailed process and step of abnormal localization method shown in Fig. 2 are described in detail below.
Step S210, detection back-stage management equipment 11 is through background server 12, gateway device 14 and wireless network coordinator
16 pairs execute the working condition that node 17 is controlled, and control the back-stage management when detecting the working condition exception
Equipment 11 carries out digital independent or data write-in at platform server 12 in the rear.
In the present embodiment, the abnormal localization method by monitor in real time the back-stage management equipment 11 be based on it is described after
The work that platform server 12, the gateway device 14 and the wireless network coordinator 16 control the execution node 17
The mode of state detects the Internet of things system 10 with the presence or absence of abnormal.If the working condition monitored belongs to and is unable to control pair
Node 17 should be executed, then the working condition is that the back-stage management equipment 11 controls the whole flow process for executing node 17 extremely
Middle exist abnormal, and the method, which will pass through, at this time controls back-stage management equipment 11 and carry out data reading at platform server 12 in the rear
It takes or the mode of data write-in, judges whether the data high in the clouds processing function of the background server 12 is abnormal.
Step S220 detects whether to realize digital independent or data write-in.
In the present embodiment, the method is in such a way that the data flow to the back-stage management equipment 11 is monitored
Detect whether the back-stage management equipment 11 successfully carries out digital independent or data write-in at platform server 12 in the rear.If nothing
When method realizes that digital independent or data are written, the method will execute following steps S230;If successfully realizing digital independent
Or when data write-in, the method will execute following steps S240.
It is abnormal to judge that 12 corresponding data high in the clouds processing procedure of the background server exists by step S230.
In the present embodiment, when judging to deposit when abnormal in Internet of things system 10, if the back-stage management equipment 11 is in institute
Digital independent or data write-in can not be carried out by stating at background server 12, then is shown in entire Internet of things system 10 at least described
There is exception at background server 12, corresponding unusual condition is the data high in the clouds processing procedure of the background server 12 at this time
There are exceptions so that the data high in the clouds processing function of the background server 12 can not be realized normally.
Step S240 controls the background server 12 and transmits director data to the gateway device 14.
In the present embodiment, described instruction data change the working condition of itself for controlling execution node 17.Work as judgement
It is deposited in Internet of things system 10 when abnormal, if the back-stage management equipment 11 successfully realizes data at platform server 12 in the rear
It reads or data is written, then show that the data high in the clouds processing function of background server 12 described in entire Internet of things system 10 is not deposited
In exception, the method need to carry out the abnormal of next level and judge that the method is by controlling the back-stage management equipment at this time
The director data generated based on the third agreement is sent to the background server 12 by 11, make the background server 12 with
Director data after conversion is transferred to the mode of the gateway device 14 by the first agreement after being converted to the director data, sentenced
Disconnected data-transformation facility between the background server 12 and the gateway device 14 is with the presence or absence of abnormal.
Step S250 detects whether director data being sent to gateway device 14.
In the present embodiment, data when the method is by 12 transmission data of background server send situation into
The mode of row monitoring detects whether the background server 12 is successfully sent to the gateway device 14 by described instruction data.
If described instruction data can not be sent to the gateway device 14, the method will execute following steps S260;If at
Described instruction data are sent to the gateway device 14 by work(, and the method will execute following steps S270.
Step S260 carries out the abnormal conditions on background server 12 or gateway device 14 based on gateway management equipment 13
Positioning.
In the present embodiment, when the data for judging to have the abnormal and described background server 12 in the Internet of things system 10
When high in the clouds processing function is normal, if described instruction data can not be sent to the gateway device 14 by the background server 12,
It is abnormal then to show that the data-transformation facility between the background server 12 and the gateway device 14 exists, it is described based on described
The step of gateway management equipment 13 positions the abnormal conditions on background server 12 or gateway device 14 include:
It controls the gateway management equipment 13 and is based on the first agreement by the gateway device 14 to the background server
12 send the first test data;
If the first test data is successfully sent to the background server 12 by the gateway device 14, the backstage is judged
The downlink process of server 12 exists abnormal;
If the first test data can not be sent to the background server 12 by the gateway device 14, the gateway is judged
The uplink process of equipment 14 exists abnormal.
Wherein, first test data is the gateway management equipment 13 generation for testing the gateway device 14
The whether normal data of the data sending function for the background server 12, first test data meets described
One agreement.If the first test data is successfully sent to the background server 12 by the gateway device 14, show the net
The function of closing equipment 14 to 12 transmission data of the background server is normal, then leading to the background server 12 and the net
It is that there are different for the downlink process of the background server 12 to close the data-transformation facility between equipment 14 to have abnormal reason
Often;If the first test data can not be sent to the background server 12 by the gateway device 14, show that the gateway is set
Standby 14 to 12 transmission data of the background server dysfunction, then the background server 12 is caused to be set with the gateway
There is abnormal reason and the uplink process including the gateway device 14 had into exception in the data-transformation facility between standby 14.
Step S270 controls the gateway device 14 and transmits described instruction data to the wireless network coordinator 16.
In the present embodiment, when the data for judging to have the abnormal and described background server 12 in the Internet of things system 10
When high in the clouds processing function is normal, set if described instruction data successfully can be sent to the gateway by the background server 12
Standby 14, then show that the data-transformation facility between the background server 12 and the gateway device 14 is normal, the method needs
It carries out the abnormal of next level to judge, the method is by controlling the gateway management equipment 13 with second protocol to described at this time
The director data that gateway device 14 receives is converted, and so that the director data obtained after conversion is met the second protocol, is allowed
Director data after conversion is transferred to the mode of the wireless network coordinator 16 by the gateway device 14, judges the gateway
Data-transformation facility between equipment 14 and the wireless network coordinator 16 is with the presence or absence of abnormal.
Step S280 is based on the gateway management equipment if director data can not be sent to wireless network coordinator 16
Abnormal conditions on 13 pairs of gateway devices 14 or the wireless network coordinator 16 position.
In the present embodiment, when the data for judging to have the abnormal and described background server 12 in the Internet of things system 10
High in the clouds processing function is normal, and when the data-transformation facility between the background server 12 and the gateway device 14 is normal,
If described instruction data can not be sent to the wireless network coordinator 16 by the gateway device 14, show that the gateway is set
There is exception in standby data-transformation facility between 14 and the wireless network coordinator 16, described to be based on the gateway management equipment
The step of abnormal conditions on 13 pairs of gateway devices 14 or the wireless network coordinator 16 position include:
The gateway management equipment 13 is controlled to assist to the wireless network by the gateway device 14 based on second protocol
Device 16 is adjusted to send the second test data;
If the second test data is successfully sent to the wireless network coordinator 16 by the gateway device 14, described in judgement
The uplink process of wireless network coordinator 16 exists abnormal;
If the second test data can not be sent to the wireless network coordinator 16 by the gateway device 14, described in judgement
The downlink process of gateway device 14 exists abnormal.
Wherein, second test data is the gateway management equipment 13 generation for testing the gateway device 14
The whether normal data of the data sending function for the wireless network coordinator 16, second test data meets institute
State second protocol.If the second test data is successfully sent to the wireless network coordinator 16, table by the gateway device 14
The function of the bright gateway device 14 to 16 transmission data of the wireless network coordinator is normal, then leading to the gateway device
It is that the wireless network is coordinated that data-transformation facility between 14 and the wireless network coordinator 16, which has abnormal reason,
The uplink process of device 16 exists abnormal;If the second test data can not be sent to the wireless network association by the gateway device 14
Device 16 is adjusted, then shows dysfunction of the gateway device 14 to 16 transmission data of the wireless network coordinator, then causing
It will include institute that data-transformation facility between the gateway device 14 and the wireless network coordinator 16, which has abnormal reason,
There is exception in the downlink process for stating gateway device 14.
Fig. 3 is please referred to, is the two of the flow diagram of abnormal localization method provided in an embodiment of the present invention.Of the invention real
It applies in example, the exception localization method can also include step S290.
Step S290 is based on wireless network management equipment if director data is successfully sent to wireless network coordinator 16
15 pairs of wireless network coordinators 16 or the abnormal conditions executed on node 17 position.
In the present embodiment, when the data for judging to have the abnormal and described background server 12 in the Internet of things system 10
High in the clouds processing function is normal, and when the data-transformation facility between the background server 12 and the gateway device 14 is normal,
If described instruction data successfully can be sent to the wireless network coordinator 16 by the gateway device 14, show the net
The data-transformation facility closed between equipment 14 and the wireless network coordinator 16 is normal, and the method need to carry out next level
Abnormal to judge, the method determines the Internet of things system 10 by way of controlling the wireless network management equipment 15 at this time
In unusual condition be in the wireless network coordinator 16, it is described at this time to be based on nothing or on the execution node 17
Line network management device 15 to wireless network coordinator 16 or execute node 17 on abnormal conditions position the step of include:
The wireless network management equipment 15 is controlled to send out to the execution node 17 by the wireless network coordinator 16
Send third test data;
If the third test data is successfully sent to the execution node 17 by the wireless network coordinator 16, judgement
The execution node 17 exists abnormal;
If the third test data can not be sent to the execution node 17 by the wireless network coordinator 16, judgement
The downlink process of the wireless network coordinator 16 exists abnormal.
Wherein, the third test data is the wireless network management equipment 15 generation for testing the wireless network
The whether normal data of data sending function for the execution node 17 of network coordinator 16.If the wireless network is coordinated
The third test data is successfully sent to the execution node 17 by device 16, then shows the wireless network coordinator 16 to institute
The function of stating execution 17 transmission data of node is normal, then the unusual condition in the Internet of things system 10 is to execute section described
On point 17, i.e., the described execution node 17 exists abnormal.If the wireless network coordinator 16 can not be by the third test data
It is sent to the execution node 17, then shows the wireless network coordinator 16 to the function of executing 17 transmission data of node
It is abnormal, then the unusual condition in the Internet of things system 10 is in the wireless network coordinator 16, it is described at this time wireless
The downlink process of network coordinator 16 exists abnormal.
In the present embodiment, operation maintenance personnel by the abnormal localization method to the unusual condition in Internet of things system 10 into
Row, can be by after obtaining the related data of each internet of things equipment to positioning quickly and after precise positioning in background server 12
Unusual condition repairs, to improve the maintenance efficiency of operation maintenance personnel.
Fig. 4 is please referred to, is the block diagram of abnormal positioning device 100 provided in an embodiment of the present invention.Of the invention real
It applies in example, the exception positioning device 100 is for realizing above-mentioned abnormal localization method, to occur in the Internet of things system 10
Unusual condition in the system quickly accurately position when abnormal, to improve the O&M efficiency of operation maintenance personnel.Its
In, the exception positioning device 100 includes state detection module 110, abnormal locating module 120 and data control block 130.
The state detection module 110, for detect back-stage management equipment 11 through background server 12, gateway device 14 and
The working condition that wireless network coordinator 16 is controlled executing node 17, and detecting the working condition exception time control
It makes the back-stage management equipment 11 and carries out digital independent or data write-in at platform server 12 in the rear.
In the present embodiment, the state detection module 110 can execute the step S210 in Fig. 2, specifically execute
Journey can refer to above to the detailed description of step S210.
If the exception locating module 120 judges the background service for cannot achieve digital independent or data write-in
12 corresponding data high in the clouds processing procedure of device exists abnormal.
In the present embodiment, the abnormal locating module 120 can execute the step S230 in Fig. 2, specifically execute
Journey can refer to above to the detailed description of step S230.
If the data control block 130 controls the background service for successfully realizing digital independent or data write-in
Device 12 transmits director data to the gateway device 14.
In the present embodiment, the data control block 130 can execute the step S240 in Fig. 2, specifically execute
Journey can refer to above to the detailed description of step S240.
The exception locating module 120, if being additionally operable to that described instruction data can not be sent to the gateway device 14, base
The abnormal conditions on background server 12 or gateway device 14 are positioned in the gateway management equipment 13.
In the present embodiment, data are carried out based on the first agreement between the background server 12 and the gateway device 14
Transmission, the exception locating module 120 is based on the gateway management equipment 13 on background server 12 or gateway device 14
The mode that abnormal conditions are positioned includes:
It controls the gateway management equipment 13 and is based on the first agreement by the gateway device 14 to the background server
12 send the first test data;
If the first test data is successfully sent to the background server 12 by the gateway device 14, the backstage is judged
The downlink process of server 12 exists abnormal;
If the first test data can not be sent to the background server 12 by the gateway device 14, the gateway is judged
The uplink process of equipment 14 exists abnormal.
Wherein, the specific implementation procedure of the abnormal locating module 120 can refer to above to the step S260's in Fig. 2
Detailed description.
The data control block 130, if being additionally operable to that described instruction data are successfully sent to the gateway device 14, control
It makes the gateway device 14 and transmits described instruction data to the wireless network coordinator 16.
In the present embodiment, the data control block 130 can execute the step S270 in Fig. 2, specifically execute
Journey can refer to above to the detailed description of step S270.
The exception locating module 120 is based on if being additionally operable to that director data can not be sent to wireless network coordinator 16
The gateway management equipment 13 positions the abnormal conditions on the gateway device 14 or the wireless network coordinator 16.
In the present embodiment, it is carried out based on second protocol between the gateway device 14 and the wireless network coordinator 16
Data transmission, the exception locating module 120 are based on the gateway management equipment 13 to the gateway device 14 or described wireless
The mode that abnormal conditions on network coordinator 16 are positioned includes:
The gateway management equipment 13 is controlled to assist to the wireless network by the gateway device 14 based on second protocol
Device 16 is adjusted to send the second test data;
If the second test data is successfully sent to the wireless network coordinator 16 by the gateway device 14, described in judgement
The uplink process of wireless network coordinator 16 exists abnormal;
If the second test data can not be sent to the wireless network coordinator 16 by the gateway device 14, described in judgement
The downlink process of gateway device 14 exists abnormal.
Wherein, the specific implementation procedure of the abnormal locating module 120 can refer to above to the step S280's in Fig. 2
Detailed description.
In embodiments of the present invention, the abnormal locating module 120, if being additionally operable to successfully be sent to director data wirelessly
Network coordinator 16, based on wireless network management equipment 15 to the abnormal conditions in wireless network coordinator 16 or execution node 17
It is positioned.
In the present embodiment, the abnormal locating module 120 is based on wireless network management equipment 15 to wireless network coordination
Device 16 or the mode that is positioned of abnormal conditions executed on node 17 include:
The wireless network management equipment 15 is controlled to send out to the execution node 17 by the wireless network coordinator 16
Send third test data;
If the third test data is successfully sent to the execution node 17 by the wireless network coordinator 16, judgement
The execution node 17 exists abnormal;
If the third test data can not be sent to the execution node 17 by the wireless network coordinator 16, judgement
The downlink process of the wireless network coordinator 16 exists abnormal.
Wherein, the specific implementation procedure of abnormal locating module 120 can refer to above to the detailed of the step S290 in Fig. 3
Description.
In embodiments of the present invention, the state detection module 110 can also be used to detecting back-stage management equipment 11 whether at
Digital independent or data write-in are carried out to work(at background server 12, it may also be used for whether successfully detection background server 12
Director data is sent to gateway device 14, it may also be used for whether detection gateway device 14 is successfully sent to nothing by director data
Line network coordinator 16, the state detection module 110 can correspond to the step S220 and step S250 executed in Fig. 2.
In conclusion in abnormal localization method provided in an embodiment of the present invention and device, the exception localization method
Abnormal location efficiency is high, and human resources consumption is small, rapidly can carry out precise positioning to the unusual condition in Internet of things system,
Improve the O&M efficiency of operation maintenance personnel.The method is used to carry out abnormal positioning, the Internet of things system packet to Internet of things system
Background server, back-stage management equipment, gateway device, gateway management equipment, wireless network management equipment, wireless network is included to coordinate
Device and the execution node being connect with the wireless network coordinator.First, the method detects the back-stage management equipment through institute
State the work shape that background server, the gateway device and the wireless network coordinator control the execution node
State, and control when detecting the working condition exception back-stage management equipment and carry out data at platform server in the rear
It reads or data is written.Then, the method judges the background server when cannot achieve digital independent or data are written
Corresponding data high in the clouds processing procedure exists abnormal;The method controls institute when successfully realizing that digital independent or data are written
It states background server and transmits director data to the gateway device.Then, the method can not send described instruction data
When to the gateway device, based on the gateway management equipment to the abnormal feelings on the background server or the gateway device
Condition is positioned;The method controls the gateway device when described instruction data are successfully sent to the gateway device
Described instruction data are transmitted to the wireless network coordinator.Finally, described instruction data can not be sent to by the method
The wireless network coordinator, based on the gateway management equipment on the gateway device or the wireless network coordinator
Abnormal conditions are positioned.The method multi-layer judgement by way of rapidly to the unusual condition in Internet of things system into
Row positioning reduces the human resources consumption of operation maintenance personnel, improves system to improve the abnormal location efficiency of Internet of things system
O&M efficiency.
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, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of exception localization method, which is characterized in that for carrying out abnormal positioning, the Internet of things system to Internet of things system
Including background server, back-stage management equipment, gateway device, gateway management equipment, wireless network management equipment, wireless network association
The execution node adjusted device and connect with the wireless network coordinator, the method includes:
The back-stage management equipment is detected through the background server, the gateway device and the wireless network coordinator to institute
It states and executes the working condition that node is controlled, and control the back-stage management equipment when detecting the working condition exception
Digital independent or data write-in are carried out at platform server in the rear;
If cannot achieve digital independent or data write-in, judge that the corresponding data high in the clouds processing procedure of the background server exists
It is abnormal;
If successfully realizing digital independent or data write-in, controls the background server and transmit instruction number to the gateway device
According to;
If described instruction data can not be sent to the gateway device, based on the gateway management equipment to the background service
Abnormal conditions on device or the gateway device are positioned;
If described instruction data are successfully sent to the gateway device, control the gateway device and coordinate to the wireless network
Device transmits described instruction data;
If described instruction data can not be sent to the wireless network coordinator, based on the gateway management equipment to the net
The abnormal conditions closed in equipment or the wireless network coordinator are positioned.
2. according to the method described in claim 1, it is characterized in that, being based between the background server and the gateway device
First agreement carries out data transmission, described to be based on the gateway management equipment on the background server or the gateway device
Abnormal conditions the step of being positioned include:
It controls the gateway management equipment and sends first to the background server by the gateway device based on the first agreement
Test data;
If the first test data is successfully sent to the background server by the gateway device, the background server is judged
Downlink process exists abnormal;
If the first test data can not be sent to the background server by the gateway device, the upper of the gateway device is judged
Row process exists abnormal.
3. according to the method described in claim 2, it is characterized in that, between the gateway device and the wireless network coordinator
Carried out data transmission based on second protocol, it is described to be based on the gateway management equipment to the gateway device or the wireless network
The step of abnormal conditions on coordinator are positioned include:
The gateway management equipment is controlled to send to the wireless network coordinator by the gateway device based on second protocol
Second test data;
If the second test data is successfully sent to the wireless network coordinator by the gateway device, the wireless network is judged
The uplink process of coordinator exists abnormal;
If the second test data can not be sent to the wireless network coordinator by the gateway device, the gateway device is judged
Downlink process exist it is abnormal.
4. according to the method described in any one of claim 1-3, which is characterized in that the method further includes:
If described instruction data are successfully sent to the wireless network coordinator, based on the wireless network management equipment to institute
It states wireless network coordinator or the abnormal conditions executed on node is positioned.
5. according to the method described in claim 4, it is characterized in that, described be based on the wireless network management equipment to the nothing
Line network coordinator or described abnormal conditions the step of being positioned executed on node include:
It controls the wireless network management equipment and third test is sent to the execution node by the wireless network coordinator
Data;
If the third test data is successfully sent to the execution node by the wireless network coordinator, the execution is judged
Node exists abnormal;
If the third test data can not be sent to the execution node by the wireless network coordinator, judge described wireless
The downlink process of network coordinator exists abnormal.
6. a kind of exception positioning device, which is characterized in that for carrying out abnormal positioning, the Internet of things system to Internet of things system
Including background server, back-stage management equipment, gateway device, gateway management equipment, wireless network management equipment, wireless network association
The execution node adjusted device and connect with the wireless network coordinator, described device include:
State detection module, for detecting the back-stage management equipment through the background server, the gateway device and described
The working condition that wireless network coordinator controls the execution node, and detecting the working condition exception time control
It makes the back-stage management equipment and carries out digital independent or data write-in at platform server in the rear;
If abnormal locating module judges the corresponding number of the background server for cannot achieve digital independent or data write-in
Exist according to high in the clouds processing procedure abnormal;
If data control block controls the background server to the net for successfully realizing digital independent or data write-in
It closes equipment and transmits director data;
The exception locating module is based on the net if being additionally operable to that described instruction data can not be sent to the gateway device
Management equipment is closed to position the abnormal conditions on the background server or the gateway device;
The data control block controls the net if being additionally operable to that described instruction data are successfully sent to the gateway device
It closes equipment and transmits described instruction data to the wireless network coordinator;
The exception locating module is based on if being additionally operable to that described instruction data can not be sent to the wireless network coordinator
The gateway management equipment positions the abnormal conditions on the gateway device or the wireless network coordinator.
7. device according to claim 6, which is characterized in that be based between the background server and the gateway device
First agreement carries out data transmission, and the exception locating module is based on the gateway management equipment to the background server or institute
Stating the mode that the abnormal conditions on gateway device are positioned includes:
It controls the gateway management equipment and sends first to the background server by the gateway device based on the first agreement
Test data;
If the first test data is successfully sent to the background server by the gateway device, the background server is judged
Downlink process exists abnormal;
If the first test data can not be sent to the background server by the gateway device, the upper of the gateway device is judged
Row process exists abnormal.
8. device according to claim 7, which is characterized in that between the gateway device and the wireless network coordinator
Carried out data transmission based on second protocol, the exception locating module be based on the gateway management equipment to the gateway device or
The mode that abnormal conditions in the wireless network coordinator are positioned includes:
The gateway management equipment is controlled to send to the wireless network coordinator by the gateway device based on second protocol
Second test data;
If the second test data is successfully sent to the wireless network coordinator by the gateway device, the wireless network is judged
The uplink process of coordinator exists abnormal;
If the second test data can not be sent to the wireless network coordinator by the gateway device, the gateway device is judged
Downlink process exist it is abnormal.
9. according to the device described in any one of claim 6-8, which is characterized in that
The exception locating module is based on if being additionally operable to that described instruction data are successfully sent to the wireless network coordinator
The wireless network management equipment positions the abnormal conditions in the wireless network coordinator or the execution node.
10. device according to claim 9, which is characterized in that the exception locating module is based on the wireless network pipe
Managing the mode that equipment positions the wireless network coordinator or the abnormal conditions executed on node includes:
It controls the wireless network management equipment and third test is sent to the execution node by the wireless network coordinator
Data;
If the third test data is successfully sent to the execution node by the wireless network coordinator, the execution is judged
Node exists abnormal;
If the third test data can not be sent to the execution node by the wireless network coordinator, judge described wireless
The downlink process of network coordinator exists abnormal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810476233.7A CN108737174A (en) | 2018-05-17 | 2018-05-17 | Abnormal localization method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810476233.7A CN108737174A (en) | 2018-05-17 | 2018-05-17 | Abnormal localization method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108737174A true CN108737174A (en) | 2018-11-02 |
Family
ID=63938653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810476233.7A Withdrawn CN108737174A (en) | 2018-05-17 | 2018-05-17 | Abnormal localization method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108737174A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109510723A (en) * | 2018-11-19 | 2019-03-22 | 深圳友讯达科技股份有限公司 | Gateway, Internet of Things affairs managing and control system and method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1815970A (en) * | 2005-02-01 | 2006-08-09 | 华为技术有限公司 | Method for detecting network chain fault and positioning said fault |
US20090113232A1 (en) * | 2007-10-31 | 2009-04-30 | Electronics And Telecommunications Research Institute | Apparatus and method for managing wireless sensor network |
CN102638828A (en) * | 2011-02-12 | 2012-08-15 | 苏州达联信息科技有限公司 | Remote debugging method and device for railway track monitoring and sensing network |
CN103023028A (en) * | 2012-12-17 | 2013-04-03 | 江苏省电力公司 | Rapid grid failure positioning method based on dependency graph of entities |
CN103441897A (en) * | 2013-08-26 | 2013-12-11 | 深信服网络科技(深圳)有限公司 | Method and device for locating failure node in virtual network |
CN104601086A (en) * | 2015-01-29 | 2015-05-06 | 湖北民族学院 | PV (Photovoltaic) power generation system and fault detection method thereof |
-
2018
- 2018-05-17 CN CN201810476233.7A patent/CN108737174A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1815970A (en) * | 2005-02-01 | 2006-08-09 | 华为技术有限公司 | Method for detecting network chain fault and positioning said fault |
US20090113232A1 (en) * | 2007-10-31 | 2009-04-30 | Electronics And Telecommunications Research Institute | Apparatus and method for managing wireless sensor network |
CN102638828A (en) * | 2011-02-12 | 2012-08-15 | 苏州达联信息科技有限公司 | Remote debugging method and device for railway track monitoring and sensing network |
CN103023028A (en) * | 2012-12-17 | 2013-04-03 | 江苏省电力公司 | Rapid grid failure positioning method based on dependency graph of entities |
CN103441897A (en) * | 2013-08-26 | 2013-12-11 | 深信服网络科技(深圳)有限公司 | Method and device for locating failure node in virtual network |
CN104601086A (en) * | 2015-01-29 | 2015-05-06 | 湖北民族学院 | PV (Photovoltaic) power generation system and fault detection method thereof |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109510723A (en) * | 2018-11-19 | 2019-03-22 | 深圳友讯达科技股份有限公司 | Gateway, Internet of Things affairs managing and control system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102546640B (en) | Information flow method when the many equipment of single account logs in and server | |
CN109660502A (en) | Detection method, device, equipment and the storage medium of abnormal behaviour | |
WO2022127504A1 (en) | Network element management method and apparatus, and storage medium | |
CN106131167A (en) | For managing the method and system of Internet of Things user and equipment | |
CN104104488A (en) | Wireless sensor network protocol conformance testing system and method | |
CN104040538B (en) | A kind of the Internet, applications exchange method, apparatus and system | |
CN107666415A (en) | The optimization method and device of the protocol bridges of FC AE 1553 | |
CN103916397A (en) | Safety monitoring method under distributed network environment | |
CN106776243A (en) | A kind of monitoring method and device for monitoring software | |
CN104954340A (en) | Proxy IP address detection method and device | |
CN108322366A (en) | Access the methods, devices and systems of network | |
CN108762659A (en) | Control method, device, storage medium and the electronic device of cloud terminal | |
CN108737174A (en) | Abnormal localization method and device | |
CN101964923A (en) | Configuration system and method for interactive commands | |
CN106792818A (en) | Data network changing method, device and terminal device based on network speed | |
CN108616896A (en) | Operator's recognition methods, device and internent access system | |
CN106060048A (en) | Network resource access method and network resource access device | |
CN106792678A (en) | A kind of method and system of radio node automatic matching search | |
CN109688099A (en) | Server end hits library recognition methods, device, equipment and readable storage medium storing program for executing | |
CN109714380A (en) | Partner's method for network access, device, equipment and computer readable storage medium | |
CN205725837U (en) | A kind of Laboratory Instruments equipment management system based on Zigbee networking technology | |
CN106789449A (en) | A kind of CAN exploitation and method of testing and system | |
CN114363879B (en) | Roaming processing method and system for wireless terminal | |
CN111245686B (en) | Command vehicle system node monomer detection and diagnosis equipment | |
CN102271155B (en) | A kind of method of the equipment and its remote operation equipment |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20181102 |