技术领域technical field
本发明涉及数据处理技术领域,具体地涉及一种鼾声检测方法、装置及系统。The present invention relates to the technical field of data processing, in particular to a snore detection method, device and system.
背景技术Background technique
目前存在两种常见的检测鼾声的方式,一种是利用麦克风检测鼾声,另一种是通过气流导管,由鼾声引起的气流震动,从而根据气流震动传递为压力震动,通过获取压力变化检测出鼾声。At present, there are two common ways to detect snoring, one is to use a microphone to detect snoring, the other is to use airflow ducts to generate airflow vibration caused by snoring, so as to transmit pressure vibration according to airflow vibration, and detect snoring by acquiring pressure changes .
上述的现有技术具有以下缺陷:对于第一种利用麦克风检测鼾声,由于麦克风距离人体较近,有电信号接触人体的可能,存在安全隐患,另外,外界杂音也会干扰鼾声检测;对于第二种利用气流导管检测鼾声,由于气流管路较长,压力存在衰减,鼾声检测失真。The above-mentioned prior art has the following defects: for the first detection of snoring by using a microphone, since the microphone is relatively close to the human body, there is a possibility that the electrical signal contacts the human body, and there is a potential safety hazard, and in addition, external noise can also interfere with the detection of snoring; In this method, the snoring sound is detected by an air flow conduit. Due to the long air flow pipeline, the pressure is attenuated, and the snoring sound detection is distorted.
发明内容SUMMARY OF THE INVENTION
本发明实施例的目的是提供一种鼾声检测方法、装置及系统,解决了现有技术中鼾声检测存在安全隐患以及检测不准确的问题,提高了安全性以及检测的准确性。The purpose of the embodiments of the present invention is to provide a snoring sound detection method, device and system, which solve the problems of potential safety hazards and inaccurate detection in snoring sound detection in the prior art, and improve the safety and detection accuracy.
为了实现上述目的,本发明实施例提供一种鼾声检测装置,所述装置包括:光传递部件,该光传递部件用于对发光源所发射的光进行传输,其中所述光传递部件包括振膜以及拾音孔,所述振膜能够因通过所述拾音孔进入的鼾声而震动,进而影响所述发光源所发射的光的强度。In order to achieve the above object, an embodiment of the present invention provides a snore sound detection device, the device includes: a light transmission part, the light transmission part is used for transmitting the light emitted by the light-emitting source, wherein the light transmission part includes a diaphragm and a sound pickup hole, the diaphragm can vibrate due to the snoring sound entering through the sound pickup hole, thereby affecting the intensity of the light emitted by the light-emitting source.
可选的,所述装置还包括:入光检测部件,用于检测输入至所述光传递部件的光的强度;以及出光检测部件,用于检测所述光传递部件所输出的光的强度。Optionally, the device further includes: an incoming light detection part, used to detect the intensity of light input to the light transmission part; and a light outgoing detection part, used to detect the intensity of the light output by the light transmission part.
可选的,所述拾音孔为两个,相对设置在所述光传递部件上位于所述振膜的两侧的位置。Optionally, there are two sound-collecting holes, which are oppositely arranged on the light transmission component at positions on both sides of the diaphragm.
可选的,所述光传递部件还包括与所述入光检测部件连接的入光光纤以及与所述出光检测部件连接的出光光纤,所述振膜位于所述入光光纤与所述出光光纤之间。Optionally, the light transmission part further includes an incoming optical fiber connected to the incoming light detection part and a light outgoing optical fiber connected to the light outgoing detection part, and the diaphragm is located between the incoming optical fiber and the light outgoing optical fiber. between.
相应的,本发明实施例提供一种鼾声检测系统,包括:上述鼾声检测装置;以及处理器,用于根据输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之差,确定待测鼾声压力值。Correspondingly, an embodiment of the present invention provides a snore sound detection system, including: the above snore sound detection device; and a processor configured to measure the difference between the intensity of the light input to the light transmission part and the light output from the light transmission part The difference in intensity determines the pressure value of the snoring sound to be measured.
可选的,在根据输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之差确定待测鼾声压力值之前,所述处理器还用于执行以下操作中的一者或多者:判断所述输入至所述光传递部件的光的强度是否在第一预设时间段内稳定于入光强度预设范围;及判断所述光传递部件所输出的光的强度是否在第二预设时间段内稳定于出光强度预设范围。Optionally, before determining the snore pressure value to be measured according to the difference between the intensity of the light input to the light transmission part and the intensity of the light output by the light transmission part, the processor is further configured to perform the following operations: one or more of: judging whether the intensity of the light input to the light transmission part is stable within a preset range of light intensity within a first preset time period; and judging the light output by the light transmission part Whether the intensity of the light is stable within the preset range of light intensity within the second preset time period.
可选的,所述处理器还用于确定所述待测鼾声压力值的频率,并对处于预设鼾声频率范围内波动的待测鼾声压力值进行标注和/或存储。Optionally, the processor is further configured to determine the frequency of the snore sound pressure value to be measured, and mark and/or store the snore sound pressure value to be measured that fluctuates within a preset snore sound frequency range.
可选的,所述处理器还用于:将所述输入至所述光传递部件的光的强度进行平滑滤波得到入光平滑值,并根据所述入光平滑值的对数与所述光传递部件所输出的光的强度的对数之差,确定光强度变化值;将所述光强度变化值平滑滤波得到光强度平滑值,并在预设转换表中查找与所述光强度平滑值对应的光强度压力值;将所述光强度压力值平滑滤波得到鼾声中线,并确定所述光强度压力值与所述鼾声中线的差值为所述待测鼾声压力值。Optionally, the processor is further configured to: perform smooth filtering on the intensity of the light input to the light transmission component to obtain an incident light smoothing value, and calculate the light incident smoothing value according to the logarithm of the incident light smoothing value and the light The difference between the logarithms of the intensities of the light output by the transmitting component is used to determine the light intensity change value; the light intensity change value is smoothed and filtered to obtain the light intensity smoothed value, and a preset conversion table is searched for and the light intensity smoothed value. The corresponding light intensity pressure value; smooth filtering the light intensity pressure value to obtain the snoring sound center line, and determine the difference between the light intensity pressure value and the snoring sound center line as the snoring sound pressure value to be measured.
相应的,本发明实施例提供一种鼾声检测方法,所述方法应用于上述鼾声检测系统,所述方法包括:获取输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度;以及根据所述输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之差,确定待测鼾声压力值。Correspondingly, an embodiment of the present invention provides a snoring sound detection method, the method is applied to the above snoring sound detection system, and the method includes: acquiring the intensity of the light input to the light transmission part and the output of the light transmission part. intensity of light; and determining the snore pressure value to be measured according to the difference between the intensity of the light input to the light transmission part and the intensity of the light output by the light transmission part.
可选的,所述根据所述输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之差确定待测鼾声压力值包括:将所述输入至所述光传递部件的光的强度进行平滑滤波得到入光平滑值,并根据所述入光平滑值的对数与所述光传递部件所输出的光的强度的对数之差,确定光强度变化值;将所述光强度变化值平滑滤波得到光强度平滑值,并在预设转换表中查找与所述光强度平滑值对应的光强度压力值;以及将所述光强度压力值平滑滤波得到鼾声中线,并确定所述光强度压力值与所述鼾声中线的差值为所述待测鼾声压力值。Optionally, the determining the snoring pressure value to be measured according to the difference between the intensity of the light input to the light transmission part and the intensity of the light output by the light transmission part includes: The light intensity of the transmission part is smoothed and filtered to obtain an incident light smooth value, and the light intensity change value is determined according to the difference between the logarithm of the incident light smooth value and the logarithm of the intensity of the light output by the light transmission part; Smoothing and filtering the light intensity change value to obtain a smoothing value of light intensity, and searching for a light intensity pressure value corresponding to the smoothing value of light intensity in a preset conversion table; and smoothing and filtering the light intensity pressure value to obtain a snoring midline , and determine the difference between the light intensity pressure value and the midline of the snoring sound as the pressure value of the snoring sound to be measured.
通过上述技术方案,利用光传递部件中的振膜能够因通过所述拾音孔进入的鼾声而震动,进而影响发光源所发射的光的强度,通过光的强度的变化来识别鼾声压力值,解决了现有技术中通过麦克风检测鼾声有电信号接触人体的安全隐患,以及通过气流管路检测鼾声存在压力衰减检测失灵的问题,通过本发明实施例中的光传输检测鼾声,既可以避免电信号接触人体,提高了安全性,又可以利用光传递速度快的优势,保证检测的准确性。Through the above technical solution, the diaphragm in the light transmission component can vibrate due to the snoring sound entering through the sound pickup hole, thereby affecting the intensity of the light emitted by the light-emitting source, and identifying the snoring sound pressure value through the change in the intensity of the light, It solves the potential safety hazard of electrical signals contacting the human body when detecting snoring through a microphone in the prior art, and the problem of pressure attenuation and detection failure in detecting snoring through an airflow pipeline. The optical transmission in the embodiment of the present invention detects snoring, which can avoid electrical noise. The signal contacts the human body, which improves the safety, and can take advantage of the fast transmission speed of light to ensure the accuracy of detection.
本发明实施例的其它特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of embodiments of the present invention will be described in detail in the detailed description section that follows.
附图说明Description of drawings
附图是用来提供对本发明实施例的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本发明实施例,但并不构成对本发明实施例的限制。在附图中:The accompanying drawings are used to provide a further understanding of the embodiments of the present invention, and constitute a part of the specification, and are used to explain the embodiments of the present invention together with the following specific embodiments, but do not constitute limitations to the embodiments of the present invention. In the attached image:
图1是本发明实施例提供的一种鼾声检测装置的结构示意图;1 is a schematic structural diagram of a snore sound detection device provided by an embodiment of the present invention;
图2是本发明实施例提供的另一种鼾声检测装置的结构示意图;2 is a schematic structural diagram of another snore sound detection device provided by an embodiment of the present invention;
图3是本发明实施例提供的又一种鼾声检测装置的结构示意图;3 is a schematic structural diagram of another snore detection device provided by an embodiment of the present invention;
图4是本发明实施例提供的再一种鼾声检测装置的结构示意图;4 is a schematic structural diagram of still another snore sound detection device provided by an embodiment of the present invention;
图5是本发明实施例提供的另一种鼾声检测装置的结构示意图;5 is a schematic structural diagram of another snore detection device provided by an embodiment of the present invention;
图6是本发明实施例提供的一种鼾声检测系统的结构示意图;6 is a schematic structural diagram of a snore sound detection system provided by an embodiment of the present invention;
图7是本发明实施例提供的一种鼾声检测方法的流程图;7 is a flowchart of a method for detecting snoring sound provided by an embodiment of the present invention;
图8是本发明实施例提供的另一种鼾声检测方法的流程图;8 is a flowchart of another snore detection method provided by an embodiment of the present invention;
图9是本发明实施例提供的又一种鼾声检测方法的流程图。FIG. 9 is a flowchart of another snore sound detection method provided by an embodiment of the present invention.
附图标记说明Description of reference numerals
10 发光源 20 光传递部件10 Light source 20 Light transmission part
30 振膜 40 拾音孔30 Diaphragm 40 Pickup hole
50 入光检测部件 60 出光检测部件50 Incoming light detection part 60 Light outgoing detection part
70 入光光纤 80 出光光纤70 incoming fiber 80 outgoing fiber
具体实施方式Detailed ways
以下结合附图对本发明实施例的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本发明实施例,并不用于限制本发明实施例。The specific implementations of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific implementation manners described herein are only used to illustrate and explain the embodiments of the present invention, and are not used to limit the embodiments of the present invention.
图1是本发明实施例提供的一种鼾声检测装置的结构示意图。如图1所示,所述鼾声检测装置包括:光传递部件20,该光传递部件用于对发光源10所发射的光进行传输,其中所述光传递部件20包括振膜30以及拾音孔40,所述振膜30能够因通过所述拾音孔40进入的鼾声而震动,进而影响所述发光源所发射的光的强度。FIG. 1 is a schematic structural diagram of a snore sound detection device provided by an embodiment of the present invention. As shown in FIG. 1 , the snore detection device includes: a light transmission part 20 for transmitting the light emitted by the light source 10 , wherein the light transmission part 20 includes a diaphragm 30 and a sound pickup hole 40. The diaphragm 30 can vibrate due to the snoring sound entering through the sound pickup hole 40, thereby affecting the intensity of the light emitted by the light-emitting source.
上述方案中,对于发光源10可以是产生特定波长的发光二极管,例如产生610nm波长的发光二极管。振膜30为弹性材料,拾音孔40可以通过外界气流,但是外界光不能进入,振膜30能够因通过所述拾音孔40进入的鼾声而震动,进而影响所述发光源所发射的光的强度,当没有鼾声时,振膜30不会震动,不变形,进而不会影响所述发光源所发射的光的强度,当有鼾声通过时,如图2所示,振膜30震动,产生形变,进而影响所述发光源所发射的光的强度,则从所述光传递部件所输出的光的强度小于输入至所述光传递部件的光的强度。In the above solution, the light-emitting source 10 may be a light-emitting diode that generates a specific wavelength, for example, a light-emitting diode that generates a wavelength of 610 nm. The diaphragm 30 is an elastic material, and the sound pickup hole 40 can pass the external airflow, but the outside light cannot enter. The diaphragm 30 can vibrate due to the snoring sound entering through the sound pickup hole 40, thereby affecting the light emitted by the light-emitting source. When there is no snoring sound, the diaphragm 30 will not vibrate, not deform, and will not affect the intensity of the light emitted by the light-emitting source. When there is a snoring sound passing through, as shown in FIG. If the deformation is generated, which affects the intensity of the light emitted by the light-emitting source, the intensity of the light output from the light transmission part is smaller than the intensity of the light input to the light transmission part.
另外,为了近距离检测鼾声,所述鼾声检测装置的佩戴位置为尽量靠近面部的口鼻位置。In addition, in order to detect snoring sound at close range, the wearing position of the snoring sound detection device is the position of the mouth and nose as close to the face as possible.
通过本发明实施例提供的鼾声检测装置,利用光传递部件中的振膜能够因通过所述拾音孔进入的鼾声而震动,进而影响发光源所发射的光的强度,通过光的强度的变化来识别鼾声压力值,解决了现有技术中通过麦克风检测鼾声有电信号接触人体的安全隐患,以及通过气流管路检测鼾声存在压力衰减检测失灵的问题,通过本发明实施例中的光传输检测鼾声,既可以避免电信号接触人体,提高了安全性,又可以利用光传递速度快的优势,保证检测的准确性。With the snoring sound detection device provided by the embodiment of the present invention, the diaphragm in the light transmission component can vibrate due to the snoring sound entering through the sound pickup hole, thereby affecting the intensity of the light emitted by the light-emitting source. To identify the pressure value of snoring sound, it solves the potential safety hazard in the prior art that the electrical signal of snoring sound is detected by a microphone and contacts the human body, and the problem of pressure attenuation detection failure in detecting snoring sound through the airflow pipeline. Snoring can not only prevent electrical signals from contacting the human body, improve safety, but also take advantage of the fast transmission speed of light to ensure the accuracy of detection.
在本发明的一种实施方式中,图3示出了本发明实施例提供的一种鼾声检测装置的结构示意图。如图3所示,所述装置还包括:入光检测部件50,用于检测输入至所述光传递部件的光的强度;以及出光检测部件60,用于检测所述光传递部件所输出的光的强度。In an embodiment of the present invention, FIG. 3 shows a schematic structural diagram of a snore sound detection device provided by an embodiment of the present invention. As shown in FIG. 3 , the device further includes: an incoming light detection part 50 for detecting the intensity of light input to the light transmission part; and a light outgoing detection part 60 for detecting the light output from the light transmission part the intensity of light.
其中,所述入光检测部件50和出光检测部件60可以均为光敏三极管,另外,为了提高检测精度,所述入光检测部件50和出光检测部件60中还可以包括只能通过特定波长的干涉滤光片(图中未示),例如,当发光源10为能够产生610nm波长的发光二极管时,则所述干涉滤光片只能通过610nm波长的光,减少干扰。Wherein, the incoming light detection part 50 and the light outgoing detection part 60 may both be phototransistors. In addition, in order to improve the detection accuracy, the incoming light detection part 50 and the light outgoing detection part 60 may also include interference that can only pass a specific wavelength. For example, when the light source 10 is a light emitting diode capable of generating a wavelength of 610 nm, the interference filter can only pass light with a wavelength of 610 nm to reduce interference.
在本发明的另一种实施方式中,经所述拾音孔40进入的鼾声能够垂直到达所述振膜30的表面。为了提高鼾声检测的准确性,如图4所示,在所述光传递部件20上设置两个拾音孔40,相对设置在所述光传递部件20上位于所述振膜30的两侧的位置。In another embodiment of the present invention, the snoring sound entering through the sound collecting hole 40 can reach the surface of the diaphragm 30 vertically. In order to improve the accuracy of snoring sound detection, as shown in FIG. 4 , two sound pickup holes 40 are provided on the light transmission part 20 , and two sound pickup holes 40 are arranged on the light transmission part 20 opposite to the two sides of the diaphragm 30 . Location.
在本发明的另一种实施方式中,为了增强所述鼾声检测装置的可佩戴性,如图5所示,所述光传递部件20还包括与所述入光检测部件50连接的入光光纤70以及与所述出光检测部件60连接的出光光纤80,所述振膜30位于所述入光光纤70与所述出光光纤80之间。In another embodiment of the present invention, in order to enhance the wearability of the snore detection device, as shown in FIG. 70 and an outgoing optical fiber 80 connected to the light outgoing detection component 60 , and the diaphragm 30 is located between the incoming light optical fiber 70 and the light outgoing optical fiber 80 .
通过上述技术方案,利用通过拾音孔进入的鼾声对振膜的影响,从而影响所述发光源所发射的光的强度,通过检测输入至所述光传递部件的光的强度以及所述光传递部件所输出的光的强度来检测鼾声。由于本发明实施例利用光的传递,避免现有技术中利用电信号检测带来的安全隐患,以及避免了气流导管传输衰减的问题,提高了鼾声检测的安全性和准确性。Through the above technical solution, the influence of the snoring sound entering through the sound pickup hole on the diaphragm is used to influence the intensity of the light emitted by the light-emitting source. The intensity of the light output by the component is used to detect snoring. Because the embodiment of the present invention utilizes the transmission of light, it avoids the potential safety hazard caused by the use of electrical signal detection in the prior art, and avoids the problem of transmission attenuation of the airflow duct, thereby improving the safety and accuracy of snore detection.
相应的,图6是本发明实施例提供的一种鼾声检测系统的结构示意图。如图6所示,本发明实施例提供的系统包括上述图1-图5中任一附图所示的鼾声检测装置61,以及处理器62,其中,所述处理器62,用于根据输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之差,确定待测鼾声压力值。Correspondingly, FIG. 6 is a schematic structural diagram of a snore sound detection system provided by an embodiment of the present invention. As shown in FIG. 6 , a system provided by an embodiment of the present invention includes the snore sound detection device 61 shown in any of the above-mentioned FIGS. 1 to 5 , and a processor 62 , wherein the processor 62 is configured to, according to the input The difference between the intensity of the light to the light transmission part and the intensity of the light output by the light transmission part determines the snore pressure value to be measured.
通过上述鼾声检测系统,在由鼾声检测装置得到的输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之后,确定待测鼾声压力值。通过光的强度的变化来识别鼾声压力值,解决了现有技术中通过麦克风检测鼾声有电信号接触人体的安全隐患,以及通过气流管路检测鼾声存在压力衰减检测失灵的问题,通过本发明实施例中的光传输检测鼾声,既可以避免电信号接触人体,提高了安全性,又可以利用光传递速度快的优势,保证检测的准确性。With the above snore detection system, the snore pressure value to be measured is determined after the intensity of the light input to the light transmission part and the intensity of the light output from the light transmission part obtained by the snore detection device. The pressure value of snoring sound is identified by the change of light intensity, which solves the potential safety hazard in the prior art that the electrical signal of snoring sound is detected by a microphone and contacts the human body, and the problem of pressure attenuation detection failure in detecting snoring sound through the air flow pipeline is implemented by the present invention. The optical transmission in the example detects the snoring sound, which can not only prevent the electrical signal from contacting the human body, improve the safety, but also take advantage of the fast optical transmission speed to ensure the accuracy of the detection.
在本发明的一种实施方式中,为了保证光传递的稳定性,在根据输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之差确定待测鼾声压力值之前,所述处理器还用于执行以下操作中的一者或多者:In an embodiment of the present invention, in order to ensure the stability of light transmission, the snore sound pressure to be measured is determined according to the difference between the intensity of the light input to the light transmission part and the intensity of the light output by the light transmission part value, the processor is further configured to perform one or more of the following operations:
1)判断所述输入至所述光传递部件的光的强度是否在第一预设时间段内稳定于入光强度预设范围;及1) judging whether the intensity of the light input to the light transmission member is stable within a preset range of incident light intensity within a first preset time period; and
2)判断所述光传递部件所输出的光的强度是否在第二预设时间段内稳定于出光强度预设范围。2) Determine whether the intensity of the light output by the light transmission component is stable within a preset range of light intensity within a second preset time period.
例如,判断所述输入至所述光传递部件的光的强度是否在1s内稳定于所述入光强度预设范围,若稳定则进行确定待测鼾声压力值的处理,若不稳定,则报错。或者判断所述光传递部件所输出的光的强度是否在5s内稳定于出光强度预设范围,若稳定则进行确定待测鼾声压力值的处理,若不稳定,则报错,可结束检测,关闭发光源。或者上述1)和2)同时进行判断,当所述输入至所述光传递部件的光的强度和所述光传递部件所输出的光的强度均稳定时,则进行确定待测鼾声压力值的处理,若不稳定,则报错,可结束检测,关闭发光源。For example, it is judged whether the intensity of the light input to the light transmission component is stable within the preset range of the incident light intensity within 1s, and if it is stable, the process of determining the pressure value of the snoring sound to be measured is performed, and if it is not stable, an error is reported . Or determine whether the intensity of the light output by the light transmission component is stable within the preset range of light intensity within 5s, and if it is stable, the process of determining the snoring pressure value to be measured is performed. If it is unstable, an error is reported, the detection can be ended, and the light source. Or the above 1) and 2) are judged at the same time, when the intensity of the light input to the light transmission part and the intensity of the light output by the light transmission part are both stable, then determine the snoring sound pressure value to be measured. Processing, if it is unstable, an error will be reported, the detection can be ended, and the light source can be turned off.
在本发明的另一种实施方式中,为了便于医护工作者对用户的鼾声压力值进行查看,所述处理器还用于确定所述待测鼾声压力值的频率,并对处于预设鼾声频率范围内波动的待测鼾声压力值进行标注和/或存储。其中,利用现有技术对于鼾声频率的界定,所述预设鼾声频率范围可设定为25Hz~300Hz,对处于所述预设鼾声频率范围内波动的待测鼾声压力值进行标注和/或存储。另外,对于确定所述待测鼾声压力值的频率,可以通过确定所述待测鼾声压力值的两个相邻波峰之间的时间间隔,或者两个相邻波谷之间的时间间隔确定,可通过现有技术中的相关方法确定,本文不再赘述。In another embodiment of the present invention, in order to facilitate medical workers to view the snore pressure value of the user, the processor is further configured to determine the frequency of the snore pressure value to be measured, and determine the frequency of the snore pressure value at a preset snore frequency. The measured snore pressure values fluctuating within the range are marked and/or stored. Wherein, using the definition of snoring sound frequency in the prior art, the preset snoring sound frequency range can be set to 25 Hz to 300 Hz, and the pressure value of the snoring sound to be measured fluctuating within the preset snoring sound frequency range is marked and/or stored. . In addition, the frequency of determining the snore pressure value to be measured can be determined by determining the time interval between two adjacent peaks of the snore pressure value to be measured, or the time interval between two adjacent wave troughs. It is determined by relevant methods in the prior art, and details are not described herein again.
在本发明的一种实施方式中,所述处理器还用于:In an embodiment of the present invention, the processor is further configured to:
a、将所述输入至所述光传递部件的光的强度进行平滑滤波得到入光平滑值,并根据所述入光平滑值的对数与所述光传递部件所输出的光的强度的对数之差,确定光强度变化值;a. Perform smooth filtering on the intensity of the light input to the light transmission component to obtain an incident light smoothing value, and according to the logarithm of the incident light smoothing value and the logarithm of the light intensity output by the light transmission component The difference of the number to determine the light intensity change value;
b、将所述光强度变化值平滑滤波得到光强度平滑值,并在预设转换表中查找与所述光强度平滑值对应的光强度压力值;b. Smoothing and filtering the light intensity change value to obtain a light intensity smooth value, and searching for a light intensity pressure value corresponding to the light intensity smooth value in a preset conversion table;
c、将所述光强度压力值平滑滤波得到鼾声中线,并确定所述光强度压力值与所述鼾声中线的差值为所述待测鼾声压力值。c. Smoothly filtering the light intensity pressure value to obtain the snoring sound center line, and determining the difference between the light intensity pressure value and the snoring sound center line as the snoring sound pressure value to be measured.
对于步骤a、b和c中提到的平滑滤波,是为了去掉波形中的突出点,起到滤波作用,而具体平滑的次数,本文并不具体限定,可以根据具体情况而定,10次可以,100次也可以,或者还可以利用取均值的方法进行平滑滤波。The smoothing filtering mentioned in steps a, b and c is to remove the prominent points in the waveform and play a filtering role, and the specific smoothing times are not specifically limited in this article, and can be determined according to the specific situation. , 100 times can also be used, or the method of taking the mean value can also be used for smooth filtering.
对于步骤a中根据所述入光平滑值的对数与所述光传递部件所输出的光的强度的对数之差确定光强度变化值,可以根据M=ln(S)-ln(C)计算得到所述光强度变化值,其中,M为所述光强度变化值,S为所述入光平滑值,C为所述光传递部件所输出的光的强度。In step a, the light intensity change value is determined according to the difference between the logarithm of the incident light smoothing value and the logarithm of the intensity of the light output by the light transmission component, M=ln(S)-ln(C) The light intensity change value is obtained by calculation, wherein M is the light intensity change value, S is the incident light smoothing value, and C is the intensity of the light output by the light transmission component.
通过上述鼾声检测系统,根据鼾声检测装置获取的输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之差,确定待测鼾声压力值。由于本发明实施例利用光的传递,避免现有技术中利用电信号检测带来的安全隐患,以及避免了气流导管传输衰减的问题,提高了鼾声检测的安全性和准确性。With the above snore detection system, the snore pressure value to be measured is determined according to the difference between the intensity of the light input to the light transmission part obtained by the snore detection device and the intensity of the light output from the light transmission part. Because the embodiment of the present invention utilizes the transmission of light, it avoids the potential safety hazard caused by the use of electrical signal detection in the prior art, and avoids the problem of transmission attenuation of the airflow duct, thereby improving the safety and accuracy of snore detection.
相应的,图7是本发明实施例提供的一种鼾声检测方法的流程图。所述方法应用于上述鼾声检测系统,如图7所示,所述方法包括:Correspondingly, FIG. 7 is a flowchart of a snore sound detection method provided by an embodiment of the present invention. The method is applied to the above-mentioned snore detection system, as shown in FIG. 7 , the method includes:
701、获取输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度;701. Acquire the intensity of light input to the light transmission component and the intensity of light output by the light transmission component;
702、根据所述输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之差,确定待测鼾声压力值。702. Determine a snore pressure value to be measured according to the difference between the intensity of the light input to the light transmission part and the intensity of the light output by the light transmission part.
通过上述方法,根据所述输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之后,确定待测鼾声压力值。通过光的强度的变化来识别鼾声压力值,解决了现有技术中通过麦克风检测鼾声有电信号接触人体的安全隐患,以及通过气流管路检测鼾声存在压力衰减检测失灵的问题,通过本发明实施例中的光传输检测鼾声,既可以避免电信号接触人体,提高了安全性,又可以利用光传递速度快的优势,保证检测的准确性。Through the above method, the pressure value of the snore sound to be measured is determined according to the intensity of the light input to the light transmission part and the intensity of the light output from the light transmission part. The pressure value of snoring sound is identified by the change of light intensity, which solves the potential safety hazard in the prior art that the electrical signal of snoring sound is detected by a microphone and contacts the human body, and the problem of pressure attenuation detection failure in detecting snoring sound through the air flow pipeline is implemented by the present invention. The optical transmission in the example detects the snoring sound, which can not only prevent the electrical signal from contacting the human body, improve the safety, but also take advantage of the fast optical transmission speed to ensure the accuracy of the detection.
在本发明的一种实施方式中,为了保证光传递的稳定性,在所述根据所述输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之差确定待测鼾声压力值之前,所述方法还包括执行以下操作中的一者或多者:In an embodiment of the present invention, in order to ensure the stability of light transmission, the determination according to the difference between the intensity of the light input to the light transmission part and the intensity of the light output by the light transmission part Before the snore pressure value is to be measured, the method further includes performing one or more of the following operations:
1)判断所述输入至所述光传递部件的光的强度是否在第一预设时间段内稳定于入光强度预设范围;及1) judging whether the intensity of the light input to the light transmission member is stable within a preset range of incident light intensity within a first preset time period; and
2)判断所述光传递部件所输出的光的强度是否在第二预设时间段内稳定于出光强度预设范围。2) Determine whether the intensity of the light output by the light transmission component is stable within a preset range of light intensity within a second preset time period.
当同时执行上述1)和2)时,本发明实施例的执行流程如图8所示,所述方法包括如下步骤:When the above 1) and 2) are executed simultaneously, the execution flow of the embodiment of the present invention is shown in FIG. 8 , and the method includes the following steps:
801、获取输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度;801. Acquire the intensity of light input to the light transmission component and the intensity of light output by the light transmission component;
802、判断所述输入至所述光传递部件的光的强度是否在第一预设时间段内稳定于入光强度预设范围;802. Determine whether the intensity of the light input to the light transmission component is stable within a preset range of incident light intensity within a first preset time period;
803、当所述输入至所述光传递部件的光的强度在第一预设时间段内稳定于入光强度预设范围时,判断所述光传递部件所输出的光的强度是否在第二预设时间段内稳定于出光强度预设范围;803. When the intensity of the light input to the light transmission component is stable within a preset range of light intensity within a first preset time period, determine whether the intensity of the light output by the light transmission component is within the second range. Stable within the preset range of light intensity within a preset time period;
804、当所述光传递部件所输出的光的强度在第二预设时间段内稳定于出光强度预设范围时,根据所述输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之差,确定待测鼾声压力值;804. When the intensity of the light output by the light transmission component is stable within a preset range of light output intensity within a second preset time period, according to the intensity of the light input to the light transmission component and the light transmission The difference between the intensities of the light output by the component determines the pressure value of the snore sound to be measured;
805、当所述输入至所述光传递部件的光的强度在第一预设时间段内不稳定于入光强度预设范围,或者所述光传递部件所输出的光的强度在第二预设时间段内不稳定于出光强度预设范围时,报错。805. When the intensity of the light input to the light transmission component is not stable within a preset range of incident light intensity within a first preset time period, or the intensity of the light output by the light transmission component is within a second preset range. If it is not stable within the preset range of light intensity within the set time period, an error will be reported.
在本发明的另一种实施方式中,为了便于医护工作者对用户的鼾声压力值进行查看,在确定待测鼾声压力值之后,确定所述待测鼾声压力值的频率,并对处于预设鼾声频率范围内波动的待测鼾声压力值进行标注和/或存储。其中,利用现有技术对于鼾声频率的界定,所述预设鼾声频率范围可设定为25Hz~300Hz,对处于所述预设鼾声频率范围内波动的待测鼾声压力值进行标注和/或存储。In another embodiment of the present invention, in order to facilitate the medical workers to check the snore pressure value of the user, after the snore pressure value to be measured is determined, the frequency of the snore pressure value to be measured is determined, and the frequency of the snore pressure value to be measured is determined at a preset value. The measured snore pressure values fluctuating within the snore frequency range are marked and/or stored. Wherein, using the definition of snoring sound frequency in the prior art, the preset snoring sound frequency range can be set to 25 Hz to 300 Hz, and the pressure value of the snoring sound to be measured fluctuating within the preset snoring sound frequency range is marked and/or stored. .
另外,对于步骤702,所述根据所述输入至所述光传递部件的光的强度与所述光传递部件所输出的光的强度之差确定待测鼾声压力值包括:In addition, for step 702, the determining the snore pressure value to be measured according to the difference between the intensity of the light input to the light transmission part and the intensity of the light output by the light transmission part includes:
a、将所述输入至所述光传递部件的光的强度进行平滑滤波得到入光平滑值,并根据所述入光平滑值的对数与所述光传递部件所输出的光的强度的对数之差,确定光强度变化值;a. Perform smooth filtering on the intensity of the light input to the light transmission component to obtain an incident light smoothing value, and according to the logarithm of the incident light smoothing value and the logarithm of the light intensity output by the light transmission component The difference of the number to determine the light intensity change value;
b、将所述光强度变化值平滑滤波得到光强度平滑值,并在预设转换表中查找与所述光强度平滑值对应的光强度压力值;b. Smoothing and filtering the light intensity change value to obtain a light intensity smooth value, and searching for a light intensity pressure value corresponding to the light intensity smooth value in a preset conversion table;
c、将所述光强度压力值平滑滤波得到鼾声中线,并确定所述光强度压力值与所述鼾声中线的差值为所述待测鼾声压力值。c. Smoothly filtering the light intensity pressure value to obtain the snoring sound center line, and determining the difference between the light intensity pressure value and the snoring sound center line as the snoring sound pressure value to be measured.
相应的,为了便于理解本发明实施例中步骤702的具体实现过程,如图9所示,提供了对于步骤702的详细实现流程,具体包括如下步骤:Correspondingly, in order to facilitate the understanding of the specific implementation process of step 702 in the embodiment of the present invention, as shown in FIG. 9 , a detailed implementation process of step 702 is provided, which specifically includes the following steps:
901、获取输入至所述光传递部件的光强度电压值,并转换为输入至所述光传递部件的光的强度;901. Acquire a light intensity voltage value input to the light transmission component, and convert it into the intensity of the light input to the light transmission component;
902、将所述输入至所述光传递部件的光的强度进行平滑滤波得到入光平滑值;902. Perform smooth filtering on the intensity of the light input to the light transmission component to obtain an incident light smoothing value;
903、获取所述光传递部件所输出的光强度电压值,并转换为所述光传递部件所输出的光的强度。903. Acquire the light intensity voltage value output by the light transmission component, and convert it into the intensity of the light output by the light transmission component.
对于步骤901和步骤903中由电压值转换为光的强度,可以利用现有技术中的AD转换芯片或者转换关系式,此处不再赘述。For the conversion of the voltage value into the light intensity in steps 901 and 903 , an AD conversion chip or a conversion relational expression in the prior art can be used, and details are not repeated here.
904、光强度变化值=ln(入光平滑值)-ln(所述光传递部件所输出的光的强度);904. Change value of light intensity=ln (smoothing value of incoming light)−ln (intensity of light output by the light transmission component);
905、将所述光强度变化值平滑滤波得到光强度平滑值;905. Smoothly filter the light intensity change value to obtain a smoothed light intensity value;
906、在预设转换表中查找与所述光强度平滑值对应的光强度压力值;906. Find a light intensity pressure value corresponding to the light intensity smoothing value in a preset conversion table;
907、将所述光强度压力值平滑滤波得到鼾声中线;907. Smoothly filter the light intensity pressure value to obtain the midline of the snoring sound;
908、待测鼾声压力值=光强度压力值-鼾声中线;908. Pressure value of snoring sound to be measured = light intensity pressure value - center line of snoring sound;
909、判断所述待测鼾声压力值是否在预设鼾声频率范围内波动,若是则执行步骤910,若不是则执行步骤911;909. Determine whether the snoring pressure value to be measured fluctuates within the preset snoring frequency range, if so, execute step 910, if not, execute step 911;
910、对处于预设鼾声频率范围内波动的待测鼾声压力值进行标注和/或存储;910. Mark and/or store the snoring pressure value to be measured that fluctuates within a preset snoring frequency range;
911、结束本次检测。911. End the inspection.
有关本发明提供的上述鼾声检测方法的具体细节及有益效果,可参阅上述针对本发明提供的上述鼾声检测系统的描述,此处不再赘述。For the specific details and beneficial effects of the snoring sound detection method provided by the present invention, reference may be made to the above description of the snoring sound detection system provided by the present invention, which will not be repeated here.
以上结合附图详细描述了本发明实施例的可选实施方式,但是,本发明实施例并不限于上述实施方式中的具体细节,在本发明实施例的技术构思范围内,可以对本发明实施例的技术方案进行多种简单变型,这些简单变型均属于本发明实施例的保护范围。The optional embodiments of the embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the embodiments of the present invention are not limited to the specific details of the above-mentioned embodiments. A variety of simple modifications are made to the technical solution of the invention, and these simple modifications all belong to the protection scope of the embodiments of the present invention.
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合。为了避免不必要的重复,本发明实施例对各种可能的组合方式不再另行说明。In addition, it should be noted that each specific technical feature described in the above-mentioned specific implementation manner may be combined in any suitable manner under the circumstance that there is no contradiction. To avoid unnecessary repetition, various possible combinations are not further described in this embodiment of the present invention.
本领域技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得单片机、芯片或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those skilled in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium and includes several instructions to make a single-chip microcomputer, a chip or a processor. (processor) executes all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
此外,本发明实施例的各种不同的实施方式之间也可以进行任意组合,只要其不违背本发明实施例的思想,其同样应当视为本发明实施例所公开的内容。In addition, various implementations of the embodiments of the present invention may also be combined arbitrarily, as long as they do not violate the ideas of the embodiments of the present invention, they should also be regarded as the contents disclosed in the embodiments of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711474841.6ACN108272438B (en) | 2017-12-29 | 2017-12-29 | Snoring detection method, device and system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711474841.6ACN108272438B (en) | 2017-12-29 | 2017-12-29 | Snoring detection method, device and system |
| Publication Number | Publication Date |
|---|---|
| CN108272438A CN108272438A (en) | 2018-07-13 |
| CN108272438Btrue CN108272438B (en) | 2019-07-02 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711474841.6AActiveCN108272438B (en) | 2017-12-29 | 2017-12-29 | Snoring detection method, device and system |
| Country | Link |
|---|---|
| CN (1) | CN108272438B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008253760A (en)* | 2007-04-05 | 2008-10-23 | Map Medizin-Technologie Gmbh | Monitoring device and method |
| CN101729967A (en)* | 2009-12-17 | 2010-06-09 | 天津大学 | Acousto-optic conversion method and optical microphone based on multiple-mode interference |
| TW201400088A (en)* | 2012-06-28 | 2014-01-01 | Chang Gung Memorial Hospital Linkou | Snore detecting equipment |
| WO2014153246A2 (en)* | 2013-03-14 | 2014-09-25 | Aliphcom | Sleep management implementing a wearable data-capable device for snoring-related conditions and other sleep disturbances |
| JP2016028661A (en)* | 2014-07-25 | 2016-03-03 | 船井電機株式会社 | Snore detecting device |
| CN108451506A (en)* | 2018-04-20 | 2018-08-28 | 苏州安莱光电科技有限公司 | The contactless snoring of one kind and sleep apnea monitoring device |
| CN108562650A (en)* | 2018-06-01 | 2018-09-21 | 李霆睿 | A kind of passive monitoring device and passive monitoring system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3913748B2 (en)* | 2004-03-25 | 2007-05-09 | 三洋電機株式会社 | Snoring detection method and detection apparatus |
| US9844336B2 (en)* | 2010-08-26 | 2017-12-19 | Ben Gurion University Of The Negev Research And Development Authority | Apparatus and method for diagnosing obstructive sleep apnea |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008253760A (en)* | 2007-04-05 | 2008-10-23 | Map Medizin-Technologie Gmbh | Monitoring device and method |
| CN101729967A (en)* | 2009-12-17 | 2010-06-09 | 天津大学 | Acousto-optic conversion method and optical microphone based on multiple-mode interference |
| TW201400088A (en)* | 2012-06-28 | 2014-01-01 | Chang Gung Memorial Hospital Linkou | Snore detecting equipment |
| WO2014153246A2 (en)* | 2013-03-14 | 2014-09-25 | Aliphcom | Sleep management implementing a wearable data-capable device for snoring-related conditions and other sleep disturbances |
| JP2016028661A (en)* | 2014-07-25 | 2016-03-03 | 船井電機株式会社 | Snore detecting device |
| CN108451506A (en)* | 2018-04-20 | 2018-08-28 | 苏州安莱光电科技有限公司 | The contactless snoring of one kind and sleep apnea monitoring device |
| CN108562650A (en)* | 2018-06-01 | 2018-09-21 | 李霆睿 | A kind of passive monitoring device and passive monitoring system |
| Publication number | Publication date |
|---|---|
| CN108272438A (en) | 2018-07-13 |
| Publication | Publication Date | Title |
|---|---|---|
| US20230003881A1 (en) | Methods and apparatus to measure and analyze vibration signatures | |
| US9638672B2 (en) | System and method for acquiring acoustic information from a resonating body | |
| CN105765516A (en) | Classification of gesture detection systems by using known and to-be-worn sensors | |
| CN106952654A (en) | Robot noise reduction method, device and robot | |
| CN106911410A (en) | One kind communication primary user's cognitive method and system | |
| CN108272438B (en) | Snoring detection method, device and system | |
| CN111443018A (en) | Infrared detection circuit and light-emitting control method, device, and home appliance | |
| CN110049152A (en) | For identifying the method and system of mobile phone Yu veil distance | |
| US9377353B2 (en) | Optical perspiration sensor using frustrated total internal reflection | |
| CN115547352A (en) | Electronic device, method, apparatus and medium for processing noise thereof | |
| CN104374428A (en) | Noise measurement device with wind speed measurement function and implement method of noise measurement device with wind speed measurement function | |
| CN106290564A (en) | Grain acoustic attenuation coefficient measures system and method | |
| TW201710712A (en) | Multi-segment optical component and related optical detecting device capable of increasing SNR | |
| CN108982309A (en) | Detection method, detection mould group, electronic device, computer equipment and storage medium | |
| CN104680696A (en) | Optical fiber intrusion monitoring system | |
| JP6094721B1 (en) | Measuring apparatus, measuring method, and measuring program | |
| CN204789955U (en) | Lighting products stroboscopic test system | |
| TWI635850B (en) | Heartbeat and pulse measuring system and method thereof | |
| CN203606023U (en) | Sound detection device employing two lasers | |
| CN110730630A (en) | Heart rate detection method, device, chip, electronic device and storage medium | |
| CN115266643B (en) | Grease detection system and method | |
| CN108169094B (en) | Filter screen cleanliness detection method, sensor and air treatment equipment | |
| CN103557927B (en) | To the sound detection equipment that the sound sent by sound source detects | |
| CN209994552U (en) | An abnormal sound detection probe | |
| CN104596634A (en) | Vibration frequency measurement method |
| 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | Effective date of registration:20191022 Address after:100041, No. 1, No. 1, No. 28, Apple Garden Road, Shijingshan District, Beijing City, 901 Co-patentee after:BMC(TIANJIN)MEDICAL Co.,Ltd. Patentee after:BMC MEDICAL Co.,Ltd. Address before:100041, No. 1, No. 1, No. 28, Apple Garden Road, Shijingshan District, Beijing City, 901 Patentee before:BMC MEDICAL Co.,Ltd. | |
| TR01 | Transfer of patent right | ||
| CP03 | Change of name, title or address | Address after:100041, No. 1, No. 1, No. 28, Apple Garden Road, Shijingshan District, Beijing City, 901 Patentee after:Beijing Ruimaite Medical Technology Co.,Ltd. Country or region after:China Patentee after:BMC(TIANJIN)MEDICAL Co.,Ltd. Address before:100041, No. 1, No. 1, No. 28, Apple Garden Road, Shijingshan District, Beijing City, 901 Patentee before:BMC MEDICAL Co.,Ltd. Country or region before:China Patentee before:BMC(TIANJIN)MEDICAL Co.,Ltd. | |
| CP03 | Change of name, title or address |