CN113990027A - Alarm method and device, electronic equipment, intelligent bed and storage medium - Google Patents

Alarm method and device, electronic equipment, intelligent bed and storage medium Download PDF

Info

Publication number
CN113990027A
CN113990027A CN202111093416.9A CN202111093416A CN113990027A CN 113990027 A CN113990027 A CN 113990027A CN 202111093416 A CN202111093416 A CN 202111093416A CN 113990027 A CN113990027 A CN 113990027A
Authority
CN
China
Prior art keywords
determining
alarm
distance
combustion
condition
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
Application number
CN202111093416.9A
Other languages
Chinese (zh)
Inventor
陈少宗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111093416.9A priority Critical patent/CN113990027A/en
Publication of CN113990027A publication Critical patent/CN113990027A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B17/00Fire alarms; Alarms responsive to explosion
    • G08B17/12Actuation by presence of radiation or particles, e.g. of infrared radiation or of ions
    • G08B17/125Actuation by presence of radiation or particles, e.g. of infrared radiation or of ions by using a video camera to detect fire or smoke
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B3/00Audible signalling systems; Audible personal calling systems
    • G08B3/10Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination

Abstract

The application provides an alarm method, an alarm device, electronic equipment, an intelligent bed and a storage medium, wherein the method comprises the following steps: collecting image information in a preset area; determining a distance of a flame of a combustion object from a support object under the condition that the combustion object exists in the preset area based on the image information, wherein the combustion object is placed on the support object; determining sleep information of the user under the condition that the distance is greater than a distance threshold; and sending out an alarm signal at preset time intervals under the condition that the sleep information represents that the user sleeps.

Description

Alarm method and device, electronic equipment, intelligent bed and storage medium
Technical Field
The application relates to the technical field of intelligent beds, in particular to an alarm method, an alarm device, electronic equipment, an intelligent bed and a storage medium.
Background
In some areas, due to economic lag, power is occasionally cut off, many users can light the candle and then put the candle on a table for illumination, but when the users lie in the bed and fall asleep carelessly, the candle is continuously burnt, fire can be caused, property loss is caused slightly, and casualties are caused seriously.
Disclosure of Invention
The application provides an alarm method, an alarm device, electronic equipment, an intelligent bed and a storage medium, wherein images in a preset area are collected, the distance between a flame of a burning object and a support is determined under the condition that the burning object exists in the preset area, and an alarm signal is sent out under the condition that the distance is greater than a distance threshold value and a user is asleep, so that the user can be awakened, and property loss or personal injury and death caused by fire are avoided.
The application provides an alarm method, which is applied to electronic equipment and comprises the following steps:
collecting image information in a preset area;
determining a distance of a flame of a combustion object from a support object under the condition that the combustion object exists in the preset area based on the image information, wherein the combustion object is placed on the support object;
determining sleep information of the user under the condition that the distance is greater than a distance threshold;
and sending out an alarm signal at preset time intervals under the condition that the sleep information represents that the user sleeps.
In some embodiments, the method further comprises:
determining a similarity between the image information and the pre-stored images of the combustion products;
and determining whether the combustion object exists or not based on the similarity, wherein the combustion object exists in the preset area under the condition that the similarity is larger than a similarity threshold value.
In some embodiments, the determining a similarity between the image information and the pre-stored images of combustibles includes:
determining first characteristic information of the image information;
and performing similarity calculation based on the first characteristic information and second characteristic information of the combustion object image to determine the similarity between the image information and the combustion object image.
In some embodiments, the determining sleep information of the user includes:
collecting respiratory sound and snore of a user;
determining a breathing frequency based on the breathing sound;
and determining sleep information of the user based on the respiratory frequency and the snore.
In some embodiments, the method further comprises:
and sending out an alarm signal when the distance is smaller than the distance threshold value.
In some embodiments, the electronic device is electrically connected to an external power grid, and an internal power source is provided inside the electronic device, the method further comprising:
detecting whether an external power grid supplies power to the electronic equipment;
enabling an internal power supply to power the electronic device in the event that the external power grid does not power the electronic device.
The embodiment of the application provides an alarm device, includes:
the first acquisition module is used for acquiring image information in a preset area;
the first determination module is used for determining the distance between the flame of the combustion object and a support object under the condition that the combustion object exists in a preset area based on the image information, wherein the combustion object is placed on the support object;
the second determination module is used for determining the sleep information of the user under the condition that the distance is greater than the distance threshold;
and the first alarm module is used for sending out an alarm signal at preset time intervals under the condition that the sleep information represents that the user is asleep.
An embodiment of the present application provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the electronic device executes any one of the alarm methods described above.
The embodiment of the application provides an intelligence bed, includes: the electronic device described above.
The embodiment of the application provides a storage medium, which stores a computer program capable of being executed by one or more processors and capable of being used for realizing any one of the alarm methods.
According to the alarm method, the alarm device, the electronic equipment, the intelligent bed and the storage medium, images in the preset area are collected, under the condition that combustion objects exist in the preset area, the distance between the flame of the combustion objects and the support is determined, under the condition that the distance is larger than a distance threshold value and a user is asleep, an alarm signal is sent, the user can be awakened, and property loss or personal injury caused by fire are avoided.
Drawings
The present application will be described in more detail below on the basis of embodiments and with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an alarm system according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart illustrating an implementation of an alarm method according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating an implementation of an alarm method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an alarm device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
In the drawings, like parts are designated with like reference numerals, and the drawings are not drawn to scale.
Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
The following description will be added if a similar description of "first \ second \ third" appears in the application file, and in the following description, the terms "first \ second \ third" merely distinguish similar objects and do not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may be interchanged under certain circumstances in a specific order or sequence, so that the embodiments of the application described herein can be implemented in an order other than that shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
Based on the problems in the related art, the embodiment of the application provides an alarm method, which is applied to electronic equipment, wherein the electronic equipment can be a mobile terminal, a computer and the like, and the electronic equipment can be a mainboard.
The functions realized by the alarm method provided by the embodiment of the application can be realized by calling a program code by a processor of the electronic equipment, wherein the program code can be stored in a computer storage medium. Fig. 1 is a schematic structural diagram of an alarm system according to an embodiment of the present application, and as shown in fig. 1, the alarm system includes a main board 1, a camera, a microphone 2, a speaker 3, and a battery 4, where the camera, the microphone, the speaker, and the battery are connected to the main board, and a computer storage medium is in the main board, where the program code is stored in the computer storage medium.
In the embodiment of this application, the camera can include left camera 5 and right camera 6, and left camera 5 and right camera 6 set up in the both sides of the intelligent bed body for gather image information, microphone 2 are used for gathering user's breathing sound and snore, and 3 users of speaker send alarm signal.
The alarm method provided by the embodiment of the application can be applied to a scene that a user places a burning object on a support to illuminate in a room, and the room is provided with an intelligent bed on which electronic equipment is installed.
An alarm method is provided in an embodiment of the present application, and fig. 2 is a schematic flow chart illustrating an implementation of the alarm method provided in the embodiment of the present application, and as shown in fig. 2, the alarm method includes:
step S1, image information in a preset area is acquired.
In the embodiment of the application, the electronic device can acquire image information in a preset area through the camera, and the preset area can be an area in a room.
And step S2, determining the distance between the flame of the combustion object and a support object under the condition that the combustion object exists in the preset area based on the image information, wherein the combustion object is placed on the support object.
In the embodiment of the application, after the image information is acquired, the electronic device may determine whether a comburent exists in the preset area based on the image information. The burning object may be a candle and the support may be a table. In the embodiment of the present application, when it is determined that the combustion product does not exist in the preset region, step S1 is executed. In the case where it is determined that the combustion object exists within the preset area based on the image information, the distance between the flame of the combustion object and the support may be measured by an AR measurement technique.
And step S3, determining the sleep information of the user when the distance is larger than the distance threshold.
In the embodiment of the present application, the distance threshold is preset, for example, the distance threshold may be 3 centimeters. The distance threshold value and the distance relation can be compared, in the embodiment of the application, when the distance is larger than the distance threshold value, the fact that the burning object is far away from the support is indicated, the risk of burning of the flame to the support is not large, and at the moment, the sleep information of the user is determined. In the embodiment of the application, when the distance is smaller than the distance threshold value, the fact that the flame force support is close to the distance indicates that the flame force support possibly causes the risk of combustion of the support to be large, and at the moment, the alarm prompt information is sent out. In the embodiment of the application, the sleep information of the user can be determined by collecting the respiratory sound and the snore of the user, and the sleep information comprises: sleeping and not sleeping.
And step S4, sending out an alarm signal at preset time intervals under the condition that the sleep information represents that the user is asleep.
In the embodiment of the application, the preset duration can be preset by a user, for example, 5 minutes, in the embodiment of the application, the alarm signal is a sound alarm signal, and because the burning object and the support are still a certain distance away from each other, and the user is in a sleeping state, the alarm signal is sent out at intervals of the preset duration under the condition that the user is asleep, and the user is reminded under the condition that the influence on the user in sleeping is reduced as much as possible.
According to the alarm method, through collecting the images in the preset area, under the condition that the combustion objects exist in the preset area, the distance between the flame of the combustion objects and the supporting objects is determined, under the condition that the distance is greater than the distance threshold value and the user is in the sleep information, the alarm signal is sent out, the user can be awakened, and property loss or personal injury caused by fire are avoided.
Based on the foregoing embodiments, an alarm method is further provided in an embodiment of the present application, and fig. 3 is a schematic flow chart illustrating an implementation of the alarm method provided in the embodiment of the present application, as shown in fig. 3, the method includes:
step S11, image information in a preset area is acquired.
In the embodiment of the application, the image information in the preset area can be acquired through the acquisition module of the electronic equipment. The acquisition module may be a camera. The camera may be an infrared camera.
In step S12, a similarity between the image information and the pre-stored combustion product image is determined.
In the embodiment of the application, the first characteristic information of the image information can be extracted, and then the similarity calculation is performed based on the first characteristic information and the second characteristic information of the combustion object, so that the similarity between the image information and the combustion object image is determined.
Step S13, based on the similarity, determines whether a combustion product is present.
In the embodiment of the present application, the presence or absence of a combustion product is determined based on a comparison between the similarity and a previously stored similarity threshold. The pre-stored similarity threshold may be 80%. When the similarity is greater than the similarity threshold, a comburant is present. And when the similarity is smaller than the similarity threshold value, no combustion object exists.
In the present embodiment, step S14 is executed in the presence of a combustion product. In the case where no combustion product is present, step S11 is executed.
And step S14, determining the distance between the flame of the combustion object and the support.
In the embodiment of the application, the distance between the flame and the support can be measured by an AR measurement technology,
step S15, determining whether the distance is greater than the distance threshold.
In the embodiment of the present application, step S16 is executed when the distance is greater than the distance threshold, and step S17 is executed when the distance is less than the distance threshold. In this embodiment of the application, the distance threshold is preset, and the distance threshold may be 3 centimeters.
In step S16, sleep information of the user is determined.
In the embodiment of the application, the breath sound and the snore of the user can be collected based on the microphone. The breathing frequency is then determined based on the breathing sound. And determines sleep information of the user based on the breath comments and the snoring. The sleep information includes: sleeping and not sleeping. In the embodiment of the application, under the condition that the user is not asleep, alarm information does not need to be sent out. In the case where the user is asleep, step S18 is executed.
And step S17, sending out an alarm signal.
In the embodiment of the present application, the alarm signal may be issued through a speaker, and the alarm signal may be issued continuously as known, that is, the alarm signal may be issued continuously. At which point the process ends.
And step S18, sending out alarm signals at preset intervals.
In the embodiment of the application, the preset time duration is preset, and the preset time duration may be 5 minutes.
The application provides an alarm method, through gathering the image in the predetermined area, under the condition that the thing is existing in the predetermined area in the confirmed determination, confirm the flame distance of thing from the support, under the condition that the distance is greater than apart from the threshold value, and the user is in under the condition of sleep information, send alarm signal, can awaken up the user, under the condition that the distance is less than apart from the threshold value, directly send alarm signal to can avoid because of the loss of property or the personal injury and death that catch fire and cause.
In some embodiments, before step S1, the electronic device is electrically connected to an external power grid, and an internal power source is provided inside the electronic device, the method further comprising:
and step S31, detecting whether an external power grid supplies power to the electronic equipment.
In case the external power grid does not supply power to the electronic device, step S32 is performed. And under the condition that the external power grid supplies power to the electronic equipment, continuously using the external power grid for supplying power.
And step S32, enabling an internal power supply to supply power to the electronic equipment.
In the case of using an external power supply to supply power, the internal power supply of the electronic device may be charged.
Based on the foregoing embodiments, an alarm method is further provided in an embodiment of the present application, where the method is implemented in the following manner:
install a camera respectively in the left and right sides of head of a bed, be connected to the mainboard (be electronic equipment's mainboard) to two cameras, put into the storage device of mainboard to the picture of the flame on the candle, after the camera catches the flame picture of candle, just compare with the candle flame picture of putting in storage device before, if there is 80% the same, just think the user now and using the candle illumination, then just begin to calculate the vertical distance of flame on the candle to the desktop, decide next work task according to the size of distance. A mainboard is installed at the bed head, a battery is connected to the mainboard, at ordinary times, when power failure does not exist, alternating current is used for supplying power to the mainboard, if power failure happens occasionally, the battery is used for supplying power to the mainboard, a microphone and a loudspeaker are connected to the mainboard, the microphone is used for capturing the breathing sound and the snore of a person, whether the person sleeps well or not is judged according to the breathing frequency (the breathing frequency is different when the person sleeps and does not sleep) and the snore, a fire alarm early warning sound signal is sent out by the loudspeaker, if the vertical distance from a fire on a candle to a table top is larger than 3 cm, and the loudspeaker sends out the fire alarm early warning sound signal every 5 minutes under the condition that the person sleeps. If the person is not asleep, the speaker does not emit any sound. If the vertical distance between the flame on the candle and the table surface is less than 3 cm, and the person is asleep or not asleep, the loudspeaker continuously emits a fire alarm early warning sound signal. If the camera does not capture the flame on the candle, the microphone and the loudspeaker are turned off, and the camera continues to capture pictures in the room.
The alarm method provided by the embodiment of the application realizes that when the candle is placed on a desk for illumination, a person lies on the bed and carelessly sleeps, the intelligent bed sends out a danger early warning signal to awaken the sleeping person, and property loss and personal casualties are avoided.
Based on the foregoing embodiments, the embodiments of the present application provide an alarm device, where each module included in the alarm device and each unit included in each module may be implemented by a processor in a computer device; of course, the implementation can also be realized through a specific logic circuit; in the implementation process, the processor may be a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
An alarm device is provided in the embodiment of the present application, fig. 4 is a schematic structural diagram of the alarm device provided in the embodiment of the present application, and as shown in fig. 4, an alarm device 400 includes:
a first collecting module 401, configured to collect image information in a preset area;
a first determining module 402, configured to determine a distance from a flame of a combustion object to a support on which the combustion object is placed, if it is determined that the combustion object exists in a preset region based on the image information;
a second determining module 403, configured to determine sleep information of the user if the distance is greater than the distance threshold;
and a first alarm module 404, configured to send an alarm signal at a preset time interval when the sleep information indicates that the user is asleep.
In some embodiments, the alarm device 400 further comprises:
a third determination module for determining a similarity between the image information and the pre-stored images of the combustion products;
and the fourth determination module is used for determining whether the combustion object exists or not based on the similarity, wherein the combustion object exists in the preset area under the condition that the similarity is larger than a similarity threshold value.
In some embodiments, the third determining module comprises:
a first determination unit configured to determine first feature information of the image information;
and the calculating unit is used for performing similarity calculation on the basis of the first characteristic information and the second characteristic information of the combustion object image so as to determine the similarity between the image information and the combustion object image.
In some embodiments, the second determining module 403 includes:
the acquisition unit is used for acquiring the respiratory sound and the snore of a user;
a second determination unit for determining a breathing frequency based on the breathing sound;
and the third determining unit is used for determining the sleep information of the user based on the respiratory frequency and the snore.
In some embodiments, the alarm device 400 further comprises:
and the second alarm module is used for sending out an alarm signal under the condition that the distance is smaller than the distance threshold value.
In some embodiments, the electronic device is electrically connected to an external power grid, and an internal power source is disposed inside the electronic device, and the alarm device 400 further includes:
the detection module is used for detecting whether an external power grid supplies power to the electronic equipment;
the enabling module is used for enabling an internal power supply to supply power to the electronic equipment under the condition that the external power grid does not supply power to the electronic equipment.
It should be noted that, in the embodiment of the present application, if the alarm method is implemented in the form of a software functional module and is sold or used as a standalone product, the alarm method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Accordingly, an embodiment of the present application provides a storage medium, on which a computer program is stored, wherein the computer program is implemented to implement the steps in the alarm method provided in the above embodiment when executed by a processor.
The embodiment of the application provides an electronic device; fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 5, the electronic device 500 includes: a processor 501, at least one communication bus 502, a user interface 503, at least one external communication interface 504, and a memory 505. Wherein the communication bus 502 is configured to enable connective communication between these components. The user interface 503 may include a display screen, and the external communication interface 504 may include a standard wired interface and a wireless interface, among others. The processor 501 is configured to execute a program of the alarm method stored in the memory to implement the steps in the alarm method provided in the above-described embodiments.
The above description of the electronic device and storage medium embodiments, similar to the description of the method embodiments above, has similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the computer device and the storage medium of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
Based on the foregoing embodiments, an embodiment of the present application further provides an intelligent bed, which includes: bed body, the electronic equipment, camera, speaker, the microphone that above-mentioned embodiment provided, the camera includes: left camera and right camera, left side camera and right camera setting and the both sides of the bed body, microphone speaker sets up the head of a bed with the bed body, electronic equipment is connected with camera, speaker, microphone wind-powered electricity generation.
Here, it should be noted that: the above description of the storage medium and the electronic device embodiments is similar to the description of the method embodiments described above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a controller to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An alarm method, applied to an electronic device, the method comprising:
collecting image information in a preset area;
determining a distance of a flame of a combustion object from a support object under the condition that the combustion object exists in the preset area based on the image information, wherein the combustion object is placed on the support object;
determining sleep information of the user under the condition that the distance is greater than a distance threshold;
and sending out an alarm signal at preset time intervals under the condition that the sleep information represents that the user sleeps.
2. The method of claim 1, further comprising:
determining a similarity between the image information and the pre-stored images of the combustion products;
and determining whether the combustion object exists or not based on the similarity, wherein the combustion object exists in the preset area under the condition that the similarity is larger than a similarity threshold value.
3. The method of claim 2, wherein determining a similarity between the image information and the pre-stored combustion images comprises:
determining first characteristic information of the image information;
and performing similarity calculation based on the first characteristic information and second characteristic information of the combustion object image to determine the similarity between the image information and the combustion object image.
4. The method of claim 1, wherein determining sleep information of the user comprises:
collecting respiratory sound and snore of a user;
determining a breathing frequency based on the breathing sound;
and determining sleep information of the user based on the respiratory frequency and the snore.
5. The method of claim 1, further comprising:
and sending out an alarm signal when the distance is smaller than the distance threshold value.
6. The method of claim 1, wherein the electronic device is electrically connected to an external power grid and an internal power source is provided within the electronic device, the method further comprising:
detecting whether an external power grid supplies power to the electronic equipment;
enabling an internal power supply to power the electronic device in the event that the external power grid does not power the electronic device.
7. An alarm device, comprising:
the first acquisition module is used for acquiring image information in a preset area;
the first determination module is used for determining the distance between the flame of the combustion object and a support object under the condition that the combustion object exists in a preset area based on the image information, wherein the combustion object is placed on the support object;
the second determination module is used for determining the sleep information of the user under the condition that the distance is greater than the distance threshold;
and the first alarm module is used for sending out an alarm signal at preset time intervals under the condition that the sleep information represents that the user is asleep.
8. An electronic device, comprising a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, performs the alarm method of any one of claims 1 to 6.
9. An intelligent bed, comprising: the electronic device of claim 8.
10. A storage medium storing a computer program executable by one or more processors and operable to implement the alarm method of any one of claims 1 to 6.
CN202111093416.9A 2021-09-17 2021-09-17 Alarm method and device, electronic equipment, intelligent bed and storage medium Pending CN113990027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111093416.9A CN113990027A (en) 2021-09-17 2021-09-17 Alarm method and device, electronic equipment, intelligent bed and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111093416.9A CN113990027A (en) 2021-09-17 2021-09-17 Alarm method and device, electronic equipment, intelligent bed and storage medium

Publications (1)

Publication Number Publication Date
CN113990027A true CN113990027A (en) 2022-01-28

Family

ID=79736057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111093416.9A Pending CN113990027A (en) 2021-09-17 2021-09-17 Alarm method and device, electronic equipment, intelligent bed and storage medium

Country Status (1)

Country Link
CN (1) CN113990027A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116883661A (en) * 2023-07-13 2023-10-13 山东高速建设管理集团有限公司 Fire operation detection method based on target identification and image processing

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006012460A2 (en) * 2004-07-23 2006-02-02 Innovalarm Corporation Enhanced acoustic monitoring and alarm response
US20060250260A1 (en) * 2004-07-23 2006-11-09 Innovalarm Corporation Alert system with enhanced waking capabilities
JP2015158814A (en) * 2014-02-25 2015-09-03 ホーチキ株式会社 Fire detection system and fire detection method
CN107527466A (en) * 2017-07-31 2017-12-29 努比亚技术有限公司 A kind of fire alarm method, terminal and computer-readable recording medium
CN109188928A (en) * 2018-10-29 2019-01-11 百度在线网络技术(北京)有限公司 Method and apparatus for controlling smart home device
CN110501914A (en) * 2018-05-18 2019-11-26 佛山市顺德区美的电热电器制造有限公司 A kind of method for safety monitoring, equipment and computer readable storage medium
CN110619287A (en) * 2019-08-30 2019-12-27 重庆博拉智略科技有限公司 Indoor fire early warning identification method and device, storage medium and electronic equipment
CN113177496A (en) * 2021-05-10 2021-07-27 浙江大华技术股份有限公司 Fire point detection method, device, equipment and storage medium
CN113379990A (en) * 2021-05-19 2021-09-10 深圳市安星数字系统有限公司 Monitoring protection device and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006012460A2 (en) * 2004-07-23 2006-02-02 Innovalarm Corporation Enhanced acoustic monitoring and alarm response
US20060250260A1 (en) * 2004-07-23 2006-11-09 Innovalarm Corporation Alert system with enhanced waking capabilities
JP2015158814A (en) * 2014-02-25 2015-09-03 ホーチキ株式会社 Fire detection system and fire detection method
CN107527466A (en) * 2017-07-31 2017-12-29 努比亚技术有限公司 A kind of fire alarm method, terminal and computer-readable recording medium
CN110501914A (en) * 2018-05-18 2019-11-26 佛山市顺德区美的电热电器制造有限公司 A kind of method for safety monitoring, equipment and computer readable storage medium
CN109188928A (en) * 2018-10-29 2019-01-11 百度在线网络技术(北京)有限公司 Method and apparatus for controlling smart home device
CN110619287A (en) * 2019-08-30 2019-12-27 重庆博拉智略科技有限公司 Indoor fire early warning identification method and device, storage medium and electronic equipment
CN113177496A (en) * 2021-05-10 2021-07-27 浙江大华技术股份有限公司 Fire point detection method, device, equipment and storage medium
CN113379990A (en) * 2021-05-19 2021-09-10 深圳市安星数字系统有限公司 Monitoring protection device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116883661A (en) * 2023-07-13 2023-10-13 山东高速建设管理集团有限公司 Fire operation detection method based on target identification and image processing
CN116883661B (en) * 2023-07-13 2024-03-15 山东高速建设管理集团有限公司 Fire operation detection method based on target identification and image processing

Similar Documents

Publication Publication Date Title
KR102423752B1 (en) Apparatus and Method for assisting sound sleep
JP6592441B2 (en) Information processing system, information processing apparatus, information processing program, and information processing method
US10206573B2 (en) Method of obtaining biometric information in electronic device and electronic device for the same
JP6595918B2 (en) Display system and display device
US8659657B2 (en) System and method for pattern based thresholding applied to video surveillance monitoring
CN113990027A (en) Alarm method and device, electronic equipment, intelligent bed and storage medium
US20210244352A1 (en) Home occupant detection and monitoring system
CN110934566A (en) Intelligent detection, automatic sleep-aiding and emergency alarm device
US10070323B2 (en) Method and apparatus for managing a nap mode on an electronic device
JP2022105728A (en) Alarm, control method, and program
CN207115700U (en) Light fixture and warning system
CN109920214A (en) A kind of picture pick-up device and information cuing method
CN213877002U (en) Elevator smoke control device
JP6314517B2 (en) Status notification method, apparatus, and program
WO2024040985A1 (en) Fire fighting device and fire fighting system
CN112150771A (en) Elevator smoke control device and method
JP2016073631A (en) Watching apparatus and watching method
JP7354549B2 (en) Monitoring device and monitoring program
CN219066223U (en) Intelligent induction type alarm device
JP7268387B2 (en) Monitoring device and program for monitoring device
CN116913320B (en) Accident detection method, device and server
CN216450146U (en) Remote monitoring remote watching system
WO2024090468A1 (en) Program, monitoring system, and control device
WO2024090466A1 (en) Overseeing system and control device
WO2024090467A1 (en) Program, monitoring system, and control device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220128

RJ01 Rejection of invention patent application after publication