Infant sound monitoring method and system, related equipment and storage medium
By using sound classification algorithms to process infant sound data in infant sound monitoring equipment, combined with sound playback and light effect reminders, the problem of existing equipment being unable to distinguish the intention of infant sounds is solved, improving the accuracy and effectiveness of monitoring.
Patent Information
- Application Number
- CN202410747472.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-10
AI Technical Summary
Existing baby sound monitoring equipment can only provide a single reminder method, and cannot determine the different intentions of the baby's voice through differences in reminder methods, making it difficult to meet the needs of users.
By collecting sound data in real time on the baby device, using the preset sound classification algorithm for processing, the classification results of the sound data are obtained, and the target reminder strategy is matched from the strategy library according to the classification results, and transmitted to the monitoring device for execution. The reminder methods include A combination of sound playback and light effect reminders.
It realizes the different intentions of distinguishing the baby's voice through different reminder strategies, making it easier for the guardian to understand the baby's needs and provide better monitoring.
Smart Images

Figure CN118614874A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of infant monitoring, and in particular to an infant sound monitoring method, system, related equipment and storage medium. Background Art
[0002] The background of infant sound monitoring can be traced back to the concern for infant health and safety. For example, infant crying is one of the most important ways for infants to express their needs, discomfort or dissatisfaction. Parents and caregivers need to detect and understand infant crying in time so that they can meet their needs and provide appropriate care.
[0003] The background of baby sound monitoring stems from the responsibility that parents and caregivers feel for the health and safety of their babies. Babies are vulnerable individuals who cannot express their needs, pain or discomfort through words. Therefore, parents and caregivers need an effective way to sense and understand the baby's cry so that they can take timely action.
[0004] Traditionally, parents rely on their hearing to detect and respond to their baby's voices. However, this method has some limitations, such as parents may not be able to hear their baby's voices immediately, especially when they are in another room or sleeping at night. In addition, some parents may face hearing impairment or other health problems that make it more difficult for them to rely on hearing to detect their baby's voices.
[0005] To solve these problems, baby monitors and baby sound monitoring devices have emerged. These devices can detect the baby's voice through sound sensors and transmit signals to parents or caregivers. When the baby makes a sound, the device will sound an alarm or vibrate to remind parents or caregivers that the baby needs attention and care.
[0006] With baby sound monitoring devices, parents and caregivers can more easily perceive the needs of their babies, especially when they are not with their babies. This monitoring device can help parents respond to their babies' needs in a timely manner, such as hunger, discomfort or other problems, and take appropriate actions to comfort and care for them.
[0007] In summary, the context of infant sound monitoring stems from concerns about infant health and safety. The emergence of monitoring devices enables parents and caregivers to better perceive and understand infant sounds and provide timely care and attention to ensure that infants' needs are met. This monitoring context reflects the importance attached to infant health and well-being, as well as society's efforts to help parents and caregivers fulfill their monitoring responsibilities.
[0008] Existing baby sound monitoring devices and methods can only achieve a simple function of reminding the guardian, and the reminder method is single. It is impossible to judge the intention of the baby to make sounds through the difference in the reminder method, so it is difficult to meet the needs of users.
[0009] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0010] The present invention provides a method, system, related equipment and storage medium for monitoring infant sound. The main purpose of the present invention is to solve the technical problems mentioned in the background technology of the prior art.
[0011] A first aspect of the present invention provides a method for monitoring infant sound, comprising:
[0012] Establishing a communication connection between the baby-end device and the monitoring-end device;
[0013] Collecting baby sound data in real time through the baby terminal device;
[0014] Processing the baby sound data using a sound classification algorithm preset in the baby-end device to obtain a classification result of the baby sound data;
[0015] Based on the classification result, a target reminder strategy is obtained by matching from a strategy library preset in the baby terminal device, wherein the target reminder strategy carries the baby sound data;
[0016] The target reminder strategy is transmitted to the monitoring end device and executed, and the target reminder strategy includes at least one of a sound playback reminder and a light effect reminder.
[0017] In an optional implementation of the first aspect of the present invention, the processing of the baby sound data using a sound classification algorithm preset in the baby terminal device to obtain a classification result of the baby sound data includes:
[0018] Performing voice activation detection on the infant sound data based on audio energy and audio zero crossing rate;
[0019] Determining whether the infant voice data meets a preset voice activation condition;
[0020] When the baby voice data meets the preset voice activation condition, the baby voice data is classified based on the fundamental frequency and the audio formant to obtain the classification result of the baby voice data.
[0021] In an optional implementation of the first aspect of the present invention, the performing voice activation detection on the infant sound data based on audio energy and audio zero-crossing rate includes:
[0022] Extracting voiced sound segments from the infant sound data;
[0023] Acquire the energy of each frame of audio data in the voiced sound segment and obtain an average audio energy value;
[0024] Obtaining the number of positive and negative changes in the signal amplitude of each frame of audio data in the baby sound data and obtaining an average audio zero-crossing rate;
[0025] The average audio energy value and the average audio zero-crossing rate are compared with a preset energy threshold value and a preset zero-crossing rate threshold value respectively.
[0026] In an optional implementation of the first aspect of the present invention, when the baby sound data meets a preset voice activation condition, classifying the baby sound data based on fundamental frequency and audio formant to obtain the classification result of the baby sound data includes:
[0027] Acquire the fundamental pitch period of the infant sound data;
[0028] Calculate the fundamental frequency of the baby sound data based on the fundamental period;
[0029] Obtaining a transfer function of the infant sound data using a root-finding method and an LPC speech production model;
[0030] Performing a pole-finding operation on the transfer function to obtain an audio formant of the baby sound data;
[0031] A classification result of the baby sound data is obtained based on the fundamental frequency and the audio formant, and the classification result includes pleasure, hunger, illness and excretion.
[0032] In an optional implementation of the first aspect of the present invention, the transmitting the target reminder strategy to the monitoring terminal device and executing it includes:
[0033] Transmitting the target reminder strategy to the monitoring terminal device so that the monitoring terminal device enters a monitoring mode, in which the monitoring terminal device disables other device functions except mode switching;
[0034] Parsing the target reminder strategy in the monitoring terminal device to obtain the reminder method of the target reminder strategy and the baby sound data;
[0035] If the reminder method includes a sound playing reminder, all sounds currently played by the monitoring terminal device are turned off to wait for the baby sound data to be played;
[0036] If the reminder method includes a light effect reminder, the corresponding light effect is loaded and displayed based on the classification result of the baby sound data.
[0037] In an optional implementation of the first aspect of the present invention, if the reminder mode includes a light effect reminder, loading and displaying a corresponding light effect based on the classification result of the baby sound data includes:
[0038] Obtaining a color change mode of the lighting effect based on the classification result of the baby sound data;
[0039] Determining a flashing frequency of the light effect based on a total audio energy value of the baby sound data;
[0040] The monitoring terminal device is controlled to display according to the color change mode and the flashing frequency of the lighting effect.
[0041] In an optional implementation of the first aspect of the present invention, the real-time collection of baby sound data by the baby terminal device includes:
[0042] Performing real-time AD sampling of the baby's voice through the baby-end device to obtain a baby's voice analog signal;
[0043] quantizing the baby sound simulation signal AD to a preset accuracy;
[0044] Performing PCM encoding on the precision-quantized analog baby sound signal to obtain preliminary baby sound data in the form of a digital signal;
[0045] The preliminary baby sound data is subjected to environmental noise reduction and frequency shift howling suppression processing to obtain baby sound data.
[0046] A second aspect of the present invention provides an infant sound monitoring system, the infant sound monitoring system comprising an infant terminal device and a monitoring terminal device, wherein a communication connection is established between the infant terminal device and the monitoring terminal device;
[0047] The baby-end device is used to collect baby sound data in real time, process the baby sound data using a preset sound classification algorithm to obtain a classification result of the baby sound data, match a target reminder strategy from a preset strategy library based on the classification result, and the target reminder strategy carries the baby sound data; and transmit the target reminder strategy to the monitoring-end device;
[0048] The monitoring terminal device is used to execute the target reminder strategy, and the target reminder strategy includes at least one of a sound playback reminder and a light effect reminder.
[0049] A third aspect of the present invention provides a baby terminal device, the baby terminal device comprising: a memory and at least one processor, the memory storing instructions, the memory and the at least one processor being interconnected via a line;
[0050] The at least one processor calls the instructions in the memory so that the baby-end device executes the baby sound monitoring method as described in any one of the first aspects of the present invention.
[0051] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for monitoring infant sounds as described in any one of the above-mentioned first aspects of the present invention is implemented.
[0052] Beneficial effects: The present invention provides a method, system, related equipment and storage medium for monitoring infant sounds, the method comprising establishing a communication connection between an infant-end device and a monitoring-end device; collecting infant sound data in real time through the infant-end device; processing the infant sound data using a sound classification algorithm preset in the infant-end device to obtain a classification result of the infant sound data; matching a target reminder strategy from a strategy library preset in the infant-end device based on the classification result, wherein the target reminder strategy carries the infant sound data; transmitting the target reminder strategy to the monitoring-end device and executing it, wherein the target reminder strategy includes at least one of a sound playback reminder and a light effect reminder. The infant sound monitoring method of the present invention can distinguish different intentions of infant sounds through different reminder strategies, thereby facilitating guardians to understand infant needs and conduct better monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 A schematic diagram of an embodiment of a method for monitoring infant sound according to the present invention;
[0054] Figure 2 A schematic diagram of an embodiment of an infant sound monitoring system of the present invention;
[0055] Figure 3 A schematic diagram of an embodiment of a baby terminal device or a monitoring terminal device of the present invention;
[0056] Figure 4 This is a schematic diagram of a specific structure of an exemplary baby terminal device of the present invention;
[0057] Figure 5 The figure is a schematic diagram of the specific structure of an exemplary monitoring terminal device of the present invention. DETAILED DESCRIPTION
[0058] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0059] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 The first aspect of the present invention provides a method for monitoring infant sound, comprising:
[0060] S100, establishing a communication connection between the baby-end device and the monitoring-end device; in the present invention, the communication connection method between the baby-end device and the monitoring-end device includes but is not limited to directly establishing a wired or wireless connection between the baby-end device and the monitoring-end device, or establishing a wired or wireless connection between the baby-end device and the monitoring-end device through a third-party device (such as a router).
[0061] S200. Real-time collection of baby sound data through the baby-end device; in the present invention, the baby-end device mainly acts as a sound collection device, and the monitoring-end device mainly acts as a monitoring reminder device. It should be noted that, in the present invention, the hardware and software structures of the baby-end device and the monitoring-end device can be the same, and the difference lies in the different roles assigned to the devices after logging into the account. In an optional implementation of the present invention, for example, the baby-end device and the monitoring-end device can both be implemented by a smart speaker through the installation of the supporting software of the method of the present invention.
[0062] In an optional implementation of step S200 of the present invention, the real-time collection of baby sound data through the baby terminal device includes: real-time AD sampling of baby sound through the baby terminal device to obtain baby sound analog signal, exemplarily, in this step, the baby sound analog signal is sampled using a sampling frequency of 22K; AD quantization of the baby sound analog signal to a preset precision, exemplarily, for example, the baby sound analog signal is AD quantized to 16 bits; PCM encoding of the baby sound analog signal after precision quantization to obtain preliminary baby sound data in the form of digital signal, in this step, the baby sound analog signal is converted into a baby sound digital signal in the range of -32768 to +32767; environmental noise reduction and frequency shift howling suppression processing are performed on the preliminary baby sound data to obtain baby sound data, in this step, environmental noise reduction is to use a frequency domain noise reduction algorithm to reduce the low-frequency noise in the preliminary baby sound data, and frequency shift howling suppression is to destroy the conditions for howling by reducing the frequency components of the input audio signal. In this way, when the output signal enters the system again, it will not be superimposed with the original signal to achieve the purpose of suppressing howling.
[0063] The steps for the baby-side device to perform sound collection can be as follows: turn on the microphone driver, set the sampling channel of the microphone, set the sampling rate of the microphone to 22K, set the sampling gain of the microphone, set the cache size of the microphone sampling, when the sampling length reaches the set value, process the data once, and set the function interface for processing the data. When the sampled data reaches a certain length, this interface will be called for processing, the cache reading of the microphone data will be set, and the sampling of the microphone data will start. The audio processing mode setting process of the baby-side device is as follows: setting of noise reduction parameters, start time, release time, threshold, gain below threshold, sampling rate, synchronization with microphone sampling rate and channel; howling suppression initialization, frequency shift, notch suppression howling, threshold, start release time, Q value, gain, sampling rate, synchronization with microphone sampling rate and channel.
[0064] S300, using the sound classification algorithm preset in the baby terminal device to process the baby sound data to obtain the classification result of the baby sound data; in an optional implementation of step S300 of the present invention, using the sound classification algorithm preset in the baby terminal device to process the baby sound data to obtain the classification result of the baby sound data includes:
[0065] Based on audio energy and audio zero-crossing rate, voice activation detection is performed on the infant sound data; whether the infant sound data meets the preset voice activation conditions is determined; in the present invention, not all infant sound data collected by the infant-end device will be processed and transmitted to the monitoring-end device to trigger a reminder of the monitoring-end device. The present invention will only perform sound classification and matching of reminder strategies when the infant sound data meets the preset voice activation conditions.
[0066] In this step, a method of performing voice activation detection on the infant sound data based on audio energy and audio zero-crossing rate can be as follows: for example, extracting a voiced sound segment from the infant sound data; obtaining the energy of each frame of audio data in the voiced sound segment and obtaining the average audio energy value; obtaining the number of positive and negative changes in the signal amplitude of each frame of audio data in the infant sound data and obtaining the average audio zero-crossing rate; comparing the average audio energy value and the average audio zero-crossing rate with the preset energy threshold value and the zero-crossing rate threshold value respectively, and when the average audio energy value is greater than the energy threshold value and the average audio zero-crossing rate is greater than the zero-crossing rate threshold value, it is determined that the infant sound data meets the preset voice activation condition. Through the above processing method, it can be preliminarily determined whether the sound emitted by the infant carries valid demand information.
[0067] When the baby sound data meets the preset voice activation condition, the baby sound data is classified based on the fundamental frequency and the audio formant to obtain the classification result of the baby sound data. In the present invention, the sound classification step is performed only when the baby sound data carries valid demand information. In an optional embodiment of the present invention, when the baby sound data meets the preset voice activation condition, the baby sound data is classified based on the fundamental frequency and the audio formant to obtain the classification result of the baby sound data may include:
[0068] Obtain the pitch period of the baby sound data; calculate the pitch frequency of the baby sound data based on the pitch period, in this step, the pitch frequency is obtained by calculating the inverse of the pitch period; use the root method and the LPC speech production model to obtain the transfer function of the baby sound data, the transfer function is the Z transform of the speech signal divided by the Z transform of the glottal excitation signal; perform a pole operation on the transfer function to obtain the audio formant of the baby sound data; obtain the classification result of the baby sound data based on the pitch frequency and the audio formant, and the classification result includes pleasure, hunger, illness and excretion. In the present invention, when determining the classification result, the first interval where the pitch frequency is located is first determined, and the first classification result set of the baby sound data is first obtained based on the first interval, and then the second interval of the audio formant is determined. Based on the second interval of the audio formant, the accurate classification result of the baby sound data is obtained from the first classification result set. In the present invention, the first classification result set determined based on the pitch frequency is the classification result obtained based on the baby's pronunciation habits, and the accurate classification result obtained based on the audio formant screening is the classification result further obtained based on the baby's pronunciation characteristics.
[0069] S400, based on the classification result, a target reminder strategy is matched from the strategy library preset in the baby-end device, wherein the target reminder strategy carries the baby sound data; in an exemplary target reminder strategy of the present invention, for example, the baby-end device is played in real time on the monitoring-end device, and this reminder method is suitable for the case where the sound lasts for a long time and the volume of the sound always exceeds a certain value, such as the baby is sick and uncomfortable, which is a relatively important monitoring scenario that will seriously affect the health of the baby. In the present invention, the classification of different baby sounds is divided into the degree of urgency. For those with a more urgent degree of urgency, sound playback is used for reminders first. For those with a moderate degree of urgency, the sound playback can be stopped after a period of time, but the light effect can be used for reminders for a long time. For situations with a lower degree of urgency, reminders can be made only by light effects. In the present invention, the strategy library can be manually edited and set for dynamic adjustment.
[0070] S500, transmitting the target reminder strategy to the monitoring terminal device and executing it, wherein the target reminder strategy includes at least one of a sound playback reminder and a light effect reminder. One of the inventive points of the technical solution of the present invention is to optimize the user's monitoring experience by different reminder methods. At the same time, the guardian can know the specific situation of the baby based on the different reminder methods, so as to prepare some treatment measures.
[0071] In an optional implementation of step S500 of the present invention, the transmitting the target reminder strategy to the monitoring terminal device and executing it includes:
[0072] The target reminder strategy is transmitted to the monitoring end device so that the monitoring end device enters the monitoring mode. In the monitoring mode, the monitoring end device disables other device functions except mode switching. In the invention, in the monitoring mode, the monitoring end device will limit the functions of the remote control, for example, to avoid misoperation, for example, disabling the magic color key, RGB adjustment, cold / warm white adjustment and brightness addition and subtraction button functions. In addition, considering the interaction with local white noise and Bluetooth audio, when Bluetooth music or built-in music is playing, if there is a monitoring sound, the local white noise will be lowered and stopped, and the monitoring sound will be played. Similarly, when the monitoring end device is playing Bluetooth audio, the monitoring end device needs to pause the Bluetooth audio and play the monitoring sound. The present invention can ensure that the user focuses on the monitoring function in the monitoring mode through the above measures without accidentally changing the lighting settings. When the user learns about the baby's status and performs a mode switching operation in the monitoring end device, the monitoring end device can restore the lighting effect (such as playing music) when the entertainment function was previously set, and restore all the button functions of the remote control. The above measures of the present invention can ensure that problems with the baby can be dealt with in a timely manner.
[0073] The target reminder strategy is parsed in the monitoring end device to obtain the reminder method of the target reminder strategy and the baby sound data; if the reminder method includes a sound playing reminder, all sounds currently played by the monitoring end device are turned off to wait for the baby sound data to be played; if the reminder method includes a light effect reminder, the corresponding light effect is loaded and displayed based on the classification result of the baby sound data. In the present invention, the baby sound data needs to be decoded when it is played, and the steps of decoding the baby sound data include PCM decoding, inverse quantization, reconstruction interpolation and DAC. PCM decoding is to convert the binary code of PCM into discrete quantization values; inverse quantization is to convert discrete quantization values into continuous discrete signals; reconstruction interpolation is to restore discrete signals to continuous signals through reconstruction filter interpolation; DAC is to convert continuous signals into analog audio signals through digital-to-analog converters.
[0074] In an optional implementation of the first aspect of the present invention, if the reminder method includes a lighting effect reminder, then loading and displaying the corresponding lighting effect based on the classification result of the infant sound data includes: obtaining the color change mode of the lighting effect based on the classification result of the infant sound data; determining the flashing frequency of the lighting effect based on the total audio energy value of the infant sound data; and controlling the monitoring terminal device to display according to the color change mode and the flashing frequency of the lighting effect. In the present invention, the flashing of the lighting effect can also be linked to the volume of the sound. A specific lighting effect scene, for example, can be a cyclic flashing of the three lighting effects of R, G, and B, and adjusting the flashing speed according to the volume of the sound.
[0075] In general, the innovative baby sound monitoring technology solution of the present invention can, on the one hand, optimize the sound pickup, transmission and processing process, improve the sound quality and reduce noise interference. On the other hand, it can also timely remind users to pay attention to important sound information through lighting effects and sound feedback mechanisms. In addition, the present invention also considers compatibility with other audio devices to ensure the timeliness and importance of monitoring sounds. In short, the purpose of the present invention is to provide a powerful, convenient and reliable monitoring technology solution to meet users' needs for real-time monitoring and reminders.
[0076] See also Figure 2 , a second aspect of the present invention provides a baby sound monitoring system, the baby sound monitoring system comprises a baby terminal device 10 and a monitoring terminal device 20, a communication connection is established between the baby terminal device and the monitoring terminal device;
[0077] The baby-end device is used to collect baby sound data in real time, process the baby sound data using a preset sound classification algorithm to obtain a classification result of the baby sound data, match a target reminder strategy from a preset strategy library based on the classification result, and the target reminder strategy carries the baby sound data; and transmit the target reminder strategy to the monitoring-end device;
[0078] The monitoring terminal device is used to execute the target reminder strategy, and the target reminder strategy includes at least one of a sound playback reminder and a light effect reminder.
[0079] In an optional implementation of the second aspect of the present invention, the using a preset sound classification algorithm to process the infant sound data to obtain a classification result of the infant sound data comprises:
[0080] Performing voice activation detection on the infant sound data based on audio energy and audio zero crossing rate;
[0081] Determining whether the infant voice data meets a preset voice activation condition;
[0082] When the baby voice data meets the preset voice activation condition, the baby voice data is classified based on the fundamental frequency and the audio formant to obtain the classification result of the baby voice data.
[0083] In an optional implementation of the second aspect of the present invention, the performing voice activation detection on the infant sound data based on audio energy and audio zero-crossing rate includes:
[0084] Extracting voiced sound segments from the infant sound data;
[0085] Acquire the energy of each frame of audio data in the voiced sound segment and obtain an average audio energy value;
[0086] Obtaining the number of positive and negative changes in the signal amplitude of each frame of audio data in the baby sound data and obtaining an average audio zero-crossing rate;
[0087] The average audio energy value and the average audio zero-crossing rate are compared with a preset energy threshold value and a preset zero-crossing rate threshold value respectively.
[0088] In an optional implementation of the second aspect of the present invention, when the baby sound data meets a preset voice activation condition, classifying the baby sound data based on fundamental frequency and audio formant, and obtaining the classification result of the baby sound data includes:
[0089] Acquire the fundamental pitch period of the infant sound data;
[0090] Calculate the fundamental frequency of the baby sound data based on the fundamental period;
[0091] Obtaining a transfer function of the infant sound data using a root-finding method and an LPC speech production model;
[0092] Performing a pole-finding operation on the transfer function to obtain an audio formant of the baby sound data;
[0093] A classification result of the baby sound data is obtained based on the fundamental frequency and the audio formant, and the classification result includes pleasure, hunger, illness and excretion.
[0094] In an optional implementation of the second aspect of the present invention, the step of transmitting the target reminder strategy to the monitoring terminal device includes:
[0095] The target reminder strategy is transmitted to the monitoring terminal device to make the monitoring terminal device enter the monitoring mode. In the monitoring mode, the monitoring terminal device disables other device functions except mode switching.
[0096] In an optional implementation of the second aspect of the present invention, the monitoring terminal device is used to execute the target reminder strategy including:
[0097] Parsing the target reminder strategy in the monitoring terminal device to obtain the reminder method of the target reminder strategy and the baby sound data;
[0098] If the reminder method includes a sound playing reminder, all sounds currently played by the monitoring terminal device are turned off to wait for the baby sound data to be played;
[0099] If the reminder method includes a light effect reminder, the corresponding light effect is loaded and displayed based on the classification result of the baby sound data.
[0100] In an optional implementation of the second aspect of the present invention, if the reminder mode includes a light effect reminder, loading and displaying a corresponding light effect based on the classification result of the baby sound data includes:
[0101] Obtaining a color change mode of the lighting effect based on the classification result of the baby sound data;
[0102] Determining a flashing frequency of the light effect based on a total audio energy value of the baby sound data;
[0103] The monitoring terminal device is controlled to display according to the color change mode and the flashing frequency of the lighting effect.
[0104] In an optional implementation of the second aspect of the present invention, the baby terminal device is used to collect baby sound data in real time, including:
[0105] Performing real-time AD sampling of the baby's voice through the baby-end device to obtain a baby's voice analog signal;
[0106] quantizing the baby sound simulation signal AD to a preset accuracy;
[0107] Performing PCM encoding on the precision-quantized analog baby sound signal to obtain preliminary baby sound data in the form of a digital signal;
[0108] The preliminary baby sound data is subjected to environmental noise reduction and frequency shift howling suppression processing to obtain baby sound data.
[0109] In summary, the baby sound monitoring system of the present invention realizes real-time monitoring and reminder of the sound conditions in the monitoring place through sound pickup, transmission, processing and feedback mechanism. The scheme has the following features and beneficial effects:
[0110] 1. Improve safety and convenience: Users can monitor the sound conditions in the baby's room or other places that require supervision at any time, which improves safety and convenience.
[0111] 2. Optimize sound quality: The sound processing algorithm can reduce noise, filter and amplify the sound, improve the sound quality and reduce the interference of noise on the monitoring effect.
[0112] 3. Timely feedback mechanism: The monitoring sound is played through the speaker and the light effect is triggered to flash to remind users to pay attention to important sound information.
[0113] 4. Operation restriction and status recovery: In monitoring mode, the remote control's lighting adjustment function is limited to avoid misoperation. When the monitoring sound is not received, the host will automatically restore the lighting effect previously set and all the button function operations of the remote control to provide a convenient user experience.
[0114] 5. The wake-up function increases convenience: The monitoring device has a wake-up function, which automatically wakes up according to the conditions set by the user, providing a more convenient user experience.
[0115] 6. Compatibility of monitoring mode with other audio modes: When the monitoring mode interacts with local white noise and Bluetooth audio, it can automatically switch to pause audio playback and execute and play the incoming monitoring sound to ensure the timeliness and importance of the monitoring sound.
[0116] Figure 3 It is a structural schematic diagram of a baby-end device or a monitoring-end device provided by an embodiment of the present invention. The baby-end device or the monitoring-end device may have relatively large differences due to different configurations or performances, and may include one or more processors 30 (central processing units, CPU) (for example, one or more processors) and a memory 40, and one or more storage media 50 (for example, one or more mass storage devices) for storing applications or data. Among them, the memory and the storage medium can be temporary storage or permanent storage. The program stored in the storage medium may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the baby-end device or the monitoring-end device. Furthermore, the processor can be configured to communicate with the storage medium and execute a series of instruction operations in the storage medium on the baby-end device or the monitoring-end device.
[0117] The baby-end device or monitoring-end device of the present invention may also include one or more power supplies 60, one or more wired or wireless network interfaces 70, one or more input and output interfaces 80, and / or one or more operating systems, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 3The structure of the baby-end device or monitoring-end device shown does not constitute a limitation on the baby-end device or monitoring-end device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently. For the arrangement of other components, see Figure 4 For example, the baby-side device may also have a Bluetooth chip, a microphone, a colorful light bar, a Bluetooth antenna, and an analog-to-digital converter, etc.; see Figure 5 For example, the monitoring end device may also include a Bluetooth chip, a Bluetooth antenna, an LED light + display screen, an amplifier chip, a speaker, an analog-to-digital converter and a colorful light bar.
[0118] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the steps of the infant sound monitoring method.
[0119] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system or system or unit described above can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.
[0120] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0121] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for monitoring infant sound, characterized in that: include: Establishing a communication connection between the baby-end device and the monitoring-end device; Collecting baby sound data in real time through the baby terminal device; Processing the baby sound data using a sound classification algorithm preset in the baby-end device to obtain a classification result of the baby sound data; Based on the classification result, a target reminder strategy is obtained by matching from a strategy library preset in the baby terminal device, wherein the target reminder strategy carries the baby sound data; The target reminder strategy is transmitted to the monitoring end device and executed, and the target reminder strategy includes at least one of a sound playback reminder and a light effect reminder.
2. The method for monitoring infant sound according to claim 1, characterized in that: The processing of the baby sound data by using the sound classification algorithm preset in the baby terminal device to obtain the classification result of the baby sound data comprises: Performing voice activation detection on the infant sound data based on audio energy and audio zero crossing rate; Determining whether the infant voice data meets a preset voice activation condition; When the baby voice data meets the preset voice activation condition, the baby voice data is classified based on the fundamental frequency and the audio formant to obtain the classification result of the baby voice data.
3. The method for monitoring infant sound according to claim 2, characterized in that: The performing voice activation detection on the baby sound data based on audio energy and audio zero crossing rate comprises: Extracting voiced sound segments from the infant sound data; Acquire the energy of each frame of audio data in the voiced sound segment and obtain an average audio energy value; Obtaining the number of positive and negative changes in the signal amplitude of each frame of audio data in the baby sound data and obtaining an average audio zero-crossing rate; The average audio energy value and the average audio zero-crossing rate are compared with a preset energy threshold value and a preset zero-crossing rate threshold value respectively.
4. The method for monitoring infant sound according to claim 2, characterized in that: When the baby sound data meets the preset voice activation condition, classifying the baby sound data based on the fundamental frequency and the audio formant to obtain the classification result of the baby sound data includes: Acquire the fundamental pitch period of the infant sound data; Calculate the fundamental frequency of the baby sound data based on the fundamental period; Obtaining a transfer function of the infant sound data using a root-finding method and an LPC speech production model; Performing a pole-finding operation on the transfer function to obtain an audio formant of the baby sound data; A classification result of the baby sound data is obtained based on the fundamental frequency and the audio formant, and the classification result includes pleasure, hunger, illness and excretion.
5. The method for monitoring infant sound according to claim 1, characterized in that: The transmitting the target reminder strategy to the monitoring terminal device and executing the strategy includes: Transmitting the target reminder strategy to the monitoring terminal device so that the monitoring terminal device enters a monitoring mode, in which the monitoring terminal device disables other device functions except mode switching; Parsing the target reminder strategy in the monitoring terminal device to obtain the reminder method of the target reminder strategy and the baby sound data; If the reminder method includes a sound playing reminder, all sounds currently played by the monitoring terminal device are turned off to wait for the baby sound data to be played; If the reminder method includes a light effect reminder, the corresponding light effect is loaded and displayed based on the classification result of the baby sound data.
6. The method for monitoring infant sound according to claim 5, characterized in that: If the reminder method includes a light effect reminder, then loading and displaying the corresponding light effect based on the classification result of the baby sound data includes: Obtaining a color change mode of the lighting effect based on the classification result of the baby sound data; Determining a flashing frequency of the light effect based on a total audio energy value of the baby sound data; The monitoring terminal device is controlled to display according to the color change mode and the flashing frequency of the lighting effect.
7. The method for monitoring infant sound according to claim 1, characterized in that: The real-time collection of baby sound data by the baby terminal device includes: Performing real-time AD sampling of the baby's voice through the baby-end device to obtain a baby's voice analog signal; quantizing the baby sound simulation signal AD to a preset accuracy; Performing PCM encoding on the precision-quantized analog baby sound signal to obtain preliminary baby sound data in the form of a digital signal; The preliminary baby sound data is subjected to environmental noise reduction and frequency shift howling suppression processing to obtain baby sound data.
8. An infant sound monitoring system, characterized in that: The baby sound monitoring system comprises a baby terminal device and a monitoring terminal device, and a communication connection is established between the baby terminal device and the monitoring terminal device; The baby-end device is used to collect baby sound data in real time, process the baby sound data using a preset sound classification algorithm to obtain a classification result of the baby sound data, and obtain a target reminder strategy from a preset strategy library based on the classification result, wherein the target reminder strategy carries the baby sound data; and transmitting the target reminder strategy to the monitoring terminal device; The monitoring terminal device is used to execute the target reminder strategy, and the target reminder strategy includes at least one of a sound playback reminder and a light effect reminder.
9. A baby terminal device, characterized in that: The baby-end device comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instructions in the memory so that the baby-end device executes the baby sound monitoring method as described in any one of claims 1-7.
10. A computer-readable storage medium of a baby terminal device, wherein a computer program is stored on the computer-readable storage medium, characterized in that: When the computer program is executed by a processor, the baby sound monitoring method according to any one of claims 1 to 7 is implemented.
