CN113313136A - Motion characteristic detection method and device for electronic equipment and loudspeaker - Google Patents
Motion characteristic detection method and device for electronic equipment and loudspeaker Download PDFInfo
- Publication number
- CN113313136A CN113313136A CN202010123614.4A CN202010123614A CN113313136A CN 113313136 A CN113313136 A CN 113313136A CN 202010123614 A CN202010123614 A CN 202010123614A CN 113313136 A CN113313136 A CN 113313136A
- Authority
- CN
- China
- Prior art keywords
- motion
- signal
- self
- component
- electronic device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 60
- 230000005236 sound signal Effects 0.000 claims abstract description 38
- 238000001914 filtration Methods 0.000 claims abstract description 20
- 238000000034 method Methods 0.000 claims abstract description 7
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C22/00—Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
- G01C22/006—Pedometers
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a motion characteristic detection method and device for electronic equipment and a loudspeaker, wherein the method comprises the following steps: acquiring an audio signal sent by electronic equipment; acquiring a motion signal acquired by a motion detection device, wherein the motion signal comprises a motion component of the electronic equipment and a self-vibration interference component generated by an audio signal; and filtering self-vibration interference components from the motion signals according to the acquired audio signals, thereby extracting the motion components. According to the technical scheme, the self-vibration of the electronic equipment can be filtered while the motion attitude is detected, so that the detection rate is improved.
Description
Technical Field
The present invention relates to the field of signal processing and speaker technology, and in particular, to a method and an apparatus for detecting motion characteristics of an electronic device, and a speaker.
Background
At present, electronic devices with motion detection functions exist in the market, but the electronic devices with motion detection functions are often misjudged due to motion detection caused by other interference factors, and the interference factors are particularly caused by self-vibration of the electronic devices.
In some electronic devices, the self-vibration caused by the functions of the electronic devices becomes the aforementioned interference factor, for example, in the field of speakers, when the speaker device makes a sound, the self-vibration of the hard device is often caused due to the vibration sound-producing principle of the speaker unit and the resonance effect of the housing, and the self-vibration is also easily sampled by the motion detection sensor, thereby causing the misjudgment of the motion detection.
Therefore, how to provide a method capable of effectively reducing the misjudgment of motion detection caused by self-vibration has become a technical problem to be overcome in the field.
Disclosure of Invention
In view of the above problems in the related art, the present invention provides a motion feature detection method and apparatus for an electronic device, and a speaker, which can detect a motion gesture while considering interference caused by a self-vibration of the device.
The technical scheme of the invention is realized as follows:
according to an aspect of the present invention, there is provided a motion feature detection method for an electronic device, including: acquiring an audio signal sent by electronic equipment; acquiring a motion signal acquired by a motion detection device, wherein the motion signal comprises a motion component of the electronic equipment and a self-vibration interference component generated by an audio signal; and filtering self-vibration interference components from the motion signals according to the acquired audio signals, thereby extracting the motion components.
According to an embodiment of the present invention, the motion feature detection method for an electronic device further includes: and matching the extracted motion component with the motion characteristic, and outputting a corresponding motion gesture recognition result when the extracted motion component is matched with the motion characteristic.
According to an embodiment of the invention, the acquired audio signal comprises a frequency domain signal and a signal gain of the audio, wherein the self-seismic interference component is determined from the frequency domain signal and the signal gain.
According to an embodiment of the present invention, the motion feature detection method for an electronic device further includes: and judging whether the motion gesture recognition result meets the condition for executing the preset operation, and if so, executing the corresponding preset operation.
According to an embodiment of the invention, the electronic device is a loudspeaker.
According to another aspect of the present invention, there is provided a motion feature detection apparatus for an electronic device, including: the audio acquisition module is used for acquiring an audio signal sent by the electronic equipment; the motion detection device is used for acquiring a motion signal, wherein the motion signal comprises a motion component of the electronic equipment and a self-vibration interference component generated by an audio signal; and the self-vibration filtering module is used for filtering self-vibration interference components from the motion signals according to the acquired audio signals so as to extract the motion components.
According to an embodiment of the present invention, the motion characteristic detection apparatus for an electronic device further includes: the motion matching module is used for matching the extracted motion component with the motion characteristic, and the result output module is used for outputting a corresponding motion gesture recognition result when the extracted motion component is matched with the motion characteristic.
According to the embodiment of the invention, the audio signal acquired by the audio acquisition module comprises a frequency domain signal and a signal gain of the audio, wherein the self-vibration filtering module determines the self-vibration interference component according to the frequency domain signal and the signal gain.
According to an embodiment of the present invention, the motion characteristic detection apparatus for an electronic device further includes: and the preset operation module is used for judging whether the motion gesture recognition result meets the condition of executing the preset operation or not, and if so, executing the corresponding preset operation.
According to an embodiment of the invention, the electronic device is a loudspeaker.
According to still another aspect of the present invention, there is provided a speaker including: the audio acquisition module is used for acquiring an audio signal sent by the electronic equipment; the motion detection device is used for acquiring a motion signal, wherein the motion signal comprises a motion component of the electronic equipment and a self-vibration interference component generated by an audio signal; and the self-vibration filtering module is used for filtering self-vibration interference components from the motion signals according to the acquired audio signals so as to extract the motion components.
According to the technical scheme, the self-vibration interference component caused by the audio signal is filtered from the motion signal, so that the self-vibration of the electronic equipment can be filtered while the motion gesture is detected, the detection rate of the motion detection on the equipment can be greatly improved for the equipment capable of causing the self-vibration by the audio signal, and the user motion detection function can be favorably supported on the equipment with the self-vibration.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart of a motion profile detection method for an electronic device according to an embodiment of the present invention;
fig. 2 is a block diagram of a motion feature detection apparatus for an electronic device according to an embodiment of the present invention;
fig. 3 is a flowchart of a motion characteristic detection method for an electronic device according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
Because the motion detection in the prior art does not consider the interference caused by the self-vibration of the electronic equipment, the detection rate of the motion detection is influenced. In view of this, the present invention provides a motion characteristic detection method for an electronic device. Fig. 1 is a flowchart of a motion characteristic detection method for an electronic device according to an embodiment of the present invention. As shown in fig. 1, the motion characteristic detection method of the present invention may include the steps of:
and S10, acquiring the audio signal sent by the electronic equipment.
And S20, acquiring the motion signal acquired by the motion detection device. The motion signal includes a motion component of the electronic device and a self-vibration interference component generated by the audio signal due to the audio signal emitted by the electronic device. In some embodiments, the electronic device may be any electronic device capable of emitting audio signals and capable of motion detection in any suitable manner. In some embodiments, the electronic device is a speaker.
And S30, filtering self-vibration interference components generated by the audio signals from the motion signals according to the acquired audio signals, thereby extracting the motion components.
According to the technical scheme, the self-vibration interference component caused by the audio signal is filtered from the motion signal, so that the self-vibration of the electronic equipment can be filtered while the motion gesture is detected, the detection rate of the motion detection on the equipment can be greatly improved for the equipment capable of causing the self-vibration by the audio signal, and the user motion detection function can be favorably supported on the equipment with the self-vibration.
Fig. 2 is a block diagram of a motion characteristic detection apparatus for an electronic device according to an embodiment of the present invention. Referring to fig. 1 and 2, the motion feature detection apparatus of the present invention may include an audio acquisition module 50, a motion detection device 51, and a self-vibration filtering module 52. The audio obtaining module 50 may be configured to execute step S10 to obtain an audio signal sent by the electronic device. The motion detection device 51 may be used to perform step S20 to acquire a motion signal. The self-vibration filtering module 52 may be configured to execute step S30 to filter the self-vibration interference component from the motion signal according to the acquired audio signal, so as to extract the motion component. In one embodiment, the motion detection device 51 may be a motion sensor.
Fig. 3 is a flowchart of a motion characteristic detection method for an electronic device according to another embodiment of the present invention. As shown in fig. 2 and fig. 3, in this embodiment, step S10 may specifically include S101, and at S101, the frequency domain signal of the audio and the signal gain representing the audio volume may be acquired by the audio acquisition module 50.
Step S20 may specifically include S201. At step S201, a motion signal may be acquired by the motion detection device 51 (e.g., a motion sensor). Step S202 may also be performed after step S201, and the motion signal acquired by the motion detection device 51 may be subjected to filtering processing at S202 by the filtering module 53 connected between the motion detection device 51 and the self-vibration filtering module 52.
Then, proceeding to step S30, the self-vibration interference component may be filtered out by the self-vibration filtering module 52. Specifically, the self-vibration interference component may be determined according to the frequency domain signal and the signal gain of the audio obtained in step S101, and the self-vibration interference component may be filtered from the motion signal, so as to extract the motion component of the electronic device. In some embodiments, the mapping relationship between different frequency domain signals and signal gains and the self-seismic interference components that can be generated by the frequency domain signals and the signal gains may be predetermined, and a table lookup method or the like may be used to determine the self-seismic interference components corresponding to the obtained frequency domain signals and signal gains. In other embodiments, any implementable manner may be employed to determine the self-seismic interference component of the audio signal.
As shown in fig. 2 and 3, the motion feature detection method of the present invention may further include step S40, where at S40, the extracted motion component may be matched with the motion feature by the motion matching module 54. The extracted motion component can be matched with a plurality of preset motion templates by comparing, and the plurality of motion templates can respectively correspond to different motion gesture recognition results, so that when the extracted motion component is matched with one preset motion template, the motion gesture recognition result corresponding to the motion component can be determined. In one embodiment, the motion template comprises a motion template of a manual rocking portable loudspeaker, and when the extracted motion component matches the motion template, the motion gesture recognition result may be determined to be the manual rocking portable loudspeaker. In other embodiments, other suitable configurations for the motion template may be used.
Then, when it is judged at S50 that the extracted motion component matches the motion feature, a corresponding motion posture recognition result is output through the result output module 55; when it is judged that the extracted motion component does not match the motion feature, the process returns to step S20.
After obtaining the detected motion gesture recognition result, the motion feature detection method of the present invention may further include step S60, determining whether the motion gesture recognition result meets a condition for executing a preset operation through a preset operation module (not shown), and if so, executing a corresponding preset operation; if not, the process returns to step S20. Fig. 3 shows, without limitation, a case where the preset operation is a shutdown operation, that is, shutdown is performed if the detected moving posture recognition result reaches a condition for performing the shutdown operation. In other embodiments, the preset operation may be any suitable configuration. In other embodiments, the detected motion gesture recognition results may be used to execute an appropriate application.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (11)
1. A motion feature detection method for an electronic device, comprising:
acquiring an audio signal sent by the electronic equipment;
acquiring a motion signal acquired by a motion detection device, wherein the motion signal comprises a motion component of the electronic equipment and a self-vibration interference component generated by the audio signal;
and filtering the self-vibration interference component from the motion signal according to the acquired audio signal, thereby extracting the motion component.
2. The motion feature detection method for an electronic device according to claim 1, further comprising:
matching the extracted motion components with motion features,
and when the extracted motion component is matched with the motion characteristic, outputting a corresponding motion gesture recognition result.
3. The method of claim 1, wherein the acquired audio signal comprises a frequency domain signal and a signal gain of audio, and wherein the self-seismic interference component is determined from the frequency domain signal and the signal gain.
4. The motion feature detection method for an electronic device according to claim 2, further comprising:
and judging whether the motion gesture recognition result meets the condition for executing the preset operation, and if so, executing the corresponding preset operation.
5. The motion feature detection method for an electronic device according to any one of claims 1 to 4, wherein the electronic device is a speaker.
6. A motion feature detection apparatus for an electronic device, comprising:
the audio acquisition module is used for acquiring an audio signal sent by the electronic equipment;
the motion detection device is used for acquiring a motion signal, wherein the motion signal comprises a motion component of the electronic equipment and a self-vibration interference component generated by the audio signal;
and the self-vibration filtering module is used for filtering the self-vibration interference component from the motion signal according to the acquired audio signal so as to extract the motion component.
7. The motion feature detection apparatus for an electronic device according to claim 6, further comprising:
a motion matching module for matching the extracted motion component with a motion feature,
and the result output module is used for outputting a corresponding motion gesture recognition result when the extracted motion component is matched with the motion characteristic.
8. The apparatus of claim 6, wherein the audio signal obtained by the audio obtaining module comprises a frequency domain signal of audio and a signal gain, and wherein the self-seismic filtering module determines the self-seismic interference component according to the frequency domain signal and the signal gain.
9. The motion feature detection apparatus for an electronic device according to claim 8, further comprising:
and the preset operation module is used for judging whether the motion gesture recognition result meets the condition of executing the preset operation or not, and if so, executing the corresponding preset operation.
10. The motion feature detection apparatus for an electronic device according to any one of claims 6 to 9, wherein the electronic device is a speaker.
11. A loudspeaker, comprising:
the audio acquisition module is used for acquiring an audio signal sent by the electronic equipment;
the motion detection device is used for acquiring a motion signal, wherein the motion signal comprises a motion component of the electronic equipment and a self-vibration interference component generated by the audio signal;
and the self-vibration filtering module is used for filtering the self-vibration interference component from the motion signal according to the acquired audio signal so as to extract the motion component.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010123614.4A CN113313136A (en) | 2020-02-27 | 2020-02-27 | Motion characteristic detection method and device for electronic equipment and loudspeaker |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010123614.4A CN113313136A (en) | 2020-02-27 | 2020-02-27 | Motion characteristic detection method and device for electronic equipment and loudspeaker |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113313136A true CN113313136A (en) | 2021-08-27 |
Family
ID=77370779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010123614.4A Pending CN113313136A (en) | 2020-02-27 | 2020-02-27 | Motion characteristic detection method and device for electronic equipment and loudspeaker |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113313136A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103049090A (en) * | 2011-12-20 | 2013-04-17 | 微软公司 | User control gesture detection |
US20130135973A1 (en) * | 2010-08-12 | 2013-05-30 | Koninklijke Philips Electronics N.V. | Tap sensitive alarm clock |
CN109951602A (en) * | 2019-02-26 | 2019-06-28 | 维沃移动通信有限公司 | A kind of vibration control method and mobile terminal |
CN110187859A (en) * | 2019-04-12 | 2019-08-30 | 华为技术有限公司 | A kind of denoising method and electronic equipment |
CN110502109A (en) * | 2019-07-31 | 2019-11-26 | Oppo广东移动通信有限公司 | Information processing method, device, electronic equipment and storage medium |
-
2020
- 2020-02-27 CN CN202010123614.4A patent/CN113313136A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130135973A1 (en) * | 2010-08-12 | 2013-05-30 | Koninklijke Philips Electronics N.V. | Tap sensitive alarm clock |
CN103049090A (en) * | 2011-12-20 | 2013-04-17 | 微软公司 | User control gesture detection |
CN109951602A (en) * | 2019-02-26 | 2019-06-28 | 维沃移动通信有限公司 | A kind of vibration control method and mobile terminal |
CN110187859A (en) * | 2019-04-12 | 2019-08-30 | 华为技术有限公司 | A kind of denoising method and electronic equipment |
CN110502109A (en) * | 2019-07-31 | 2019-11-26 | Oppo广东移动通信有限公司 | Information processing method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10824391B2 (en) | Audio user interface apparatus and method | |
JP7218391B2 (en) | NOISE REDUCTION METHOD, APPARATUS, ELECTRONIC DEVICE, STORAGE MEDIUM, AND PROGRAM FOR IN-VEHICLE ENVIRONMENT | |
KR20200086476A (en) | Method for estimating electromagnatic signal and an electronic device thereof | |
CN107068164B (en) | Audio signal processing method and device and electronic equipment | |
JP2010112996A (en) | Voice processing device, voice processing method and program | |
JP6276132B2 (en) | Utterance section detection device, speech processing system, utterance section detection method, and program | |
CN109192214B (en) | Voice number taking method, storage medium and robot | |
US20180322896A1 (en) | Sound collection apparatus, sound collection method, recording medium recording sound collection program, and dictation method | |
JP2010112995A (en) | Call voice processing device, call voice processing method and program | |
CN113010139B (en) | Screen projection method and device and electronic equipment | |
US11190873B2 (en) | Electronic device and method for detecting blocked state of microphone | |
US20200145756A1 (en) | Headset | |
US20150003637A1 (en) | Method for utilizing multi-tone identification and audio apparatus utilizing the same | |
CN113313136A (en) | Motion characteristic detection method and device for electronic equipment and loudspeaker | |
CN110321020B (en) | Piezoelectric sensor signal noise removing method and device | |
KR20180036032A (en) | Image processing apparatus and recording media | |
CN209914013U (en) | Noise reduction system | |
CN109655269B (en) | Motor vibration detection method and device | |
CN114143665A (en) | Noise reduction processing system and method for server fan | |
CN112017649A (en) | Audio processing method and device, electronic equipment and readable storage medium | |
CN111510841A (en) | Audio component detection method and device and electronic equipment | |
JP4003580B2 (en) | Vibration wave determination device | |
CN113747128B (en) | Noise determination method and noise determination device | |
CN110875043A (en) | Voiceprint recognition method and device, mobile terminal and computer readable storage medium | |
WO2017090387A1 (en) | Signal processing device, signal processing method and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |