CN116250833A - Hearing detection method and device based on mobile equipment - Google Patents

Hearing detection method and device based on mobile equipment Download PDF

Info

Publication number
CN116250833A
CN116250833A CN202310143338.1A CN202310143338A CN116250833A CN 116250833 A CN116250833 A CN 116250833A CN 202310143338 A CN202310143338 A CN 202310143338A CN 116250833 A CN116250833 A CN 116250833A
Authority
CN
China
Prior art keywords
detection
hearing
data
user
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310143338.1A
Other languages
Chinese (zh)
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.)
Beijing Jingdong Tuoxian Technology Co Ltd
Original Assignee
Beijing Jingdong Tuoxian 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 Beijing Jingdong Tuoxian Technology Co Ltd filed Critical Beijing Jingdong Tuoxian Technology Co Ltd
Priority to CN202310143338.1A priority Critical patent/CN116250833A/en
Publication of CN116250833A publication Critical patent/CN116250833A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/12Audiometering
    • A61B5/121Audiometering evaluating hearing capacity
    • A61B5/123Audiometering evaluating hearing capacity subjective methods
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a hearing detection method and device based on mobile equipment, and relates to the technical field of Internet medical treatment. One embodiment of the method comprises the following steps: responding to a hearing detection request initiated by a user, playing a detection audio file, and displaying an operation button on a detection interface; receiving a long-press operation instruction and a release operation instruction of a user on an operation button; acquiring detection state data in the process of playing the detection audio file, and playing the detection audio file under the condition that the detection state data meet the state data requirement so as to acquire hearing detection duration data; and comparing the hearing test duration data with the standard hearing duration data, and determining a hearing test result of the user according to the comparison result. According to the embodiment, the hearing detection efficiency is improved, the hearing detection accuracy is improved, and the user experience is improved.

Description

Hearing detection method and device based on mobile equipment
Technical Field
The invention relates to the technical field of internet medical treatment, in particular to a hearing detection method and device based on mobile equipment.
Background
With the development of internet technology, internet medical treatment assisted by internet technology is also receiving increasing attention. Scientific and accurate on-line auxiliary detection tools also provide assistance for perfecting medical diagnosis. For example, the hearing test results of the user can be determined by collecting the hearing condition of the user based on the internet device.
In the related technology, the hearing data of the user is determined mainly by directly playing the audio file to the user, and the user selects the content heard by the user or whether to hear the content, but the detection efficiency is lower, the accuracy of the detection result is low, and the user experience is poor because the complexity of the audio material and the detection environment (such as system volume, noise, external terminal event interference in the detection process, and the like) are not effectively monitored in the related technology.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a hearing test method and apparatus based on a mobile device, which can monitor test status data in a test process, ensure that a test audio file is played without external interference, and facilitate obtaining effective hearing test duration data, so as to obtain an accurate hearing test result, improve hearing test efficiency, improve hearing test accuracy, and improve user experience.
To achieve the above object, according to one aspect of the embodiments of the present invention, there is provided a hearing test method based on a mobile device, including:
responding to a hearing detection request initiated by a user, playing a detection audio file, and displaying an operation button on a detection interface;
Receiving a long-press operation instruction and a release operation instruction of a user on an operation button;
acquiring detection state data in the process of playing the detection audio file, and playing the detection audio file under the condition that the detection state data meet the state data requirement so as to acquire hearing detection duration data;
and comparing the hearing test duration data with the standard hearing duration data, and determining a hearing test result of the user according to the comparison result.
Further, the detection state data comprises earphone connection state data, volume state data and external terminal event state data; obtaining detection state data in the process of detecting audio file playing, playing the detection audio file to obtain hearing detection duration data under the condition that the detection state data meets the state data requirement, and the method comprises the following steps:
and acquiring earphone connection state data, volume state data and external terminal event state data, and in the detection process, if the earphone connection state data is successful in connection, the volume state data is located in a volume threshold interval, and the external terminal event state data is triggered by no external terminal event, namely, the detection state data is determined to meet the state data requirements, playing the detection audio data to obtain hearing detection duration data.
Further, if any detected state data does not meet the state data requirement, the method further includes:
and suspending playing the detection audio file until all the detection state data meet the state data requirement, and continuing to play the detection audio file until the playing is completed.
Further, the detection audio file comprises a plurality of detection audio segments, and each detection audio segment corresponds to one hearing detection sub-duration data; comparing the hearing test duration data with standard hearing test duration data, and determining a hearing test result of the user according to the comparison result, wherein the method further comprises the following steps:
determining a plurality of actual hearing test sub-duration data according to the plurality of hearing test sub-duration data and the user reaction duration;
comparing the actual hearing test sub-duration data with the corresponding standard hearing test duration data, and calculating the average value of a plurality of comparison results to obtain a hearing test result of the user.
Further, the method also comprises the step of determining the reaction time of the user, which comprises the following steps:
playing a test audio file to a user, and under the condition that the detection state data in the test process meets the state data requirement, playing the test audio file, and recording a first time point corresponding to a long-press operation instruction of the user on an operation button and a second time point corresponding to a release operation instruction;
And determining the user reaction time according to the first time point, the second time point and the starting time point and the ending time point of the test audio file.
Further, in response to a hearing test request initiated by a user, the step of playing the test audio file further includes:
and switching the left channel and the right channel of the detection audio file, and playing the audio file in the left channel and the right channel respectively so as to respectively determine a hearing detection result corresponding to the left ear and a hearing detection result corresponding to the right ear of the user.
According to another aspect of an embodiment of the present invention, there is provided a hearing test apparatus based on a mobile device, including:
the response module is used for responding to a hearing detection request initiated by a user, playing a detection audio file and displaying an operation button on a detection interface;
the instruction receiving module is used for receiving a long-press operation instruction and a release operation instruction of the user on the operation button;
the detection module is used for acquiring detection state data in the process of detecting the audio file playing, and playing the detected audio file under the condition that the detection state data meet the state data requirement so as to obtain hearing detection duration data;
the comparison module is used for comparing the hearing test duration data with the standard hearing duration data and determining a hearing test result of the user according to the comparison result.
Further, the detection audio file comprises a plurality of detection audio segments, and each detection audio segment corresponds to one hearing detection sub-duration data; the comparison module is also used for:
determining a plurality of actual hearing test sub-duration data according to the plurality of hearing test sub-duration data and the user reaction duration;
comparing the actual hearing test sub-duration data with the corresponding standard hearing test duration data, and calculating the average value of a plurality of comparison results to obtain a hearing test result of the user.
According to yet another aspect of an embodiment of the present invention, there is provided an electronic device for hearing test based on a mobile device, comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement any of the mobile device-based hearing test methods described above.
According to a further aspect of embodiments of the present invention, there is provided a computer readable medium having stored thereon a computer program which when executed by a processor implements a mobile device based hearing test method as any one of the above.
One embodiment of the above invention has the following advantages or benefits: because the method adopts the steps of responding to the hearing test request initiated by the user, playing the test audio file and displaying an operation button on the test interface; receiving a long-press operation instruction and a release operation instruction of a user on an operation button; acquiring detection state data in the process of playing the detection audio file, and playing the detection audio file under the condition that the detection state data meet the state data requirement so as to acquire hearing detection duration data; the hearing test duration data and the standard hearing duration data are compared, and the hearing test result of the user is determined according to the comparison result, so that the technical problems of low detection efficiency, low detection result accuracy and poor user experience in the related technology are overcome, the detection state data in the detection process can be monitored, the fact that the detection audio file is played without external interference is ensured to be completed, effective hearing test duration data can be obtained, accurate hearing test results are obtained, hearing test efficiency is improved, hearing test accuracy is improved, and the technical effect of user experience is improved.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram of the main flow of a hearing test method based on a mobile device according to an embodiment of the present invention;
fig. 2a is a schematic diagram of a main flow of a hearing test method based on a mobile device according to still another embodiment of the present invention;
FIG. 2b is a schematic diagram of a mobile phone interface for a user to initiate an operation command to an operation button in the hearing test method shown in FIG. 2 a;
fig. 3a is a schematic diagram of the main modules of a mobile device based hearing test apparatus provided according to an embodiment of the present invention;
FIG. 3b is a schematic diagram of a frame of a multi-state joint listener in the hearing test device of FIG. 3 a;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
fig. 5 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of the main flow of a hearing test method based on a mobile device according to an embodiment of the present invention; as shown in fig. 1, the hearing test method based on mobile device according to the embodiment of the present invention mainly includes:
step S101, in response to a hearing test request initiated by a user, a test audio file is played, and an operation button is displayed on a test interface.
Specifically, the detected audio file includes a plurality of distinct audio segments (the distinct degree of the distinct audio segments herein may be preset according to different human conditions, such as age, etc., generally, the volume amplitude is mainly between 10 db and 75 db, and can meet the hearing requirement of a general person), and meanwhile, the detected audio file further includes a parameter file, where the parameter file indicates the start-stop time point of each audio segment and the start-stop time point of the theoretical hearing range of a normal person. When the detection audio file is played, the hearing detection duration data can be determined by the duration of clicking the operation button by the user (the duration is determined according to the long-pressing operation instruction and the releasing operation instruction of the user on the operation button), and the hearing detection result of the user can be determined by comparing the hearing detection duration data with the theoretical hearing detection duration of a normal person.
Further, according to an embodiment of the present invention, the step of playing the detected audio file in response to the hearing test request initiated by the user further includes:
and switching the left channel and the right channel of the detection audio file, and playing the audio file in the left channel and the right channel respectively so as to respectively determine a hearing detection result corresponding to the left ear and a hearing detection result corresponding to the right ear of the user.
The actual hearing test process needs to distinguish the left ear from the right ear, so that in the test process, the left channel and the right channel are switched to be respectively tested, which is helpful to respectively determine the left ear hearing test result and the right ear hearing test result of the user, so as to obtain more accurate test data.
Step S102, a long-press operation instruction and a release operation instruction of the user on the operation button are received.
Based on the long-press operation instruction and the release operation instruction of the user on the operation button, when the detection audio file is played, the user can hear the duration of the played audio file, and then the duration is compared with the standard hearing duration data, so that the hearing detection result of the user can be determined.
Step S103, obtaining detection state data in the process of playing the detection audio file, and playing the detection audio file under the condition that the detection state data meet the state data requirement so as to obtain hearing detection duration data.
Specifically, according to an embodiment of the present invention, the detection status data includes earphone connection status data, volume status data, and external terminal event status data; the step of obtaining the detection state data in the detection process, playing the detection audio file to obtain the hearing detection duration data under the condition that the detection state data meets the state data requirement, comprises the following steps:
and acquiring earphone connection state data, volume state data and external terminal event state data, and in the detection process, if the earphone connection state data is successful in connection, the volume state data is located in a volume threshold interval, and the external terminal event state data is triggered by no external terminal event, namely, the detection state data is determined to meet the state data requirements, playing the detection audio data to obtain hearing detection duration data.
Because the detection process may involve the user identifying some fine sounds, the user is required to wear the earphone, not limited to the wired earphone or the bluetooth earphone. According to the method and the device, the earphone connection state (namely, the system event of plugging and unplugging the earphone) is monitored, and the user is ensured to wear the earphone all the time in the detection process. When the user wears the earphone, the earphone connection state returns to success (namely the earphone connection state data meets the requirement), otherwise, the earphone connection state returns to failure.
If the system volume is too high, some peak sounds may prick the user's ear; if the system volume is too low, some of the dip sounds may not be heard by the user. On the other hand, if the environment in which the user is located is noisy, the detection result may be affected. In order to ensure fairness and accuracy of detection, volume state (including system volume and environment volume) change events are monitored. If the system volume is kept within 45% -50% of the maximum system volume, the system volume state returns to success (i.e. the system volume state data meets the requirements), otherwise, the system volume state returns to failure. Meanwhile, the background recording function is started, the environment volume is acquired once at intervals (such as 200 milliseconds), when the environment volume acquired continuously for 3 times is found to be higher than 55 dB (only as an example), the state returns to failure, and otherwise, the state continuously returns to success (namely, the environment volume state meets the requirements).
External terminal events include application back to the device background, phone ringing, alarm ringing, etc. Since hearing test is a continuous process, if there is an interference of an external terminal event in the middle, the test should be suspended, and the test operation (i.e. the test audio file is continuously played) is continuously performed after the external terminal event is processed by the user. The method monitors the event state of the external terminal, when the external terminal event is triggered, the state returns to failure, otherwise, the state returns to success (namely, the external terminal event state meets the requirements).
Through the setting, the detection state data in the detection process are monitored, the fact that the detection audio file is played under the condition of no external interference is guaranteed, the effective hearing detection duration data can be obtained, accurate hearing detection results can be obtained, hearing detection efficiency is improved, hearing detection accuracy is improved, and user experience is improved.
Further, according to an embodiment of the present invention, if any detected state data does not meet the state data requirement, the method further includes:
and suspending playing the detection audio file until all the detection state data meet the state data requirement, and continuing to play the detection audio file until the playing is completed.
And if any one of the state data does not meet the state data requirement, the detection operation is tentatively carried out (namely, the detection of the audio file is suspended), and when all the state data meet the requirements, the detection operation is continuously carried out, so that the fairness and accuracy of detection are ensured, and the accuracy of the detection result is improved.
Step S104, the hearing test duration data are compared with the standard hearing duration data, and the hearing test result of the user is determined according to the comparison result.
Specifically, according to an embodiment of the present invention, the detected audio file includes a plurality of detected audio segments, each detected audio segment corresponding to one hearing detection sub-duration data; comparing the hearing test duration data with standard hearing test duration data, and determining a hearing test result of the user according to the comparison result, wherein the method further comprises the following steps:
determining a plurality of actual hearing test sub-duration data according to the plurality of hearing test sub-duration data and the user reaction duration;
comparing the actual hearing test sub-duration data with the corresponding standard hearing test duration data, and calculating the average value of a plurality of comparison results to obtain a hearing test result of the user.
Through the arrangement, after the hearing detection duration data are determined, the actual hearing detection data are obtained by combining the user response duration data, and then the actual hearing detection data are compared with the standard hearing detection duration data, so that the final hearing detection result of the user is determined, and the accuracy of the detection result is improved.
Further, according to an embodiment of the present invention, the method further includes a step of determining a user reaction duration, including:
Playing a test audio file to a user, and under the condition that the detection state data in the test process meets the state data requirement, playing the test audio file, and recording a first time point corresponding to a long-press operation instruction of the user on an operation button and a second time point corresponding to a release operation instruction;
and determining the user reaction time according to the first time point, the second time point and the starting time point and the ending time point of the test audio file.
Specifically, a long-press operation instruction of the user to the operation button corresponds to a time period, and the application takes the starting time of the long-press operation instruction as a first time point. And the corresponding user reaction time length is determined for each user respectively, so that the detection result for each user is consistent with fairness, the user experience is improved, and the detection accuracy is improved.
According to the technical scheme of the embodiment of the invention, the detection audio file is played by responding to the hearing detection request initiated by the user, and the operation buttons are displayed on the detection interface; receiving a long-press operation instruction and a release operation instruction of a user on an operation button; acquiring detection state data in the process of playing the detection audio file, and playing the detection audio file under the condition that the detection state data meet the state data requirement so as to acquire hearing detection duration data; the hearing test duration data and the standard hearing duration data are compared, and the hearing test result of the user is determined according to the comparison result, so that the technical problems of low detection efficiency, low detection result accuracy and poor user experience in the related technology are overcome, the detection state data in the detection process can be monitored, the fact that the detection audio file is played without external interference is ensured to be completed, effective hearing test duration data can be obtained, accurate hearing test results are obtained, hearing test efficiency is improved, hearing test accuracy is improved, and the technical effect of user experience is improved.
Fig. 2a is a schematic diagram of a main flow of a hearing test method based on a mobile device according to still another embodiment of the present invention; as shown in fig. 2a, the hearing test method based on mobile device according to the embodiment of the present invention mainly includes:
step S201, in response to a hearing test request initiated by a user, playing a test audio file to the user, playing the test audio file, and recording a first time point corresponding to a long-press operation instruction of the user on an operation button and a second time point corresponding to a release operation instruction under the condition that detection state data in the test process meet the state data requirement; and determining the user reaction time according to the first time point, the second time point and the starting time point and the ending time point of the test audio file.
Specifically, a long-press operation instruction of the user to the operation button corresponds to a time period, and the application takes the starting time of the long-press operation instruction as a first time point. And the corresponding user reaction time length is determined for each user respectively, so that the detection result for each user is consistent with fairness, the user experience is improved, and the detection accuracy is improved.
FIG. 2b is a schematic diagram of a mobile phone interface for a user to initiate an operation command to an operation button in the hearing test method shown in FIG. 2 a; as shown in fig. 2b, according to a specific implementation manner of the embodiment of the present invention, a test audio file is played to a user, and an operation button is displayed on a display interface of a smart phone (only by way of example, but not by way of limitation to the application, and other mobile terminals) so that the user initiates a long-press operation instruction and a release operation instruction to the operation button, and further, based on a first time point corresponding to the long-press operation instruction and a second time point corresponding to the release operation instruction, a time length of clicking the operation button by the user is recorded, hearing detection time length data is determined, and then the hearing detection time length data is compared with a theoretical hearing detection time length of a normal person, so that a hearing detection result of the user can be determined.
Step S202, playing the detection audio file, acquiring detection state data in the detection process, and playing the detection audio file under the condition that the detection state data meet the state data requirement so as to acquire hearing detection duration data.
Specifically, when the detection audio file is played, an operation button is displayed on the detection interface such that: the user presses the operation button for a long time when hearing the sound, and releases the operation button when the sound is stopped to determine the hearing test duration data of the user.
Further, according to an embodiment of the present invention, the step of playing the detected audio file in response to the hearing test request initiated by the user further includes:
and switching the left channel and the right channel of the detection audio file, and playing the audio file in the left channel and the right channel respectively so as to respectively determine a hearing detection result corresponding to the left ear and a hearing detection result corresponding to the right ear of the user.
The actual hearing test process needs to distinguish the left ear from the right ear, so that in the test process, the left channel and the right channel are switched to be respectively tested, which is helpful to respectively determine the left ear hearing test result and the right ear hearing test result of the user, so as to obtain more accurate test data.
Step S203, determining a plurality of actual hearing test sub-duration data according to the plurality of hearing test sub-duration data and the user reaction duration.
And S204, comparing the actual hearing test sub-duration data with the corresponding standard hearing test duration data, and calculating the average value of a plurality of comparison results to obtain a hearing test result of the user.
Through the arrangement, after the hearing detection duration data are determined, the user reaction duration data are combined to obtain the actual hearing detection data, and then the actual hearing detection data are compared with the standard hearing detection duration data to determine the final hearing detection result of the user, so that the accuracy of the detection result is further improved.
According to the technical scheme of the embodiment of the invention, the detection audio file is played by responding to the hearing detection request initiated by the user, and the operation buttons are displayed on the detection interface; receiving a long-press operation instruction and a release operation instruction of a user on an operation button; acquiring detection state data in the process of playing the detection audio file, and playing the detection audio file under the condition that the detection state data meet the state data requirement so as to acquire hearing detection duration data; the hearing test duration data and the standard hearing duration data are compared, and the hearing test result of the user is determined according to the comparison result, so that the technical problems of low detection efficiency, low detection result accuracy and poor user experience in the related technology are overcome, the detection state data in the detection process can be monitored, the fact that the detection audio file is played without external interference is ensured to be completed, effective hearing test duration data can be obtained, accurate hearing test results are obtained, hearing test efficiency is improved, hearing test accuracy is improved, and the technical effect of user experience is improved.
Fig. 3a is a schematic diagram of the main modules of a mobile device based hearing test apparatus provided according to an embodiment of the present invention; as shown in fig. 3a, a mobile device-based hearing test apparatus 300 according to an embodiment of the present invention mainly includes:
the response module 301 is configured to play the detection audio file in response to a hearing detection request initiated by a user, and display an operation button on the detection interface, so that: the user presses the operation button for a long time when hearing the sound, and releases the operation button when stopping the sound.
Specifically, the detected audio file includes a plurality of distinct audio segments (the distinct degree of the distinct audio segments herein may be preset according to different human conditions, such as age, etc., generally, the volume amplitude is mainly between 10 db and 75 db, and can meet the hearing requirement of a general person), and meanwhile, the detected audio file further includes a parameter file, where the parameter file indicates the start-stop time point of each audio segment and the start-stop time point of the theoretical hearing range of a normal person. When the detection audio file is played, the hearing detection duration data can be determined by the duration of clicking the operation button by the user (the duration is determined according to the long-pressing operation instruction and the releasing operation instruction of the user on the operation button), and the hearing detection result of the user can be determined by comparing the hearing detection duration data with the theoretical hearing detection duration of a normal person.
Further, according to an embodiment of the present invention, the mobile device-based hearing test apparatus 300 further includes a channel switching module configured to:
and switching the left channel and the right channel of the detection audio file, and playing the audio file in the left channel and the right channel respectively so as to respectively determine a hearing detection result corresponding to the left ear and a hearing detection result corresponding to the right ear of the user.
The actual hearing test process needs to distinguish the left ear from the right ear, so that in the test process, the left channel and the right channel are switched to be respectively tested, which is helpful to respectively determine the left ear hearing test result and the right ear hearing test result of the user, so as to obtain more accurate test data.
The instruction receiving module 302 is configured to receive a long-press operation instruction and a release operation instruction of an operation button by a user.
Based on the long-press operation instruction and the release operation instruction of the user on the operation button, when the detection audio file is played, the user can hear the duration of the played audio file, and then the duration is compared with the standard hearing duration data, so that the hearing detection result of the user can be determined.
The detection module 303 is configured to obtain detection status data during the playing process of the detection audio file, and play the detection audio file when the detection status data meets the status data requirement, so as to obtain hearing detection duration data.
Specifically, according to an embodiment of the present invention, the detection status data includes earphone connection status data, volume status data, and external terminal event status data; the detection module 303 is further configured to:
and acquiring earphone connection state data, volume state data and external terminal event state data, and in the detection process, if the earphone connection state data is successful in connection, the volume state data is located in a volume threshold interval, and the external terminal event state data is triggered by no external terminal event, namely, the detection state data is determined to meet the state data requirements, playing the detection audio data to obtain hearing detection duration data.
Specifically, according to the embodiment of the invention, the multi-state joint monitor can be adopted to monitor the earphone connection state, the volume state and the external terminal event state. Through flexible encapsulation of observer modes, the multi-state joint monitor is used as an observer to observe the change of various states and is used as an observed person to issue an integrated state, and a simple interface type api (application programming interface ) is provided for upper layer use after the bottom layer logic encapsulation. According to a specific embodiment of the invention, the multi-state joint monitor firstly realizes the template code of the observed person, then provides an addSource method (the method can realize the reading of the data of the third-party data source), transmits the observed person object of other states, creates an observer inside the method and monitors the transmitted observed person, maintains a mapping relation table from the observed person to the state value, updates the corresponding state value in the mapping relation table when receiving the new state sent by a certain observed person, then traverses the mapping relation table to judge whether each state is successful or not, and determines whether the joint state is a successful state or not, and finally transmits the latest joint state as the relevant api of the observed person through the joint monitor.
According to an embodiment of the present invention, as shown in fig. 3b, the listeners of the earphone connection state, the system volume state, the environment volume state and the external interrupt state are registered in the multi-state joint listener, respectively, and then the multiple states are directly acquired through the multi-state joint listener in the detection process.
Because the detection process may involve the user identifying some fine sounds, the user is required to wear the earphone, not limited to the wired earphone or the bluetooth earphone. According to the method and the device, the earphone connection state (namely, the system event of plugging and unplugging the earphone) is monitored, and the user is ensured to wear the earphone all the time in the detection process. When the user wears the earphone, the earphone connection state returns to success (namely the earphone connection state data meets the requirement), otherwise, the earphone connection state returns to failure.
If the system volume is too high, some peak sounds may prick the user's ear; if the system volume is too low, some of the dip sounds may not be heard by the user. On the other hand, if the environment in which the user is located is noisy, the detection result may be affected. In order to ensure fairness and accuracy of detection, volume state (including system volume and environment volume) change events are monitored. When the system volume is kept within 45% -50% of the maximum volume of the system, the system volume state returns to success (namely, the system volume state data meets the requirements), otherwise, the system volume state data returns to failure. Meanwhile, the background recording function is started, the environment volume is acquired once at intervals (such as 200 milliseconds), when the environment volume acquired continuously for 3 times is found to be higher than 55 dB (only as an example), the state returns to failure, and otherwise, the state continuously returns to success (namely, the environment volume state meets the requirements).
External terminal events include application back to the device background, phone ringing, alarm ringing, etc. Since hearing test is a continuous process, if there is an interference of an external terminal event in the middle, the test should be suspended, and the test is continued after the external terminal event is processed by the user. The method monitors the event state of the external terminal, when the external terminal event is triggered, the state returns to failure, otherwise, the state returns to success (namely, the external terminal event state meets the requirements).
Through the setting, the detection state data in the detection process are monitored, the fact that the detection audio file is played under the condition of no external interference is guaranteed, the effective hearing detection duration data can be obtained, accurate hearing detection results can be obtained, hearing detection efficiency is improved, hearing detection accuracy is improved, and user experience is improved.
Further, according to an embodiment of the present invention, if any detected status data does not meet the status data requirement, the detection module 303 is further configured to:
and suspending playing the detection audio file until all the detection state data meet the state data requirement, and continuing to play the detection audio file until the playing is completed.
And if any one of the state data does not meet the state data requirement, the detection operation is tentatively carried out, and when all the state data meet the requirements, the detection operation is continuously carried out, so that the fairness and accuracy of detection are ensured, and the accuracy of the detection result is improved.
The comparison module 304 is configured to compare the hearing test duration data with the standard hearing duration data, and determine a hearing test result of the user according to the comparison result.
Specifically, according to an embodiment of the present invention, the detected audio file includes a plurality of detected audio segments, each detected audio segment corresponding to one hearing detection sub-duration data; the comparison module 304 is further configured to:
determining a plurality of actual hearing test sub-duration data according to the plurality of hearing test sub-duration data and the user reaction duration;
comparing the actual hearing test sub-duration data with the corresponding standard hearing test duration data, and calculating the average value of a plurality of comparison results to obtain a hearing test result of the user.
Through the arrangement, after the hearing detection duration data are determined, the user response duration data are combined, the actual hearing detection data are obtained, and then the actual hearing detection data are compared with the standard hearing detection duration data, so that the final hearing detection result of the user is determined, and the accuracy of the detection result is improved.
Further, according to an embodiment of the present invention, the mobile device-based hearing test apparatus 300 further includes a user reaction time determining module configured to:
playing a test audio file to a user, and under the condition that the detection state data in the test process meets the state data requirement, playing the test audio file, and recording a first time point corresponding to a long-press operation instruction of the user on an operation button and a second time point corresponding to a release operation instruction;
and determining the user reaction time according to the first time point, the second time point and the starting time point and the ending time point of the test audio file.
Specifically, a long-press operation instruction of the user to the operation button corresponds to a time period, and the application takes the starting time of the long-press operation instruction as a first time point. And the corresponding user reaction time length is determined for each user respectively, so that the detection result for each user is consistent with fairness, the user experience is improved, and the detection accuracy is improved.
According to the technical scheme of the embodiment of the invention, the detection audio file is played by responding to the hearing detection request initiated by the user, and the operation buttons are displayed on the detection interface; receiving a long-press operation instruction and a release operation instruction of a user on an operation button; acquiring detection state data in the process of playing the detection audio file, and playing the detection audio file under the condition that the detection state data meet the state data requirement so as to acquire hearing detection duration data; the hearing test duration data and the standard hearing duration data are compared, and the hearing test result of the user is determined according to the comparison result, so that the technical problems of low detection efficiency, low detection result accuracy and poor user experience in the related technology are overcome, the detection state data in the detection process can be monitored, the fact that the detection audio file is played without external interference is ensured to be completed, effective hearing test duration data can be obtained, accurate hearing test results are obtained, hearing test efficiency is improved, hearing test accuracy is improved, and the technical effect of user experience is improved.
Fig. 4 illustrates an exemplary system architecture 400 to which a mobile device-based hearing test method or mobile device-based hearing test apparatus of embodiments of the present invention may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 is used as a medium to provide communication links between the terminal devices 401, 402, 403 and the server 405. The network 404 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 405 via the network 404 using the terminal devices 401, 402, 403 to receive or send messages or the like. Various communication client applications, such as an audiovisual class application, a web browser application, a search class application, an instant messaging tool, social platform software, etc., may be installed on the terminal devices 401, 402, 403, as just examples.
The terminal devices 401, 402, 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 405 may be a server providing various services, such as a server (by way of example only) that utilizes the terminal devices 401, 402, 403 (for hearing detection/data processing) for the user. The server may analyze and process the received data such as the hearing test request, and feed back the processing result (e.g. hearing test duration data, hearing test result—just an example) to the terminal device.
It should be noted that, the mobile device-based hearing test method provided in the embodiments of the present invention is generally executed by the server 405, and accordingly, the mobile device-based hearing test apparatus is generally disposed in the server 405.
It should be understood that the number of terminal devices, networks and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, there is illustrated a schematic diagram of a computer system 500 suitable for use in implementing a terminal device or server in accordance with an embodiment of the present invention. The terminal device or server shown in fig. 5 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input section 506 including a keyboard, a mouse, and the like; an output portion 507 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The drive 510 is also connected to the I/O interface 505 as needed. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as needed so that a computer program read therefrom is mounted into the storage section 508 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 509, and/or installed from the removable media 511. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 501.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: 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. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: the processor comprises a response module, an instruction receiving module, a detection module and a comparison module. The names of these modules do not constitute a limitation on the module itself in some cases, and for example, the response module may also be described as "a module for playing a detection audio file in response to a hearing detection request initiated by a user, and displaying an operation button on a detection interface".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include: responding to a hearing detection request initiated by a user, playing a detection audio file, and displaying an operation button on a detection interface; receiving a long-press operation instruction and a release operation instruction of a user on an operation button; acquiring detection state data in the process of playing the detection audio file, and playing the detection audio file under the condition that the detection state data meet the state data requirement so as to acquire hearing detection duration data; and comparing the hearing test duration data with the standard hearing duration data, and determining a hearing test result of the user according to the comparison result.
According to the technical scheme of the embodiment of the invention, the detection audio file is played by responding to the hearing detection request initiated by the user, and the operation buttons are displayed on the detection interface; receiving a long-press operation instruction and a release operation instruction of a user on an operation button; acquiring detection state data in the process of playing the detection audio file, and playing the detection audio file under the condition that the detection state data meet the state data requirement so as to acquire hearing detection duration data; the hearing test duration data and the standard hearing duration data are compared, and the hearing test result of the user is determined according to the comparison result, so that the technical problems of low detection efficiency, low detection result accuracy and poor user experience in the related technology are overcome, the detection state data in the detection process can be monitored, the fact that the detection audio file is played without external interference is ensured to be completed, effective hearing test duration data can be obtained, accurate hearing test results are obtained, hearing test efficiency is improved, hearing test accuracy is improved, and the technical effect of user experience is improved.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for mobile device-based hearing test, comprising:
responding to a hearing detection request initiated by a user, playing a detection audio file, and displaying an operation button on a detection interface;
receiving a long-press operation instruction and a release operation instruction of the user on the operation button;
acquiring detection state data in the process of playing the detection audio file, and playing the detection audio file under the condition that the detection state data meet the state data requirement so as to acquire hearing detection duration data;
and comparing the hearing test duration data with standard hearing duration data, and determining a hearing test result of the user according to the comparison result.
2. The mobile device-based hearing test method of claim 1, wherein the test status data comprises earphone connection status data, volume status data, and external terminal event status data; the step of obtaining the detection state data in the process of playing the detection audio file, and playing the detection audio file under the condition that the detection state data meets the state data requirement to obtain the hearing detection duration data comprises the following steps:
And acquiring earphone connection state data, volume state data and external terminal event state data, and in the detection process, if the earphone connection state data is successful in connection, the volume state data is positioned in a volume threshold interval, and the external terminal event state data is triggered by no external terminal event, namely, the detection state data is determined to meet the state data requirement, playing the detection audio data to obtain hearing detection duration data.
3. The mobile device-based hearing test method of claim 2, wherein if any of the test status data does not meet the status data requirements, the method further comprises:
and suspending playing the detection audio file until all detection state data meet the state data requirement, and continuing to play the detection audio file until the playing is completed.
4. The mobile device-based hearing test method of claim 1, wherein the test audio file comprises a plurality of test audio segments, each test audio segment corresponding to one hearing test sub-duration data; the step of comparing the hearing test duration data with standard hearing test duration data and determining the hearing test result of the user according to the comparison result further comprises the following steps:
Determining a plurality of actual hearing test sub-duration data according to the plurality of hearing test sub-duration data and the user reaction duration;
and comparing the actual hearing test sub-duration data with the corresponding standard hearing test duration data, and calculating the average value of a plurality of comparison results to obtain the hearing test result of the user.
5. The mobile device-based hearing test method of claim 4, further comprising the step of determining a user reaction time period, comprising:
playing a test audio file to a user, and under the condition that the detection state data in the test process meets the state data requirement, playing the test audio file, and recording a first time point corresponding to a long-press operation instruction of the user on the operation button and a second time point corresponding to a release operation instruction;
and determining the user reaction time according to the first time point, the second time point and the starting time point and the ending time point of the test audio file.
6. The method of claim 1, wherein the step of playing the test audio file in response to the user initiated hearing test request further comprises:
And switching the left channel and the right channel of the detection audio file, and playing the audio file in the left channel and the right channel respectively so as to respectively determine a hearing detection result corresponding to the left ear and a hearing detection result corresponding to the right ear of the user.
7. A mobile device-based hearing test apparatus, comprising:
the response module is used for responding to a hearing detection request initiated by a user, playing a detection audio file and displaying an operation button on a detection interface;
the instruction receiving module is used for receiving a long-press operation instruction and a release operation instruction of the user on the operation button;
the detection module is used for acquiring detection state data in the process of playing the detection audio file, and playing the detection audio file under the condition that the detection state data meet the state data requirement so as to acquire hearing detection duration data;
and the comparison module is used for comparing the hearing detection duration data with the standard hearing duration data and determining the hearing detection result of the user according to the comparison result.
8. The mobile device-based hearing test apparatus of claim 7, wherein the test audio file comprises a plurality of test audio segments, each test audio segment corresponding to one hearing test sub-duration data; the comparison module is also used for:
Determining a plurality of actual hearing test sub-duration data according to the plurality of hearing test sub-duration data and the user reaction duration;
and comparing the actual hearing test sub-duration data with the corresponding standard hearing test duration data, and calculating the average value of a plurality of comparison results to obtain the hearing test result of the user.
9. An electronic device for mobile device-based hearing test, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-6.
10. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-6.
CN202310143338.1A 2023-02-09 2023-02-09 Hearing detection method and device based on mobile equipment Pending CN116250833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310143338.1A CN116250833A (en) 2023-02-09 2023-02-09 Hearing detection method and device based on mobile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310143338.1A CN116250833A (en) 2023-02-09 2023-02-09 Hearing detection method and device based on mobile equipment

Publications (1)

Publication Number Publication Date
CN116250833A true CN116250833A (en) 2023-06-13

Family

ID=86683885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310143338.1A Pending CN116250833A (en) 2023-02-09 2023-02-09 Hearing detection method and device based on mobile equipment

Country Status (1)

Country Link
CN (1) CN116250833A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9308720D0 (en) * 1993-04-27 1993-06-09 Univ Leicester Audiometric measurements
KR20030067849A (en) * 2002-02-08 2003-08-19 양순석 Device and Method for testing the hearing ability and mobile phone
CN101721214A (en) * 2008-10-28 2010-06-09 乐金电子(中国)研究开发中心有限公司 Listening checking method and device based on mobile terminal
WO2016011288A1 (en) * 2014-07-16 2016-01-21 Eariq, Inc. System and method for calibration and reproduction of audio signals based on auditory feedback
CN106659435A (en) * 2014-08-14 2017-05-10 奥迪克斯系统有限公司 System for defining and executing audiometric tests
CN111355841A (en) * 2020-01-20 2020-06-30 江苏艾佳家居用品有限公司 Hearing assistance method and device based on smart phone and computer equipment
CN111466919A (en) * 2020-04-15 2020-07-31 深圳市欢太科技有限公司 Hearing detection method, terminal and storage medium
EP3726856A1 (en) * 2019-04-17 2020-10-21 Oticon A/s A hearing device comprising a keyword detector and an own voice detector and/or a transmitter
US20210068714A1 (en) * 2019-09-09 2021-03-11 Apple Inc. Research study user interfaces
CN113080947A (en) * 2021-03-26 2021-07-09 北京京东拓先科技有限公司 Online audiometry method and system
CN115474927A (en) * 2022-08-09 2022-12-16 Oppo广东移动通信有限公司 Hearing detection method and device, electronic equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9308720D0 (en) * 1993-04-27 1993-06-09 Univ Leicester Audiometric measurements
KR20030067849A (en) * 2002-02-08 2003-08-19 양순석 Device and Method for testing the hearing ability and mobile phone
CN101721214A (en) * 2008-10-28 2010-06-09 乐金电子(中国)研究开发中心有限公司 Listening checking method and device based on mobile terminal
WO2016011288A1 (en) * 2014-07-16 2016-01-21 Eariq, Inc. System and method for calibration and reproduction of audio signals based on auditory feedback
CN106659435A (en) * 2014-08-14 2017-05-10 奥迪克斯系统有限公司 System for defining and executing audiometric tests
US20170273602A1 (en) * 2014-08-14 2017-09-28 Audyx Systems Ltd. System for defining and executing audiometric tests
EP3726856A1 (en) * 2019-04-17 2020-10-21 Oticon A/s A hearing device comprising a keyword detector and an own voice detector and/or a transmitter
US20210068714A1 (en) * 2019-09-09 2021-03-11 Apple Inc. Research study user interfaces
CN111355841A (en) * 2020-01-20 2020-06-30 江苏艾佳家居用品有限公司 Hearing assistance method and device based on smart phone and computer equipment
CN111466919A (en) * 2020-04-15 2020-07-31 深圳市欢太科技有限公司 Hearing detection method, terminal and storage medium
CN113080947A (en) * 2021-03-26 2021-07-09 北京京东拓先科技有限公司 Online audiometry method and system
CN115474927A (en) * 2022-08-09 2022-12-16 Oppo广东移动通信有限公司 Hearing detection method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110851213B (en) Information display method and terminal
CN104427083B (en) The method and apparatus for adjusting volume
CN106686557B (en) Broadcast processing method, device and terminal device
CN108509176A (en) A kind of method, apparatus of playing audio-fequency data, storage medium and intelligent terminal
CN109582274B (en) Volume adjusting method and device, electronic equipment and computer readable storage medium
CN109817241B (en) Audio processing method, device and storage medium
WO2019071808A1 (en) Video image display method, apparatus and system, terminal device, and storage medium
CN104899087B (en) The speech recognition method and system of third-party application
CN112822431B (en) Method and equipment for private audio and video call
US11822854B2 (en) Automatic volume adjustment method and apparatus, medium, and device
CN111277697B (en) Audio processing method and device, storage medium and electronic equipment
CN110086941B (en) Voice playing method and device and terminal equipment
TW202020652A (en) Voice processing method and apparatus
KR101876394B1 (en) Method and device for playing media data on a terminal
CN109753262A (en) frame display processing method, device, terminal device and storage medium
CN111312243B (en) Equipment interaction method and device
WO2015078349A1 (en) Microphone sound-reception status switching method and apparatus
CN110989816B (en) Application processing method and device and storage medium
CN116250833A (en) Hearing detection method and device based on mobile equipment
CN114363704B (en) Video playing method, device, equipment and storage medium
CN107395493B (en) Method and device for sharing message based on intention
CN112307161B (en) Method and apparatus for playing audio
CN114121050A (en) Audio playing method and device, electronic equipment and storage medium
CN113852944A (en) Audio output method and device
CN112269702A (en) Screen brightness adjusting method and device, electronic equipment and computer readable 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