CN106056825B - Fire alarm method, device, domestic fan apparatus and system - Google Patents
Fire alarm method, device, domestic fan apparatus and system Download PDFInfo
- Publication number
- CN106056825B CN106056825B CN201610417244.9A CN201610417244A CN106056825B CN 106056825 B CN106056825 B CN 106056825B CN 201610417244 A CN201610417244 A CN 201610417244A CN 106056825 B CN106056825 B CN 106056825B
- Authority
- CN
- China
- Prior art keywords
- temperature
- information
- humidity information
- humidity
- domestic fan
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B17/00—Fire alarms; Alarms responsive to explosion
- G08B17/06—Electric actuation of the alarm, e.g. using a thermally-operated switch
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/69—Types of network addresses using geographic information, e.g. room number
Landscapes
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Alarm Systems (AREA)
Abstract
The disclosure discloses a kind of fire alarm method, device, domestic fan apparatus and system, belongs to smart home field.The method includes:Determine that the second temperature/humidity information of area identification, device identification are the marks for the domestic fan that region includes according to the first temperature of the corresponding device identification of the area identification in region/humidity information, region includes at least two domestic fans;Detect whether the second temperature/humidity information exception occurs;When detecting that the second temperature/humidity information occurs abnormal, alarm signal is sent to predetermined terminal;It solves the problems, such as just to carry out being easy wrong report caused by fire alarm in the prior art according only to a collected environment temperature of temperature sensor;The accuracy of the judgement by being polymerize the abnormal conditions to improve the second temperature to a region/humidity information to collected first temperature of multiple domestic fans/humidity information in the same region, the effect of less wrong report are reached.
Description
Technical field
This disclosure relates to smart home field, more particularly to a kind of fire alarm method, device, domestic fan device and it is
System.
Background technology
In order to fire carry out detection and early warning, people special fire alarm installation is usually installed between floors, fire
May include temperature sensor in calamity warning device, fire alarm installation is detecting that environment temperature is higher than by temperature sensor
When predetermined threshold, alarm signal is sent out.
Since temperature sensor is only capable of the environment temperature in detection finite region, there is certain contingency, therefore be easy
Cause to report by mistake.
Invention content
In order to solve just to carry out reporting by mistake caused by fire alarm according only to the collected environment temperature of temperature sensor
Problem, a kind of fire alarm method of disclosure offer, device, domestic fan apparatus and system.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of fire alarm method is provided, this method includes:
The second of area identification is determined according to the first temperature of the corresponding device identification of the area identification in region/humidity information
Temperature/humidity information, device identification are the marks for the domestic fan that region includes, and region includes at least two domestic fans;
Detect whether the second temperature/humidity information exception occurs;
When detecting that the second temperature/humidity information occurs abnormal, alarm signal is sent to predetermined terminal;
Wherein, the first temperature/humidity information includes at least one of temperature information and humidity information, the second temperature/humidity letter
Breath includes at least one of temperature information and humidity information.
Optionally, this method further includes:
Obtain the location information of domestic fan;
Determine the area identification in the corresponding region of location information;
Store the correspondence between the device identification and area identification of domestic fan.
Optionally, the location information of domestic fan is obtained, including:
The location information that the management terminal of domestic fan reports is received, the position that location information is determined as to domestic fan is believed
Breath;
And/or the heartbeat packet that domestic fan reports is received, the IP (Internet of domestic fan are determined according to heartbeat packet
Protocol Address, Internet protocol) address, the location information of domestic fan is determined according to IP address.
Optionally, the first temperature/humidity information for determining the corresponding device identification of the area identification in region, according to first temperature/
Humidity information determines the second temperature/humidity information of area identification, including:
The message information that domestic fan is sent in predetermined instant is received, message information includes the device identification of domestic fan
With collected first temperature of domestic fan/humidity information, predetermined instant is at the time of the first temperature/humidity information changes or every
The moment determined by the predetermined time interval;
To message information carry out streaming computing and in real time the determining corresponding area identification of device identification in predetermined instant the
Two temperature/humidity information;
Correspondence between storage region mark, predetermined instant and the second temperature/humidity information.
Optionally, the second temperature/humidity information includes the average temperature/humidity information in region, and streaming meter is carried out to message information
Calculate and in real time the determining corresponding area identification of device identification predetermined instant the second temperature/humidity information, including:
Using device identification and the first temperature/humidity information as the input traffic of the first processing operator of streaming computing, lead to
It crosses the first processing operator output equipment and identifies corresponding area identification and the first temperature/humidity information;
Using area identification and the first temperature/humidity information as the input traffic of second processing operator, pass through second processing
Operator output area mark average temperature/humidity information corresponding with area identification, average temperature/humidity information are and area identification pair
The average value of several the first temperature/humidity information for several device identifications answered;
Wherein, average temperature/humidity information includes at least one of mean temperature information and medial humidity information.
Optionally, the second temperature/humidity information further includes the temperature/humidity rate of change information in region, and this method further includes:
Determine average temperature/humidity letter of the area identification corresponding to preset distance moment nearest next predetermined instant
Breath, according to average temperature/humidity information of the area identification corresponding to next predetermined instant and area identification in predetermined instant
Corresponding average temperature/humidity information determines temperature/humidity rate of change information;
Wherein, temperature/humidity rate of change information includes at least one of rate of temperature change information and humidity rate of change information.
Optionally, when detecting that the second temperature/humidity information occurs abnormal, alarm signal, packet are sent to predetermined terminal
It includes:
When detect mean temperature information be more than first threshold, and/or, rate of temperature change information be more than second threshold when,
It is abnormal to determine that the second temperature/humidity information occurs, alarm signal is sent to predetermined terminal;
And/or;When detect medial humidity information be less than third threshold value, and/or, humidity rate of change information be less than the 4th threshold
When value, it is abnormal to determine that the second temperature/humidity information occurs, alarm signal is sent to predetermined terminal.
According to the second aspect of the embodiment of the present disclosure, a kind of fire alarm installation is provided, which includes:
Determining module is configured as true according to the first temperature/humidity information of the corresponding device identification of area identification in region
Determine the second temperature/humidity information of area identification, device identification is the mark for the domestic fan that region includes, region include to
Few two domestic fans;
Detection module, is configured as whether detection the second temperature/humidity information exception occurs;
Sending module is configured as, when detecting that the second temperature/humidity information occurs abnormal, sending and alarming to predetermined terminal
Signal;
Wherein, the first temperature/humidity information includes at least one of temperature information and humidity information, the second temperature/humidity letter
Breath includes at least one of temperature information and humidity information.
Optionally, which further includes:
Acquisition module is configured as obtaining the location information of domestic fan;
Determining module is identified, is configured to determine that the area identification in the corresponding region of location information;
Memory module, the correspondence being configured as between the device identification and area identification of storage domestic fan.
Optionally, acquisition module is configured as:
The location information that the management terminal of domestic fan reports is received, the position that location information is determined as to domestic fan is believed
Breath;
And/or the heartbeat packet that domestic fan reports is received, the IP address of domestic fan is determined according to heartbeat packet, according to IP
Address determines the location information of domestic fan.
Optionally, determining module includes:
Receiving submodule is configured as receiving the message information that domestic fan is sent in predetermined instant, be wrapped in message information
Device identification and collected first temperature of the domestic fan/humidity information of domestic fan are included, predetermined instant is the first temperature/humidity letter
Breath be spaced at the time of change or at predetermined time intervals determined by the moment;
First determination sub-module is configured as carrying out streaming computing to message information and determines that device identification is corresponding in real time
Second temperature/humidity information of the area identification in predetermined instant;
Sub-module stored is configured as corresponding between storage region mark, predetermined instant and the second temperature/humidity information
Relationship.
Optionally, the second temperature/humidity information includes the average temperature/humidity information in region, the first determination sub-module, also by with
It is set to:
Using device identification and the first temperature/humidity information as the input traffic of the first processing operator of streaming computing, lead to
It crosses the first processing operator output equipment and identifies corresponding area identification and the first temperature/humidity information;
Using area identification and the first temperature/humidity information as the input traffic of second processing operator, pass through second processing
Operator output area mark average temperature/humidity information corresponding with area identification, average temperature/humidity information are and area identification pair
The average value of several the first temperature/humidity information for several device identifications answered;
Wherein, average temperature/humidity information includes at least one of mean temperature information and medial humidity information.
Optionally, the second temperature/humidity information further includes the temperature/humidity rate of change information in region, and determining module further includes:
Second determination sub-module is configured to determine that the area identification next predetermined instant nearest at the preset distance moment
Corresponding average temperature/humidity information, according to average temperature/humidity information of the area identification corresponding to next predetermined instant
Temperature/humidity rate of change information is determined with average temperature/humidity information of the area identification corresponding to predetermined instant;
Wherein, temperature/humidity rate of change information includes at least one of rate of temperature change information and humidity rate of change information.
Optionally, sending module is additionally configured to:
When detect mean temperature information be more than first threshold, and/or, rate of temperature change information be more than second threshold when,
It is abnormal to determine that the second temperature/humidity information occurs, alarm signal is sent to predetermined terminal;
And/or;
When detect medial humidity information be less than third threshold value, and/or, humidity rate of change information be less than four threshold values when,
It is abnormal to determine that the second temperature/humidity information occurs, alarm signal is sent to predetermined terminal.
According to the third aspect of the embodiment of the present disclosure, a kind of domestic fan device is provided, which includes:
Acquisition module is configured as acquisition the first temperature/humidity information, and the first temperature/humidity information includes temperature information and wet
At least one of information is spent, the first temperature/humidity information is used for determining the second of the area identification of domestic fan region
Temperature/humidity information;
Sending module is configured as sending message information to streaming computing system in predetermined instant, and message information includes
The device identification of domestic fan and the first temperature/humidity information, predetermined instant be at the time of the first temperature/humidity information changes or
Moment determined by being spaced at predetermined time intervals.
Optionally, which further includes:
Position sending module is configured as sending the location information of present position to streaming computing system.
Optional position sending module, is configured as:
By management terminal to streaming computing system reporting orientation information, streaming computing system is for determining location information
For the location information of domestic fan;
And/or heartbeat packet, streaming computing system is reported to be used to determine domestic fan according to heartbeat packet to streaming computing system
IP address and the location information of domestic fan is determined according to IP address.
According to the fourth aspect of the embodiment of the present disclosure, a kind of fire alarm installation is provided, which includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, processor is configured as:
The second of area identification is determined according to the first temperature of the corresponding device identification of the area identification in region/humidity information
Temperature/humidity information, device identification are the marks for the domestic fan that region includes, and region includes at least two domestic fans;
Detect whether the second temperature/humidity information exception occurs;
When detecting that the second temperature/humidity information occurs abnormal, alarm signal is sent to predetermined terminal;
Wherein, the first temperature/humidity information includes at least one of temperature information and humidity information, the second temperature/humidity letter
Breath includes at least one of temperature information and humidity information.
According to a fifth aspect of the embodiments of the present disclosure, a kind of domestic fan device is provided, which includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, processor is configured as:
The first temperature/humidity information is acquired, the first temperature/humidity information includes at least one in temperature information and humidity information
Kind, the first temperature/humidity information is used for determining the second temperature/humidity information of the area identification of domestic fan region;
Message information is sent to streaming computing system in predetermined instant, message information includes the device identification of domestic fan
With the first temperature/humidity information, predetermined instant is to be spaced at the time of the first temperature/humidity information changes or at predetermined time intervals institute
At the time of determination.
According to the 6th of the embodiment of the present disclosure the aspect, a kind of fire alarm system is provided, which includes:Streaming computing system
System and domestic fan, streaming computing system are connected by wireless network with domestic fan;
Domestic fan is configured as acquisition the first temperature/humidity information, and the first temperature/humidity information includes temperature information and wet
At least one of information is spent, the first temperature/humidity information is used for determining the second of the area identification of domestic fan region
Temperature/humidity information;Message information is sent to streaming computing system in predetermined instant, message information includes the equipment of domestic fan
Mark and the first temperature/humidity information, predetermined instant be at the time of the first temperature/humidity information changes or at predetermined time intervals between
Every the identified moment;
Streaming computing system is configured as the first temperature/humidity letter of the corresponding device identification of area identification according to region
Breath determines the second temperature/humidity information of area identification, and device identification is the mark for the domestic fan that region includes, region Zhong Bao
Include at least two domestic fans;Detect whether the second temperature/humidity information exception occurs;When detecting that the second temperature/humidity information goes out
When now abnormal, alarm signal is sent to predetermined terminal;Wherein, the first temperature/humidity information includes in temperature information and humidity information
At least one, the second temperature/humidity information includes at least one of temperature information and humidity information.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Streaming computing system determines region according to the first temperature/humidity information of the corresponding device identification of area identification in region
The second temperature/humidity information of mark, whether detection the second temperature/humidity information there is exception, when detecting the second temperature/humidity information
When occurring abnormal, alarm signal is sent to predetermined terminal, due to including at least two domestic fans, streaming computing in region
System is according to two in the same region and collected first temperature of more than two domestic fans/humidity information judges to be
No transmission alarm signal;It solves and just carries out fire according only to a collected environment temperature of temperature sensor in the prior art
The problem of wrong report being easy caused by calamity alarm;Reach by multiple domestic fans in the same region collected
One temperature/humidity information is polymerize the accurate of the judgement of the abnormal conditions to improve the second temperature to a region/humidity information
Property, the effect of less wrong report.
It should be understood that above general description and following detailed description is merely exemplary, this can not be limited
It is open.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and consistent with the instructions for explaining the principles of this disclosure.
Figure 1A is to implement showing for implementation environment involved by a kind of fire alarm method for exemplifying according to exemplary partial
It is intended to;
Figure 1B is the implementation environment implemented according to exemplary partial involved by another fire alarm method exemplified
Schematic diagram;
Fig. 2 is the structural schematic diagram for implementing a kind of streaming computing system exemplified according to exemplary partial;
Fig. 3 is the structural schematic diagram for implementing a kind of oriented graph topological structure exemplified according to exemplary partial;
Fig. 4 is a kind of flow chart of fire alarm method shown according to an exemplary embodiment;
Fig. 5 is a kind of flow chart of the fire alarm method shown according to another exemplary embodiment;
Fig. 6 is a kind of flow chart of the fire alarm method shown according to another exemplary embodiment;
Fig. 7 is a kind of structural schematic diagram of the oriented graph topological structure shown according to another exemplary embodiment;
Fig. 8 is a kind of block diagram of fire alarm installation shown according to an exemplary embodiment;
Fig. 9 is a kind of block diagram of the fire alarm installation shown according to another exemplary embodiment;
Figure 10 is a kind of block diagram of domestic fan device shown according to an exemplary embodiment;
Figure 11 is a kind of block diagram of the domestic fan device shown according to another exemplary embodiment;
Figure 12 is a kind of block diagram of the domestic fan device shown according to another exemplary embodiment;
Figure 13 is a kind of block diagram of the fire alarm installation shown according to another exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Figure 1A is to implement showing for implementation environment involved by a kind of fire alarm method for exemplifying according to exemplary partial
It is intended to, as shown in Figure 1A, which may include:At least two domestic fans 110 and streaming computing system 120.
Domestic fan 110 is built-in with WiFi (Wireless-Fidelity, Wireless Fidelity) module, can by Wi-Fi,
The wireless networks such as bluetooth mode is connected with streaming computing system 120.
Domestic fan 110 is also built-in with temperature sensor, the first temperature letter of environment where can acquiring the domestic fan
Breath, and/or, domestic fan 110 is also built-in with humidity sensor, the first humidity letter of environment where can acquiring the domestic fan
Breath.
Streaming computing system 120 can be a server, can also be the server set being made of several servers
Group or a cloud computing service center.Figure 1A is illustrated so that streaming computing system 120 is a server as an example.
In implementation environment involved by the embodiment of the present disclosure, more and 120 phase of streaming computing system have been generally included
Domestic fan 110 even, Figure 1A are only illustrated for including 3 domestic fans 110.
Optionally, for any one domestic fan 110 in implementation environment shown in figure 1A, each domestic fan 110
It can also be established and be connected by streaming computing system 120 and management terminal 130.Implementation environment can be as shown in Figure 1B:
Management terminal 130 can be that such as smart mobile phone, tablet computer, smart television, E-book reader, multimedia are broadcast
Put device, pocket computer on knee and desktop computer etc etc. electronic equipments, terminal device 130 have wireless communication work(
Energy.Management terminal 130 can execute family's fan 110 unlatching, close and regulation stall after being connected with family fan 110
Deng operation.
Include GPS (Global Positioning System, global positioning system) in management terminal 130, management is eventually
End 130 can obtain location information by GPS.
If under LAN environment, domestic fan 110 can also be connected directly with management terminal 130, not need streaming meter
The transfer of calculation system 120.Optionally, there are binding relationships between domestic fan 110 and management terminal 130.
Fig. 2 is a kind of structural schematic diagram of streaming computing system involved by the embodiment of the present disclosure.Optionally, the system is extremely
Include less:Main clustered node 210 and from clustered node 220.
Optionally, which is based on Storm platforms, the work that main clustered node (Nimbus) 210 is used to need to execute
One or more is distributed to be handled from clustered node (Supervisor) 220.One can start one from clustered node 220
A or multiple processes (Worker) 230, each process 230 include one or more threads 240, and per thread 240 is for holding
Main 210 assignment of cluster of row.
In the embodiments of the present disclosure, the streaming computing system is for running oriented graph topological structure, then main clustered node to
Distribute the code in oriented graph topological structure from clustered node, the structural schematic diagram of oriented graph topological structure can with as shown in figure 3,
The topological structure may include:Data source (Spout) 310 and at least one processing operator (Bolt) 320.
Wherein, data source 310 be generate data node, processing operator 320 be for being filtered, polymerizeing to data,
It calculates, the node of inquiry database processing.
Data are in the form of data flow (Stream) in real time in data source and processing operator, and processing operator and place
It is transmitted between adjustment, the data flow of transmission includes multiple data cells (Tuple).Data cell in data flow can be by
It gives one or more processing operators to be handled, the method for grouping can be random grouping, according to the keyword of data cell
It is grouped and all data cells is given into a processing operator and handle etc., the present embodiment is not construed as limiting this.
Streaming computing system when running the topological structure, for running a data source or a processing calculate by per thread
The code of code in son, data source and processing operator that a topological structure includes can be by multiple from the more of clustered node
Multiple threads in a process are run.
Fig. 4 is a kind of flow chart of fire alarm method shown according to an exemplary embodiment, and this method can be applied
In implementation environment shown in figure 1A, this method includes the following steps:
In step 401, domestic fan acquire the first temperature/humidity information, the first temperature/humidity information include temperature information and
At least one of humidity information.
Wherein, the first temperature/humidity information is used for determining the second temperature/humidity of the area identification of domestic fan region
Information.
In step 402, domestic fan sends message information in predetermined instant to streaming computing system, is wrapped in message information
Include device identification and the first temperature/humidity information of domestic fan.
Wherein, predetermined instant is that interval determines at the time of the first temperature/humidity information changes or at predetermined time intervals
At the time of.
In step 403, streaming computing system is according to the first temperature/humidity of the corresponding device identification of area identification in region
Information determines the second temperature/humidity information of area identification.
Wherein, device identification is the mark for the domestic fan that region includes, which includes at least two Household winds
Fan.
First temperature/humidity information includes at least one of temperature information and humidity information, and the second temperature/humidity information includes
At least one of temperature information and humidity information.First temperature/humidity information is temperature information, and the second temperature/humidity information is temperature
Spend information;And/or the first temperature/humidity information is humidity information, the second temperature/humidity information is humidity information.
In step 404, whether the second temperature of streaming computing system detectio/humidity information there is exception.
In step 405, when detecting that the second temperature/humidity information occurs abnormal, streaming computing system is to predetermined terminal
Send alarm signal.
It should be noted that above-mentioned steps 401 and step 402 can be implemented separately as the Household wind of domestic fan side
Fan controlling method, above-mentioned steps 403, step 404 and step 405 can be implemented separately as the Household wind of streaming computing system side
Fan controlling method.
In conclusion the fire alarm method that the embodiment of the present disclosure provides, streaming computing system is marked according to the region in region
The the first temperature/humidity information for knowing corresponding device identification determines the second temperature/humidity information of area identification, the second temperature of detection/wet
Whether degree information there is exception, and when detecting that the second temperature/humidity information occurs abnormal, alarm signal is sent to predetermined terminal,
Due to including at least two domestic fans in region, streaming computing system is according to two and two in the same region
Above collected first temperature of domestic fan/humidity information is to determine whether send alarm signal;It solves in the prior art
The problem of just carrying out being easy wrong report caused by fire alarm according only to a collected environment temperature of temperature sensor;Reach
It is improved to one by being polymerize to collected first temperature of multiple domestic fans/humidity information in the same region
The accuracy of the judgement of the abnormal conditions of second temperature in region/humidity information, the effect of less wrong report.
For each domestic fan being connected with streaming computing system, streaming computing system can establish domestic fan
Correspondence between the area identification in the region where device identification and domestic fan, present embodiment illustrates streaming computing systems
A kind of method of correspondence between the device identification and area identification of system storage domestic fan.
As Fig. 5 be according to another exemplary embodiment shown in a kind of fire alarm method flow chart, this method can be with
Applied in implementation environment shown in Figure 1A or Figure 1B, this method includes the following steps:
In step 501, domestic fan sends the location information of present position to streaming computing system.
Optionally, location information is the latitude and longitude information of domestic fan.
The step can be realized by least one of following two realization methods mode:
In the first possible implementation, by management terminal to streaming computing system reporting orientation information, streaming
Computing system is used to location information being determined as the location information of domestic fan.
Optionally, the APP (Application, using journey for being managed to domestic fan are installed in management terminal
Sequence), user can add domestic fan in the APP, realize the first connection with domestic fan, and be carried out to domestic fan hard
The Initialize installations such as part initialization, the mapping table for establishing memory headroom, initialization of (a) serial ports and interruption initialization, in Initialize installation
Afterwards, user can choose whether to send the initial state information of domestic fan to streaming computing system in management terminal, this is first
Beginning status information includes location information, if user selects reporting orientation information, management terminal to obtain determining for itself by GPS
Position information reporting gives streaming computing system.
It should be noted that after domestic fan establishes connection with management terminal, user can also select in management terminal
Actively to streaming computing system reporting orientation information.For example, when the position of domestic fan or management terminal changes, user
It can select to report new location information to streaming computing system in management terminal.
In second of possible realization side, heartbeat packet, streaming computing system is reported to be used for basis to streaming computing system
Heartbeat packet determines the network protocol IP address of domestic fan and determines the location information of domestic fan according to IP address.
Domestic fan with streaming computing system after establishing wireless connection, in order to maintain the nothing between streaming computing system
Line connects, and needs to be spaced at predetermined time intervals to streaming computing system transmission heartbeat packet, which is to include one to fix letter
Only the sky comprising packet header wraps the data packet of breath either one, which can be that domestic fan and streaming computing system are pre-
The arbitrary information first set, predetermined time interval can be systemic presupposition values or by User Defined, the present embodiment to this not
It is construed as limiting.
IP address database is previously stored in streaming computing system, IP address database includes that IP address is believed with position
Correspondence between breath, streaming computing system is after the heartbeat packet for receiving domestic fan transmission, it may be determined that sends the heart
The IP address of the domestic fan of packet is jumped, then the IP address that streaming computing system is determined and received by inquiring IP address database
Corresponding location information.
Usually, the position of domestic fan is constant, therefore, streaming computing system state in use the first and/
Or the difference between multiple location informations of second method determination should be in allowable range of error, at this point, streaming computing
The centre position of multiple location information can be determined as the location information of domestic fan by system.When streaming computing system determines
When the difference of obtained multiple location informations is more than allowable range of error, it is believed that the position of domestic fan is become
Change, then the location information that a nearest determination obtains can be determined as the location information of domestic fan by streaming computing system.
In step 502, streaming computing system obtains the location information of domestic fan.
The step can be realized by least one of following two realization methods mode:
In the first possible implementation, streaming computing system receives the positioning that the management terminal of domestic fan reports
Location information is determined as the location information of domestic fan by information.
In second of possible realization side, streaming computing system receives the heartbeat packet that domestic fan reports, according to heartbeat
Packet determines the IP address of domestic fan, and the location information of domestic fan is determined according to IP address.
In step 503, streaming computing system determines the area identification in the corresponding region of location information.
Include map API (Application Programming Interface, using journey in streaming computing system
Sequence programming interface), for streaming computing system after getting the location information of domestic fan, invocation map API determines that the position is believed
The area identification in corresponding region is ceased, area identification is for uniquely identifying a region.
Wherein, a region can be a cell, a solitary building, a street, a village either by user
Or a piece of geographic coverage of the arbitrary area size of system division, for example, the region corresponding to a location information is that " xx is small
Area ", " roads xx ", " buildings xx " and " xx hospitals " etc..
In step 504, the corresponding pass between the device identification and area identification of streaming computing system storage domestic fan
System.
Wherein, the device identification of domestic fan is for uniquely identifying a domestic fan.
For example, the location information that streaming computing system received bit is sent to 5 domestic fans, carries out really to location information
After fixed, determine that wherein 3 domestic fans are located in " buildings A ", 2 domestic fans are located in " buildings B ", then streaming computing system
The device identification of storage and the correspondence of area identification can be as shown in following tables one:
Device identification | Device identification 1 | Device identification 2 | Device identification 3 | Device identification 4 | Device identification 5 |
Area identification | Area identification 1 | Area identification 1 | Area identification 1 | Area identification 2 | Area identification 2 |
Table one
Wherein, area identification 1 is the area identification in " buildings A ", and area identification 2 is the area identification in " buildings B ", is needed
Bright, the form and content of table one are all exemplary, and the present embodiment is not construed as limiting this.
Optionally, be based on embodiment shown in fig. 5, the domestic fan being connected with streaming computing system with streaming computing system
After the vertical wireless connection of construction in a systematic way, when in running order, collected first temperature/humidity information can also be reported to streaming meter
Calculation system, the present embodiment include flat according to the second temperature/humidity information determined by the first temperature/humidity information with streaming computing system
It is illustrated for samming/humidity information and temperature/humidity rate of change information, then this method further includes following steps, such as Fig. 6
It is shown:
In step 601, domestic fan acquire the first temperature/humidity information, the first temperature/humidity information include temperature information and
At least one of humidity information.
Domestic fan acquires the first temperature information by temperature sensor, and/or, it is wet by humidity sensor acquisition first
Spend information.First temperature/humidity information is used for determining corresponding second temperature of the area identification of domestic fan region/humidity letter
Breath.
In step 602, domestic fan sends message information in predetermined instant to streaming computing system, in message information
Device identification and the first temperature/humidity information including domestic fan.
Wherein, the first temperature/humidity information includes at least one of temperature information and humidity information, and predetermined instant is first
At the moment determined by being spaced at the time of temperature/humidity information changes or at predetermined time intervals, predetermined time interval can be
It unites preset value or by User Defined.For example, when the first temperature/humidity information of environment changes where domestic fan, family
Message information is sent with fan, for another example, domestic fan reports a message information at intervals of two minutes.
It is Json (JavaScript Object Notation, JavaScript object representation) format with message information
For, when message information includes the first temperature information, a kind of possible form for the message information that domestic fan reports is:
{
“did”:“123456”,
“key”:“temperature”,
“value”:“50”
}
Wherein, did fields are used to indicate the device identification of domestic fan, and key fields are for indicating to wrap in the message information
The type of the information included, value fields indicate the numerical value for the information that the message information includes;It, should in the illustrative example
Message information indicates that the device identification of domestic fan is 123456, and what is reported is temperature information, and temperature value is 50 degrees Celsius, temperature
The temperature unit of value pre-sets or carries in message information, and the present embodiment is not construed as limiting this.This reality
It applies the form of field and content in the format of message information shown in example, message information to be all exemplary, the present embodiment pair
This is not construed as limiting.
By taking message information is Json formats as an example, when message information includes the first humidity information, domestic fan reports
A kind of possible form of message information be:
{
“did”:“123456”,
“key”:“humidity”,
“value”:“10”
}
Similarly, which indicates that the device identification of domestic fan is 123456, and what is reported is humidity information, humidity value
It is 10%.
In step 603, streaming computing system receives the message information that domestic fan is sent in predetermined instant, message letter
Breath includes device identification and collected first temperature of the domestic fan/humidity information of domestic fan.
In step 604, streaming computing system carries out streaming computing to message information and determines that device identification corresponds in real time
Area identification predetermined instant average temperature/humidity information.
Wherein, average temperature/humidity information includes at least one of mean temperature information and medial humidity information.
The step can be by multiple threads in multiple multiple processes from clustered node in streaming computing system Lai real
Existing, then main clustered node can be server, can be that the multiple distributions being connected with server are arranged such as from clustered node
The terminal device with processing capacity of computer, portable computer and server etc, main clustered node are receiving report
After literary information, message information is distributed to different from clustered node, to be received to same predetermined instant multiple message informations
Parallel processing is then in the present embodiment sequentially received the device identification 1 shown in above-mentioned table one to equipment with streaming computing system
For the message information that mark 5 is sent, then the topological structure run in streaming computing system can be as shown in Figure 7.
Using device identification and the first temperature/humidity information as the input traffic of the first processing operator of streaming computing, lead to
It crosses the first processing operator output equipment and identifies corresponding area identification and the first temperature/humidity information.Data source can be to multiple
One processing operator transmission data stream, the first processing operator are the operators for inquiring correspondence, and the first processing operator is by looking into
The correspondence between device identification and area identification is ask, determines area identification corresponding with the device identification.
First processing operator is made to second processing operator transmission data stream, and by area identification and the first temperature/humidity information
For the input traffic of second processing operator, identified by second processing operator output area corresponding with area identification average
Temperature/humidity information, average temperature/humidity information be several device identifications corresponding with area identification several first temperature/it is wet
Spend the average value of information, wherein second processing operator is the operator calculated for the data in the data flow to input.It is more
A first processing operator can be simultaneously to second processing operator transmission data stream, and second processing operator is calculated in same predetermined instant
The average value of the first temperature/humidity information of multiple equipment corresponding with the same area identification mark received, it is as average
Temperature/humidity information, second processing operator will determine obtained area identification and the corresponding average temperature/humidity information of area identification
Export and for storing.
In step 605, between streaming computing system storage region mark, predetermined instant and average temperature/humidity information
Correspondence.
Optionally, in message information further include timestamp field, which is used to indicate domestic fan transmission should
The predetermined instant of message information, then streaming computing system is after receiving message information, according to timestamp field determination transmission
The predetermined instant of the message information.
When next predetermined instant, streaming computing system receives the new message information that a certain domestic fan is sent
When, the correspondence between meeting storage region mark, next predetermined instant and new average temperature/humidity information.
In an illustrative example, illustrated so that the first temperature/humidity information is temperature information as an example, 00:00:
00 moment, streaming computing system receive the message information of 5 domestic fans transmission, which can be above-mentioned table
5 domestic fans shown in one, and 1 collected first temperature information of device identification is 70 degrees Celsius, device identification 2 collects
The first temperature information be 76 degrees Celsius, 3 collected first temperature information of device identification be 73 degrees Celsius, device identification 4 is adopted
The first temperature information collected is 30 degrees Celsius, and 5 collected temperature information of device identification is 28 degrees Celsius.Then streaming computing system
System can concurrently be handled 5 message informations after receiving 5 message informations, pass through the first processing operator
Correspondence shown in inquiry table one determines that corresponding to device identification 1, device identification 2 and device identification 3 be area identification
1, device identification 4 and 5 corresponding region of device identification identify 2, and pass through second processing operator zoning and identify 1 corresponding equipment
The average value of mark 1,3 corresponding first temperature information of device identification 2 and device identification is taken the photograph for (70+76+73)/3=73
Family name's degree, as 1 corresponding mean temperature information of area identification;Zoning identifies 2 corresponding device identifications 4 and device identification 5
The average value of corresponding first temperature information is (30+28)/2=29 degrees Celsius that as area identification 2 is corresponding average
Temperature information.
In step 606, streaming computing system determines the area identification next pre- timing nearest at the preset distance moment
Corresponding average temperature/humidity information is carved, is believed according to average temperature/humidity of the area identification corresponding to next predetermined instant
Breath and average temperature/humidity information of the area identification corresponding to predetermined instant determine temperature/humidity rate of change information.
Wherein, temperature/humidity rate of change information includes at least one of rate of temperature change information and humidity rate of change information.
Wherein, preset distance moment nearest next predetermined instant can be streaming computing system receive with the area
The corresponding timestamp of next message information transmitted by the corresponding device identification of domain identifier.
Method of the streaming computing system through the above steps shown in 602 determines area identification in the flat of next predetermined instant
Samming/humidity information, and can be by (first average temperature/humidity information-the second be averaged temperature/humidity information)/(next pre-
- current predetermined instant is carved in timing) computational methods determine average temperature/humidity information, wherein first average temperature/humidity information is
Average temperature/humidity information that streaming computing system is calculated in next predetermined instant, second average temperature/humidity information is stream
Average temperature/humidity information that formula computing system is calculated in current predetermined instant.
For example, in the above example, 00:01:00 moment, streaming computing system receive device identification 1, device identification
2 and device identification 3 send message information, and 1 collected first temperature information of device identification be 80 degrees Celsius, device identification
2 collected first temperature informations are 90 degrees Celsius, and 3 collected first temperature information of device identification is 85 degrees Celsius, then flows
Area identification 1 is calculated 00 in formula computing system:01:The mean temperature information at 00 moment is that (80+90+85)/3=85 is Celsius
Degree.And determine that the rate of temperature change information of area identification 1 is (85-73) degree Celsius/1 minute=12 degree min Celsius.
In step 607, whether detection the second temperature/humidity information there is exception.
Optionally, when streaming computing system detectio to mean temperature information be more than first threshold, and/or, rate of temperature change
When information is more than second threshold, it is abnormal to determine that the second temperature/humidity information occurs, alarm signal is sent to predetermined terminal;And/or;
When detect medial humidity information be less than third threshold value, and/or, humidity rate of change information be less than four threshold values when, determine second
Temperature/humidity information occurs abnormal.Wherein, the value of first threshold, second threshold, third threshold value and the 4th threshold value can be that system is pre-
If being worth or by User Defined, the present embodiment is not construed as limiting this.
In step 608, when detecting that the second temperature/humidity information occurs abnormal, streaming computing system is to predetermined terminal
Send alarm signal.
Optionally, predetermined terminal be the management terminal for the domestic fan that region includes, region include domestic fan,
At least one of the corresponding terminal of rescue department, the corresponding terminal of district management personnel, wherein rescue department can be fire alarm
Department, district management personnel can be the property etc. of cell.
For example, by taking predetermined terminal is the management terminal for the domestic fan that region includes as an example, it is pre- in streaming computing system
The correspondence being first stored between device identification and terminal iidentification, terminal iidentification are the domestic fans corresponding to device identification
The mark of management terminal, when the second temperature/humidity information of area identification occurs abnormal, streaming computing system queries region mark
Know corresponding device identification, and determine the terminal iidentification corresponding to each device identification, is sent out to terminal device by terminal iidentification
Send alarm signal.
In above-mentioned example example, prestored in streaming computing system corresponding between device identification 1 and terminal iidentification 1
Relationship, the correspondence between device identification 2 and terminal iidentification 2, the correspondence between device identification 3 and terminal iidentification 3, if
The correspondence between correspondence and device identification 5 and terminal iidentification 5 between standby mark 4 and terminal iidentification 4.Assuming that
First threshold is 40 degrees Celsius, and second threshold is 1 degree min Celsius, then streaming computing system determine area identification 1 second temperature/
There is exception in humidity information, then streaming computing system corresponds to management terminal hair to terminal iidentification 1, terminal iidentification 2 and terminal iidentification 3
Send alarm signal.
It should be noted that in actual implementation, streaming computing system can calculate the temperature between each two predetermined instant/
Humidity rate of change information;Alternatively, current predetermined instant mean temperature information be more than first threshold and/or, current pre- timing
When the medial humidity information at quarter is less than third threshold value, calculates next predetermined instant and temperature/humidity between current time changes
Rate information.In addition, streaming computing system can also be according only to average temperature/humidity information, alternatively, according only to temperature/humidity change rate
Information judges whether the second temperature/humidity information exception occurs.
In conclusion the fire alarm method that the embodiment of the present disclosure provides, streaming computing system is marked according to the region in region
The the first temperature/humidity information for knowing corresponding device identification determines the second temperature/humidity information of area identification, the second temperature of detection/wet
Whether degree information there is exception, and when detecting that the second temperature/humidity information occurs abnormal, alarm signal is sent to predetermined terminal,
Due to including at least two domestic fans in region, streaming computing system is according to two and two in the same region
Above collected first temperature of domestic fan/humidity information is to determine whether send alarm signal;It solves in the prior art
The problem of just carrying out being easy wrong report caused by fire alarm according only to a collected environment temperature of temperature sensor;Reach
It is improved to one by being polymerize to collected first temperature of multiple domestic fans/humidity information in the same region
The accuracy of the judgement of the abnormal conditions of second temperature in region/humidity information, the effect of less wrong report.
The fire alarm method that the embodiment of the present disclosure provides can be calculated in real time by the method for streaming computing
Some region of second temperature/humidity information, timely alarms to fire;Meanwhile distribution type processing method realize by
Mass data parallel processing reduces the duration that processing occupies.
The method that the embodiment of the present disclosure provides, according to the first temperature/humidity information of domestic fan acquisition in a certain region
The fire of generation is alarmed, and has been achieved the effect that additional sensor or warning device need not be installed, has been enriched Household wind
The effect of the function of fan.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device
Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 8 is a kind of block diagram of fire alarm installation shown according to an exemplary embodiment, as shown in figure 8, device can
With being implemented in combination with as in the streaming computing system in implementation environment shown in Figure 1A or Figure 1B by hardware, software or both
All or part, which includes but not limited to:Determining module 810, detection module 820 and sending module 830.
Determining module 810 is configured as the first temperature/humidity information of the corresponding device identification of area identification according to region
Determine that the second temperature/humidity information of area identification, device identification are the marks for the domestic fan that region includes, region includes
At least two domestic fans, wherein the first temperature/humidity information includes at least one of temperature information and humidity information, and second
Temperature/humidity information includes at least one of temperature information and humidity information.
Detection module 820, is configured as whether detection the second temperature/humidity information exception occurs.
Sending module 830 is configured as, when detecting that the second temperature/humidity information occurs abnormal, sending to predetermined terminal
Alarm signal.
To sum up, the fire alarm installation that the embodiment of the present disclosure provides, streaming computing system is according to the area identification pair in region
First temperature of the device identification answered/humidity information determines the second temperature/humidity information of area identification, the second temperature of detection/humidity letter
Whether breath there is exception, and when detecting that the second temperature/humidity information occurs abnormal, alarm signal is sent to predetermined terminal, due to
Include at least two domestic fans in region, therefore streaming computing system is according to two and two or more in the same region
Collected first temperature of domestic fan/humidity information is to determine whether send alarm signal;Solves only root in the prior art
The problem of just carrying out being easy wrong report caused by fire alarm according to a collected environment temperature of temperature sensor;Reach logical
It crosses and collected first temperature of multiple domestic fans/humidity information in the same region is polymerize to improve to a region
The second temperature/humidity information abnormal conditions judgement accuracy, the effect of less wrong report.
Fig. 9 is a kind of block diagram of fire alarm installation shown according to an exemplary embodiment, as shown in figure 9, device can
With being implemented in combination with as in the streaming computing system in implementation environment shown in Figure 1A or Figure 1B by hardware, software or both
All or part, which includes but not limited to:Acquisition module 910, mark determining module 920, memory module 930,
Determining module 940, detection module 950 and sending module 960.
Acquisition module 910 is configured as obtaining the location information of domestic fan.
Acquisition module 910 is configured as receiving the location information that the management terminal of domestic fan reports, and location information is true
It is set to the location information of domestic fan.
And/or acquisition module 910, it is configured as receiving the heartbeat packet that domestic fan reports, household is determined according to heartbeat packet
The network protocol IP address of fan determines the location information of domestic fan according to IP address.
Determining module 920 is identified, is configured to determine that the area identification in the corresponding region of location information.
Memory module 930, the correspondence being configured as between the device identification and area identification of storage domestic fan.
Determining module 940 is configured as the first temperature/humidity information of the corresponding device identification of area identification according to region
Determine that the second temperature/humidity information of area identification, device identification are the marks for the domestic fan that region includes, region includes
At least two domestic fans, wherein the first temperature/humidity information includes at least one of temperature information and humidity information, and second
Temperature/humidity information includes at least one of temperature information and humidity information.
Determining module 940 includes following several submodules:
Receiving submodule 941, is configured as receiving the message information that is sent in predetermined instant of domestic fan, in message information
Device identification and domestic fan collected first temperature/humidity information including domestic fan, predetermined instant are the first temperature/humidity
Moment determined by being spaced at the time of information changes or at predetermined time intervals.
First determination sub-module 942 is configured as carrying out streaming computing to message information and determines device identification pair in real time
Second temperature/humidity information of the area identification answered in predetermined instant.
Optionally, the second temperature/humidity information includes the average temperature/humidity information in region, and the first determination sub-module 942 is gone back
It is configured as:Using device identification and the first temperature/humidity information as the input traffic of the first processing operator of streaming computing, lead to
It crosses the first processing operator output equipment and identifies corresponding area identification and the first temperature/humidity information;By area identification and first temperature/
Input traffic of the humidity information as second processing operator passes through second processing operator output area mark and area identification pair
Average temperature/the humidity information answered, average temperature/humidity information be several device identifications corresponding with area identification several the
The average value of one temperature/humidity information;Wherein, average temperature/humidity information includes in mean temperature information and medial humidity information
It is at least one.
Sub-module stored 943, pair being configured as between storage region mark, predetermined instant and the second temperature/humidity information
It should be related to.
Optionally, the second temperature/humidity information further includes the temperature/humidity rate of change information in region, and determining module 940 is also wrapped
It includes:Second determination sub-module 944 is configured to determine that the area identification next predetermined instant institute nearest at the preset distance moment
Corresponding average temperature/humidity information, according to average temperature/humidity information of the area identification corresponding to next predetermined instant and
Average temperature/humidity information of the area identification corresponding to predetermined instant determines temperature/humidity rate of change information;Wherein, temperature/humidity becomes
Rate information includes at least one of rate of temperature change information and humidity rate of change information.
Detection module 950, is configured as whether detection the second temperature/humidity information exception occurs.
Sending module 960 is configured as, when detecting that the second temperature/humidity information occurs abnormal, sending to predetermined terminal
Alarm signal.
Sending module 960 is additionally configured to detect that mean temperature information is more than first threshold, and/or, temperature becomes
When rate information is more than second threshold, it is abnormal to determine that the second temperature/humidity information occurs, alarm signal is sent to predetermined terminal.
And/or;Sending module 960 is additionally configured to detect that medial humidity information is less than third threshold value, and/or, it is wet
When spending rate of change information less than four threshold values, it is abnormal to determine that the second temperature/humidity information occurs, alarm signal is sent to predetermined terminal
Number.
To sum up, the fire alarm installation that the embodiment of the present disclosure provides, streaming computing system is according to the area identification pair in region
First temperature of the device identification answered/humidity information determines the second temperature/humidity information of area identification, the second temperature of detection/humidity letter
Whether breath there is exception, and when detecting that the second temperature/humidity information occurs abnormal, alarm signal is sent to predetermined terminal, due to
Include at least two domestic fans in region, therefore streaming computing system is according to two and two or more in the same region
Collected first temperature of domestic fan/humidity information is to determine whether send alarm signal;Solves only root in the prior art
The problem of just carrying out being easy wrong report caused by fire alarm according to a collected environment temperature of temperature sensor;Reach logical
It crosses and collected first temperature of multiple domestic fans/humidity information in the same region is polymerize to improve to a region
The second temperature/humidity information abnormal conditions judgement accuracy, the effect of less wrong report.
Figure 10 is a kind of block diagram of domestic fan device shown according to an exemplary embodiment, as shown in Figure 10, device
It being implemented in combination with as the complete of the domestic fan in implementation environment shown in Figure 1A or Figure 1B by hardware, software or both
Portion or a part, the device include but not limited to:Acquisition module 1010 and sending module 1020.
Acquisition module 1010 is configured as acquisition the first temperature/humidity information, and the first temperature/humidity information includes temperature information
At least one of with humidity information, the first temperature/humidity information is used for determining the area identification of domestic fan region
Second temperature/humidity information.
Sending module 1020 is configured as sending message information to streaming computing system in predetermined instant, in message information
Device identification and the first temperature/humidity information including domestic fan, when predetermined instant is that the first temperature/humidity information is changed
Carve or be spaced at predetermined time intervals the identified moment.
To sum up, the domestic fan device that the embodiment of the present disclosure provides, streaming computing system is according to the area identification pair in region
First temperature of the device identification answered/humidity information determines the second temperature/humidity information of area identification, the second temperature of detection/humidity letter
Whether breath there is exception, and when detecting that the second temperature/humidity information occurs abnormal, alarm signal is sent to predetermined terminal, due to
Include at least two domestic fans in region, therefore streaming computing system is according to two and two or more in the same region
Collected first temperature of domestic fan/humidity information is to determine whether send alarm signal;Solves only root in the prior art
The problem of just carrying out being easy wrong report caused by fire alarm according to a collected environment temperature of temperature sensor;Reach logical
It crosses and collected first temperature of multiple domestic fans/humidity information in the same region is polymerize to improve to a region
The second temperature/humidity information abnormal conditions judgement accuracy, the effect of less wrong report.
Figure 11 is a kind of block diagram of domestic fan device shown according to an exemplary embodiment, as shown in figure 11, device
It being implemented in combination with as the complete of the domestic fan in implementation environment shown in Figure 1A or Figure 1B by hardware, software or both
Portion or a part, the device include but not limited to:Position sending module 1110, acquisition module 1120 and sending module 1130.
Position sending module 1110 is configured as sending the location information of present position to streaming computing system.
Position sending module 1110 is configured as through management terminal to streaming computing system reporting orientation information, streaming
Computing system is used to location information being determined as the location information of domestic fan.
And/or position sending module 1110, it is configured as reporting heartbeat packet, streaming computing system to streaming computing system
Network protocol IP address for determining domestic fan according to heartbeat packet and the location information that domestic fan is determined according to IP address.
Acquisition module 1120 is configured as acquisition the first temperature/humidity information, and the first temperature/humidity information includes temperature information
At least one of with humidity information, the first temperature/humidity information is used for determining the area identification of domestic fan region
Second temperature/humidity information.
Sending module 1130 is configured as sending message information to streaming computing system in predetermined instant, in message information
Device identification and the first temperature/humidity information including domestic fan, when predetermined instant is that the first temperature/humidity information is changed
Carve or be spaced at predetermined time intervals the identified moment.
To sum up, the domestic fan device that the embodiment of the present disclosure provides, streaming computing system is according to the area identification pair in region
First temperature of the device identification answered/humidity information determines the second temperature/humidity information of area identification, the second temperature of detection/humidity letter
Whether breath there is exception, and when detecting that the second temperature/humidity information occurs abnormal, alarm signal is sent to predetermined terminal, due to
Include at least two domestic fans in region, therefore streaming computing system is according to two and two or more in the same region
Collected first temperature of domestic fan/humidity information is to determine whether send alarm signal;Solves only root in the prior art
The problem of just carrying out being easy wrong report caused by fire alarm according to a collected environment temperature of temperature sensor;Reach logical
It crosses and collected first temperature of multiple domestic fans/humidity information in the same region is polymerize to improve to a region
The second temperature/humidity information abnormal conditions judgement accuracy, the effect of less wrong report.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
One exemplary embodiment of the disclosure provides a kind of fire alarm installation, can realize the fire report that the disclosure provides
Alarm method, the device include:Processor, the memory for storing processor-executable instruction;
Wherein, processor is configured as:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
The second of area identification is determined according to the first temperature of the corresponding device identification of the area identification in region/humidity information
Temperature/humidity information, device identification are the marks for the domestic fan that region includes, and region includes at least two domestic fans;
Detect whether the second temperature/humidity information exception occurs;
When detecting that the second temperature/humidity information occurs abnormal, alarm signal is sent to predetermined terminal;
Wherein, the first temperature/humidity information includes at least one of temperature information and humidity information, the second temperature/humidity letter
Breath includes at least one of temperature information and humidity information.
One exemplary embodiment of the disclosure provides a kind of domestic fan device, can realize the fire report that the disclosure provides
Alarm method, the device include:Processor, the memory for storing processor-executable instruction;
Wherein, processor is configured as:
The first temperature/humidity information is acquired, the first temperature/humidity information includes at least one in temperature information and humidity information
Kind, the first temperature/humidity information is used for determining the second temperature/humidity information of the area identification of domestic fan region;
Message information is sent to streaming computing system in predetermined instant, message information includes the device identification of domestic fan
With the first temperature/humidity information, predetermined instant is to be spaced at the time of the first temperature/humidity information changes or at predetermined time intervals institute
At the time of determination.
Figure 12 is a kind of block diagram of domestic fan device shown according to an exemplary embodiment.Device 1200 can be
Domestic fan.
Referring to Fig.1 2, device 1200 may include following one or more components:Processing component 1202, memory 1204,
Power supply module 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor module
1214 and communication component 1216.
The integrated operation of 1202 usual control device 1200 of processing component, such as with display, data communication, record operation phase
Associated operation.Processing component 1202 may include one or more processors 1218 to execute instruction, to complete above-mentioned side
The all or part of step of method.In addition, processing component 1202 may include one or more modules, it is convenient for 1202 He of processing component
Interaction between other assemblies.For example, processing component 1202 may include multi-media module, to facilitate 1208 He of multimedia component
Interaction between processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in device 1200.These data
Example includes the instruction for any application program or method that are operated on device 1200.Memory 1204 can be by any class
The volatibility or non-volatile memory device or combination thereof of type are realized, such as static RAM (SRAM), electricity
Erasable Programmable Read Only Memory EPROM (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory
(PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of device 1200.Power supply module 1206 may include power management
System, one or more power supplys and other generated with for device 1200, management and the associated component of distribution electric power.
Multimedia component 1208 is included in the screen of one output interface of offer between device 1200 and user.At some
In embodiment, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Touch screen is may be implemented as, to receive input signal from the user.Touch panel includes one or more touch sensors
To sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action,
But also it detects and touch or the relevant duration and pressure of slide.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat
Gram wind (MIC), when device 1200 is in operation mode, when such as logging mode and speech recognition mode, microphone is configured as connecing
Receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication component 1216
It sends.In some embodiments, audio component 1210 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 1212 provide interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and
Locking press button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented
Estimate.For example, sensor module 1214 can detect the state that opens/closes of device 1200, the relative positioning of component, such as group
Part is the display and keypad of device 1200, and sensor module 1214 can be with 1,200 1 groups of detection device 1200 or device
The position change of part, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/deceleration and device
1200 temperature change.Sensor module 1214 may include proximity sensor, be configured to connect in not any physics
It is detected the presence of nearby objects when tactile.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress
The wireless network based on communication standard, such as Wi-Fi can be accessed by setting 1200,2G or 3G or combination thereof.It is exemplary at one
In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, communication component 1216 further includes near-field communication (NFC) module, to promote short range communication.
For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module
Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application application-specific integrated circuit (ASIC), number
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned fire alarm method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of
Such as include the memory 1204 of instruction, above-metioned instruction can be executed by the processor 1218 of device 1200 to complete above-mentioned fire alarm
Method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic
Band, floppy disk and optical data storage devices etc..
Figure 13 is a kind of block diagram of the fire alarm installation shown according to another exemplary embodiment.For example, device 1300
It may be provided as a network side equipment.Referring to Fig.1 3, device 1300 includes processing component 1302, further comprises one
Or multiple processors, and by the memory resource representated by memory 1304, it can holding by processing component 1302 for storing
Capable instruction, such as application program.The application program stored in memory 1304 may include one or more each
A module for corresponding to one group of instruction.In addition, processing component 1302 is configured as executing instruction, to execute above-mentioned fire alarm side
Method.
Device 1300 can also include that a power supply module 1306 be configured as the power management of executive device 1300, one
Wired or wireless network interface 1308 is configured as device 1300 being connected to network and input and output (I/O) interface
1310.Device 1300 can be operated based on the operating system for being stored in memory 1304, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (20)
1. a kind of fire alarm method, which is characterized in that the method includes:
The second of the area identification is determined according to the first temperature of the corresponding device identification of the area identification in region/humidity information
Temperature/humidity information, the device identification are the marks for the domestic fan that the region includes, and the region includes at least two
A domestic fan;
Detect whether second temperature/humidity information exception occurs;
When detecting that second temperature/humidity information occurs abnormal, alarm signal is sent to predetermined terminal;
Wherein, first temperature/humidity information includes at least one of temperature information and humidity information, second temperature/wet
It includes at least one of temperature information and humidity information to spend information.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
Obtain the location information of the domestic fan;
Determine the area identification in the corresponding region of the location information;
Store the correspondence between the device identification of the domestic fan and the area identification.
3. according to the method described in claim 2, it is characterized in that, it is described obtain domestic fan location information, including:
The location information that the management terminal of the domestic fan reports is received, the location information is determined as the domestic fan
The location information;
And/or
The heartbeat packet that the domestic fan reports is received, the procotol IP of the domestic fan is determined according to the heartbeat packet
Location determines the location information of the domestic fan according to the IP address.
4. according to the method described in claim 1, it is characterized in that, the corresponding device identification of area identification in the determining region
The first temperature/humidity information, the second temperature/humidity information of the area identification is determined according to first temperature/humidity information, wrap
It includes:
The message information that the domestic fan is sent in predetermined instant is received, the message information includes the domestic fan
The device identification and the collected first temperature/humidity information of the domestic fan, the predetermined instant are described first
Moment determined by being spaced at the time of temperature/humidity information changes or at predetermined time intervals;
Streaming computing is carried out to the message information and determines the corresponding area identification of the device identification described in real time
Second temperature/humidity information of predetermined instant;
Store the correspondence between the area identification, the predetermined instant and second temperature/humidity information.
5. according to the method described in claim 4, it is characterized in that, second temperature/humidity information includes the flat of the region
Samming/humidity information,
It is described that streaming computing is carried out to the message information and determines that the corresponding area identification of the device identification exists in real time
Second temperature/humidity information of the predetermined instant, including:
Using the device identification and first temperature/humidity information as the input number of the first processing operator of the streaming computing
According to stream, handles operator by described first and export the corresponding area identification of the device identification and first temperature/humidity
Information;
Using the area identification and first temperature/humidity information as the input traffic of second processing operator, by described
Second processing operator exports the area identification and the corresponding average temperature/humidity information of the area identification, described average
Temperature/humidity information is being averaged for several first temperature/humidity information of several device identifications corresponding with the area identification
Value;
Wherein, the average temperature/humidity information includes at least one of mean temperature information and medial humidity information.
6. according to the method described in claim 5, it is characterized in that, second temperature/humidity information further includes the region
Temperature/humidity rate of change information, the method further include:
Determine average temperature/humidity of the area identification corresponding to the next predetermined instant nearest apart from the predetermined instant
Information, according to the average temperature/humidity information of the area identification corresponding to next predetermined instant and described
Average temperature/the humidity information of the area identification corresponding to the predetermined instant determines the temperature/humidity rate of change information;
Wherein, the temperature/humidity rate of change information includes at least one of rate of temperature change information and humidity rate of change information.
7. according to the method described in claim 6, it is characterized in that, described ought detect that second temperature/humidity information occurs
When abnormal, alarm signal is sent to predetermined terminal, including:
When detect the mean temperature information be more than first threshold, and/or, the rate of temperature change information be more than second threshold
When, it is abnormal to determine that second temperature/humidity information occurs, alarm signal is sent to the predetermined terminal;
And/or;
When detect the medial humidity information be less than third threshold value, and/or, the humidity rate of change information be less than the 4th threshold value
When, it is abnormal to determine that second temperature/humidity information occurs, alarm signal is sent to the predetermined terminal.
8. a kind of fire alarm installation, which is characterized in that described device includes:
Determining module is configured as determining institute according to the first temperature/humidity information of the corresponding device identification of area identification in region
The second temperature/humidity information of area identification is stated, the device identification is the mark for the domestic fan that the region includes, described
Region includes at least two domestic fans;
Detection module is configured as detecting whether second temperature/humidity information exception occurs;
Sending module is configured as, when detecting that second temperature/humidity information occurs abnormal, sending and alarming to predetermined terminal
Signal;
Wherein, first temperature/humidity information includes at least one of temperature information and humidity information, second temperature/wet
It includes at least one of temperature information and humidity information to spend information.
9. device according to claim 8, which is characterized in that described device further includes:
Acquisition module is configured as obtaining the location information of the domestic fan;
Determining module is identified, is configured to determine that the area identification in the corresponding region of the location information;
Memory module is configured as storing the corresponding pass between the device identification of the domestic fan and the area identification
System.
10. device according to claim 9, which is characterized in that the acquisition module is configured as:
The location information that the management terminal of the domestic fan reports is received, the location information is determined as the domestic fan
The location information;
And/or
The heartbeat packet that the domestic fan reports is received, the procotol IP of the domestic fan is determined according to the heartbeat packet
Location determines the location information of the domestic fan according to the IP address.
11. device according to claim 8, which is characterized in that the determining module includes:
Receiving submodule is configured as receiving the message information that the domestic fan is sent in predetermined instant, the message information
Include the device identification and the collected first temperature/humidity information of the domestic fan of the domestic fan, institute
State predetermined instant be spaced at the time of first temperature/humidity information changes or at predetermined time intervals determined by the moment;
First determination sub-module is configured as carrying out streaming computing to the message information and determines the device identification pair in real time
Second temperature/humidity information of the area identification answered in the predetermined instant;
Sub-module stored is configured as storing between the area identification, the predetermined instant and second temperature/humidity information
Correspondence.
12. according to the devices described in claim 11, which is characterized in that second temperature/humidity information includes the region
Average temperature/humidity information, first determination sub-module are additionally configured to:
Using the device identification and first temperature/humidity information as the input number of the first processing operator of the streaming computing
According to stream, handles operator by described first and export the corresponding area identification of the device identification and first temperature/humidity
Information;
Using the area identification and first temperature/humidity information as the input traffic of second processing operator, by described
Second processing operator exports the area identification and the corresponding average temperature/humidity information of the area identification, described average
Temperature/humidity information is being averaged for several first temperature/humidity information of several device identifications corresponding with the area identification
Value;
Wherein, the average temperature/humidity information includes at least one of mean temperature information and medial humidity information.
13. device according to claim 12, which is characterized in that second temperature/humidity information further includes the region
Temperature/humidity rate of change information, the determining module further includes:
Second determination sub-module is configured to determine that the area identification apart from the predetermined instant nearest next predetermined
Average temperature/humidity information corresponding to moment, according to institute of the area identification corresponding to next predetermined instant
Average temperature/the humidity information of average temperature/humidity information and the area identification corresponding to the predetermined instant is stated to determine
The temperature/humidity rate of change information;
Wherein, the temperature/humidity rate of change information includes at least one of rate of temperature change information and humidity rate of change information.
14. device according to claim 13, which is characterized in that the sending module is additionally configured to:
When detect the mean temperature information be more than first threshold, and/or, the rate of temperature change information be more than second threshold
When, it is abnormal to determine that second temperature/humidity information occurs, alarm signal is sent to the predetermined terminal;
And/or;
When detect the medial humidity information be less than third threshold value, and/or, the humidity rate of change information be less than the 4th threshold value
When, it is abnormal to determine that second temperature/humidity information occurs, alarm signal is sent to the predetermined terminal.
15. a kind of domestic fan device, which is characterized in that described device includes:
Acquisition module is configured as acquisition the first temperature/humidity information, and first temperature/humidity information includes temperature information and wet
At least one of information is spent, first temperature/humidity information is used for determining the area identification of domestic fan region
Second temperature/humidity information;
Sending module is configured as sending message information to streaming computing system in predetermined instant, and the message information includes
The device identification of the domestic fan and first temperature/humidity information, the predetermined instant are first temperature/humidity informations
Moment determined by being spaced at the time of changing or at predetermined time intervals.
16. device according to claim 15, which is characterized in that described device further includes:
Position sending module is configured as sending the location information of present position to the streaming computing system.
17. device according to claim 16, which is characterized in that the position sending module is configured as:
By management terminal to the streaming computing system reporting orientation information, the streaming computing system is used for the positioning
Information is determined as the location information of the domestic fan;
And/or
Heartbeat packet, the streaming computing system is reported to be used to determine the family according to the heartbeat packet to the streaming computing system
The location information of the domestic fan is determined with the network protocol IP address of fan and according to the IP address.
18. a kind of fire alarm installation, which is characterized in that described device includes:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
The second of the area identification is determined according to the first temperature of the corresponding device identification of the area identification in region/humidity information
Temperature/humidity information, the device identification are the marks for the domestic fan that the region includes, and the region includes at least two
A domestic fan;
Detect whether second temperature/humidity information exception occurs;
When detecting that second temperature/humidity information occurs abnormal, alarm signal is sent to predetermined terminal;
Wherein, first temperature/humidity information includes at least one of temperature information and humidity information, second temperature/wet
It includes at least one of temperature information and humidity information to spend information.
19. a kind of domestic fan device, which is characterized in that described device includes:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
The first temperature/humidity information is acquired, first temperature/humidity information includes at least one in temperature information and humidity information
Kind, first temperature/humidity information is used for determining the second temperature/humidity information of the area identification of domestic fan region;
Message information is sent to streaming computing system in predetermined instant, the message information includes the equipment of the domestic fan
Mark and first temperature/humidity information, the predetermined instant are at the time of first temperature/humidity information changes or every
The moment determined by the predetermined time interval.
20. a kind of fire alarm system, which is characterized in that the system comprises:Streaming computing system and domestic fan, the stream
Formula computing system is connected by wireless network with the domestic fan;
The domestic fan is configured as acquisition the first temperature/humidity information, and first temperature/humidity information includes temperature information
At least one of with humidity information, first temperature/humidity information is used for determining the region mark of domestic fan region
The the second temperature/humidity information known;Message information is sent to streaming computing system in predetermined instant, the message information includes institute
Device identification and the first temperature/humidity information of domestic fan are stated, the predetermined instant is first temperature/humidity information hair
Moment determined by being spaced at the time of changing or at predetermined time intervals;
The streaming computing system is configured as the first temperature/humidity letter of the corresponding device identification of area identification according to region
Breath determines the second temperature/humidity information of the area identification, and the device identification is the domestic fan that the region includes
Mark, the region includes at least two domestic fans;Detect whether second temperature/humidity information exception occurs;Work as inspection
When measuring second temperature/humidity information appearance exception, alarm signal is sent to predetermined terminal;Wherein, first temperature/humidity
Information includes at least one of temperature information and humidity information, and second temperature/humidity information includes temperature information and humidity
At least one of information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610417244.9A CN106056825B (en) | 2016-06-14 | 2016-06-14 | Fire alarm method, device, domestic fan apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610417244.9A CN106056825B (en) | 2016-06-14 | 2016-06-14 | Fire alarm method, device, domestic fan apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106056825A CN106056825A (en) | 2016-10-26 |
CN106056825B true CN106056825B (en) | 2018-07-31 |
Family
ID=57167456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610417244.9A Active CN106056825B (en) | 2016-06-14 | 2016-06-14 | Fire alarm method, device, domestic fan apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106056825B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106652309A (en) * | 2017-03-09 | 2017-05-10 | 宁波鼎翔消防技术有限公司 | Automatic fire alarm equipment management system |
CN107202407B (en) * | 2017-06-19 | 2019-12-03 | 青岛海信日立空调系统有限公司 | A kind of air conditioner fire alarm method, apparatus and system based on line control machine |
CN108184171A (en) * | 2018-01-23 | 2018-06-19 | 北京数码视讯科技股份有限公司 | Order method, system, server and the digital video transformation box of emergent broadcast |
CN108924174B (en) * | 2018-04-08 | 2021-05-18 | 广州视源电子科技股份有限公司 | Campus environment monitoring method, terminal, platform, system and storage medium |
CN111577025A (en) * | 2020-04-24 | 2020-08-25 | 德施曼机电(中国)有限公司 | Intelligent lock with fire alarm function and alarm method |
CN112783001B (en) * | 2021-01-08 | 2022-02-08 | 珠海格力电器股份有限公司 | Water quality treatment method, device, server and storage medium |
CN115862303B (en) * | 2023-02-28 | 2023-05-16 | 北京蓝天多维科技有限公司 | Information real-time transmission method for locomotive fire monitoring system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101650865A (en) * | 2009-09-07 | 2010-02-17 | 首安工业消防有限公司 | Linear temperature sensing fire detector with point-shaped temperature sensing element and alarm method thereof |
KR20100036717A (en) * | 2008-09-30 | 2010-04-08 | 랜스(주) | Fire defense system based plc |
CN102142180A (en) * | 2011-03-04 | 2011-08-03 | 万信超 | Fire alarm device and fire alarm method for harvester |
CN103312867A (en) * | 2012-03-11 | 2013-09-18 | 上海闻泰电子科技有限公司 | Method using mobile phone as fire alarm |
CN103606240A (en) * | 2013-11-27 | 2014-02-26 | 宁波振东光电有限公司 | Method for fire alarming through distributed type fiber optical temperature sensor system |
-
2016
- 2016-06-14 CN CN201610417244.9A patent/CN106056825B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100036717A (en) * | 2008-09-30 | 2010-04-08 | 랜스(주) | Fire defense system based plc |
CN101650865A (en) * | 2009-09-07 | 2010-02-17 | 首安工业消防有限公司 | Linear temperature sensing fire detector with point-shaped temperature sensing element and alarm method thereof |
CN102142180A (en) * | 2011-03-04 | 2011-08-03 | 万信超 | Fire alarm device and fire alarm method for harvester |
CN103312867A (en) * | 2012-03-11 | 2013-09-18 | 上海闻泰电子科技有限公司 | Method using mobile phone as fire alarm |
CN103606240A (en) * | 2013-11-27 | 2014-02-26 | 宁波振东光电有限公司 | Method for fire alarming through distributed type fiber optical temperature sensor system |
Also Published As
Publication number | Publication date |
---|---|
CN106056825A (en) | 2016-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106056825B (en) | Fire alarm method, device, domestic fan apparatus and system | |
US10602195B2 (en) | Set-top box, system and method for providing awareness in a hospitality environment | |
JP6500059B2 (en) | Use of proximity devices | |
US20160029294A1 (en) | System and method for automatically providing content in access areas based on access points | |
US11418921B2 (en) | Electronic location determination and tracking system with virtual beacon clustering | |
US10264420B2 (en) | System and method for providing a descriptive location of a user device | |
CN106015068B (en) | Domestic fan control method, device, domestic fan apparatus and system | |
US20200174458A1 (en) | Method to present a user with a menu of ranked building system based upon usage of building systems | |
US11849155B2 (en) | Thermostat, system and method for providing awareness in a hospitality environment | |
JP2014138403A (en) | Network monitoring system, network monitoring method, and network monitoring program | |
US11856241B2 (en) | Thermostat, system and method for providing awareness in a hospitality environment | |
US20210235129A1 (en) | Thermostat, System and Method for Providing Awareness in a Hospitality Environment | |
US11825132B2 (en) | Thermostat, system and method for providing awareness in a hospitality environment | |
US11641490B2 (en) | Geolocationing system and method for use of same | |
US20220109894A1 (en) | Geolocationing system and method for use of same | |
WO2020026613A1 (en) | Notification system, notification method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |