Method and device for sending prompt information, storage medium and electronic device

文档序号:1720391 发布日期:2019-12-17 浏览:30次 中文

阅读说明:本技术 提示信息的发送方法及装置、存储介质、电子装置 (Method and device for sending prompt information, storage medium and electronic device ) 是由 仇雪雅 张松 臧云波 于 2019-09-03 设计创作,主要内容包括:本发明提供了一种提示信息的发送方法及装置、存储介质、电子装置,其中,上述方法包括:获取多个目标区域内多个目标对象发出的语音信息;在所述语音信息指示存在目标对象处于危险中的情况下,确定发生危险的目标对象的位置;向移动终端发送提示信息,其中,所述提示信息中携带有发生危险的目标对象的位置,采用上述技术方案,解决了相关技术中由于无法及时发现目标对象处于危险的情况,进而导致目标对象出现死亡等问题,增加了经济损失等问题。(the invention provides a method and a device for sending prompt messages, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring voice information sent by a plurality of target objects in a plurality of target areas; determining the position of a dangerous target object under the condition that the voice information indicates that the dangerous target object exists; the technical scheme is adopted, the problems that in the related technology, the target object is dead due to the fact that the situation that the target object is in danger cannot be found in time, and the like are solved, and economic loss is increased are solved.)

1. A method for sending prompt information is characterized by comprising the following steps:

Acquiring voice information sent by a plurality of target objects in a plurality of target areas;

determining the position of a dangerous target object under the condition that the voice information indicates that the dangerous target object exists;

And sending prompt information to the mobile terminal, wherein the prompt information carries the position of the dangerous target object.

2. The method of claim 1, wherein the target object is determined to be at risk by at least:

determining whether first voice information meeting a predetermined condition exists in the voice information according to a pre-trained voice model, wherein the voice model is trained through machine learning by using multiple groups of data, and each group of data in the multiple groups of data comprises: the voice information and the voice information have abnormality.

3. The method of claim 1, wherein determining the location of the target object at risk comprises one of:

Determining a designated target area of the target objects with danger in the plurality of target areas;

And determining a designated target area of the dangerous target object in the plurality of target areas and a specific position of the dangerous target object in the designated target area.

4. The method of claim 1, wherein before or after sending the alert message to the mobile terminal, the method further comprises:

And if the time when the target object is in danger is indicated to be positioned in a preset time period according to the voice information, calling the mobile terminal.

5. An apparatus for transmitting a notification message, comprising:

The acquisition module is used for acquiring voice information sent by a plurality of target objects in a plurality of target areas;

the determining module is used for determining the position of a dangerous target object under the condition that the voice information indicates that the target object is in danger;

And the sending module is used for sending prompt information to the mobile terminal, wherein the prompt information carries the position of the dangerous target object.

6. the apparatus of claim 5, wherein the determining module is further configured to determine whether there is a first voice message satisfying a predetermined condition in the voice messages according to a pre-trained voice model, wherein the voice model is trained through machine learning by using multiple sets of data, and each set of data in the multiple sets of data includes: the voice information and the voice information have abnormality.

7. the apparatus of claim 5, wherein the determining module is further configured to determine a designated target area of the plurality of target areas for the target object at risk; or determining a designated target area of the dangerous target objects in the plurality of target areas and the specific position of the dangerous target object in the designated target area.

8. The apparatus of claim 5, further comprising:

And the calling module is used for calling the mobile terminal under the condition that the time when the target object is in danger is within a preset time period according to the voice information indication.

9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 4 when executed.

10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 4.

Technical Field

the present invention relates to the field of communications, and in particular, to a method and an apparatus for sending a notification message, a storage medium, and an electronic apparatus.

Background

In the existing scheme, the situation that a sow is crushed or a piglet is killed by pressure often occurs, and in order to reduce the possibility that the piglet is crushed, a specially-assigned person is required to be arranged to take care of the piglet usually. The sow and the piglet are not convenient to move, the sow is required to be kept on duty once the sound of screaming of the piglet is heard, and the sow is required to be moved away once the piglet is pressed.

In a large-scale pig farm, sows and piglets are fed in a mixed mode, and the sows and the piglets are all fed in a limited pigsty space, so that the sows are very easy to sit, tread and press the piglets to die, abnormal death of the pigs is caused, and economic loss of the pig farm is increased.

Aiming at the problems that in the related art, the target object is not found to be in danger in time, the target object is dead and the like, the economic loss and the like are increased, and an effective technical scheme is not provided.

Disclosure of Invention

the embodiment of the invention provides a method and a device for sending prompt information, a storage medium and an electronic device, which are used for at least solving the problems that a target object is dead and the like caused by the fact that the target object cannot be found to be dangerous in time in the related art, and the economic loss and the like are increased.

According to an embodiment of the present invention, a method for sending a prompt message is provided, including: acquiring voice information sent by a plurality of target objects in a plurality of target areas; determining the position of a dangerous target object under the condition that the voice information indicates that the dangerous target object exists; and sending prompt information to the mobile terminal, wherein the prompt information carries the position of the dangerous target object.

In an embodiment of the invention, it is determined that the target object is at risk by at least: determining whether first voice information meeting a predetermined condition exists in the voice information according to a pre-trained voice model, wherein the voice model is trained through machine learning by using multiple groups of data, and each group of data in the multiple groups of data comprises: the voice information and the voice information have abnormality.

In an embodiment of the present invention, determining the position of the target object at risk includes one of: determining a designated target area of the target objects with danger in the plurality of target areas; and determining a designated target area of the dangerous target object in the plurality of target areas and a specific position of the dangerous target object in the designated target area.

in the embodiment of the present invention, before or after sending the prompt message to the mobile terminal, the method further includes: and if the time when the target object is in danger is indicated to be positioned in a preset time period according to the voice information, calling the mobile terminal.

according to another embodiment of the present invention, there is also provided a device for sending a prompt message, including: the acquisition module is used for acquiring voice information sent by a plurality of target objects in a plurality of target areas; the determining module is used for determining the position of a dangerous target object under the condition that the voice information indicates that the target object is in danger; and the sending module is used for sending prompt information to the mobile terminal, wherein the prompt information carries the position of the dangerous target object.

In an embodiment of the present invention, the determining module is further configured to determine whether there is first voice information satisfying a predetermined condition in the voice information according to a pre-trained voice model, where the voice model is trained through machine learning by using multiple sets of data, and each set of data in the multiple sets of data includes: the voice information and the voice information have abnormality.

In an embodiment of the present invention, the determining module is further configured to determine a designated target area of the target object that is at risk in the plurality of target areas; or determining a designated target area of the dangerous target objects in the plurality of target areas and the specific position of the dangerous target object in the designated target area.

In an embodiment of the present invention, the apparatus further includes: and the calling module is used for calling the mobile terminal under the condition that the time when the target object is in danger is within a preset time period according to the voice information indication.

According to another embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.

according to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.

By the method, the voice information sent by a plurality of target objects in a plurality of target areas is obtained; determining the position of a dangerous target object under the condition that the voice information indicates that the dangerous target object exists; the technical scheme is adopted, the problems that the target object is in a dangerous condition and is dead due to the fact that the target object cannot be found in time in the related technology are solved, the condition can be known in time under the condition that the target object is dangerous, a large amount of target objects are prevented from dying, and economic loss is reduced.

drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:

fig. 1 is a flowchart of a method of transmitting a hint information according to an embodiment of the present invention;

Fig. 2 is a block diagram of a configuration of a prompt information transmission apparatus according to an embodiment of the present invention;

Fig. 3 is another block diagram of the apparatus for transmitting a reminder according to the embodiment of the present invention.

Detailed Description

The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.

It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.

An embodiment of the present invention provides a method for sending a prompt message, and fig. 1 is a flowchart of a method for sending a prompt message according to an embodiment of the present invention, and as shown in fig. 1, the process includes the following steps:

Step S102, acquiring voice information sent by a plurality of target objects in a plurality of target areas;

step S104, under the condition that the voice information indicates that the target object is in danger, determining the position of the dangerous target object;

And step S106, sending prompt information to the mobile terminal, wherein the prompt information carries the position of the dangerous target object.

By the method, the voice information sent by a plurality of target objects in a plurality of target areas is obtained; determining the position of a dangerous target object under the condition that the voice information indicates that the dangerous target object exists; the technical scheme is adopted, the problems that the target object is in a dangerous condition and is dead due to the fact that the target object cannot be found in time in the related technology are solved, the condition can be known in time under the condition that the target object is dangerous, a large amount of target objects are prevented from dying, and economic loss is reduced.

In an embodiment of the invention, it is determined that the target object is at risk by at least: determining whether first voice information meeting a predetermined condition exists in the voice information according to a pre-trained voice model, wherein the voice model is trained through machine learning by using multiple groups of data, and each group of data in the multiple groups of data comprises: the voice information and the voice information have abnormality.

In an embodiment of the present invention, determining the position of the target object at risk includes one of: determining a designated target area of the target objects with danger in the plurality of target areas; and determining a designated target area of the dangerous target object in the plurality of target areas and a specific position of the dangerous target object in the designated target area.

In the embodiment of the present invention, before or after sending the prompt message to the mobile terminal, the method further includes: and if the time when the target object is in danger is indicated to be positioned in a preset time period according to the voice information, calling the mobile terminal.

It should be noted that the speech features considered when the speech model is trained include tone, rhythm, pitch, and so on.

In this embodiment of the present invention, each target area is provided with a microphone array, and when the voice information indicates that there is a target object in danger, determining the position of the target object in danger is obtained by inference by the microphone array based on the acquired voice information, which is not limited in this embodiment of the present invention.

through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.

In this embodiment, a device for sending a prompt message is further provided, where the device is used to implement the foregoing embodiments and preferred embodiments, and details of the description already made are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.

Fig. 2 is a block diagram of a transmitting apparatus of a prompt message according to an embodiment of the present invention, and as shown in fig. 2, the apparatus includes:

An obtaining module 20, configured to obtain voice information sent by a plurality of target objects in a plurality of target areas;

A determining module 22, configured to determine a location of a target object in danger if the voice information indicates that there is a target object in danger;

The sending module 24 is configured to send a prompt message to the mobile terminal, where the prompt message carries a position of a dangerous target object.

By the method, the voice information sent by a plurality of target objects in a plurality of target areas is obtained; determining the position of a dangerous target object under the condition that the voice information indicates that the dangerous target object exists; the technical scheme is adopted, the problems that the target object is in a dangerous condition and is dead due to the fact that the target object cannot be found in time in the related technology are solved, the condition can be known in time under the condition that the target object is dangerous, a large amount of target objects are prevented from dying, and economic loss is reduced.

In an embodiment of the present invention, the determining module 22 is further configured to determine whether there is first speech information meeting a predetermined condition in the speech information according to a pre-trained speech model, where the speech model is trained by machine learning using multiple sets of data, and each of the multiple sets of data includes: the voice information and the voice information have abnormality.

In this embodiment of the present invention, the determining module 22 is further configured to determine a designated target area of the target object that is at risk in the plurality of target areas; or determining a designated target area of the dangerous target objects in the plurality of target areas and the specific position of the dangerous target object in the designated target area.

In the embodiment of the present invention, as shown in fig. 3, the apparatus further includes: and the calling module 26 is configured to call the mobile terminal when the time indicating that the target object is in danger according to the voice information is within a preset time period.

It should be noted that the speech features considered when the speech model is trained include tone, rhythm, pitch, and so on.

In this embodiment of the present invention, each target area is provided with a microphone array, and when the voice information indicates that there is a target object in danger, determining the position of the target object in danger is obtained by inference by the microphone array based on the acquired voice information, which is not limited in this embodiment of the present invention.

it should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.

in order to better understand the sending flow of the prompt information, the following description is given with reference to an example, but the technical solution of the embodiment of the present invention is not limited thereto, and specifically the following steps may be included:

it should be noted that, with the development of the breeding industry, the traditional breeding mode gradually becomes large-scale and intensive breeding. Litter size loss is one of the most common losses in the swine industry, with average mortality rates for suckling piglets in swine production typically ranging from 6-10%. In normal production, the death of the suckling piglets is mainly caused by the death of sows, and the death accounts for 50-80%. The phenomenon that piglets are killed by pressure often occurs within 1 week after birth, particularly between 2 and 4 days old, because the newborn piglets are easy to be crushed and killed by sows due to the fact that the brain development of the newborn piglets is incomplete and the reaction is insensitive.

The probability of the pigling being pressed can be effectively reduced by mastering the pigling pressing condition, and an effective solution is not provided for real-time mastering of the pigling pressing condition in the prior art.

In order to solve the above technical problems, the preferred embodiment of the present invention provides the following technical solutions:

the piglet pressed condition and the piglet pressed position are automatically identified by applying a digital information means and by the technology of voiceprint recognition and sound source positioning.

In the preferred embodiment of the present invention, the target object is a piglet as an example, and a method for intelligently identifying the piglet pressed condition is provided for a farm, the farm is divided into a plurality of areas (corresponding to the target area of the above embodiment), and one microphone array acquires sound information in the area, and certainly, a plurality of microphone arrays may be provided. Through the sound of the plant of gathering, the intelligent recognition piglet is called the voice of being pressed. After identifying the sound of the pressed piglet, analyzing the position of the sound source by using a voice positioning technology, and positioning the position of the pressed piglet by using the position mark, wherein the preferred embodiment of the invention specifically comprises the following implementation parts:

1. Piglet pressed voice recognition

The piglets will often make a sound when pressed. The system collects a large number of piglet cry samples for training, and enables a computer to automatically extract acoustic features such as rhythm, pitch, tone, syllable length and the like through a deep learning method and a convolutional neural network, so as to build an artificial neural network for identifying the pressed sound of piglets.

in addition, the pigsty is provided with a microphone array for collecting real-time sound in the farm, and collected sound information is automatically uploaded to the server. And (4) identifying whether the sound of the pressed piglet exists in the sound through background processing, and if so, forming an abnormal record. In addition, the system automatically records the duration information of the piglet cry.

2. sound source location identification

The sound source positioning technology simulates an auditory mechanism of human ears, an acoustic sensing device is used for receiving sound waves, sound signals are processed through an electronic device, and then the spatial position of a sound source is determined. And a microphone array is arranged on the pigsty, and when the system identifies the pressed sound of the pigling, the sound identification of the pigling is separated. The sound source position is deduced reversely by the time for the piglet sound to reach different microphones. Generally, each sow and the piglets thereof are raised in an independent pigsty, and the condition that the piglets are pressed in which pigsty is determined according to the analyzed sound source position. And synchronizing the position of the pressed piglet to the abnormal record.

3. Abnormal recording reminder

When the system has an abnormal record of the place information, the record is automatically pushed to the responsible mobile phone end. The pushing mode is optional: reminding is carried out through apps or short messages in the daytime. At night, due to the fact that workers are easy to miss, the system can automatically make a call to a responsible person for prompting at night.

The preferred embodiment of the invention applies a digital technology to identify whether the piglets are pressed or not by collecting sound information of the farm and carries out positioning according to the pressed sound. The invention can reduce the condition of inaccurate positioning of the traditional manual inspection, can monitor for 24 hours, reduces the workload of manual inspection at night, can prompt in time when the pressed condition occurs, and shortens the processing time.

An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.

Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:

S1, acquiring voice information sent by a plurality of target objects in a plurality of target areas;

s2, determining the position of the dangerous target object when the voice information indicates that the target object is in danger;

s3, sending prompt information to the mobile terminal, wherein the prompt information carries the position of the dangerous target object.

An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.

embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.

Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.

Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:

s1, acquiring voice information sent by a plurality of target objects in a plurality of target areas;

S2, determining the position of the dangerous target object when the voice information indicates that the target object is in danger;

S3, sending prompt information to the mobile terminal, wherein the prompt information carries the position of the dangerous target object.

optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.

Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.

It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.

The above description is only exemplary of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:多噪声场景下语音特征提取方法及可重构语音特征提取装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!