Hearing aid control method, apparatus, electronic device, and storage medium
By integrating an accelerometer into the hearing aid, the system identifies tooth collision signals and matches them with control signals, solving the problem of limited control functions in small hearing aids and enabling convenient control of various operations without removing the hearing aid.
Patent Information
- Application Number
- CN202111057033.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-09
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2041-09-09
AI Technical Summary
Small hearing aids have limited control functions and require removal from the ear to operate, resulting in a poor user experience.
By integrating an accelerometer into the hearing aid, the system acquires acceleration signals generated by the user's movements, filters and removes noise interference, identifies tooth collision signals, and matches control signals in a database, enabling various control operations to be performed without removing the hearing aid.
It enables the output of various control commands based on combinations of user actions, improving the convenience of operation and user experience.
Smart Images

Figure CN115802262B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of hearing aids, and in particular to a hearing aid control method and device, an electronic device, and a storage medium. BACKGROUND
[0002] With the improvement of the appearance requirements of hearing-impaired users, hearing aids have evolved from box-type hearing aids, to behind-the-ear hearing aids, to in-the-canal (ITC) hearing aids, to completely-in-the-canal (CIC) hearing aids, and to invisible-in-the-canal (IIC) hearing aids, which are smaller and more concealed and are favored by young and middle-aged people. However, the smaller size of the whole machine means that some functions are cut, such as the deletion of a Bluetooth module or a button module.
[0003] A hearing aid generally provides a user with an adjustment interface for the hearing aid, such as interfaces for adjusting volume, mode, noise reduction switch, equalization, feedback cancellation, and directivity control. A good human-computer interaction mechanism can greatly improve the user experience. A hearing aid with Bluetooth can be adjusted in various ways through a mobile phone APP. However, most small hearing aids do not have a Bluetooth module and can only be controlled through buttons or knobs. The control function is single, and the user needs to take the hearing aid out of the ear to control it, resulting in poor user experience.
[0004] Currently, there is no effective solution to the technical problem of the single control function of a small hearing aid and the need to take the hearing aid out of the ear to control it, resulting in poor user experience. SUMMARY
[0005] A hearing aid control method, device, electronic device, and storage medium are provided in this embodiment to solve the problem of the single control function of a small hearing aid and the need to take the hearing aid out of the ear to control it, resulting in poor user experience in related technologies.
[0006] In a first aspect, a hearing aid control method is provided in this embodiment and applied to a hearing aid provided with an acceleration sensor, and the method is characterized in that it includes the following steps.
[0007] Obtaining a target signal, the target signal including an acceleration signal generated based on a user action;
[0008] Filtering the target signal to obtain an instruction signal, the instruction signal including at least a tooth collision signal;
[0009] Matching in a database based on the instruction signal to obtain a corresponding control signal;
[0010] Controlling the hearing aid to execute a corresponding instruction based on the control signal.
[0011] In some embodiments, the target signal includes a tooth collision signal, a gravity acceleration signal, and a human motion signal.
[0012] In some embodiments, the filtering the target signal includes:
[0013] high-pass filtering the target signal to filter out the human motion signal;
[0014] baseline operation on the target signal to filter out the gravity acceleration signal.
[0015] In some embodiments, the matching in the database based on the instruction signal includes:
[0016] based on the instruction signal, obtaining a number of tooth collisions and an interval time of tooth collisions;
[0017] based on the number of tooth collisions and the interval time of tooth collisions, matching in the database to obtain a corresponding control signal.
[0018] In some embodiments, the obtaining a number of tooth collisions and an interval time of tooth collisions based on the instruction signal includes:
[0019] obtaining a peak point in the instruction signal whose amplitude exceeds a preset amplitude threshold;
[0020] based on a number of occurrences of the peak point, obtaining a number of tooth collisions;
[0021] based on occurrence times of adjacent peak points, obtaining an interval time of tooth collisions.
[0022] In some embodiments, after the filtering the target signal to obtain an instruction signal, the method further includes:
[0023] performing Fourier transform on the instruction signal.
[0024] In some embodiments, the obtaining a target signal includes:
[0025] obtaining a motion signal, the motion signal including an acceleration signal generated based on a user motion;
[0026] if a data point in the motion signal whose amplitude exceeds a preset amplitude threshold appears, taking the data point as a starting point to obtain a target signal.
[0027] In a second aspect, a hearing aid control device is provided in the embodiments, and has the following characteristics:
[0028] a signal obtaining module, configured to obtain a target signal, the target signal including an acceleration signal generated based on a user motion;
[0029] a filtering module configured to filter the target signal to obtain an instruction signal, the instruction signal comprising at least a tooth collision signal;
[0030] a matching module configured to match in a database based on the instruction signal to obtain a corresponding control signal;
[0031] a control module configured to control the hearing aid to execute a corresponding instruction based on the control signal.
[0032] In a third aspect, an electronic device is provided in the embodiment, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the hearing aid control method in the first aspect.
[0033] In a fourth aspect, a storage medium is provided in the embodiment, and the storage medium stores a computer program executable by a processor to implement the hearing aid control method in the first aspect.
[0034] Compared with the related art, the hearing aid control method, device, electronic device and storage medium provided in the embodiment, by obtaining a target signal comprising an acceleration signal generated based on a user action, filtering the target signal to obtain an instruction signal comprising at least a tooth collision signal, matching in a database based on the instruction signal to obtain a corresponding control signal, and controlling the hearing aid to execute a corresponding instruction based on the control signal, the acceleration signal generated by the user action is judged to determine the user's intention, and the corresponding control instruction is output to control the hearing aid, a plurality of control instructions can be output according to the combination of the user action, and the hearing aid does not need to be taken out, which is convenient to operate.
[0035] Details of one or more embodiments of the present application are presented in the following drawings and description to make other features, objects and advantages of the present application more apparent. BRIEF DESCRIPTION OF DRAWINGS
[0036] The drawings described herein are intended to provide further understanding of the present application, and form a part of the present application. The illustrative embodiments of the present application and their description serve to explain the present application, and do not constitute an improper limitation of the present application. In the drawings:
[0037] Figure 1 is a terminal hardware structure diagram of the hearing aid control method of an embodiment of the present application;
[0038] Figure 2 is a flowchart of the hearing aid control method of an embodiment of the present application;
[0039] Figure 3is a schematic diagram of a hearing aid mode switching according to an embodiment of the present application;
[0040] Figure 4 is a schematic diagram of a three-axis acceleration sensor according to an embodiment of the present application;
[0041] Figure 5 is a schematic diagram of a function of addition and subtraction operation according to an embodiment of the present application;
[0042] Figure 6 is a structural block diagram of an acceleration sensor control system according to an embodiment of the present application;
[0043] Figure 7 is a structural block diagram of a hearing aid control device according to an embodiment of the present application. DETAILED DESCRIPTION
[0044] For the purpose of more clearly understanding the present application, technical solutions and advantages, the present application is described and explained below in connection with the accompanying drawings and embodiments.
[0045] Unless otherwise defined, technical terms or scientific terms used in the present application shall have the general meaning understood by a person skilled in the art to which the present application belongs. In the present application, "one", "a", "an", "the", "these" and similar words do not represent a quantitative limitation, but can be singular or plural. In the present application, the terms "include", "contain", "have" and any variants thereof are intended to cover non-exclusive inclusion; for example, a process, method and system, product or device containing a series of steps or modules (units) are not limited to the listed steps or modules (units), but can include steps or modules (units) not listed, or can include other steps or modules (units) inherent to the process, method, product or device. In the present application, the terms "connected", "connected", "coupled" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. In the present application, "multiple" means two or more. The association between the associated objects is described as "and / or", which means that there can be three relationships, for example, "A and / or B" can mean that A exists alone, A and B exist together, and B exists alone. In general, the character " / " represents the relationship between the objects before and after it as "or". In the present application, the terms "first", "second", "third" and the like are only used to distinguish similar objects, and do not represent a specific order of the objects.
[0046] The method embodiments provided in the present embodiment can be executed in a terminal, a computer or a similar computing device. For example, the method embodiments are executed on a terminal, Figure 1 is a terminal hardware structural block diagram of a hearing aid control method according to the present embodiment. As shown in Figure 1As shown, a terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 and a memory 104 for storing data are also included. The processor 102 may be, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA). The terminal may also include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that… Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the terminal described above. For example, the terminal may also include components that are larger than... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown are illustrated.
[0047] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the hearing aid control method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0048] The transmission device 106 is used to receive or send data via a network. This network includes a wireless network provided by the terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 can be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0049] Please see Figure 2 , Figure 2 This is a schematic flowchart of a hearing aid control method according to an embodiment of the present invention. In this embodiment, the hearing aid control method includes:
[0050] S202: Acquire the target signal, which includes an acceleration signal generated based on the user's actions.
[0051] Exemplarily, a target signal of a user is acquired by a sensor. The target signal refers to an induced signal generated based on an action, pressure, etc. of the user. Specifically, the sensor acquires information of an action, pressure, etc. of the user to be measured, and converts the acquired user information into an electrical signal or other form of signal according to a certain rule for output, to obtain the target signal.
[0052] In one specific embodiment, the sensor acquires action information of the user, and converts the action information into an electrical signal or other form of signal to obtain an acceleration signal. The acceleration signal is used to judge the action of the user, and relevant operations are performed based on the judgment result. In another embodiment, the sensor acquires pressure information of the user, and converts the pressure information into an electrical signal or other form of signal to obtain a pressure signal. The pressure signal is used to judge the pressing force and times of the user, and relevant operations are performed based on the judgment result. It can be understood that the target signal in the present embodiment is not limited to the acceleration signal and the pressure signal, and the present embodiment does not limit this.
[0053] S204: filtering the target signal to obtain an instruction signal, the instruction signal at least including a tooth collision signal.
[0054] Exemplarily, after the target signal is acquired, the target signal is filtered based on a filtering method to remove noise interference in the target signal, so as to obtain an instruction signal. The filtering method refers to an operation of filtering out a signal of a specific wave band and a specific frequency in the target signal. The instruction signal is used to analyze to obtain a relevant control signal, and to make the hearing aid execute a relevant instruction.
[0055] In one specific embodiment, the instruction signal includes a tooth collision signal. It can be understood that the target signal not only includes the tooth collision signal, but also includes other noise signals such as a human motion signal, etc. When the tooth collision signal in the target signal needs to be acquired, the target signal needs to be filtered to remove other noise signals.
[0056] S206: matching in a database based on the instruction signal to obtain a corresponding control signal.
[0057] Exemplarily, after the instruction signal is acquired, the instruction signal is matched and searched in the database to determine whether there is a signal matched with the instruction signal. If there is a signal matched with the instruction signal in the database, a control signal corresponding to the signal is acquired. The control signal refers to a signal instruction directly controlling the hearing aid to execute a relevant operation.
[0058] It can be understood that the preset signals and the control signals corresponding to each preset signal are pre-stored in the database in the embodiment. When the acquired instruction signal matches the preset signal in the database, it indicates that the user has the intention to execute the control signal corresponding to the preset signal.
[0059] S208: controlling the hearing aid to execute the corresponding instruction based on the control signal.
[0060] Exemplarily, after the control signal matching the instruction signal of the user is acquired, the control signal is transmitted to the hearing aid, and the hearing aid is controlled to execute the instruction corresponding to the control signal.
[0061] The target signal is acquired in the embodiment, the target signal includes an acceleration signal generated based on the user action; the target signal is filtered to obtain an instruction signal, the instruction signal at least includes a tooth collision signal; a corresponding control signal is acquired based on the matching in the database based on the instruction signal; and the hearing aid is controlled to execute the corresponding instruction based on the control signal. The acceleration signal generated by the user action is judged to judge the user intention, and the corresponding control instruction is output to control the hearing aid. Multiple control instructions can be output according to the combination of the user action, and the hearing aid does not need to be taken out, which is convenient to operate.
[0062] In another embodiment, the target signal includes a tooth collision signal, a gravity acceleration signal and a human motion signal.
[0063] Exemplarily, the target signal is acquired by the acceleration sensor built in the hearing aid, the target signal includes a tooth collision signal, a gravity acceleration signal and a human motion signal. The tooth collision signal is a high-frequency vibration signal generated after the tooth collision; the gravity acceleration signal is a feedback signal acquired by the sensor based on the gravity acceleration; and the human motion signal is a motion signal acquired by the sensor based on the action change of the human body.
[0064] Specifically, since the bone part of the external auditory canal, the middle ear, the inner ear and the ear canal are located in the temporal bone, and are connected with the parietal bone, the sphenoid bone and the zygomatic bone, and the occipital bone, together forming the middle cranial fossa and the posterior cranial fossa, the high-frequency vibration generated after the tooth collision has less loss through the skull conduction, and the tooth collision signal acquired by the sensor is clearer. The tooth collision signal includes a single click collision signal, a double click collision signal, a triple click collision signal, a quadruple click collision signal and a single-double click combination collision signal, and each tooth collision signal is unique.
[0065] In one specific embodiment, the tooth collision signal is used to switch the mode of the hearing aid. Please refer to Figure 3 , Figure 3 is a hearing aid mode switching schematic diagram of an embodiment of the present application. In Figure 3In the embodiment, the modes of the hearing aid include: a working mode and a debugging mode, wherein the working mode is used to keep the hearing aid in a normal hearing aid working state, and the debugging mode is used to change the function, setting, state and the like of the hearing aid. For example, the mode of the hearing aid is switched by the three-hit collision signal, when the hearing aid is in the working state, the hearing aid is made to enter the debugging mode by three-hit teeth, and when the hearing aid is in the debugging mode, the hearing aid is made to enter the working mode by three-hit teeth. Optionally, if there is no action within 10 seconds after entering the debugging mode, the working mode is returned, so as to ensure that the hearing aid is in the working mode.
[0066] In another specific embodiment, the teeth collision signal is also used to quickly change the function, setting, state and the like of the hearing aid in the working mode without entering the debugging mode. For example, the hearing aid is made to enter the automatic mode or exit the automatic mode by four-hit teeth, the volume of the hearing aid is increased by single-hit plus double-hit teeth, the volume of the hearing aid is decreased by double-hit plus single-hit teeth, and the hearing aid is made to enter the noise reduction mode or exit the noise reduction mode by double-hit plus double-hit teeth.
[0067] Specifically, the human motion signal in the embodiment includes a head motion signal, a limb motion signal, a whole body motion signal and the like. Taking the head motion signal as an example, the head motion signal includes a nodding motion signal, a head lifting motion signal, a left nodding motion signal and a right nodding motion signal and the like.
[0068] In another specific embodiment, the head motion signal is acquired based on a three-axis acceleration sensor, wherein the three-axis acceleration sensor is used to acquire motion acceleration signals in three directions perpendicular to each other. Please refer to Figure 4 , Figure 4 is an axial schematic view of the three-axis acceleration sensor of an embodiment of the present application. In Figure 4 , the X axis of the three-axis acceleration sensor points to the lateral horizontal direction of the human body, the Y axis points to the front horizontal direction of the human body, and the Z axis points to the upward vertical direction. When the head motion is nodding, the Y axis and the Z axis of the three-axis acceleration sensor change periodically, and the X axis basically remains unchanged; when the head motion is head lifting, the Y axis and the Z axis of the three-axis acceleration sensor change periodically in reverse, and the X axis basically remains unchanged; when the head motion is left nodding, the X axis and the Z axis of the three-axis acceleration sensor change periodically, and the Y axis basically remains unchanged; when the head motion is right nodding, the X axis and the Z axis of the three-axis acceleration sensor change periodically in reverse, and the Y axis basically remains unchanged.
[0069] In another embodiment, the head movement signal is used for menu control in the debugging mode. By nodding, the current menu option is determined; by lifting the head, the previous menu is returned; by nodding to the left, the menu is switched to the left or the add operation is performed; by nodding to the right, the menu is switched to the right or the subtract operation is performed. The user can select the corresponding head movement based on the voice prompt to achieve the relevant operation. Based on this, a complete debugging process includes: selecting the corresponding operation by nodding to the left and right, determining the operation by nodding, then adding or subtracting by nodding to the left and right, and finally returning to the previous menu by lifting the head when the debugging purpose is achieved, and continuing to complete the next debugging purpose. If all the debugging purposes are completed, the debugging mode is exited and the working mode is returned.
[0070] Please refer to Figure 5 , Figure 5 is a functional diagram of the add-subtract operation of an embodiment of the present application. When the volume needs to be debugged, the add-subtract operation is used for control; when the mode needs to be switched or the main mode is selected, the add-subtract operation is used to select the corresponding mode; when the sound quality needs to be debugged, the add-subtract operation is used to control the noise reduction and human voice clarity of the hearing aid; when the equalizer needs to be debugged, the add-subtract operation is used to control the high, medium and low frequencies of the equalizer, respectively.
[0071] Optionally, before the hearing aid is controlled, the relevant movements of the user can be obtained and the hearing aid operation corresponding to the relevant movements specified by the user, as well as the frequency and amplitude response of the relevant movements, are saved. When the hearing aid needs to be controlled, the movements of the user are obtained in real time and the response instruction signal is obtained, and finally the instruction signal is compared and matched with the frequency and amplitude of the pre-stored relevant movements to obtain the operation to be performed on the hearing aid.
[0072] In another embodiment, filtering the target signal includes:
[0073] Step 1: high-pass filtering the target signal to filter out the human body movement signal;
[0074] Step 2: baseline removal operation on the target signal to filter out the gravity acceleration signal.
[0075] For example, the target signal in this embodiment includes a mixed signal of the tooth collision signal, the gravity acceleration signal and the human body movement signal. Since the tooth collision process is very short, the human body movement state and the gravity state change very little during the tooth collision process, so the human body movement signal and the gravity acceleration signal are much smaller than the tooth collision signal. If only the tooth collision signal is used as the instruction signal, the human body movement signal and the gravity acceleration signal need to be filtered out to eliminate the noise interference of the human body movement state and the gravity acceleration on the tooth collision signal.
[0076] Specifically, the human motion signal is filtered out by a high-pass filtering method. The filtering rule of the high-pass filtering is to retain high-frequency signals and weaken low-frequency signals below a preset threshold. The weakening amplitude depends on the frequency of the signal and different filtering purposes. Since the frequency of the human motion signal is low, the human motion signal can be weakened or filtered out based on a Gaussian filtering method. It can be understood that the method for filtering out the human motion signal in the present application is not limited to the high-pass filtering method in the embodiment, but also includes other methods such as adaptive filtering and Kalman filtering.
[0077] Specifically, the gravity acceleration signal is filtered out by a baseline removal operation. Since the gravity acceleration signal exists in the target signal, the tooth collision signal is affected by the gravity acceleration signal, resulting in a slight signal offset, i.e., a baseline drift of the signal. In order to avoid the influence of the gravity acceleration signal on the tooth collision signal, it is necessary to perform a baseline removal operation to filter out the gravity acceleration signal to eliminate the influence of the gravity acceleration signal on the tooth collision signal. For example, the gravity acceleration signal is filtered out by a BEADS algorithm or an EMD algorithm.
[0078] In the embodiment, the target signal is high-pass filtered to filter out the human motion signal, and the target signal is subjected to a baseline removal operation to filter out the gravity acceleration signal. By the high-pass filtering method and the baseline removal operation, the interference of the human motion signal and the acceleration signal on the tooth collision signal is removed, the accuracy of the tooth collision signal is improved, and the accuracy of the hearing aid control is further improved.
[0079] In another embodiment, the matching in the database based on the instruction signal comprises:
[0080] Step 1: Based on the instruction signal, the number of tooth collisions and the interval time are obtained.
[0081] Step 2: Based on the number of tooth collisions and the interval time, the corresponding control signal is obtained by matching in the database.
[0082] Illustratively, after obtaining the instruction signal, the instruction signal is analyzed to obtain the number of tooth collisions and the interval time of tooth collisions. The interval time of tooth collisions is the time between adjacent two tooth collisions. The time length of different interval times can be the same or different. Based on the number of tooth collisions and the interval time of tooth collisions, the relevant data pre-stored in the database is searched and matched, and the corresponding control signal is further obtained.
[0083] In one specific embodiment, the intervals for tooth collisions include short intervals and long intervals. Short intervals are denoted as S events, and long intervals as L events. Intervals between 0.05s and 0.35s are defined as short intervals, and intervals between 0.35s and 0.8s are defined as long intervals. If no valid tooth collision signal is received within 0.8s, the current tooth collision ends, and a corresponding control signal is output. A 32-bit binary variable is used to record complete tooth collision events, with each event occupying 4 bits (1 hexadecimal bit). The first tooth collision event is denoted as 1111 (0xF in hexadecimal), the S event as 0001 (0x1 in hexadecimal), and the L event as 0010 (0x2 in hexadecimal). For each additional event recorded, the record is shifted 4 bits to the left (1 bit to the left in hexadecimal). For example, when a tooth collision is a double-hit collision, the tooth collision events include: 0x000000F1 (double-hit collision, short interval), 0x000000F2 (double-hit collision, long interval); when a tooth collision is a triple-hit collision, the tooth collision events include: 0x00000F11 (triple-hit collision, short interval, short interval), 0x00000F12 (triple-hit collision, short interval, long interval), 0x00000F21 (triple-hit collision, long interval, short interval), 0x00000F22 (triple-hit collision, long interval, long interval). It is understandable that when the number of tooth collisions is n, the combinations of tooth collision events include 2... n-1 There are several scenarios, each of which can serve as a valid control signal. By linking these valid control signals with specific hearing aid operation commands, a mapping relationship is established. Based on this mapping relationship, the hearing aid can be directly controlled to perform relevant operations. Here, n is a natural number greater than or equal to 1.
[0084] Please see Figure 6 , Figure 6 This is a structural block diagram of an acceleration sensor control system according to an embodiment of the present invention. Figure 6 In this system, the accelerometer's control system includes a data acquisition device, a filtering device, a detection device, a control device, and a hearing aid. Specifically, the data acquisition device acquires the target signal output by the accelerometer; the filtering device filters and removes the baseline from the target signal to obtain the tooth collision signal; the detection device detects whether the tooth collision signal represents a valid tooth collision action; and the control device determines whether the tooth collision action is a single click, double click, triple click, or other combination of actions, and transmits the corresponding control command to the hearing aid to execute the relevant instructions.
[0085] The embodiment obtains the number of tooth collisions and the interval time based on the instruction signal, and matches the number of tooth collisions and the interval time in a database to obtain a corresponding control signal. The number of tooth collisions and the interval time are matched in the data to obtain the corresponding control signal, the number of tooth collisions and the interval time information are easy to obtain, and the matching method is simple, without the need to match based on the waveform of the signal, thereby reducing the calculation cost of obtaining the control signal.
[0086] In another embodiment, obtaining the number of tooth collisions and the interval time based on the instruction signal comprises:
[0087] Step 1: obtaining a peak point in the instruction signal whose amplitude exceeds a preset amplitude threshold;
[0088] Step 2: obtaining the number of tooth collisions based on the number of occurrences of the peak point;
[0089] Step 3: obtaining the interval time of tooth collisions based on the occurrence time of adjacent peak points.
[0090] Exemplarily, after obtaining the instruction signal, the amplitude of each peak point in the instruction signal is analyzed to obtain the amplitude of each peak point in the instruction signal. If the amplitude of the peak point exceeds the preset amplitude threshold, the peak point is identified as an effective tooth collision. Based on this, the number of occurrences of the peak point whose amplitude exceeds the preset amplitude threshold is obtained as the number of tooth collisions, and the occurrence time of adjacent peak points whose amplitudes exceed the preset amplitude threshold is obtained as the interval time of tooth collisions.
[0091] The embodiment obtains a peak point in the instruction signal whose amplitude exceeds a preset amplitude threshold, obtains the number of tooth collisions based on the number of occurrences of the peak point, and obtains the interval time of tooth collisions based on the occurrence time of adjacent peak points. The amplitude of the peak point in the instruction signal is judged to obtain the number of effective tooth collisions and the interval time of tooth collisions, which removes the interference of noise signals with small amplitudes on the instruction signal and improves the accuracy of the number of tooth collisions and the interval time of tooth collisions.
[0092] In another embodiment, after obtaining the instruction signal by filtering the target signal, the method further comprises:
[0093] performing Fourier transform on the instruction signal.
[0094] Exemplarily, after the instruction signal is acquired, the instruction signal is processed based on Fourier transform, the instruction signal is converted to a frequency domain, the control signal is obtained by analyzing and matching the converted frequency domain signal, and the corresponding control instruction is executed. The Fourier transform is a method for analyzing and synthesizing signals, and can convert a function meeting certain conditions into a linear combination of integrals. It can be understood that the frequency domain conversion method of the instruction signal in the present application is not limited to the Fourier transform in the embodiment, and can also include other frequency domain conversion methods such as Laplace transform.
[0095] In the embodiment, the instruction signal is subjected to Fourier transform, the instruction signal is converted to a frequency domain, the frequency components contained in the instruction signal can be accurately acquired, the accuracy of the instruction signal analysis is improved, and the accuracy of the hearing aid control is further improved.
[0096] In another embodiment, acquiring the target signal comprises:
[0097] Step 1: acquiring a motion signal, the motion signal comprising an acceleration signal generated based on a user motion;
[0098] Step 2: if a data point with an amplitude exceeding a preset amplitude threshold appears in the motion signal, the data point is taken as a starting point, and the target signal is acquired.
[0099] Exemplarily, the motion signal of the user is acquired, and when a data point with an amplitude reaching a preset amplitude threshold appears in the user motion signal, the data point is taken as a starting point of the target signal. The motion signal comprises an acceleration signal generated based on a user motion, such as a head acceleration signal, a limb acceleration signal, a joint acceleration signal, etc.
[0100] In one specific embodiment, in a preset frequency range, when a motion signal with an amplitude greater than a preset amplitude threshold appears, it is recorded as the beginning of the target signal, and when there is no longer a motion signal with an amplitude greater than the preset amplitude threshold in the preset frequency range, it is recorded as the end of the target signal.
[0101] In the embodiment, the motion signal is acquired, the motion signal comprises an acceleration signal generated based on a user motion, and if a data point with an amplitude exceeding a preset amplitude threshold appears in the motion signal, the data point is taken as a starting point, and the target signal is acquired. The method of threshold judgment filters out signals with a low amplitude in the motion signal, avoids the interference of noise signals on the target signal, and improves the accuracy of the target signal.
[0102] It should be noted that the steps shown in the above flow or the flowchart of the accompanying drawings can be executed in a computer system such as a group of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0103] A hearing aid control device is also provided in the present embodiment, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be described again. The terms "module", "unit", "sub-unit" and the like used below can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware is also possible and is contemplated.
[0104] Figure 7 is a structural block diagram of the hearing aid control device of the present embodiment, as Figure 7 shown, the device comprises:
[0105] a signal acquisition module, configured to acquire a target signal, the target signal comprising an acceleration signal generated based on a user action;
[0106] The signal acquisition module is further configured to acquire an action signal, the action signal comprising an acceleration signal generated based on a user action;
[0107] If a data point with an amplitude exceeding a preset amplitude threshold appears in the action signal, the data point is taken as a starting point, and the target signal is acquired;
[0108] a filtering module, configured to filter the target signal to obtain an instruction signal, the instruction signal comprising at least a tooth collision signal;
[0109] The filtering module is further configured to perform high-pass filtering on the target signal to filter out a human motion signal;
[0110] baseline operation is performed on the target signal to filter out a gravity acceleration signal;
[0111] a matching module, configured to perform matching in a database based on the instruction signal to obtain a corresponding control signal;
[0112] The matching module is further configured to obtain a number of tooth collisions and an interval time based on the instruction signal;
[0113] The number of tooth collisions and the interval time are matched in the database to obtain a corresponding control signal;
[0114] The matching module is further configured to obtain a peak point with an amplitude exceeding a preset amplitude threshold in the instruction signal;
[0115] The number of tooth collisions is obtained based on the number of occurrences of the peak point;
[0116] The interval time of tooth collisions is obtained based on the occurrence time of adjacent peak points;
[0117] a control module, configured to control the hearing aid to execute a corresponding instruction based on the control signal;
[0118] The hearing aid control device further comprises a transform module.
[0119] The transform module is configured to perform Fourier transform on the instruction signal.
[0120] It should be noted that each of the above modules can be a functional module or a program module, and can be implemented by software or hardware. For the modules implemented by hardware, each of the above modules can be located in the same processor, or each of the above modules can be located in different processors in any combination.
[0121] In this embodiment, an electronic device is also provided, which comprises a memory and a processor, the memory stores a computer program, and the processor is configured to execute the computer program to perform the steps in any of the above method embodiments.
[0122] Optionally, the electronic device can further comprise 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.
[0123] Optionally, in this embodiment, the processor can be configured to execute the following steps by the computer program:
[0124] S1, obtaining a target signal, the target signal comprising an acceleration signal generated based on a user action;
[0125] S2, filtering the target signal to obtain an instruction signal, the instruction signal comprising at least a tooth collision signal;
[0126] S3, matching in a database based on the instruction signal to obtain a corresponding control signal;
[0127] S4: controlling the hearing aid to execute a corresponding instruction based on the control signal.
[0128] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation manners, which will not be described herein again.
[0129] In addition, in combination with the hearing aid control method provided in the above embodiments, a storage medium can also be provided to implement the hearing aid control method in this embodiment. The storage medium stores a computer program; the computer program is executed by a processor to implement any of the hearing aid control methods in the above embodiments.
[0130] It should be understood that the specific embodiments described herein are only used to explain this application, but not to limit it. According to the embodiments provided in this application, all other embodiments obtained by those of ordinary skill in the art without creative labor are within the scope of protection of this application.
[0131] It is apparent that the drawings depicted are only a few example or embodiment of the present application and that, as such, the present application can be applied to other analogous situations without the need for creative skills by a person of ordinary skill in the art. In addition, it is understood that, although the work done during the development of the present application can be complex and lengthy, certain modifications, such as design, manufacture or production, made by a person of ordinary skill in the art in accordance with the technical content disclosed in the present application, should not be considered as a lack of disclosure.
[0132] The term "embodiment" in the present application means that the specific features, structures or characteristics described in connection with the embodiment can be included in at least one embodiment of the present application. The presence of this phrase in various places in the specification does not necessarily mean the same embodiment, nor does it mean independence or alternatives to other embodiments. It is clear or implicitly understood by a person of ordinary skill in the art that the embodiments described in the present application can be combined with other embodiments without conflict.
[0133] The above-described embodiments only express several implementation manners of the present application, which are described in detail and specifically, but should not be understood as a limitation on the scope of patent protection. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, which are all within the scope of protection of the present application. Therefore, the scope of protection of the present application should be subject to the appended claims.
Claims
1. A hearing aid control method applied to a hearing aid provided with an acceleration sensor, characterized by, The method comprises: obtaining a target signal, the target signal comprising an acceleration signal generated based on a user action; filtering the target signal to filter out a human motion signal and a gravity acceleration signal in the target signal to obtain an instruction signal, the instruction signal comprising at least a tooth collision signal; matching the instruction signal in a database to obtain a corresponding control signal; controlling a hearing aid to execute a corresponding instruction based on the control signal.
2. The hearing aid control method according to claim 1, characterized in that, The filtering the target signal comprises: high-pass filtering the target signal to filter out the human motion signal; baseline operation on the target signal to filter out the gravity acceleration signal.
3. The hearing aid control method according to claim 1, characterized in that, The matching the instruction signal in the database comprises: based on the instruction signal, obtaining a number of tooth collisions and an interval time; based on the number of tooth collisions and the interval time, matching in the database to obtain the corresponding control signal.
4. The hearing aid control method according to claim 3, characterized in that, The obtaining the number of tooth collisions and the interval time based on the instruction signal comprises: obtaining a peak point in the instruction signal whose amplitude exceeds a preset amplitude threshold; based on a number of occurrences of the peak point, obtaining the number of tooth collisions; based on occurrence times of adjacent peak points, obtaining the interval time of tooth collisions.
5. The hearing aid control method of claim 1, wherein, The filtering the target signal to obtain the instruction signal further comprises: performing Fourier transform on the instruction signal.
6. The hearing aid control method of claim 1, wherein, The obtaining the target signal comprises: obtaining an action signal, the action signal comprising an acceleration signal generated based on a user action; if a data point in the action signal whose amplitude exceeds a preset amplitude threshold appears, taking the data point as a starting point to obtain the target signal.
7. A hearing aid control device, characterized in that The method comprises: a signal obtaining module configured to obtain a target signal, the target signal comprising an acceleration signal generated based on a user action; a filtering module configured to filter the target signal to filter out a human motion signal and a gravity acceleration signal in the target signal to obtain an instruction signal, the instruction signal comprising at least a tooth collision signal; a matching module configured to match the instruction signal in a database to obtain a corresponding control signal; a control module configured to control a hearing aid to execute a corresponding instruction based on the control signal. 8.An electronic device comprising a memory and a processor, the electronic device comprising: The memory stores a computer program, and the processor is configured to execute the computer program to execute the hearing aid control method in any one of claims 1 to 6.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by the processor, implements the steps of the hearing aid control method in any one of claims 1 to 6.
Citation Information
Patent Citations
Denoising method and electronic device
CN110187859A