CN112057231A - 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
CN112057231A
CN112057231A CN202010895297.8A CN202010895297A CN112057231A CN 112057231 A CN112057231 A CN 112057231A CN 202010895297 A CN202010895297 A CN 202010895297A CN 112057231 A CN112057231 A CN 112057231A
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.)
Granted
Application number
CN202010895297.8A
Other languages
Chinese (zh)
Other versions
CN112057231B (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

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biomedical Technology (AREA)
  • Acoustics & Sound (AREA)
  • Biophysics (AREA)
  • Otolaryngology (AREA)
  • Psychology (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Vascular Medicine (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

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 encounter the problem of ear pressure when taking airplanes and high-rise elevators, and in the process of taking off airplanes or taking the elevators upwards, the air flying upwards is thinner, the air pressure is smaller, so that the air pressure in ears and the air pressure outside the ears are unbalanced, the air pressure in the ears is larger than that outside the ears, and eardrums are outwards convex. When the airplane falls down or takes the elevator to descend, the air pressure outside the ears is gradually larger than that outside the ears, and the eardrums are 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 to relieve the ear pressure through actions of throat water, eating, drinking and the like, and a targeted method for automatically relieving the ear pressure 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, a user needs to take an elevator to rise from 1 floor to 30 floors, in the rising process, when the user passes through 10 floors, the barometric pressure height sensor obtains that the barometric pressure value under the current environment of the user is 100667pa, the corresponding height information is 30m, and the acceleration sensor obtains that the acceleration information under the current environment of the user is 0.60m/s2. 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 under the current environment of the user is 100733pa, the corresponding altitude information is 24m, and the acceleration sensor obtains that the acceleration information under the current environment of the user is 1.0m/s2
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 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. 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/s2The 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. Illustratively, when a user B is driving to accelerate, an absolute value of acceleration information detected by the acceleration sensor is greater than an acceleration threshold, but an absolute value of height information detected by the air pressure height sensor is less than a height threshold, it is determined that the state parameter does not satisfy the acoustic wave triggering condition, at this time, because there is no air pressure change in the ear of the user, the air pressure inside and outside the ear is balanced, the pressure difference inside and outside the ear is very small, and there is no phenomena of ear swelling, ear stuffiness, ear pain and the like caused by the pressure difference inside and outside the ear, so that the acoustic wave is not required to be generated to reduce the pressure difference inside and outside the. 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. Illustratively, when the E user takes the elevator to go from floor 1 to floor 30, the elevator generates a certain acceleration during the process of rising from floor 1 to floor 10 to accelerate the elevator, then keeps rising at a constant speed during the process of rising from floor 10 to floor 20, the elevator is decelerated and ascended by generating a certain acceleration in the process of ascending the 20 th floor to the 30 th floor, the absolute value of acceleration information detected by an acceleration sensor in the process of ascending the 1 st floor to the 10 th floor and the process of ascending the 20 th floor to the 30 th floor is larger than an acceleration threshold, the absolute value of height information of a user detected by an air pressure height sensor is also larger than a height threshold, the state parameters are determined to meet the acoustic wave triggering conditions, at the moment, due to the acceleration and deceleration processes of the elevator, the air pressure outside the ear of the user is gradually not equal to the air pressure inside the ear, the pressure difference between the inside and the outside of the ear is gradually increased, so that the eardrum protrudes outwards to generate the phenomena of ear swelling, ear stuffiness, ear pain and the like, and the acoustic wave is required to be generated to reduce the pressure difference between the inside and the outside of the ear in the current.
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 pressure difference between the inside and the outside of the ear of the current state of the user. 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 acoustic wave 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 waves 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 wave generating electronics for mere relief of ear pressure) may comprise two or more sound wave generators. Illustratively, the electronic device comprises two sound generators, the two sound generators are arranged in opposite directions, when the electronic device is placed in the ear, the two sound generators respectively face the inside and the outside of the ear, the sound generator facing the inside of the ear can be a sound generator placed in a direction facing the inside of the ear canal, and the sound generator facing the outside of the ear can be a sound generator placed in a direction facing 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 to take off, the absolute value of acceleration information detected by an acceleration sensor is greater than an acceleration threshold, and the 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 the acoustic wave triggering condition, at this time, as the speed of the airplane gradually increases in the rising process, the acceleration detected by the acceleration sensor is positive, the air pressure outside the ear of the user is gradually less than the air pressure inside the ear, and the sound wave generator facing the ear is controlled to generate inward acoustic waves. 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, the pressure difference between the inside and the outside of the ear of the user is reduced, 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 swelling, ear stuffiness, 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 or the absolute value of the height information is larger than the height threshold, the larger the determined sound wave amplitude is, the larger the generated sound wave intensity 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.
Optionally, the sound wave amplitude is obtained based on a weight of the acceleration information and a weight of the height information, wherein the sound wave amplitude is positively correlated with an absolute value of the acceleration information and the sound wave amplitude is positively correlated with an absolute value of the height informationAnd off. Alternatively, the formula of the amplitude of the sound wave may be a ═ k1(|α|-α0)+k2(|p|-p0) Or may be a ═ k1|α|+k2P, 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 alpha0For 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, p0Air pressure threshold, k, for altitude information1、k2The 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 2 cm.
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 a sound 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 to generate the sound wave suitable for the state parameter is not performed. The preset time period may be set by the user according to the requirement, or may be set in advance by the 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, and if the user has no 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 can be adapted to alleviate ear pressure, the device including: 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 acoustic wave 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 of the pressure inside and outside 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 status 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 also 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 case of a remote computer, 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 (10)

1. A method of reducing ear pressure, 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 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.
2. The method of claim 1, wherein determining whether an acoustic trigger condition is satisfied based on the acceleration information and the altitude information comprises:
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.
3. The method of claim 1, wherein the controlling generates 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.
4. The method of claim 3, wherein the controlling generates an inward sound wave, comprising:
controlling a sound wave generator facing into the ear to generate sound waves;
correspondingly, the controlling generates outward sound waves, including:
and controlling a sound wave generator facing out of the ear to generate sound waves.
5. The method of claim 1, wherein the controlling generates 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 a sound wave generator to generate the sound wave corresponding to the amplitude of the sound wave.
6. The method according to claim 5, wherein the sound wave amplitude is derived based on a weight of the acceleration information and a weight of the altitude information, wherein the sound wave amplitude is positively correlated with an absolute value of the acceleration information, and the sound wave amplitude is positively correlated with an absolute value of the altitude information.
7. The method of claim 1, after determining that an acoustic trigger condition is satisfied based on the acceleration information and the altitude information, further comprising:
sending a sound wave generation request to a user terminal;
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.
8. 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;
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.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the electronic device further comprising:
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, implementing a method of relieving ear pressure as recited in any of claims 1-7;
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.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of relieving ear pressure according to any one of claims 1 to 7.
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 true CN112057231A (en) 2020-12-11
CN112057231B 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)

Cited By (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

Citations (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
CN1207660A (en) * 1995-11-20 1999-02-10 豪斯耳科学会 Pressure-regulating ear plug
CN2335605Y (en) * 1997-07-24 1999-09-01 喻国良 Ear protector for aircraft passenger
US20020069883A1 (en) * 2000-12-08 2002-06-13 Aviv Hirchenbain Device for active regulation of pressure on outer ear
US20030172939A1 (en) * 2000-12-08 2003-09-18 Aviv Hirchenbain Devices and methods using vibration to relieve discomfort
US20040163882A1 (en) * 2003-01-16 2004-08-26 Fleming Thomas W. Pressure regulating earplug
CN1791370A (en) * 2003-05-19 2006-06-21 恩泰克司股份有限公司 A portable hand-operable device for applying pneumatic pressure pulses to an ear canal
WO2014030998A1 (en) * 2012-08-23 2014-02-27 Dynamic Ear Company B.V. Audio listening device and method of audio playback
KR20190058162A (en) * 2017-11-21 2019-05-29 삼성전자주식회사 Air pressure adjusting apparatus and air pressure adjusting method of the air pressure adjusting apparatus

Patent Citations (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
CN1207660A (en) * 1995-11-20 1999-02-10 豪斯耳科学会 Pressure-regulating ear plug
CN2335605Y (en) * 1997-07-24 1999-09-01 喻国良 Ear protector for aircraft passenger
US20020069883A1 (en) * 2000-12-08 2002-06-13 Aviv Hirchenbain Device for active regulation of pressure on outer ear
US20030172939A1 (en) * 2000-12-08 2003-09-18 Aviv Hirchenbain Devices and methods using vibration to relieve discomfort
US20040163882A1 (en) * 2003-01-16 2004-08-26 Fleming Thomas W. Pressure regulating earplug
CN1791370A (en) * 2003-05-19 2006-06-21 恩泰克司股份有限公司 A portable hand-operable device for applying pneumatic pressure pulses to an ear canal
WO2014030998A1 (en) * 2012-08-23 2014-02-27 Dynamic Ear Company B.V. Audio listening device and method of audio playback
KR20190058162A (en) * 2017-11-21 2019-05-29 삼성전자주식회사 Air pressure adjusting apparatus and air pressure adjusting method of the air pressure adjusting apparatus

Cited By (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

Also Published As

Publication number Publication date
CN112057231B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
US10154357B2 (en) Performance based in situ optimization of hearing aids
US9830930B2 (en) Voice-enhanced awareness mode
US10448139B2 (en) Selective sound field environment processing system and method
JP6760267B2 (en) Information processing equipment, control methods, and programs
EP3507797B1 (en) Accessing multiple virtual personal assistants (vpa) from a single device
CN110024030B (en) Context aware hearing optimization engine
CN112057231B (en) Method and device for relieving ear pressure, electronic equipment and storage medium
US20140270260A1 (en) Speech detection using low power microelectrical mechanical systems sensor
WO2018013564A1 (en) Combining gesture and voice user interfaces
US20150179189A1 (en) Performing automated voice operations based on sensor data reflecting sound vibration conditions and motion conditions
US10531178B2 (en) Annoyance noise suppression
CN103886861B (en) A kind of method of control electronics and electronic equipment
CN113412516B (en) Method and system for processing automatic speech recognition ASR request
EP3107314A1 (en) Performance based in situ optimization of hearing aids
EP3375195B1 (en) Annoyance noise suppression
CN116324969A (en) Hearing enhancement and wearable system with positioning feedback
KR102161554B1 (en) Method and apparatus for function of translation using earset
CN105472128B (en) A kind of call control method and device
CN109828738B (en) Volume adjustment control method, earphone and computer readable storage medium
CN112188341B (en) Earphone awakening method and device, earphone and medium
KR20180018649A (en) Neckband for providing alarm service for the hearing impaired
KR20200112791A (en) Method and apparatus for function of translation using earset
KR101833030B1 (en) Method of providing alarm service for deaf and apparatus performing the same
CN112911062A (en) Voice processing method, control device, terminal device and storage medium
CN109391884A (en) Speaker system and the method for manipulating loudspeaker

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