CN112057231B - Method and device for relieving ear pressure, electronic equipment and storage medium - Google Patents

Method and device for relieving ear pressure, electronic equipment and storage medium Download PDF

Info

Publication number
CN112057231B
CN112057231B CN202010895297.8A CN202010895297A CN112057231B CN 112057231 B CN112057231 B CN 112057231B CN 202010895297 A CN202010895297 A CN 202010895297A CN 112057231 B CN112057231 B CN 112057231B
Authority
CN
China
Prior art keywords
sound wave
user
ear
information
acceleration
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.)
Active
Application number
CN202010895297.8A
Other languages
Chinese (zh)
Other versions
CN112057231A (en
Inventor
张峰
蒋兆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Zimi Electronic Technology Co Ltd
Original Assignee
Jiangsu Zimi Electronic Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jiangsu Zimi Electronic Technology Co Ltd filed Critical Jiangsu Zimi Electronic Technology Co Ltd
Priority to CN202010895297.8A priority Critical patent/CN112057231B/en
Publication of CN112057231A publication Critical patent/CN112057231A/en
Application granted granted Critical
Publication of CN112057231B publication Critical patent/CN112057231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61FFILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
    • A61F11/00Methods or devices for treatment of the ears or hearing sense; Non-electric hearing aids; Methods or devices for enabling ear patients to achieve auditory perception through physiological senses other than hearing sense; Protective devices for the ears, carried on the body or in the hand

Abstract

The invention discloses a method and a device for relieving ear pressure, electronic equipment and a storage medium. The method for relieving the ear pressure comprises the following steps: acquiring state parameters of a user, wherein the state parameters comprise acceleration information of the user and height information of the environment, determining whether a sound wave triggering condition is met or not based on the acceleration information and the height information, and if so, controlling to generate sound waves adaptive to the state parameters for reducing the pressure difference between the inside and the outside of the ear of the user in the current state. By adopting the technical scheme, the pressure difference inside and outside the ear of the user can be adjusted, so that the pressure difference inside and outside the ear reaches certain balance, and the comfort of the user is improved.

Description

Method and device for relieving ear pressure, electronic equipment and storage medium
Technical Field
Embodiments of the present invention relate to ear pressure adjustment technologies, and in particular, to a method and an apparatus for reducing ear pressure, an electronic device, and a storage medium.
Background
People can all meet the problem of ear pressure when taking the aircraft and high-rise elevator, and in the aircraft take-off process or when taking the elevator upwards, the air that flies more and more is rarer, and atmospheric pressure is littleer, leads to the atmospheric pressure imbalance in the ear and outside the ear, and the atmospheric pressure in the ear is greater than outside the ear, and the eardrum is outwards protruding. When the aircraft falls or takes the elevator downwards, the air pressure outside the ears is gradually larger than that outside the ears, and the eardrum is inwards concave at the moment. In the process of the convex and concave, the ear swelling, the ear stuffiness, the ear pain and the like can occur.
At present, the traditional way of relieving the ear pressure is relieving through actions such as throat water, eating, drinking and the like, and a targeted automatic ear pressure relieving method does not exist.
Disclosure of Invention
The invention provides a method and a device for relieving ear pressure, electronic equipment and a storage medium, which are used for relieving the ear pressure of a user.
In a first aspect, an embodiment of the present invention provides a method for alleviating ear pressure, including:
acquiring state parameters of a user, wherein the state parameters comprise acceleration information of the user and height information of the environment where the user is located;
determining whether a sound wave trigger condition is satisfied based on the acceleration information and the height information;
and if so, controlling to generate sound waves adaptive to the state parameters, wherein the sound waves are used for reducing the difference between the inside and the outside of the ear of the current state of the user.
In a second aspect, embodiments of the present invention further provide a device for alleviating ear pressure, including:
the state parameter acquiring module is used for acquiring state parameters of a user, wherein the state parameters comprise acceleration information of the user and height information of the environment where the user is located;
the sound wave triggering module is used for determining whether a sound wave triggering condition is met or not based on the acceleration information and the height information;
and the sound wave generating module is used for controlling and generating sound waves adaptive to the state parameters when the acceleration information and the height information are determined to meet the sound wave triggering condition, wherein the sound waves are used for reducing the pressure difference between the inside and the outside of the ear of the current state of the user.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the electronic device further includes:
the sensor is used for acquiring the state parameters of a user and sending the state parameters to the processor;
the processor, when executing the program, implements a method of relieving ear pressure as described in embodiments of the invention;
and the sound wave generator is used for receiving the control instruction sent by the processor and generating sound waves adaptive to the state parameters.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method for alleviating ear pressure according to the embodiment of the present invention.
In the method for relieving the ear pressure, state parameters of a user are obtained, wherein the state parameters comprise acceleration information of the user and height information of the environment where the user is located, whether a sound wave triggering condition is met is determined based on the acceleration information and the height information, if yes, sound waves adaptive to the state parameters are controlled to be generated, and the sound waves are used for reducing the pressure difference between the inside and the outside of the ear of the current state of the user. By adopting the technical scheme, the embodiment of the invention adjusts the pressure difference between the inside and the outside of the ear of the user, ensures that the pressure difference between the inside and the outside of the ear reaches a certain balance, reduces the phenomena of ear swelling, ear stuffiness, ear pain and the like of the user due to the pressure difference, and improves the comfort of the user.
Drawings
FIG. 1 is a flow chart of a method of reducing ear pressure in accordance with one embodiment of the present invention;
FIG. 2 is a flow chart of another method of reducing ear pressure in accordance with a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a device for relieving ear pressure according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device in a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for alleviating ear pressure according to an embodiment of the present invention, which is applicable to alleviating ear pressure of a user. The method may be performed by an ear pressure relief device, which may be implemented by hardware and/or software, integrated in a terminal, such as an electronic device like a headset, where ear pressure relief is required. The method specifically comprises the following steps:
s110, acquiring state parameters of the user, wherein the state parameters comprise acceleration information of the user and height information of the environment where the user is located.
The state parameter may refer to a series of parameters in the current environment of the user. Illustratively, the state parameters may include speed information, acceleration information, altitude information, etc. in the user's current environment. The acceleration information of the user refers to the acceleration of the user in the current environment, and the height information refers to the height of the user's current environment relative to the horizon. The acceleration information can be collected through an acceleration sensor, the height information can be collected through an air pressure height sensor, and the air pressure height sensor measures the height through the change of air pressure. Illustratively, the user needs to take the elevator to rise from 1 floor to 30 floors, and during the rising process, when the user passes 10 floors, the barometric pressure height sensor acquiresThe air pressure value of the user in the current environment is 100667pa, the corresponding height information is 30m, and the acceleration information acquired by the acceleration sensor in the current environment of the user is 0.60m/s 2 . Illustratively, a user needs to take an airplane to go to a certain place, in the process of taking off the airplane, the altitude sensor obtains that the air pressure value in the current environment of the user is 100733pa, the corresponding altitude information is 24m, and the acceleration sensor obtains that the acceleration information in the current environment of the user is 1.0m/s 2
And S120, determining whether the acoustic wave triggering condition is met or not based on the acceleration information and the height information, if so, executing the step S130, and if not, returning to the step S110.
The sound wave triggering condition can be preset by a user and can comprise an acceleration threshold and a height threshold, if the current acceleration information and the current height information of the user both reach the acceleration threshold and the height threshold, the acceleration information and the height information meet the sound wave triggering condition, and sound waves are generated to reduce the pressure difference between the inside and the outside of the ear of the user in the current state. Specifically, when the acceleration information reaches the acceleration threshold value and the height information does not reach the height threshold value, the acoustic wave triggering condition is not satisfied; when the acceleration information does not reach the acceleration threshold value and the height information reaches the height threshold value, the acoustic wave triggering condition is not met; and when the acceleration information reaches the acceleration threshold and the height information reaches the height threshold, meeting the acoustic wave triggering condition.
Optionally, determining whether the acoustic wave trigger condition is satisfied based on the acceleration information and the altitude information includes: and if the absolute value of the acceleration information is greater than the acceleration threshold value and the absolute value of the height information is greater than the height threshold value, determining that the state parameters meet the acoustic wave triggering conditions. The acceleration threshold and the height threshold can be used for judging whether the acoustic wave triggering condition is met or not, and can be set in advance, wherein the threshold of the acceleration threshold can be 0.65m/s 2 The height threshold may be 40m, which is not limited in this application.
In some embodiments, after the absolute value of the acceleration information is greater than the acceleration threshold and the absolute value of the altitude information is greater than the altitude threshold, the acceleration direction may also be determined, and it is determined whether an upward or downward acceleration component is included in the acceleration information and the absolute value of the upward or downward acceleration component is greater than the acceleration threshold.
For example, when a user a stands up to watch a landscape after climbing a mountain, the absolute value of the height information of the user detected by the air pressure height sensor is greater than the height threshold, but the absolute value of the acceleration information detected by the acceleration sensor is smaller than the acceleration threshold, it is determined that the state parameter does not satisfy the acoustic wave triggering condition, at this time, the ear of the user is in a horizontal state for a long time, the air pressure inside and outside the ear is balanced, the pressure difference inside and outside the ear is very small, and the phenomena of ear swelling, ear stuffiness, ear pain and the like caused by the pressure difference inside and outside the ear do not exist, so that the acoustic wave does not need to be generated to reduce the pressure difference inside and outside the ear of the current state of the user. For example, when the user B is driving and accelerating, the absolute value of the acceleration information detected by the acceleration sensor is greater than the acceleration threshold, but the absolute value of the height information detected by the air pressure height sensor is less than the height threshold, it is determined that the state parameter does not satisfy the acoustic wave triggering condition, at this time, the air pressure inside and outside the ear of the user is balanced because no air pressure change occurs, and the pressure difference inside and outside the ear is very small, so that the phenomena of ear swelling, ear stuffiness, ear pain and the like caused by the pressure difference inside and outside the ear do not exist, and therefore, the acoustic wave does not need to be generated to reduce the pressure difference inside and outside the ear in the current state of the user. For example, when a user C takes an airplane and takes off the airplane, the absolute value of acceleration information detected by the acceleration sensor is greater than the acceleration threshold, and the absolute value of altitude information detected by the air pressure altitude sensor is also greater than the altitude threshold, it is determined that the state parameter meets the acoustic wave triggering condition. For example, when a user D rides an airplane and descends, an absolute value of acceleration information detected by an acceleration sensor is greater than an acceleration threshold, and an absolute value of altitude information detected by an air pressure altitude sensor is also greater than an altitude threshold, it is determined that the state parameter meets a sound wave triggering condition, at this time, as the speed of the airplane gradually decreases in the descending process, the air pressure outside the ear of the user is gradually greater than the air pressure inside the ear, the pressure difference between the inside and the outside of the ear gradually increases, so that the eardrum protrudes outwards to generate phenomena of ear swelling, ear stuffiness, ear pain and the like, and sound waves are required to be generated to reduce the pressure difference between the inside and the outside of the ear in the current state of the user. Illustratively, when a user E takes the elevator to go from floor 1 to floor 30, the elevator generates a certain acceleration to accelerate the elevator in the process of ascending from floor 1 to floor 10, then the elevator keeps ascending at a constant speed in the process of ascending from floor 10 to floor 20, a certain acceleration is also generated in the process of ascending from floor 20 to floor 30 to decelerate the elevator, the absolute value of the acceleration information detected by the acceleration sensor in the process of ascending from floor 1 to floor 10 and floor 20 to floor 30 is greater than the acceleration threshold, and the absolute value of the height information of the user detected by the air pressure height sensor is also greater than the height threshold, so that the state parameter is determined to meet the acoustic wave triggering condition.
And S130, controlling to generate sound waves adaptive to the state parameters, wherein the sound waves are used for reducing the difference between the inside and the outside of the ear of the current state of the user.
And if the acoustic wave triggering condition is determined to be met based on the acceleration information and the height information, controlling to generate acoustic waves adaptive to the state parameters for reducing the difference between the inside and the outside of the ear of the user in the current state. The sound wave may refer to vibration generated by the sounding body and propagated in air or other substances, for example, the sounding body in this application may be a speaker, and the vibration generated by the speaker propagates in the ear canal to reduce the pressure difference between inside and outside of the ear of the user in the current state. The sound wave adaptive to the state parameter may refer to specific intensity and type of the generated sound wave, which may be adjusted according to the state parameter, manually by a user, or automatically by a sound generator. In some embodiments, the control generates the intensity of the sound wave adapted to the state parameter in positive correlation with the absolute value of the acceleration information and the absolute value of the altitude information.
Optionally, controlling the generation of the sound waves adapted to the state parameter comprises: when the acceleration information is positive, controlling to generate an inward sound wave; and when the acceleration information is negative, controlling to generate outward sound waves.
The sound generating body generates sound waves which are transmitted to the inside of the auditory canal; the outward sound wave may refer to an outward sound wave that releases pressure within the ear canal, with the shedder generating sound waves that travel to the outside of the ear canal.
In one embodiment, controlling the generation of the inward sound wave comprises: controlling a sound wave generator facing into the ear to generate sound waves; correspondingly, the control of the generation of the outward sound wave comprises the following steps: and controlling a sound wave generator facing out of the ear to generate sound waves.
The sound wave generator may be a speaker, the speaker converts an electrical signal into an acoustic signal to emit a sound wave, the speaker may be classified into an electrodynamic type (i.e., moving coil type), an electrostatic type (i.e., capacitive type), an electromagnetic type (i.e., tongue type), a piezoelectric type (i.e., crystal type), and the like, and the type of the sound wave generator is not limited in the embodiments of the present application. Wherein the electronic device (which may be, for example, a headset, or sound generating electronics for solely relieving ear pressure) may comprise two or more sound generators. Illustratively, the electronic device includes two acoustic-wave generators, the two acoustic-wave generators being arranged in opposite directions, the two acoustic-wave generators being respectively directed into the ear and out of the ear when the electronic device is placed in the ear, the acoustic-wave generator directed into the ear canal may be an acoustic-wave generator placed in a direction toward the inside of the ear canal, and the acoustic-wave generator directed out of the ear may be an acoustic-wave generator placed in a direction toward the outside of the ear canal; the electronic equipment can also comprise a plurality of sound wave generators which are distributed in an annular shape, the sound wave generators corresponding to the semi-rings facing the ear can be controlled to generate inward sound waves, and the sound wave generators corresponding to the semi-rings facing the ear can be controlled to generate outward sound waves. Optionally, before controlling the sound wave generator facing into the ear and facing out of the ear to generate sound waves, the facing position of the sound wave generator is detected to generate sound waves in a precise direction.
Illustratively, when a user takes an airplane for taking off, the absolute value of the acceleration information detected by the acceleration sensor is greater than an acceleration threshold, and the absolute value of the altitude information detected by the air pressure altitude sensor is also greater than an altitude threshold, it is determined that the state parameter meets the acoustic wave triggering condition, at this time, as the speed of the airplane gradually increases in the ascending process, the acceleration detected by the acceleration sensor is positive, the air pressure outside the ear of the user is gradually smaller than the air pressure inside the ear, and the sound wave generator facing the ear is controlled to generate an inward sound wave. When a user descends by taking an airplane, the absolute value of acceleration information detected by the acceleration sensor is larger than an acceleration threshold, and the absolute value of altitude information detected by the air pressure altitude sensor is also larger than an altitude threshold, so that the state parameter is determined to meet the acoustic wave triggering condition.
According to the technical scheme, the acceleration information of the user and the height information of the environment are obtained, when the acceleration information and the height information confirm that the acoustic wave triggering condition is met, the acoustic wave adaptive to the state parameters is controlled and generated to reduce the pressure difference between the inside and the outside of the ear of the user in the current state of the user, the pressure difference between the inside and the outside of the ear of the user is adjusted, the pressure difference between the inside and the outside of the ear reaches a certain balance, the phenomena of ear expansion, ear oppression, ear pain and the like of the user due to the pressure difference are reduced, and the comfort of the user is improved.
Example two
Fig. 2 is a flowchart of a method for alleviating ear pressure according to a second embodiment of the present invention, which is optimized based on the second embodiment. The method specifically comprises the following steps:
s210, acquiring state parameters of the user, wherein the state parameters comprise acceleration information of the user and height information of the environment where the user is located.
S220, whether the acoustic wave triggering condition is met is determined based on the acceleration information and the height information, if yes, step S230 is executed, and if not, the step S210 is returned to.
And S230, determining the amplitude of the sound wave according to the acceleration information and the height information, and controlling the sound wave generator to generate the sound wave corresponding to the amplitude of the sound wave.
The sound wave amplitude can refer to parameters representing the sound wave intensity, can be adjusted according to acceleration information and height information, and can be manually adjusted by a user or automatically adjusted by a sound wave generator. For example, when the absolute value of the acceleration information is larger than the acceleration threshold value or the absolute value of the height information is larger than the height threshold value, the larger the determined amplitude of the sound wave is, the larger the intensity of the generated sound wave is; when the difference between the absolute value of the acceleration information and the acceleration threshold value is smaller or the difference between the absolute value of the height information and the height threshold value is smaller, the smaller the determined amplitude of the sound wave is, the smaller the intensity of the generated sound wave is.
Alternatively, the sound wave amplitude is obtained based on the weight of the acceleration information and the weight of the height information, wherein the sound wave amplitude is positively correlated with the absolute value of the acceleration information and the sound wave amplitude is positively correlated with the absolute value of the height information. Alternatively, the formula of the sound wave amplitude may be a = k 1 (|α|-α 0 )+k 2 (|p|-p 0 ) Also, A = k 1 |α|+k 2 P, can also be
Figure BDA0002658254270000091
Wherein alpha represents the current acceleration value of the user acquired by the acceleration sensor, | alpha | represents the absolute value of the acceleration value, and alpha 0 For the acceleration threshold, p represents the air pressure value corresponding to the current height information of the user acquired by the air pressure height sensor, | p | represents the absolute value of the air pressure value, p 0 Air pressure threshold, k, for altitude information 1 、k 2 The acceleration weight and the height weight are respectively represented, the concrete calculation formula of the sound wave amplitude is not limited, and the sound wave amplitude can be adjusted according to the actual requirement of a user. The amplitude of the sound wave does not exceed 2cm.
According to the technical scheme of the embodiment, whether the acoustic wave triggering condition is met is judged according to the acceleration information and the height information by acquiring the acceleration information and the height information of a user, if so, the acoustic wave amplitude is determined according to the acceleration information and the height information, and the acoustic wave generator is controlled to generate the acoustic wave corresponding to the acoustic wave amplitude. The intensity of the required sound wave is flexibly judged according to the state information of the user, the accuracy of the sound wave amplitude is improved, the pressure difference between the inside and the outside of the ear is accurately adjusted, and the comfort of the user is improved.
On the basis of the above embodiment, after the acceleration information and the altitude information determine that the acoustic wave trigger condition is satisfied, the method further includes: sending an acoustic wave generation request to a user terminal; and when the feedback information of the received sound wave generation request is permission or the feedback information of the sound wave generation request is not received within a preset time period, continuing to execute the step of controlling the generation of the sound wave adaptive to the state parameter.
After the acceleration information and the height information determine that the sound wave triggering condition is met, sending a sound wave generation request to the user terminal, wherein the sound wave generation request can contain information such as the outward or inward sound wave and the intensity of the sound wave to be generated, the user terminal receives the sound wave generation request, displays and outputs the sound wave generation request or outputs voice, receives feedback information used for generating the sound wave generation request in a preset time period, sends the received feedback information to the electronic equipment, and when the feedback information received by the electronic equipment is permission or the user does not feedback the sound wave generation request in the preset time period, the step of controlling and generating the sound wave suitable for the state parameters is continuously executed. Alternatively, when the feedback information of the received sound wave generation request is a rejection, the step of controlling the generation of the sound wave suitable for the state parameter is not performed. The preset time period may be set by a user according to a requirement, or may be set in advance by a manufacturer, which is not limited in the embodiment of the present invention. For example, the preset time period may be 60s, a sound wave generation request is sent once within 60s, feedback of the user is waited for within 60s, if the user has not made feedback on the sound wave generation request within 60s, the feedback information of the received sound wave generation request is regarded as permission, and the step of controlling generation of the sound wave suitable for the state parameter is continuously executed; the 60s time period may be divided into several sub-time periods, for example, one sub-time period every 20s, that is, a sound wave generation request is sent to the user every 20s, if the user makes a feedback in any one sub-time period, the waiting is stopped, the step of controlling generation of the sound wave suitable for the state parameter is continuously executed according to whether the received user feedback information is permission, and if the user does not make a feedback in any three sub-time periods, the feedback information of the received sound wave generation request is regarded as permission. The acoustic wave generation request is sent to the user, and control is performed according to the feedback result of the user, so that the user can independently realize the regulation and control of the ear pressure.
The following is an embodiment of the device for alleviating ear pressure according to an embodiment of the present invention, which belongs to the same inventive concept as the method for alleviating ear pressure according to the above embodiment, and reference may be made to the above embodiment of the method for alleviating ear pressure for details that are not described in detail in the embodiment of the device for alleviating ear pressure.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a device for alleviating ear pressure according to a third embodiment of the present invention, which is suitable for alleviating ear pressure, and includes: a state parameter acquisition module 310, an acoustic wave trigger module 320, and an acoustic wave generation module 330.
The state parameter acquiring module 310 is configured to acquire a state parameter of a user, where the state parameter includes acceleration information of the user and altitude information of an environment where the user is located; an acoustic wave triggering module 320 for determining whether an acoustic wave triggering condition is satisfied based on the acceleration information and the altitude information; and the sound wave generating module 330 is configured to control to generate a sound wave adapted to the state parameter when it is determined that the sound wave trigger condition is satisfied based on the acceleration information and the height information, where the sound wave is used to reduce the difference between the inside and the outside of the ear in the current state of the user.
Optionally, the acoustic trigger module 320 is further configured to: and if the absolute value of the acceleration information is greater than the acceleration threshold and the absolute value of the height information is greater than the height threshold, determining that the state parameter meets the acoustic wave triggering condition.
Optionally, the acoustic wave generating module 330 includes:
the first sound wave generating unit is used for controlling and generating the inward sound wave when the acceleration information is positive;
and the second sound wave generating unit is used for controlling and generating outward sound waves when the acceleration information is negative.
Optionally, the first acoustic wave generating unit has a function for: controlling a sound wave generator facing into the ear to generate sound waves; correspondingly, the second sound wave generating unit is specifically configured to: and controlling a sound wave generator facing out of the ear to generate sound waves.
Optionally, controlling the generation of the sound waves adapted to the state parameter comprises: and determining the amplitude of the sound wave according to the acceleration information and the height information, and controlling the sound wave generator to generate the sound wave corresponding to the amplitude of the sound wave.
Optionally, the sound wave amplitude is obtained based on the weight of the acceleration information and the weight of the height information, wherein the sound wave amplitude is positively correlated with the absolute value of the acceleration information and the sound wave amplitude is positively correlated with the absolute value of the height information.
Optionally, the apparatus further comprises:
the sound wave request module is used for sending a sound wave generation request to the user terminal after determining that the sound wave triggering condition is met based on the acceleration information and the height information; and when the feedback information of the received sound wave generation request is permission or the feedback information of the sound wave generation request is not received within a preset time period, continuing to execute the step of controlling the generation of the sound wave adaptive to the state parameter.
The device for relieving the ear pressure can execute the method for relieving the ear pressure provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the method for relieving the ear pressure.
It should be noted that, in the embodiment of the apparatus for relieving ear pressure, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Example four
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention, and referring to fig. 4, the electronic device includes:
one or more processors 410;
a memory 420 for storing one or more programs;
an input device 430 for acquiring status parameters of a user;
an output device 440 for generating sound waves adapted to the state parameters;
when the one or more programs are executed by the one or more processors 410, the one or more processors 410 are caused to implement the method for alleviating ear pressure provided by the embodiment of the present invention, including:
acquiring state parameters of a user, wherein the state parameters comprise acceleration information of the user and height information of the environment where the user is located;
determining whether a sound wave triggering condition is satisfied based on the acceleration information and the height information;
and if so, controlling to generate sound waves adaptive to the state parameters, wherein the sound waves are used for reducing the difference between the inside and the outside of the ear of the current state of the user.
The electronic device 400 shown in fig. 4 is only an example and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
In FIG. 4, a processor 410 is illustrated as an example; the processor 410, the memory 420, the input device 430 and the output device 440 in the terminal may be connected by a bus or other means, which is exemplified in fig. 4.
The memory 420 serves as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for alleviating ear pressure in the embodiment of the present invention (for example, the state parameter acquisition module 310, the acoustic wave trigger module 320, and the acoustic wave generation module 330 in the apparatus for alleviating ear pressure). The processor 410 executes various functional applications of the terminal and data processing, i.e., implements the above-described method of relieving ear pressure, by executing software programs, instructions, and modules stored in the memory 420.
The memory 420 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to use of the terminal; and generating sound waves or the like adapted to the state parameters. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 420 may further include memory located remotely from the processor 410, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 430 may include a sensor or other collection device for collecting the status parameters of the user and inputting the collected status parameters of the user to the processor 310 for processing.
The output device 340 may comprise a sound generating device, such as a sound generator, for generating sound waves adapted to the condition parameters.
The terminal proposed by the present embodiment belongs to the same inventive concept as the method for alleviating ear pressure proposed by the above embodiments, and technical details that are not described in detail in the present embodiment can be referred to the above embodiments, and the present embodiment has the same beneficial effects as the method for alleviating ear pressure.
EXAMPLE five
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of relieving ear pressure according to any embodiment of the present invention, the method comprising:
acquiring state parameters of a user, wherein the state parameters comprise acceleration information of the user and height information of the environment where the user is located;
determining whether a sound wave triggering condition is satisfied based on the acceleration information and the height information;
and if so, controlling to generate sound waves adaptive to the state parameters, wherein the sound waves are used for reducing the difference of the pressure inside and outside the ear of the current state of the user.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The above example numbers are for description only and do not represent the merits of the examples.
It will be understood by those skilled in the art that the modules or steps of the invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented by program code executable by a computing device, such that it may be stored in a memory device and executed by a computing device, or it may be separately fabricated into various integrated circuit modules, or it may be fabricated by fabricating a plurality of modules or steps thereof into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (5)

1. An apparatus for relieving ear pressure, comprising:
the state parameter acquiring module is used for acquiring state parameters of a user, wherein the state parameters comprise acceleration information of the user and height information of the environment where the user is located;
the sound wave triggering module is used for determining whether a sound wave triggering condition is met or not based on the acceleration information and the height information;
the sound wave generating module is used for controlling and generating sound waves adaptive to the state parameters when the acceleration information and the height information are determined to meet the sound wave triggering condition, wherein the sound waves are used for reducing the difference between the inside and the outside of the ear of the current state of the user;
the sound wave generating module is further configured to determine a sound wave amplitude according to the acceleration information and the height information, and control a sound wave generator to generate a sound wave corresponding to the sound wave amplitude;
wherein the acoustic amplitude is derived based on a weight of the acceleration information and a weight of the altitude information; the sound wave amplitude is positively correlated with the absolute value of the acceleration information, and the sound wave amplitude is positively correlated with the absolute value of the height information.
2. The apparatus according to claim 1, wherein the acoustic wave triggering module is further configured to determine that the state parameter satisfies an acoustic wave triggering condition if an absolute value of the acceleration information is greater than an acceleration threshold and an absolute value of the altitude information is greater than an altitude threshold.
3. The apparatus of claim 1, wherein the acoustic wave generation module comprises a first acoustic wave generation unit and a second acoustic wave generation unit, wherein;
the first sound wave generating unit is used for controlling and generating an inward sound wave when the acceleration information is positive;
and the second sound wave generating unit is used for controlling and generating outward sound waves when the acceleration information is negative.
4. The apparatus of claim 3, wherein the first sound wave generating unit is further configured to control the sound wave generator facing into the ear to generate sound waves; and the second sound wave generating unit is also used for controlling the sound wave generator facing out of the ear to generate sound waves.
5. The apparatus according to claim 1, further comprising a sound wave request module configured to send a sound wave generation request to the user terminal after determining that a sound wave trigger condition is satisfied based on the acceleration information and the altitude information; and when the received feedback information of the sound wave generation request is permission or the feedback information of the sound wave generation request is not received within a preset time period, continuing to execute the step of controlling the generation of the sound wave adaptive to the state parameter.
CN202010895297.8A 2020-08-31 2020-08-31 Method and device for relieving ear pressure, electronic equipment and storage medium Active CN112057231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010895297.8A CN112057231B (en) 2020-08-31 2020-08-31 Method and device for relieving ear pressure, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010895297.8A CN112057231B (en) 2020-08-31 2020-08-31 Method and device for relieving ear pressure, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112057231A CN112057231A (en) 2020-12-11
CN112057231B true CN112057231B (en) 2023-04-18

Family

ID=73666148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010895297.8A Active CN112057231B (en) 2020-08-31 2020-08-31 Method and device for relieving ear pressure, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112057231B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115206072A (en) * 2021-04-09 2022-10-18 Oppo广东移动通信有限公司 Reminding method and device, wearable device and storage medium
CN115314790A (en) * 2021-05-07 2022-11-08 Oppo广东移动通信有限公司 Earphone control method, earphone control device, electronic equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5024612A (en) * 1988-12-19 1991-06-18 Minnesota Mining And Manufacturing Company External ear canal pressure regulating device and tinnitus suppression device
US5755234A (en) * 1994-08-16 1998-05-26 House Ear Institute Pressure-regulating ear plug
CN2335605Y (en) * 1997-07-24 1999-09-01 喻国良 Ear protector for aircraft passenger
US20030172939A1 (en) * 2000-12-08 2003-09-18 Aviv Hirchenbain Devices and methods using vibration to relieve discomfort
US20020069883A1 (en) * 2000-12-08 2002-06-13 Aviv Hirchenbain Device for active regulation of pressure on outer ear
US6820717B2 (en) * 2003-01-16 2004-11-23 Howard Leight Industries, Llc Pressure regulating earplug
AU2003902425A0 (en) * 2003-05-19 2003-06-05 Burkhard Franz Pty Ltd A portable ear device
NL2009348C2 (en) * 2012-08-23 2014-02-25 Dynamic Ear Company B V Audio listening device and method of audio playback.
KR102501025B1 (en) * 2017-11-21 2023-02-21 삼성전자주식회사 Air pressure adjusting apparatus and air pressure adjusting method of the air pressure adjusting apparatus

Also Published As

Publication number Publication date
CN112057231A (en) 2020-12-11

Similar Documents

Publication Publication Date Title
US10154357B2 (en) Performance based in situ optimization of hearing aids
US20220157319A1 (en) Accessing multiple virtual personal assistants (vpa) from a single device
US10045110B2 (en) Selective sound field environment processing system and method
US9830930B2 (en) Voice-enhanced awareness mode
CN112057231B (en) Method and device for relieving ear pressure, electronic equipment and storage medium
US20180018965A1 (en) Combining Gesture and Voice User Interfaces
JP6489563B2 (en) Volume control method, system, device and program
US9620116B2 (en) Performing automated voice operations based on sensor data reflecting sound vibration conditions and motion conditions
US20140270260A1 (en) Speech detection using low power microelectrical mechanical systems sensor
KR102393876B1 (en) Voice query QoS based on client-computed content metadata
EP3107314A1 (en) Performance based in situ optimization of hearing aids
EP3375195B1 (en) Annoyance noise suppression
US10824392B2 (en) Electronic apparatus for processing user utterance for controlling an external electronic apparatus and controlling method thereof
JP2016080894A (en) Electronic apparatus, consumer electronics, control system, control method, and control program
KR102161554B1 (en) Method and apparatus for function of translation using earset
CN112188341B (en) Earphone awakening method and device, earphone and medium
CN109828738B (en) Volume adjustment control method, earphone and computer readable storage medium
KR20200112791A (en) Method and apparatus for function of translation using earset
JP2019160151A (en) Voice output device, voice output control method and program
CN109391884A (en) Speaker system and the method for manipulating loudspeaker
CN111416903A (en) Sound playing system and method for adjusting output sound
CN112911062A (en) Voice processing method, control device, terminal device and storage medium

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
GR01 Patent grant
GR01 Patent grant