[go: up one dir, main page]

CN116206420A - Room sound detection alarm method, device, storage medium and computer equipment - Google Patents

Room sound detection alarm method, device, storage medium and computer equipment Download PDF

Info

Publication number
CN116206420A
CN116206420A CN202111440770.4A CN202111440770A CN116206420A CN 116206420 A CN116206420 A CN 116206420A CN 202111440770 A CN202111440770 A CN 202111440770A CN 116206420 A CN116206420 A CN 116206420A
Authority
CN
China
Prior art keywords
sound
information
acquisition equipment
time difference
duration
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
CN202111440770.4A
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.)
Shenzhen Furi Zhongnuo Electronic Technology Co ltd
Original Assignee
Shenzhen Furi Zhongnuo Electronic Technology Co ltd
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 Shenzhen Furi Zhongnuo Electronic Technology Co ltd filed Critical Shenzhen Furi Zhongnuo Electronic Technology Co ltd
Priority to CN202111440770.4A priority Critical patent/CN116206420A/en
Publication of CN116206420A publication Critical patent/CN116206420A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/0202Child monitoring systems using a transmitter-receiver system carried by the parent and the child
    • G08B21/0205Specific application combined with child monitoring using a transmitter-receiver system
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H17/00Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves, not provided for in the preceding groups
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/18Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using ultrasonic, sonic, or infrasonic waves
    • G01S5/20Position of source determined by a plurality of spaced direction-finders
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/0202Child monitoring systems using a transmitter-receiver system carried by the parent and the child
    • G08B21/0236Threshold setting
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/0202Child monitoring systems using a transmitter-receiver system carried by the parent and the child
    • G08B21/0263System arrangements wherein the object is to detect the direction in which child or item is located
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Child & Adolescent Psychology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Alarm Systems (AREA)

Abstract

The invention provides a room sound detection alarm method, a device, a storage medium and computer equipment, wherein the alarm method comprises the following steps: collecting sound information, corresponding sound duration and sound decibels of each compartment in a living room; if the sound information is crying information, marking the sound information as crying; comparing the duration of the sound with a preset duration threshold, and if the duration of the sound is greater than or equal to the duration threshold, sending the sound information marked as crying to the user terminal with the communication connection pre-established; if the sound information is screaming sound, marking the sound information as screaming sound; and comparing the sound decibel with a preset decibel threshold, and if the sound decibel is larger than or equal to the decibel threshold, sending sound information marked as squeal to the user terminal. The invention can judge whether the accident occurs or not by detecting the sound of the living room and timely send the accident to the user terminal so as to be convenient for the user to timely know and process.

Description

Room sound detection alarm method, device, storage medium and computer equipment
Technical Field
The invention relates to the technical field of room detection alarm, in particular to a room sound detection alarm method, a device, a storage medium and computer equipment.
Background
For various reasons of work, most parents cannot take care of their children all the time. Children alone may be faced with accidents at home, and parents outside cannot know and handle the accidents in time.
Disclosure of Invention
The invention aims to overcome the defects and shortcomings in the prior art and provides a room sound detection alarm method, a device, a storage medium and computer equipment, which can judge whether an accident occurs or not by detecting the sound of a room and timely send the accident to a user terminal so as to be convenient for a user to timely know and process.
One embodiment of the present invention provides a method for detecting and alarming room sounds, comprising:
collecting sound information, corresponding sound duration and sound decibels of each compartment in a living room;
if the sound information is crying information, marking the sound information as crying; comparing the duration of the sound with a preset duration threshold, and if the duration of the sound is greater than or equal to the duration threshold, sending the sound information marked as crying to a user terminal which is pre-established with communication connection;
if the sound information is screaming sound, marking the sound information as screaming sound; and comparing the sound decibel with a preset decibel threshold, and if the sound decibel is larger than or equal to the decibel threshold, sending the sound information marked as squeal to the user terminal.
Compared with the prior art, the room sound detection alarm method detects the sound information of each compartment in the room, marks the sound information and sends the sound information to the user terminal when long-time crying or excessive screaming is detected, so that the user is informed of the situation in the room in time, and the method is convenient for the user to process in time.
Further, the method further comprises the following steps:
according to the sound information, sound source localization is carried out on the corresponding compartment, and a sound source position is obtained;
driving a camera in the compartment to rotate so that a lens of the camera faces the sound source position;
and shooting a picture of the sound source position through the camera, and sending the picture to the user terminal.
The camera is driven to shoot the picture of the sound source position and send the picture to the user through obtaining the sound source position, and the user can know the condition in the room more comprehensively and clearly by combining the picture.
Further, each compartment is provided with at least 3 sound collecting devices, and the sound collecting devices are used for collecting sound information, corresponding sound duration and sound decibels of each compartment in the living room;
the step of performing sound source localization in the corresponding compartment according to the sound information to obtain a sound source position includes:
acquiring the acquisition time of the sound information acquired by each sound acquisition device;
obtaining the time difference between the sound collection devices according to the time when different sound collection devices collect the same sound;
and obtaining the sound source position according to the time difference, the sound propagation speed and a preset positioning rule.
And obtaining the accurate sound source position through the time difference of the sound information acquired by the plurality of sound acquisition devices, the sound propagation speed and the preset positioning rule.
Further, the number of the sound collecting devices in each compartment is 3, the sound collecting devices comprise a first collecting device, a second collecting device and a third collecting device, and the 3 sound collecting devices are distributed in the corresponding compartment in a triangular shape;
the step of obtaining the sound source position according to the time difference, the sound propagation speed and the preset positioning rule comprises the following steps:
calculating the time difference acquired by the first acquisition equipment and the second acquisition equipment according to the time when the same sound is acquired by the first acquisition equipment and the second acquisition equipment, so as to obtain a first time difference;
establishing a first hyperbola taking the first acquisition equipment and the second acquisition equipment as focuses according to the first time difference and the sound propagation speed;
determining one curve in the first hyperbola as a first effective hyperbola according to the time of the first acquisition device and the second acquisition device for acquiring the same sound;
calculating the time difference acquired by the second acquisition equipment and the third acquisition equipment according to the time when the same sound is acquired by the second acquisition equipment and the third acquisition equipment, so as to obtain a second time difference;
establishing a second hyperbola taking the second acquisition equipment and the third acquisition equipment as focuses according to the second time difference and the sound propagation speed;
determining one hyperbola in the second hyperbola as a second effective hyperbola according to the time of the second acquisition device and the third acquisition device for acquiring the same sound;
and determining the intersection position of the first effective hyperbola and the second effective hyperbola as the sound source position.
And 3 sound collection devices are arranged in a triangular mode, and the intersecting positions of the hyperbolas are obtained according to the characteristics of the hyperbolas, so that the sound source position is determined.
Further, the number of the sound collecting devices in each compartment is 4, the sound collecting devices comprise a first collecting device, a second collecting device, a third collecting device and a fourth collecting device, and the 4 sound collecting devices are respectively arranged in four different horizontal directions of the compartment;
the step of obtaining the sound source position according to the time difference, the sound propagation speed and the preset positioning rule comprises the following steps:
establishing a coordinate system in the horizontal direction, wherein the coordinate system comprises a first coordinate axis and a second coordinate axis which are perpendicular to each other; wherein a virtual straight line connecting the first acquisition device and the second acquisition device is parallel to the first coordinate axis, and a virtual straight line connecting the third acquisition device and the fourth acquisition device is parallel to the second coordinate axis;
calculating the time difference acquired by the first acquisition equipment and the second acquisition equipment according to the time when the same sound is acquired by the first acquisition equipment and the second acquisition equipment, so as to obtain a first time difference;
obtaining a first coordinate value of the sound source position according to the coordinates of the first acquisition device and the second acquisition device in the coordinate system, the first time difference and the sound propagation speed;
calculating the time difference acquired by the third acquisition equipment and the fourth acquisition equipment according to the time when the same sound is acquired by the third acquisition equipment and the fourth acquisition equipment, so as to obtain a second time difference;
obtaining a second coordinate value of the sound source position according to the coordinates of the third acquisition device and the fourth acquisition device in the coordinate system, the second time difference and the sound propagation speed;
and determining the sound source position according to the first coordinate value and the second coordinate value.
Based on a virtual coordinate system, a first coordinate value and a second coordinate value corresponding to the coordinate system are obtained according to the time difference and the sound propagation speed of sound collected by the 4 sound collecting devices, so that the sound source position is determined.
Further, after the step of collecting the sound information, the corresponding sound duration and the sound decibel of each compartment in the living room, the step of collecting the sound information, the corresponding sound duration and the sound decibel of each compartment in the living room includes: and inputting the sound information into a pre-trained environmental sound filtering neural network to obtain the sound information after eliminating the environmental sound. The influence of ambient sound on the sound information is reduced.
Further, the sound collection device is arranged at the corresponding home arranged in the compartment. The sound collection device is arranged in a house, so that occupied space can be saved, and concealment is improved.
The present invention also provides a computer-readable storage medium storing a computer program characterized in that: the computer program when executed by a processor implements the steps of the room sound detection alert method as described above.
The invention also provides a computer device characterized in that: comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, the processor implementing the steps of the room sound detection alert method as described above when the computer program is executed.
The invention also provides a room sound detection alarm device, which is characterized by comprising:
the sound collection module is used for collecting sound information, corresponding sound duration and sound decibels of each compartment in the living room;
the first execution module is used for marking the sound information as crying if the sound information is crying information; comparing the duration of the sound with a preset duration threshold, and if the duration of the sound is greater than or equal to the duration threshold, sending the sound information marked as crying to a user terminal which is pre-established with communication connection;
the second execution module is used for marking the sound information as the squeaking sound if the sound information is the squeaking sound; and comparing the sound decibel with a preset decibel threshold, and if the sound decibel is larger than or equal to the decibel threshold, sending the sound information marked as squeal to the user terminal.
Compared with the prior art, the room sound detection alarm device detects the sound information of each compartment in the room, marks the sound information and sends the sound information to the user terminal when long-time crying or excessive screaming is detected, and timely informs the user of the situation in the room, so that the user can conveniently process the sound information in time.
In order that the invention may be more clearly understood, specific embodiments thereof will be described below with reference to the accompanying drawings.
Drawings
Fig. 1 is a flowchart of steps S1-S3 of a room sound detection alarm method according to an embodiment of the present invention.
Fig. 2 is a flowchart of steps S4-S6 of the room sound detection alarm method according to an embodiment of the present invention.
Fig. 3 is a block diagram illustrating a home audio detection alarm device according to an embodiment of the present invention.
1. A sound collection module; 2. a first execution module; 3. and a second execution module.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the embodiments of the present application, are within the scope of the embodiments of the present application.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. In the description of this application, it should be understood that the terms "first," "second," "third," and the like are used merely to distinguish between similar objects and are not necessarily used to describe a particular order or sequence, nor should they be construed to indicate or imply relative importance. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art as the case may be. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The word "if"/"if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination".
Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Referring to fig. 1, a flowchart of steps S1-S3 of a room sound detection alarm method according to an embodiment of the present invention is shown, where the room sound detection alarm method includes:
s1: sound information, corresponding sound duration and sound decibels of each compartment in the living room are collected.
In the present invention, the words home, house, living room, etc. are all means the residence of the user, and the compartment means the unit space of living room, bathroom, kitchen, even balcony, etc. in the residence.
The sound information includes crying information, screaming, and the like.
S2: if the sound information is crying information, marking the sound information as crying; and comparing the duration of the sound with a preset duration threshold, and if the duration of the sound is greater than or equal to the duration threshold, sending the sound information marked as crying to the user terminal which is pre-established with communication connection.
The time duration threshold may be preset by the user, for example, may be set to 1 minute, 2 minutes, 3 minutes, 5 minutes, 8 minutes, and so on.
The sound duration is timed from when the sound information is identified as crying information.
The user terminal refers to electronic equipment capable of receiving and sending wired signals and wireless signals, such as mobile phones, tablet computers, notebook computers, desktop computers and the like.
S3: if the sound information is screaming sound, marking the sound information as screaming sound; and comparing the sound decibel with a preset decibel threshold, and if the sound decibel is larger than or equal to the decibel threshold, sending the sound information marked as squeal to the user terminal.
Compared with the prior art, the room sound detection alarm method detects the sound information of each compartment in the room, marks the sound information and sends the sound information to the user terminal when long-time crying or excessive screaming is detected, so that the user is informed of the situation in the room in time, and the method is convenient for the user to process in time. For example, when the user goes out and is not at home, the child of the user is left at home alone, if the child crys in the living room due to unexpected events such as falling, the voice information is judged to be cry information by collecting voice information of the living room, the voice information is marked as cry when the duration exceeds the duration threshold, and the cry information is sent to the user terminal, and at the moment, the user can learn and hear the voice information from the user terminal and then return to home as soon as possible or contact other families to return to home for processing.
Referring to fig. 2, in one possible embodiment, the method further includes:
s4: and according to the sound information, performing sound source positioning on the corresponding compartment to obtain a sound source position.
S5: and driving the camera in the compartment to rotate so that the lens of the camera faces the sound source position.
S6: and shooting a picture of the sound source position through the camera, and sending the picture to the user terminal.
A camera is a device for video input, and can transmit a photographed picture to other devices such as a display, a memory, a mobile phone, a tablet computer, etc., through a wire connection.
In this embodiment, by acquiring the sound source position, the camera is driven to capture a picture of the sound source position and send the picture to the user, and the user can more comprehensively and clearly know the situation in the living room by combining the picture. And when the sound source position is at the blind spot position of the current shot picture of the camera, the picture of the sound source position cannot be shot, and the camera can be driven to rotate, so that the camera can shoot the picture of the sound source position.
In a possible embodiment, each compartment is provided with at least 3 sound collection devices for collecting sound information, corresponding sound duration and sound decibels of each compartment in the living room;
the step S4: and performing sound source positioning on the corresponding compartment according to the sound information to obtain a sound source position, wherein the sound source positioning comprises the following steps:
s41: and acquiring the acquisition time of the sound information acquired by each sound acquisition device.
Wherein the time of each sound collection device is uniform, the collection time is accurate to the number of seconds, and is accurate to at least two digits after the decimal point, for example, 12 hours 05 minutes 32.08 seconds.
S42: and obtaining the time difference between the sound collection devices according to the time when different sound collection devices collect the same sound.
The time difference is accurate to a second and to at least two digits after a decimal point such as 0.05 seconds, 0.28 seconds, etc.
S43: and obtaining the sound source position according to the time difference, the sound propagation speed and a preset positioning rule.
The propagation of sound requires a medium, whereas the propagation speed of sound in different media is different, it is common that the propagation speed of sound in air (15 ℃) is 340m/s and the propagation speed in air (25 ℃) is 346m/s. Therefore, in this embodiment, the sound propagation speed is a variable value, and a specific value thereof is determined according to the real-time temperature of the living room, in order to further improve the accuracy of the acquired sound source position.
In this embodiment, the accurate sound source position is obtained by the time difference of the sound information acquired by the plurality of sound acquisition devices, the sound propagation speed and the preset positioning rule.
In a possible embodiment, the number of the sound collecting devices of each compartment is 3, including a first collecting device, a second collecting device and a third collecting device, and 3 sound collecting devices are distributed in a triangle in the corresponding compartment;
the step S43: obtaining the sound source position according to the time difference, the sound propagation speed and a preset positioning rule, wherein the method comprises the following steps:
s4301: and calculating the time difference acquired by the first acquisition equipment and the second acquisition equipment according to the time when the first acquisition equipment and the second acquisition equipment acquire the same sound, so as to obtain a first time difference.
The first time difference is accurate to a second number and accurate to at least two digits after a decimal point such as 0.05 seconds, 0.28 seconds, etc.
S4302: and establishing a first hyperbola taking the first acquisition equipment and the second acquisition equipment as focuses according to the first time difference and the sound propagation speed.
Since the definition of a hyperbola is a locus of points where the distance difference from two fixed points (called focal points) is constant, the locus (curve) where the sound source position is located, that is, the first hyperbola can be obtained according to the definition of the hyperbola.
S4303: and determining one curve in the first hyperbola as a first effective hyperbola according to the time of the first acquisition device and the second acquisition device for acquiring the same sound.
Since the common hyperbola has two symmetrical tracks, it can be determined which track (curve) of the first hyperbola the sound source position is located according to the time when the first and second collection devices collect the same sound, for example, the time when the first collection device collects the same sound is less than the second collection device, which indicates that the sound source position is located on one track (curve) close to the first collection device.
S4304: and calculating the time difference acquired by the second acquisition equipment and the third acquisition equipment according to the time when the second acquisition equipment and the third acquisition equipment acquire the same sound, so as to obtain a second time difference.
S4305: and establishing a second hyperbola taking the second acquisition equipment and the third acquisition equipment as focuses according to the second time difference and the sound propagation speed.
S4306: and determining one hyperbola in the second hyperbola as a second effective hyperbola according to the time of the second acquisition device and the third acquisition device for acquiring the same sound.
The principle of steps S4304-S4306 is the same as that of steps S4301-S4303, and thus will not be described again, but it should be noted that there is no requirement for the execution sequence between the former and the latter.
S4307: and determining the intersection position of the first effective hyperbola and the second effective hyperbola as the sound source position.
In this embodiment, since the first and second effective hyperbolas obtained in steps S4301-S4303 and steps S4304-S4306 are two different hyperbolas and the sound source position exists on the two different hyperbolas at the same time, the sound source position can be determined by the intersecting position of the first and second effective hyperbolas. Therefore, the mode that 3 sound collecting devices are arranged in a triangle is adopted, and the intersecting position of the hyperbola is obtained according to the characteristics of the hyperbola, so that the sound source position is determined.
In a possible embodiment, the number of the sound collecting devices of each compartment is 4, including a first collecting device, a second collecting device, a third collecting device and a fourth collecting device, and the 4 sound collecting devices are respectively arranged in four different horizontal directions of the compartment;
the step S43: obtaining the sound source position according to the time difference, the sound propagation speed and a preset positioning rule, wherein the method comprises the following steps:
s4311: establishing a coordinate system in the horizontal direction, wherein the coordinate system comprises a first coordinate axis and a second coordinate axis which are perpendicular to each other; the virtual straight line connecting the first acquisition device and the second acquisition device is parallel to the first coordinate axis, and the virtual straight line connecting the third acquisition device and the fourth acquisition device is parallel to the second coordinate axis.
Wherein the coordinate system is virtually established and does not refer to the act of physically characterizing the coordinate system within the compartment.
S4312: and calculating the time difference acquired by the first acquisition equipment and the second acquisition equipment according to the time when the first acquisition equipment and the second acquisition equipment acquire the same sound, so as to obtain a first time difference.
S4313: and obtaining a first coordinate value of the sound source position according to the coordinates of the first acquisition device and the second acquisition device in the coordinate system, the first time difference and the sound propagation speed.
S4314: and calculating the time difference acquired by the third acquisition equipment and the fourth acquisition equipment according to the time when the same sound is acquired by the third acquisition equipment and the fourth acquisition equipment, so as to obtain a second time difference.
S4315: and obtaining a second coordinate value of the sound source position according to the coordinates of the third acquisition device and the fourth acquisition device in the coordinate system, the second time difference and the sound propagation speed.
S4316: and determining the sound source position according to the first coordinate value and the second coordinate value.
In this embodiment, based on a virtual coordinate system, a first coordinate value and a second coordinate value corresponding to the coordinate system are obtained according to the time differences and the sound propagation speeds of the sound collected by the 4 sound collecting devices, so as to determine the sound source position.
In a possible embodiment, after the step of collecting the sound information, the corresponding sound duration and the sound decibel of each compartment in the living room, the step of collecting the sound information, the corresponding sound duration and the sound decibel includes: and inputting the sound information into a pre-trained environmental sound filtering neural network to obtain the sound information after eliminating the environmental sound. The influence of ambient sound on the sound information is reduced.
In a possible embodiment, the sound collection device is arranged in a home arranged in the corresponding compartment. Preferably, the home is an electricity home, and the sound collecting device is arranged in the home by providing a working power supply for the sound collecting device, so that occupied space can be saved, and concealment is improved.
The present invention also provides a computer-readable storage medium storing a computer program characterized in that: the computer program when executed by a processor implements the steps of the room sound detection alert method as described above.
The invention also provides a computer device characterized in that: comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, the processor implementing the steps of the room sound detection alert method as described above when the computer program is executed.
Referring to fig. 3, the present invention further provides a device for detecting and alarming room sounds, which is characterized by comprising:
the sound collection module 1 is used for collecting sound information, corresponding sound duration and sound decibels of each compartment in the living room;
a first execution module 2, configured to mark the sound information as crying if the sound information is crying information; comparing the duration of the sound with a preset duration threshold, and if the duration of the sound is greater than or equal to the duration threshold, sending the sound information marked as crying to a user terminal which is pre-established with communication connection;
a second execution module 3, configured to mark the sound information as a squeal if the sound information is a squeal; and comparing the sound decibel with a preset decibel threshold, and if the sound decibel is larger than or equal to the decibel threshold, sending the sound information marked as squeal to the user terminal.
The sound information includes crying information, screaming, and the like.
The time duration threshold may be preset by the user, for example, may be set to 1 minute, 2 minutes, 3 minutes, 5 minutes, 8 minutes, and so on.
The sound duration is timed from when the sound information is identified as crying information.
The user terminal refers to electronic equipment capable of receiving and sending wired signals and wireless signals, such as mobile phones, tablet computers, notebook computers, desktop computers and the like.
Compared with the prior art, the room sound detection alarm device detects the sound information of each compartment in the room, marks the sound information and sends the sound information to the user terminal when long-time crying or excessive screaming is detected, and timely informs the user of the situation in the room, so that the user can conveniently process the sound information in time.
The above-described apparatus embodiments are merely illustrative, wherein the components illustrated as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present application. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that 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 one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (10)

1. A method for detecting and alarming room sound, comprising:
collecting sound information, corresponding sound duration and sound decibels of each compartment in a living room;
if the sound information is crying information, marking the sound information as crying; comparing the duration of the sound with a preset duration threshold, and if the duration of the sound is greater than or equal to the duration threshold, sending the sound information marked as crying to a user terminal which is pre-established with communication connection;
if the sound information is screaming sound, marking the sound information as screaming sound; and comparing the sound decibel with a preset decibel threshold, and if the sound decibel is larger than or equal to the decibel threshold, sending the sound information marked as squeal to the user terminal.
2. The home sound detection alarm method according to claim 1, further comprising:
according to the sound information, sound source localization is carried out on the corresponding compartment, and a sound source position is obtained;
driving a camera in the compartment to rotate so that a lens of the camera faces the sound source position;
and shooting a picture of the sound source position through the camera, and sending the picture to the user terminal.
3. The method of claim 2, wherein each of the compartments is provided with at least 3 sound collection devices for collecting sound information, corresponding sound duration and sound decibels of each compartment in the living room;
the step of performing sound source localization in the corresponding compartment according to the sound information to obtain a sound source position includes:
acquiring the acquisition time of the sound information acquired by each sound acquisition device;
obtaining the time difference between the sound collection devices according to the time when different sound collection devices collect the same sound;
and obtaining the sound source position according to the time difference, the sound propagation speed and a preset positioning rule.
4. The home sound detection and alert method according to claim 3, wherein the number of the sound collecting devices of each compartment is 3, including a first collecting device, a second collecting device and a third collecting device, and 3 sound collecting devices are distributed in the corresponding compartment in a triangle shape;
the step of obtaining the sound source position according to the time difference, the sound propagation speed and the preset positioning rule comprises the following steps:
calculating the time difference acquired by the first acquisition equipment and the second acquisition equipment according to the time when the same sound is acquired by the first acquisition equipment and the second acquisition equipment, so as to obtain a first time difference;
establishing a first hyperbola taking the first acquisition equipment and the second acquisition equipment as focuses according to the first time difference and the sound propagation speed;
determining one curve in the first hyperbola as a first effective hyperbola according to the time of the first acquisition device and the second acquisition device for acquiring the same sound;
calculating the time difference acquired by the second acquisition equipment and the third acquisition equipment according to the time when the same sound is acquired by the second acquisition equipment and the third acquisition equipment, so as to obtain a second time difference;
establishing a second hyperbola taking the second acquisition equipment and the third acquisition equipment as focuses according to the second time difference and the sound propagation speed;
determining one hyperbola in the second hyperbola as a second effective hyperbola according to the time of the second acquisition device and the third acquisition device for acquiring the same sound;
and determining the intersection position of the first effective hyperbola and the second effective hyperbola as the sound source position.
5. The home sound detection and alarm method according to claim 3, wherein the number of the sound collecting devices of each compartment is 4, including a first collecting device, a second collecting device, a third collecting device and a fourth collecting device, and the 4 sound collecting devices are respectively arranged in four different horizontal directions of the compartment;
the step of obtaining the sound source position according to the time difference, the sound propagation speed and the preset positioning rule comprises the following steps:
establishing a coordinate system in the horizontal direction, wherein the coordinate system comprises a first coordinate axis and a second coordinate axis which are perpendicular to each other; wherein a virtual straight line connecting the first acquisition device and the second acquisition device is parallel to the first coordinate axis, and a virtual straight line connecting the third acquisition device and the fourth acquisition device is parallel to the second coordinate axis;
calculating the time difference acquired by the first acquisition equipment and the second acquisition equipment according to the time when the same sound is acquired by the first acquisition equipment and the second acquisition equipment, so as to obtain a first time difference;
obtaining a first coordinate value of the sound source position according to the coordinates of the first acquisition device and the second acquisition device in the coordinate system, the first time difference and the sound propagation speed;
calculating the time difference acquired by the third acquisition equipment and the fourth acquisition equipment according to the time when the same sound is acquired by the third acquisition equipment and the fourth acquisition equipment, so as to obtain a second time difference;
obtaining a second coordinate value of the sound source position according to the coordinates of the third acquisition device and the fourth acquisition device in the coordinate system, the second time difference and the sound propagation speed;
and determining the sound source position according to the first coordinate value and the second coordinate value.
6. The home sound detection and alarm method according to claim 1, wherein after the step of collecting sound information, corresponding sound duration and sound decibels of each compartment in the home, the method comprises: and inputting the sound information into a pre-trained environmental sound filtering neural network to obtain the sound information after eliminating the environmental sound.
7. The home sound detection and alarm method according to claim 3, wherein the sound collection device is disposed in a home disposed in the compartment.
8. A home sound detection alarm device, comprising:
the sound collection module is used for collecting sound information, corresponding sound duration and sound decibels of each compartment in the living room;
the first execution module is used for marking the sound information as crying if the sound information is crying information; comparing the duration of the sound with a preset duration threshold, and if the duration of the sound is greater than or equal to the duration threshold, sending the sound information marked as crying to a user terminal which is pre-established with communication connection;
the second execution module is used for marking the sound information as the squeaking sound if the sound information is the squeaking sound; and comparing the sound decibel with a preset decibel threshold, and if the sound decibel is larger than or equal to the decibel threshold, sending the sound information marked as squeal to the user terminal.
9. A computer-readable storage medium storing a computer program, characterized in that: the computer program when executed by a processor implements the steps of the room sound detection alert method as claimed in any one of claims 1 to 7.
10. A computer device, characterized by: comprising a memory, a processor and a computer program stored in the memory and executable by the processor, the processor implementing the steps of the room sound detection warning method according to any one of claims 1 to 7 when the computer program is executed.
CN202111440770.4A 2021-11-30 2021-11-30 Room sound detection alarm method, device, storage medium and computer equipment Pending CN116206420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111440770.4A CN116206420A (en) 2021-11-30 2021-11-30 Room sound detection alarm method, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111440770.4A CN116206420A (en) 2021-11-30 2021-11-30 Room sound detection alarm method, device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN116206420A true CN116206420A (en) 2023-06-02

Family

ID=86506346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111440770.4A Pending CN116206420A (en) 2021-11-30 2021-11-30 Room sound detection alarm method, device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN116206420A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103680057A (en) * 2013-12-06 2014-03-26 闻泰通讯股份有限公司 Method and system for using electronic device to monitor cry of baby
US20150356849A1 (en) * 2013-02-26 2015-12-10 Hitachi Ltd. Monitoring System
CN106772244A (en) * 2016-11-25 2017-05-31 北京明泰朗繁精密设备有限公司 Sound source positioning system and method
CN110460809A (en) * 2019-07-05 2019-11-15 苏宁智能终端有限公司 A kind of vagitus method for detecting, device and intelligent camera head apparatus
CN110830771A (en) * 2019-11-11 2020-02-21 广州国音智能科技有限公司 Intelligent monitoring method, device, equipment and computer readable storage medium
CN112991673A (en) * 2019-12-13 2021-06-18 宇龙计算机通信科技(深圳)有限公司 Household abnormity monitoring method and device, storage medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150356849A1 (en) * 2013-02-26 2015-12-10 Hitachi Ltd. Monitoring System
CN103680057A (en) * 2013-12-06 2014-03-26 闻泰通讯股份有限公司 Method and system for using electronic device to monitor cry of baby
CN106772244A (en) * 2016-11-25 2017-05-31 北京明泰朗繁精密设备有限公司 Sound source positioning system and method
CN110460809A (en) * 2019-07-05 2019-11-15 苏宁智能终端有限公司 A kind of vagitus method for detecting, device and intelligent camera head apparatus
CN110830771A (en) * 2019-11-11 2020-02-21 广州国音智能科技有限公司 Intelligent monitoring method, device, equipment and computer readable storage medium
CN112991673A (en) * 2019-12-13 2021-06-18 宇龙计算机通信科技(深圳)有限公司 Household abnormity monitoring method and device, storage medium and electronic equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
中国地质学会数学地质专业委员会: "《中国数学地质》", 31 December 1994, 地质出版社, pages: 170 *
沈玉娣: "《现代无损检测技术》", 31 December 2012, 西安交通大学出版社, pages: 222 - 227 *
韩毅;吴初娜;李龙飞;: "基于到达时差的声音定位系统的研究与实现", 计算机工程与设计, no. 11, 16 June 2010 (2010-06-16), pages 1 *

Similar Documents

Publication Publication Date Title
US9363361B2 (en) Conduct and context relationships in mobile devices
US9451496B2 (en) Method and apparatus of positioning mobile terminal based on geomagnetism
CN110659397B (en) Behavior detection method and device, electronic equipment and storage medium
US9538156B2 (en) System and method for providing 3D sound
US6230121B1 (en) Measurement and validation of interaction and communication
US11924618B2 (en) Auralization for multi-microphone devices
CN110232749A (en) Card method, apparatus and electronic equipment are deposited in inspection based on block chain
CN103116840A (en) Humanoid robot based intelligent reminding method and device
CN105824735B (en) Drop processing method of mobile terminal and mobile terminal
US20160203660A1 (en) System and method for estimating speed of a vehicle
CN112492207B (en) Method and device for controlling camera to rotate based on sound source positioning
CN110969045A (en) Behavior detection method and device, electronic equipment and storage medium
WO2021143489A1 (en) Evidence collection environment verification method and apparatus, and electronic device
CN107182011A (en) Audio frequency playing method and system, mobile terminal, WiFi earphones
CN116206420A (en) Room sound detection alarm method, device, storage medium and computer equipment
US20150229752A1 (en) Mobile security application
JP2020038628A (en) Method, device and appliance for obstacle presentation of intelligent roadside unit
CN113662514B (en) Method and equipment for early warning and prompting of physical state of user
CN113945265B (en) Method, device and system for detecting audio isolation of multiple sound areas
WO2018102977A1 (en) Early warning method and system for internet of things device
CN111343576B (en) Indoor positioning method and equipment
US10726270B2 (en) Selecting media from mass social monitoring devices
CN115184867A (en) Sound source positioning method and device, storage medium and terminal equipment
CN117577138A (en) Audio data generation method and device, storage medium and electronic equipment
CN106611467B (en) Method, device and system for realizing alarm

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