Specific embodiment
In the following description, in order that reader more fully understands the application and to propose many technologies thinSection.But, even if it will be understood by those skilled in the art that without these ins and outs and being based onThe many variations of following embodiment and modification, it is also possible to realize that each claim of the application is required and protectThe technical scheme of shield.
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to thisBright embodiment is described in further detail.
First embodiment of the invention is related to a kind of distributed warning and processing method, and Fig. 1 is the distributionThe warning of formula and the schematic flow sheet of processing method.At least two points of the distributed warning and processing methodCloth node is connected by self-organizing network, and each distributed node performs following steps:
Step 101, by sensor acquisition sensing data, and judges whether gathered sensing data is fullFoot first condition set in advance, is sent out by self-organizing network if meeting to other distributed nodesDeliver newspaper alarming information.
Step 102, if receiving the warning message from other distributed nodes by self-organizing network,Then judge whether the warning message meets second condition set in advance, if it is satisfied, then perform being in advanceCorresponding action set by the second condition.
Distributed node can be provided in the intelligent alarm in different user, smoke alarm or disappearAnti- control unit etc..
It is appreciated that when the gathered sensing data of judgement meets first condition set in advance, the nodeIn addition to sending warning message to other distributed nodes by self-organizing network, should also perform correspondingAction.
Furthermore, it is to be understood that meeting pre- when node receives the warning message from other distributed nodesDuring the second condition for first setting, in addition to performing correspondence action set in advance, the warning for also receiving thisInformation is sent to other distributed nodes.
That is, each distributed node both according to the data generation action for itself gathering and is sent outWarning message, also according to the warning message generation action for receiving and is sent out warning message.Therefore, certainlyEach distributed node in tissue network transmits successively warning message, and final each node can be receivedWarning message, and alternatively perform corresponding action.
In present embodiment, distributed node is connected by self-organizing network, both to other distributed nodesWarning message is sent, the warning message from other distributed nodes is also received, can be between arbitrary nodeCommunicate with each other and shared with message, reported to the police in time and early warning is carried out to periphery, it is to avoid have center to lead toThe single-point inefficiency of letter mode.
Second embodiment of the invention is related to a kind of distributed warning and processing method, second embodimentImproved on the basis of first embodiment, mainly theed improvement is that:
Distributed node includes various sensor types and corresponds to corresponding first condition and correspond to correspondingFirst condition, comprehensive can judge whether exactly to need to send alarm signal to other distributed nodesBreath;Meet the distance of alert locations and distributed node less than predetermined threshold second condition when, just executionCorresponding action, it is ensured that only early warning is carried out to the adventurous node of periphery.Specifically:
Sensor includes Smoke Sensor, and correspondingly, first condition includes:The number of Smoke Sensor outputAccording to whether more than predetermined threshold;
Sensor includes temperature sensor, and correspondingly, first condition includes:The temperature of temperature sensor outputWhether angle value exceedes predetermined threshold;
Sensor includes gas concentration sensor, and correspondingly, first condition includes:Gas concentration sensorWhether the gas concentration value of output exceedes predetermined threshold;
Sensor includes door and window detector, and correspondingly, first condition includes:Whether door and window detector detectsTo state of the door and window in specifying.
Furthermore, it is to be understood that in other embodiments of the present invention, sensor type is not limited toStating sensor, or other is used for the sensor of scene of reporting to the police, such as pressure transducer, light sensingDevice etc..
Moreover it is preferred that warning message includes type of alarm and alert locations;
Correspondingly, second condition is that type of alarm in warning message is consistent with predetermined type of alarm, andAlert locations are the close positions of this distributed node.For example, can be pre- in each distributed nodeFirst storage is distributed around the mark of formula node, and these marks constitute a set, if the alarm signal for receivingAlert locations in breath judge to report to the police and occur nearby, to need to trigger corresponding action in the set, then,Such as with acoustooptic warning.And for example, the coordinate of this node can be stored in each distributed node,The coordinate comprising warning node is as alert locations, to receive the distributed section of warning message in warning messagePoint can be in warning message warning node coordinate and this node coordinate calculate this node relative toThe distance of warning node, if the distance is less than predetermined thresholding, then it is assumed that alert locations are this nodesClose position.
It is appreciated that if the alert locations in warning message are the close positions of this distributed node,Represent that alert locations are nearer with this distributed nodal distance, then have potential safety hazard, need to take correspondingAction.
Third embodiment of the invention is related to a kind of distributed warning and processing method, the 3rd embodimentImproved on the basis of first embodiment, mainly theed improvement is that:
Self-organizing network is supported to be communicated by the combination of following any-mode between each distributed node:PLC, Wifi, Zigbee, bluetooth, small wireless mode;Distributed node includes fire-fighting equipment controllerAnd fire-fighting equipment, it is possible to achieve coordinated signals, trigger corresponding fire-fighting equipment and perform corresponding action, catchThe prime time of control the condition of a disaster.Specifically:
Preferably, self-organizing network is supported to enter by the combination of following any-mode between each distributed nodeRow communication:PLC, Wifi, Zigbee, bluetooth, small wireless mode.
It is appreciated that carry out networking by the first channel of power line channel PLC, when power line channel it is obstructedWhen, by other available communication channels by equipment network.
Preferably, the corresponding row in advance set by the second condition is performed if second condition is metIn dynamic step:
Corresponding action includes being reported to the police with sound or optical mode;
Corresponding action includes cutting off the electricity supply;
Corresponding action includes by unlatching fire-fighting equipment, and fire-fighting equipment includes partition door, hydraulic pressure detector,Induced-draft fan, spray system, door and window control;(now, distributed node include fire-fighting equipment controller andFire-fighting equipment, it is possible to achieve coordinated signals, triggers corresponding fire-fighting equipment and performs corresponding action, catches controlThe prime time of the condition of a disaster processed).
Corresponding action includes closing gas valve.
Furthermore, it is to be understood that in other embodiments of the present invention, if meeting set in advanceTwo conditions, then performed action is not limited to described above, it is also possible to according to corresponding applicationScene takes different measures, for example, can also make to send notice to user.
Preferred embodiment
Used as preference, the fire-fighting link for being illustrated in figure 2 a kind of High Availabitity peer network architecture is intelligently reportedAlarm system, system can be suitable for without intelligent gateway or under having intelligent gateway situation, can between arbitrary nodeTo be communicated, user is set to know whether its monitoring place has occurred fire in time.Wherein dotted line represents wifiConnection, solid line represents electric lines of force connection.
This preferred embodiment is constituted
1. this preferred embodiment adopts peer network architecture, can mutually communicate between each node, eachInformation can be very easily shared between node.Wherein
Peer-to-peer network (P2P networks) is the product that distributed system and computer network combine, in applicationField and academia obtain extensive attention and success, are referred to as " changing the net of new generation of InternetNetwork technology ".P2P networks have following advantage:The network bandwidth is made full use of, P2P is not by clothesBusiness device enters row information exchange, and serverless backup bottleneck, without single point failure, makes full use of the network bandwidth;ImproveNetwork operating efficiency, structural P 2 P has Strict topology structure, based on DHT, by network node, numberIt is mapped to according to object efficient uniform in nerve of a covering, router efficiency is high;Develop the latent of each network nodePower, node resource refers to computing capability and memory capacity, and personal computer not network evermore, is interimThe dynamic node of property, referred to as " network edge node ", P2P makes content " be changed into " position positioned at " center "In edge ", computation schema is changed into " distributed computation " by " server centered calculating ";ToolThere is enhanced scalability, when network node sum increases, extensibility measurement can be carried out.In P2P networks,Share communication overhead between node, without the need for increasing equipment, hop count increment is little;Good fault-tolerance, it is mainBe embodied in redundancy approach, be periodically detected, node self adaptation state-maintenance.
2. system by remote server, intelligent node (including intelligent smog alarm, fire fighting device listUnit refers to alarm, partition door, hydraulic pressure detection, induced-draft fan, spray system, door/window controller etc., withAnd other fire-fighting application facilities and equipment), gateway (situation without gateway can also normal work),Transmission medium (including wifi, cable network, blueteeth network, small wireless, PLC etc.)
3. above-mentioned described intelligent smog alarm, for detecting smog information, and smog information transfer is givenOther nodes.The institute that this smoke alarm possesses gateway is functional, including outer net transceiver module and IntranetTransceiver module, therefore remote server can be individually connected to, while can be with each node phase intercommunicationNews.Can be connected with other nodes in several ways, including plc connections, bluetooth connection, wifi connectionsDeng.Intelligent alarm can automatically select best effort circuit according to network state, if certain circuit losesEffect, can notice other nodes by circuit intact in addition fault message in time, then reselect workMake circuit, to bypass faulty section, it is achieved thereby that the function of redundant network.
System can be suitable for without intelligent gateway or under having intelligent gateway situation, specifically:
Situation one:Without intelligent gateway
4. when without gateway, when smoke alarm detects smog information, judge whether to reach set in advanceThreshold value, sends warning if threshold value is reached, while fire alarm information is notified into adjacent equipment, whenJudge that fire information is reached when comparing severe threshold, by optimum route notify spray system in node andWhen action, it is to avoid the condition of a disaster deteriorate.Again warning message is notified into adjacent intelligent alarm simultaneously.So according toSecondary transmission, final each intelligent alarm can receive alert notice, and control action is produced accordingly.At the same time far-end server is informed by the Internet, server is received after warning, Jing after processing in timeAdvise By Wire user checks in time and controls the condition of a fire.
5. as described in 3, after adjacent intelligent alarm receives smog alarm information, itself is gathered firstThe smog information for sensing, sends first audible alarm, while also alert notice is sent to far-end server,After server process, neighbors fire alarm information is issued the user with, remind user to check in time, be easy toThe control condition of a fire withdraws in time fire place.
Situation two:There is intelligent gateway
6. during gateway, when intelligent smog alarm senses smog information, judge whether to reach warning levelValue, is that alert notice is issued into gateway, and warning message is notified report adjacent in generation warning message by gatewayAlert device, if the condition of a disaster is serious, reaches certain threshold value, and the spray system allocated under node is entered action by gatewayMake, while fire-proof doors and windows control system is set as into designated state.
7. after intelligent smog alarm receives fiery residence warning message, the very first time notifies intelligent gateway, netClose fiery residence warning notification server, server is dialed voice SMS and notified to user in time Jing after processing,It is reminded to withdraw or control the intensity of a fire as early as possible.
8. user is received after SMS notification, and backstage is reported to the police and will be automatically terminated.If user fails in timeAnswer, backstage does not get the signal having picked up, will continue to resend voice SMS notice to useFamily mobile phone and spare mobile phone, till user answers.
Detailed operation flow process
1. this preferred embodiment adopts peer network architecture, can mutually communicate between each node, eachInformation is very easily shared between node.
2. when fire protection sensor detects smog, and threshold value set in advance is reached, fire protection sensor willMessage is transferred to intelligent alarm through plc.
3. the intelligent smog alarm node in control unit is received after annunciator message, judges that itself isIt is no to need generation action, while warning message is informed into adjacent control unit.If judging fire alarm,Alarm will sound for alarm, notifies that user has fire herein.
4. whether adjacent control unit receives the warning message of neighbours, judge itself to need to produce to moveMake, while again warning message is notified into the unit adjacent with itself.So transmit successively, final each controlUnit processed can receive alert notice, and control action is produced accordingly.
5. when two adjacent control units of control unit cannot all set up communication, the control unit will be triedFigure is passed the information on away by wireless or other internetwork connection modes.
6. according to described in 2, after certain control unit receives fiery residence warning message, intelligent fire smog reportAlert device will whether there is intelligent gateway in automatic decision network, if it is present the very first time notifies intelligenceFire alarm is informed far-end server by gateway, intelligent gateway by Internet connection.If intelligent smogWhen there is no intelligent gateway in alarm decision node, intelligent smog alarm will attempt to be built by the InternetThe vertical connection with far-end server, by warning message far-end server is notified.
7. far-end server is dialed voice SMS and is notified to user in time Jing after processing, and reminds it to withdraw as early as possibleOr the control intensity of a fire.
8. user is received after SMS notification, and backstage is reported to the police and will be automatically terminated.If user fails in timeAnswer, backstage does not get the signal having picked up, will continue to resend voice SMS notice to useFamily mobile phone and spare mobile phone, till user answers.
9. prioritizing selection plc communication modes between each control unit, when cannot be communicated by plc modesWhen, node can be attempted being communicated by other communication channels, and Automatic-searching is optimum logical between each nodeLetter mode,
10. fire fighting device unit refer to alarm, partition door, hydraulic pressure detection, induced-draft fan, spray system,Door/window controller etc., and other fire-fighting application facilities and equipment.Fire fighting device unit and intelligent smogAlarm collectively forms the node in system, therefore can realize coordinated signals.
Diversity communication mode between 11. each adjacent node, both can be supporting plc modes, it is also possible toBy the mode such as small wireless, wifi, zigbee.If a certain mode fails, node automatically selects itHis effective routing, therefore redundancy communication can be realized.Peer network architecture, networking flexibility can be effectiveAvoid the series of problems that cannot be communicated with node and causing because of gateway.
The advantage of this preferred embodiment:
1. the system have gateway and without gateway in the case of can normal work.
2. when having gateway, all of communication request issues intelligent gateway between node, after intelligent gateway processOther each nodes are issued again.
3. when without gateway, automatic group of fire protection warning device, spray system, smoke control system, fire door systemNet, can be in communication with each other between each node.
4. as described in 2, diversity communication mode between each adjacent node, both can to support plc modes,Can also be by other modes such as small wireless, wifi, zigbee.A certain mode fails, and node is automaticActive path is selected, therefore redundancy communication can be realized.Non-stop layer communication mode, can be prevented effectively from becauseThe series of problems that gateway cannot cause with node communication failure.
5. node is by alarm, partition door, hydraulic pressure detection, induced-draft fan, spray system, Switch for door and window controlDevice processed and other fire-fighting application facilities and equipment are constituted.
6. information reach connection fire fighting device unit after, can trigger corresponding fire fighting device unit warning,Spray, open the operation of the coordinated signals such as fire resistant doorsets.
7. preferred channels networking can be differentiated intelligently, and networking speed is fast, communicates in several ways, effectivelyAvoid " information island ".
This preferred embodiment adopts peer-to-peer network model, and it can also be visitor that each node both can be service endFamily end, can mutually communicate between arbitrary node, share message.System is provided simultaneously with certain redundancy energyPower, it is to avoid because certain aging circuit or device damage cause whole network to fail.
The each method embodiment of the present invention can be realized in modes such as software, hardware, firmwares.No matterThe present invention is to realize that instruction code may be stored in any class with software, hardware or firmware modeIn the addressable memorizer of computer of type (such as it is permanent or revisable, it is volatibility or non-Volatibility, solid-state or non-solid, fixed or removable medium etc.).Equally,Memorizer may, for example, be programmable logic array (Programmable Array Logic, abbreviation" PAL "), random access memory (Random Access Memory, referred to as " RAM "),Programmable read only memory (Programmable Read Only Memory, referred to as " PROM "),Read only memory (Read-Only Memory, referred to as " ROM "), electrically erasable are read-onlyMemorizer (Electrically Erasable Programmable ROM, referred to as " EEPROM "),Disk, CD, digital versatile disc (Digital Versatile Disc, referred to as " DVD ") etc..
Four embodiment of the invention is related to a kind of distributed warning and processing system, the distributed reportAlert and processing system includes at least two distributed nodes and self-organizing network, and distributed node is by from groupNetwork connection is knitted, Fig. 3 is the structural representation of distributed node in the distributed warning and processing system,Each distributed node includes:
Alarm decision sending module, for passing through sensor acquisition sensing data, and judges gathered biographyWhether sense data meet first condition set in advance, by self-organizing network to other if meetingDistributed node sends warning message;
Alert receipt performing module, if for being received from other distributed nodes by self-organizing networkWarning message, then judge whether the warning message meets second condition set in advance, if it is satisfied,Then perform the corresponding action in advance set by the second condition.
First embodiment is the method embodiment corresponding with present embodiment, and present embodiment can be withFirst embodiment is worked in coordination enforcement.The relevant technical details mentioned in first embodiment are in this enforcementIn mode still effectively, in order to reduce repetition, repeat no more here.Correspondingly, carry in present embodimentTo relevant technical details be also applicable in first embodiment.
Fifth embodiment of the invention is related to a kind of distributed warning and processing system, the 5th embodimentImproved on the basis of the 4th embodiment, mainly theed improvement is that:
Distributed node includes various sensor types and corresponds to corresponding first condition and correspond to correspondingFirst condition, comprehensive can judge whether exactly to need to send alarm signal to other distributed nodesBreath;Meet the distance of alert locations and distributed node less than predetermined threshold second condition when, just executionCorresponding action, it is ensured that only early warning is carried out to the adventurous node of periphery.Specifically:
Sensor includes Smoke Sensor, and correspondingly, first condition includes:The number of Smoke Sensor outputAccording to whether more than predetermined threshold.
Sensor includes temperature sensor, and correspondingly, first condition includes:The temperature of temperature sensor outputWhether angle value exceedes predetermined threshold.
Sensor includes gas concentration sensor, and correspondingly, first condition includes:Gas concentration sensorWhether the gas concentration value of output exceedes predetermined threshold.
Sensor includes door and window detector, and correspondingly, first condition includes:Whether door and window detector detectsTo state of the door and window in specifying.
Furthermore, it is to be understood that distributed node includes various sensor types and correspondence corresponding firstCondition, comprehensive can judge whether exactly to need to send warning message to other distributed nodes.
Moreover it is preferred that warning message includes type of alarm and alert locations;
Correspondingly, second condition is that type of alarm in warning message is consistent with predetermined type of alarm, andAlert locations are less than predetermined threshold with the distance of this distributed node.
Second embodiment is the method embodiment corresponding with present embodiment, and present embodiment can be withSecond embodiment is worked in coordination enforcement.The relevant technical details mentioned in second embodiment are in this enforcementIn mode still effectively, in order to reduce repetition, repeat no more here.Correspondingly, carry in present embodimentTo relevant technical details be also applicable in second embodiment.
Sixth embodiment of the invention is related to a kind of distributed warning and processing system, the 6th embodimentImproved on the basis of the 4th embodiment, mainly theed improvement is that:
By mixing ad hoc network method, distributed node can automatically select optimal path according to network state,Also warning message can be notified other nodes in the case of certain line out of service, realize the function of redundant network.Distributed node includes fire-fighting equipment, it is possible to achieve coordinated signals, triggers corresponding fire-fighting equipment and performs correspondenceAction, catch control the condition of a disaster prime time.Specifically:
Self-organizing network is supported to be communicated by the combination of following any-mode between each distributed node:
PLC, Wifi, Zigbee, bluetooth, small wireless mode.
Preferably, if alert receipt performing module judges to meet second condition, the corresponding row for performingDisorder of internal organs:
Corresponding action includes being reported to the police with sound or optical mode;
Corresponding action includes cutting off the electricity supply.
Corresponding action includes opening fire-fighting equipment, and fire-fighting equipment includes partition door, hydraulic pressure detector, rowCigarette machine, spray system, door and window control;
Corresponding action includes closing gas valve.
3rd embodiment is the method embodiment corresponding with present embodiment, and present embodiment can be with3rd embodiment is worked in coordination enforcement.The relevant technical details mentioned in 3rd embodiment are in this enforcementIn mode still effectively, in order to reduce repetition, repeat no more here.Correspondingly, carry in present embodimentTo relevant technical details be also applicable in the 3rd embodiment.
It should be noted that each module mentioned in each equipment embodiment of the invention is all logic module,Physically, a logic module can be the one of a physical module, or a physical modulePart, can be with the combination of multiple physical modules realization, these logic module physics realization sides of itselfFormula is not most important, and the combination of the function that these logic modules are realized is only the solution present invention and is carriedThe key of the technical problem for going out.Additionally, the innovative part in order to project the present invention, the present invention is above-mentioned respectively to be setStandby embodiment does not draw the module less close with technical problem relation proposed by the invention is solvedEnter, this is not intended that the said equipment embodiment does not have other modules.
It should be noted that in the claim and description of this patent, the first and second grades itThe relational terms of class are used merely to make a distinction an entity or operation with another entity or operation,And not necessarily require and either imply these entities or there is any this actual relation or suitable between operatingSequence.And, term " including ", "comprising" or its any other variant are intended to nonexcludabilityInclude so that a series of process, method, article or equipment including key elements not only include thatA little key elements, but also including other key elements being not expressly set out, or also include for this process,The intrinsic key element of method, article or equipment.In the absence of more restrictions, by sentence " bagInclude one " key element that limits, it is not excluded that including the process of the key element, method, article or settingAlso there is other identical element in standby.
Although by referring to some of the preferred embodiment of the invention, the present invention is shown andDescription, but it will be understood by those skilled in the art that it can be made respectively in the form and detailsPlant and change, without departing from the spirit and scope of the present invention.