CN103312867A - Method using mobile phone as fire alarm - Google Patents
Method using mobile phone as fire alarm Download PDFInfo
- Publication number
- CN103312867A CN103312867A CN 201210062676 CN201210062676A CN103312867A CN 103312867 A CN103312867 A CN 103312867A CN 201210062676 CN201210062676 CN 201210062676 CN 201210062676 A CN201210062676 A CN 201210062676A CN 103312867 A CN103312867 A CN 103312867A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- temperature sensor
- preset value
- sensor module
- application process
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention provides a method using a mobile phone as a fire alarm. The mobile phone comprises a central processor, a temperature sensor module and a loudspeaker module. The temperature sensor module can collect temperature data and sends the data to the central processor. The central processor can control the loudspeaker module to send out an alarm sound. The application method comprises the steps of collecting temperature data; comparing the collected data with a preset value; returning to the previous step if the preset value is not reached; and sending out an alarm if the preset value is reached. The mobile phone can be used as the fire alarm to timely remind people of fire, which has a considerable practical value to avoid the spreading of fire and the expanding of loss of life and property.
Description
Technical field
The present invention relates to a kind of mobile radio communication apparatus, relate in particular to a kind of application process of mobile radio-communications terminal.
Background technology
The first half of the year in 2010, the whole nation was total to 73317 of breaking out of fires, dead 656 people, injured 271 people, 79290.7 ten thousand yuan of direct property loss according to incompletely statistics.Fire mainly concentrates in villager, the residential building.Electric, accidentally be still the main cause of initiation fire with fire.It is reported, if the effective work of fire early warning system is fully avoidable mostly, yet the dwelling house in most of areas does not possess this fire alarm ability, and therefore, a kind of simple and easy to do fire early-warning system has good application prospect.
Mobile phone has had a very long time as the life that a kind of mobile communication equipment enters people.Constantly perfect along with cell-phone function, mobile phone is played the part of more and more important role in people's life, and mobile phone is further popularized at home.According to incompletely statistics, the China mobile user surpassed 900,000,000 in 2011.
Be accompanied by popularizing of mobile phone, its function, device are also in continuous increase.Especially along with the intelligent development of mobile phone, the transducer of more and more variety classeses, difference in functionality begins to be applied in the mobile phone.Wherein one of comparatively common transducer is exactly temperature sensor.
Because the high popularity rate of mobile phone if can realize fire alarm function at mobile phone, must reduce the loss that fire causes to broad masses of the people's lives and properties to a certain extent.
Summary of the invention
The purpose of this invention is to provide a kind of method that mobile phone is used as fire-alarm, can on the existing hardware basis, realize the fire alarm function of mobile phone.
To achieve these goals, the invention provides a kind of method that mobile phone is used as fire-alarm,
Wherein, this mobile phone comprises: central processing unit 1, temperature sensor module 2 and loudspeaker module 3;
But described temperature sensor module 2 collecting temperature Data Concurrents are delivered to central processing unit 1;
Described central processing unit 1 can be controlled loudspeaker module 3 and send alarm sound;
Be characterized in, comprise following steps:
Step 1. temperature data acquisition;
Foregoing a kind of mobile phone application process is characterized in:
Described temperature sensor module 2 comprises temperature sensor 21 and comparison circuit 22;
In the middle of the described step 2, temperature acquisition value and preset value compare by the comparison circuit 22 in the temperature sensor module 2 and finish.
Foregoing a kind of mobile phone application process is characterized in:
In the middle of the described step 2, temperature acquisition value and preset value compare by central processing unit 1 and finish.
Foregoing mobile phone application process is characterized in:
Described mobile phone also comprises memory 4;
In the middle of the described step 2, preset value is read from memory 4 by central processing unit 1.
Foregoing a kind of mobile phone application process is characterized in:
Behind mobile phone shutdown, described temperature sensor module 2 normal operations.
Foregoing a kind of mobile phone application process is characterized in:
Behind mobile phone shutdown, except temperature sensor module 2, the equal normal power supply of other parts also can wake up at any time.
Foregoing a kind of mobile phone application process is characterized in:
Comprise one or more temperature sensors 21 in the middle of the described temperature sensor module 2.
Foregoing mobile phone application process is characterized in:
Preset value in the middle of the described step 2 is lower than the temperature upper limit of realizing that all parts of warning function can work.
Provided by the present invention with mobile phone as the method that fire-alarm uses, in time remind the generation of people's fire, thereby in time reply has sizable actual application value to the expansion that spreads with life and property loss of avoiding fire.
Description of drawings
Fig. 1 is system configuration schematic diagram of the present invention;
Fig. 2 is flow chart of the present invention.
Embodiment
Below in conjunction with Fig. 1 and the concrete explaination of a Fig. 2 specific embodiment of the present invention.
As shown in Figure 1, the hardware device in the middle of the mobile phone required for the present invention comprises: central processing unit 1, temperature sensor module 2 and loudspeaker module 3.
Wherein, temperature sensor module 2 comprises temperature sensor 21 and comparison circuit 22.
As shown in Figure 2, realize that mobile phone application process of the present invention may further comprise the steps:
Step 1. temperature data acquisition;
Wherein, temperature sensor 21 is according to certain sample rate, with the environment temperature sampling and be converted to the signal of telecommunication.
The signal of telecommunication that temperature sensor 21 produces step 1 is exported to comparison circuit 22.Comparison circuit compares this signal value and preset value; If do not arrive preset value, then return step 1, after the sampling period, again sampled by temperature sensor 21; If reach preset value, then send wake-up alarm signal to central processing unit 1.
After central processing unit 1 is received wake-up alarm signal, wake loudspeaker module 3 up, and control its sound that gives the alarm.
In the middle of the said process, owing to needing to consider to save the electric energy that battery of mobile phone stores, sample rate is unsuitable too high.Because still can realize after need guaranteeing that the present invention is related and being applied in mobile phone shutdown, central processing unit 1 can not cut off the power supply of temperature sensor module 2 when mobile phone cuts out, must keep it still in running order.Under off-mode, central processing unit 1 can enter resting state, with the reduction power consumption, but must guarantee that the wake-up alarm signal of temperature sensor 2 can make its state of resuming work.Loudspeaker module 3 can keep closing under off-mode, with saves energy.But central processing unit 1 can wake it up at any time.
In the middle of another embodiment of the present invention, do not establish comparison circuit 22 in the middle of the temperature sensor module 2, but directly export the signal of telecommunication to central processing unit 1 by temperature sensor 21, and judge whether to wake up loudspeaker module 3 after being compared by the preset value in the middle of itself and the memory 4, and send alarm sound.
In the middle of another embodiment of the present invention, the quantity of temperature sensor 21 can have a plurality of.In this case, central processing unit 1 need carry out logic to be judged, after the data that have plural temperature sensor 21 to gather reached preset value, the side woke loudspeaker module 3 up, and sends alarm sound, to avoid single temperature sensor wrong report.
In the middle of above-described embodiment because the purpose of integrated temperature sensor is different in the existing mobile phone, but usually itself otherwise do not need to compare with preset value, or the corresponding temperature of its preset value is lower.Therefore realize the related application of the present invention at mobile phone, can't affect the realization of its original design function.Should be noted that to be, this preset value must be lower than the maximum temperature that realizes in the mobile phone that the whole required parts normal operations of above-mentioned warning function can bear.Otherwise, might can't realize because of hardware failure at warning function.
Claims (8)
1. one kind with the application process of mobile phone as fire-alarm,
Wherein, this mobile phone comprises: central processing unit (1), temperature sensor module (2) and loudspeaker module (3);
Described temperature sensor module (2) but the collecting temperature Data Concurrent is delivered to central processing unit (1);
Described central processing unit (1) can be controlled loudspeaker module (3) and send alarm sound;
It is characterized in that, comprise following steps:
Step 1. temperature data acquisition;
Step 2. compares institute's image data and preset value, if do not reach preset value, then returns step 1; If reach preset value, then execution in step 3;
Step 3. gives the alarm.
2. mobile phone application process as claimed in claim 1 is characterized in that:
Described temperature sensor module (2) comprises temperature sensor (21) and comparison circuit (22);
In the middle of the described step 2, temperature acquisition value and preset value compare by the comparison circuit (22) in the temperature sensor module (2) and finish.
3. mobile phone application process as claimed in claim 1 is characterized in that:
In the middle of the described step 2, temperature acquisition value and preset value compare by central processing unit (1) and finish.
4. mobile phone application process as claimed in claim 3 is characterized in that:
Described mobile phone also comprises memory (4);
In the middle of the described step 2, preset value is read from memory (4) by central processing unit (1).
5. mobile phone application process as claimed in claim 1 is characterized in that:
Behind mobile phone shutdown, described temperature sensor module (2) normal operation.
6. such as claim 1 or 3 described mobile phone application processes, it is characterized in that:
Behind mobile phone shutdown, except temperature sensor module (2), the equal normal power supply of other parts also can wake up at any time.
7. mobile phone application process as claimed in claim 1 is characterized in that:
Comprise one or more temperature sensors (21) in the middle of the described temperature sensor module (2).
8. mobile phone application process as claimed in claim 1 is characterized in that:
Preset value in the middle of the described step 2 is lower than the temperature upper limit of realizing that all parts of warning function can work.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201210062676 CN103312867A (en) | 2012-03-11 | 2012-03-11 | Method using mobile phone as fire alarm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201210062676 CN103312867A (en) | 2012-03-11 | 2012-03-11 | Method using mobile phone as fire alarm |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103312867A true CN103312867A (en) | 2013-09-18 |
Family
ID=49137641
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201210062676 Pending CN103312867A (en) | 2012-03-11 | 2012-03-11 | Method using mobile phone as fire alarm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103312867A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106056825A (en) * | 2016-06-14 | 2016-10-26 | 北京小米移动软件有限公司 | Fire alarm method, device and system and household fan device |
CN109639906A (en) * | 2019-01-25 | 2019-04-16 | 维沃移动通信有限公司 | A kind of method for early warning and mobile terminal |
CN115079623A (en) * | 2022-08-23 | 2022-09-20 | 深圳市航顺芯片技术研发有限公司 | Control method and device of microcontroller chip and storage medium |
-
2012
- 2012-03-11 CN CN 201210062676 patent/CN103312867A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106056825A (en) * | 2016-06-14 | 2016-10-26 | 北京小米移动软件有限公司 | Fire alarm method, device and system and household fan device |
CN106056825B (en) * | 2016-06-14 | 2018-07-31 | 北京小米移动软件有限公司 | Fire alarm method, device, domestic fan apparatus and system |
CN109639906A (en) * | 2019-01-25 | 2019-04-16 | 维沃移动通信有限公司 | A kind of method for early warning and mobile terminal |
CN115079623A (en) * | 2022-08-23 | 2022-09-20 | 深圳市航顺芯片技术研发有限公司 | Control method and device of microcontroller chip and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Huang et al. | A remote home security system based on wireless sensor network and GSM technology | |
CN102695257B (en) | Terminal and power consumption of terminal optimization method | |
CN203759455U (en) | Household water leakage detection device | |
CN205050287U (en) | Long -range fire alarm smog alarm device in high in clouds | |
CN207441006U (en) | A kind of long-distance meter-reading system based on low-power consumption Internet of Things | |
CN103247141A (en) | Internet of things smart home remote alarm and control system | |
CN104483077A (en) | Wireless alarm system for water leakage of faucet | |
CN103313366A (en) | Awakening method of wireless meter reading system | |
CN204679765U (en) | A kind of intelligent home control device based on cloud | |
CN105517304A (en) | Bluetooth network based illumination control system | |
CN204129516U (en) | Based on the gas monitor and control system of Internet of Things | |
CN203164701U (en) | Remote warehouse monitoring system based on GSM | |
CN103312867A (en) | Method using mobile phone as fire alarm | |
CN107300400A (en) | Forest fire protection well based on GPRS and single-chip microcomputer remotely monitors transmitting device | |
CN109309724B (en) | An IoT smart meter supporting NB-IOT | |
CN103634885A (en) | Identification card and operation method thereof | |
CN103733653A (en) | Method and terminal for controlling location information acquisition | |
CN202093076U (en) | Electric energy detection system | |
CN207197567U (en) | Forest fire protection well based on GPRS and single-chip microcomputer remotely monitors transmitting device | |
CN107124691A (en) | A kind of WiFi intelligent cut-in methods of low-power consumption bluetooth auxiliary | |
CN202077160U (en) | Intelligent switch cabinet display control device with remote wireless communication module | |
CN202713583U (en) | Intelligent energy-saving play control system for sound equipment | |
CN207637280U (en) | Power failure short message alarm device for farm | |
CN105611700A (en) | Wi-Fi network based illumination control system | |
CN105490949A (en) | Bluetooth 4.0-based intelligent router and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130918 |