Electronic device for outputting sound and method for operating the same
Patent Information
- Application Number
- CN202180062600.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-09-11
- Filing Date
- 2021-09-13
- Publication Date
- 2026-09-11
- Estimated Expiration
- 2041-09-13
AI Technical Summary
因此,使用耳机通话可能无法正常进行
[0012] Embodiments of this disclosure provide an electronic device capable of identifying whether speakers and microphones included in headphones are functioning properly without accessing a service center, and a method for operating the electronic device.
Smart Images

Figure CN116261859B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to an electronic device for outputting sound and a method for operating it. Background Technology
[0002] With advancements in wireless communication technology, electronic devices can communicate with each other using various wireless communication technologies. Bluetooth communication technology, for example, refers to short-range wireless communication technology that allows electronic devices to interconnect to exchange data or information. Bluetooth communication technology can utilize Bluetooth Classic (or Bluetooth Low Energy) or Bluetooth Low Energy (BLE) network technologies and has various topologies, such as piconet or scatternet. Electronic devices can use Bluetooth communication technology to share data at low power. Such Bluetooth technology can be used to connect to external wireless communication devices and send audio data from content running on the electronic device to the external wireless communication device, allowing the external wireless communication device to process the audio data and output the result to the user. Wireless headphones employing Bluetooth communication technology have recently become widely used. For better performance, wireless headphones with multiple microphones are used. Summary of the Invention
[0003] Technical issues
[0004] Headphones with multiple microphones and speakers are prone to microphone or speaker malfunctions. Such malfunctions can lead to poor performance of wireless headphones. For example, users of wireless headphones may experience discomfort when making calls. Consequently, calls using the headphones may not function properly.
[0005] Users often need to take their headsets to a service center to have the microphone checked for any malfunctions. Therefore, it can be inconvenient to check for the presence or cause of a microphone or speaker malfunction in the headset.
[0006] Technical solution
[0007] According to an example embodiment, an electronic device includes: a memory; a communication module including communication circuitry; a first speaker including at least one vibrating component containing circuitry; at least one first microphone; and a processor configured to: control the electronic device to output a first sound having a predetermined frequency through the first speaker, based on the formation of an enclosed space when the electronic device is mounted on a bracket; obtain a third sound through the at least one first microphone, the third sound being a reflection of the first sound in the enclosed space; obtain a fourth sound through the at least one first microphone, the fourth sound being a reflection of a second sound in the enclosed space, the second sound being output from a second speaker included in an external electronic device located in the enclosed space; and identify whether the performance of the first speaker, the at least one first microphone, and the second speaker is normal based on the third sound and the fourth sound.
[0008] According to an example embodiment, a method for operating an electronic device includes: forming an enclosed space based on the electronic device being mounted on a bracket; outputting a first sound having a predetermined frequency through a first speaker included in the electronic device; obtaining a third sound through at least one first microphone included in the electronic device, the third sound being a reflection of the first sound in the enclosed space; obtaining a fourth sound through the at least one first microphone, the fourth sound being a reflection of a second sound in the enclosed space, the second sound being output from a second speaker included in an external electronic device located in the enclosed space; and identifying whether the performance of the first speaker, the at least one first microphone, and the second speaker is normal based on the third sound and the fourth sound.
[0009] According to an example embodiment, a non-transitory computer-readable recording medium having a program recorded thereon is provided, which, when run, causes an electronic device to perform operations including: outputting a first sound having a predetermined frequency through a first speaker included in the electronic device, based on an enclosed space formed when the electronic device is mounted on a bracket; obtaining a third sound through at least one first microphone included in the electronic device, the third sound being a reflection of the first sound in the enclosed space; obtaining a fourth sound through the at least one first microphone, the fourth sound being a reflection of a second sound in the enclosed space, the second sound being output from a second speaker included in an external electronic device located in the enclosed space; identifying, based on the third and fourth sounds, whether the performance of the first speaker, the at least one first microphone, and the second speaker is normal; obtaining from the external electronic device information indicating whether the performance of the first speaker, the second speaker included in the external electronic device, and the at least one second microphone is normal; and identifying, based on the obtained information, whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal.
[0010] Other aspects, advantages, and salient features of this disclosure will become apparent to those skilled in the art from the following detailed description of various exemplary embodiments of this disclosure, which are disclosed in conjunction with the accompanying drawings.
[0011] Beneficial effects
[0012] Embodiments of this disclosure provide an electronic device capable of identifying whether speakers and microphones included in headphones are functioning properly without accessing a service center, and a method for operating the electronic device. Attached Figure Description
[0013] The above and other aspects, features and advantages of certain embodiments of this disclosure will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:
[0014] Figure 1This is a diagram illustrating an example electrical system according to various embodiments;
[0015] Figure 2 This is a block diagram illustrating an example electronic system according to various embodiments;
[0016] Figure 3 This is a graph illustrating example methods for comparing a reference signal and a signal corresponding to sound obtained by an electronic device, according to various embodiments;
[0017] Figure 4 This is a table illustrating example methods for identifying whether the performance of a speaker and microphone is normal, according to various embodiments;
[0018] Figure 5 This is a flowchart illustrating example operations of an electronic device identifying whether the performance of a speaker and microphone is normal, according to various embodiments;
[0019] Figure 6 This is a flowchart illustrating an example method, according to various embodiments, for comparing a reference signal with a signal corresponding to sound obtained by an electronic device;
[0020] Figure 7 This is a flowchart illustrating example operations of an electronic device identifying whether the performance of a speaker and microphone is normal, according to various embodiments;
[0021] Figure 8 This is a flowchart illustrating example operations of an electronic device providing information about a foreign object according to various embodiments;
[0022] Figure 9A and Figure 9B This is a table illustrating example operations of an electronic device providing information about a foreign object according to various embodiments;
[0023] Figure 10 This is a flowchart illustrating example operations for identifying whether the performance of a speaker and microphone is normal based on signal attenuation and delay caused by electronic devices, according to various embodiments;
[0024] Figure 11 This is a graph illustrating example operations for identifying whether the performance of a speaker and microphone is normal based on signal attenuation and delay caused by electronic devices according to various embodiments;
[0025] Figure 12A and Figure 12B This is a signal flow diagram illustrating example operations of an electronic device providing information about whether the performance of a speaker and microphone is normal, according to various embodiments;
[0026] Figure 13A , Figure 13B, Figure 13C , Figure 13D and Figure 13E This is a diagram illustrating example operation of an electronic device providing information about whether the performance of a speaker and microphone is normal, according to various embodiments; and
[0027] Figure 14 This is a block diagram illustrating an example electronic device in a network environment according to various embodiments.
[0028] Throughout the accompanying drawings, the same reference numerals will be understood to refer to the same parts, components, and structures. Detailed Implementation
[0029] Figure 1 This is a diagram illustrating an example electrical system according to various embodiments.
[0030] Reference Figure 1 The electronic system may include a first electronic device 101, a second electronic device 102, a third electronic device 104, and a fourth electronic device 108. For example, each of the first electronic device 101, the second electronic device 102, the third electronic device 104, and the fourth electronic device 108 can send / receive data to / from another via a short-range communication technology (e.g., Bluetooth communication technology). For example, the first electronic device 101 and the second electronic device 102 can send / receive data using wireless communication technology. The first electronic device 101 can directly send / receive data to / from the third electronic device 104 and / or the fourth electronic device 108. The second electronic device 102 can directly send / receive data to / from the third electronic device 104 and / or the fourth electronic device 108.
[0031] According to an embodiment, the first electronic device 101 and the second electronic device 102 can be implemented as headphones that wirelessly output sound. For example, the first electronic device 101 and the second electronic device 102 can convert data received from the fourth electronic device 108 into sound and output the converted sound (e.g., music). The first electronic device 101 and the second electronic device 102 can acquire external sound (e.g., a user's voice) and send data corresponding to the acquired sound to the fourth electronic device 108. For example, the first electronic device 101 and the second electronic device 102 can be implemented as being worn on the user's right ear and left ear, respectively. For example, the first electronic device 101 can be a main device (also called a main accessory), and the second electronic device 102 can be an auxiliary device (also called an auxiliary accessory). For example, the first electronic device 101 can form a communication link with the fourth electronic device 108. The first electronic device 101 can send information acquired by the first electronic device 101 and information received from the second electronic device 102 to the fourth electronic device 108 through the communication link.
[0032] According to an embodiment, the first electronic device 101 and the second electronic device 102 can be mounted on a third electronic device 104. For example, the third electronic device 104 can be implemented as a bracket for mounting the first electronic device 101 and the second electronic device 102. For example, the third electronic device 104 can transmit power to the first electronic device 101 and the second electronic device 102 (wirelessly or wiredly) when the first electronic device 101 and the second electronic device 102 are mounted thereon. In other words, the third electronic device 104 can charge the first electronic device 101 and the second electronic device 102.
[0033] According to an embodiment, the third electronic device 104 can identify whether the first electronic device 101 and the second electronic device 102 are installed. For example, when the first electronic device 101 and the second electronic device 102 contact a charging terminal included in the third electronic device 104, the third electronic device 104 can determine that the first electronic device 101 and the second electronic device 102 are installed.
[0034] According to an embodiment, with the first electronic device 101 and the second electronic device 102 installed, the third electronic device 104 can send a notification signal indicating whether a cover (e.g., the lid of the third electronic device 104) is open or closed. For example, when the cover is closed or open, the third electronic device 104 can send a notification signal to the first electronic device 101 and / or the second electronic device 102. For example, the notification signal may be a signal indicating the open / closed state of the cover. For example, the third electronic device 104 can identify the closed state (or open state) of the cover by detecting the magnetic force of a magnet included in the cover via a Hall sensor. The third electronic device 104 can identify the closed state (or open state) of the cover by detecting that the illuminance decreases to a predetermined level when the cover is closed using an illuminance sensor. For example, when the cover is in the closed state, the first electronic device 101 and the second electronic device 102 installed on the third electronic device 104 can be located in an enclosed space.
[0035] According to an embodiment, when an enclosed space is formed, and the first electronic device 101 and the second electronic device 102 are mounted on the third electronic device 104, the first electronic device 101 and the second electronic device 102 can identify whether the performance of the speaker and microphone included in each of the first electronic device 101 and the second electronic device 102 is normal. The first electronic device 101 and the second electronic device 102 can identify the cause of performance degradation of the speaker and microphone included in each of the first electronic device 101 and the second electronic device 102. The operation of the first electronic device 101 and the second electronic device 102 is described below. Figure 2 To describe in more detail.
[0036] According to an embodiment, the fourth electronic device 108 can be implemented as a computing device (e.g., a smartphone or personal computer (PC)) capable of performing communication functions. For example, the fourth electronic device 108 can send / receive data to / from the first electronic device 101, the second electronic device 102, and the third electronic device 104. For example, the fourth electronic device 108 can send commands to the first electronic device 101 and the second electronic device 102 for performing specific functions. For example, the fourth electronic device 108 can send commands to the first electronic device 101 and the second electronic device 102 for controlling operations to identify whether the performance of the microphone and speaker included in each of the first electronic device 101 and the second electronic device 102 is normal. The fourth electronic device 108 can receive information indicating the status of the first electronic device 101 and the second electronic device 102 (e.g., the status of the speaker and microphone).
[0037] Figure 2 This is a block diagram illustrating an example electronic system according to various embodiments.
[0038] Reference Figure 2 The first electronic device 101 may include a first processor (e.g., which includes processing circuitry) 120, a first memory 125, a first speaker 130, a first microphone 140, and a first communication module (e.g., which includes communication circuitry) 145.
[0039] According to an embodiment, the first processor 120 may include various processing circuits and control the overall operation of the first electronic device 101. The first processor 120 can control the electronic device 101 to send / receive data to / from the second electronic device 102, the third electronic device 104, and the fourth electronic device 108 via the first communication module 145. For example, the first communication module 145 may include various communication circuits and support wireless communication technologies (e.g., Bluetooth communication technology).
[0040] According to an embodiment, the first processor 120 can receive a notification signal NI from the third electronic device 104 indicating whether the cover of the third electronic device 104 is in a closed state (or an open state). When the cover of the third electronic device 104 is in a closed state, the first electronic device 101 mounted on the third electronic device 104 can be located in an enclosed space.
[0041] According to an embodiment, when an enclosed space is formed, with the first electronic device 101 mounted on the third electronic device 104, the first processor 120 can output a first signal S1 with a predetermined frequency via the first speaker 130 in response to a trigger signal. For example, the trigger signal may be a signal used to initiate operation by the first electronic device 101 to identify whether the performance of the first speaker 130 and the first microphone 140 is normal. The trigger signal may be generated by the first processor 120 itself, or may be received from the second electronic device 102, the third electronic device 104, or the fourth electronic device 108. For example, the first sound S1 may be a sound having frequencies in several frequency bands having audible frequencies. For example, the first sound S1 may include various noises. For example, the first sound S1 may include at least one of pink noise, brown noise, or white noise.
[0042] According to an embodiment, the first processor 120 may output the first sound S1 from the first speaker 130 before the second sound S2 is output from the second speaker 160, based on a trigger signal. The first processor 120 may also output the first sound S1 from the first speaker 130 after the second sound S2 is output from the second speaker 160, based on a trigger signal. In other words, the first processor 120 may control the first speaker 130 based on a trigger signal to allow the first sound S1 and the second sound S2 to not be output simultaneously. For example, the trigger signal may include information about the timing of the first processor 120 outputting the first sound S1 from the first speaker 130.
[0043] According to an embodiment, the first processor 120 can obtain a third sound S11 through the first microphone 140. The third sound S11 is the reflection of the first sound S1 in the enclosed space of the third electronic device 104 (e.g., a bracket). For example, the third sound S11 can be the sound result of the first sound S1 output by the first speaker 130 being reflected in the enclosed space of the third electronic device 104 and obtained through the first microphone 140.
[0044] According to an embodiment, the first processor 120 can obtain a fourth sound S21 via a first microphone 140. The fourth sound S21 is the reflection of a second sound S2 output from a second electronic device 102 (or a second speaker 160) mounted on a third electronic device 104 (e.g., a bracket) within the enclosed space of the third electronic device 104. For example, the second sound S2 can be a sound having frequencies in several frequency bands including audible frequencies. For example, the second sound S2 can include various noises. For example, the second sound S2 can include at least one of pink noise, brown noise, or white noise. For example, the second sound S2 can be implemented as the same sound as the first sound S1 or a different sound from the first sound S1. For example, the fourth sound S21 can be the sound result of the second sound S2 output by the second speaker 160 of the second electronic device 102 being reflected within the enclosed space of the third electronic device 104 and obtained via the first microphone 140.
[0045] According to an embodiment, the first processor 120 can sequentially acquire a third sound S11 and a fourth sound S21 via a first microphone 140. The first processor 120 can acquire reference data RD from a first memory 125 to analyze the third sound S11 and the fourth sound S21. For example, the reference data RD may be data acquired when the speakers 130 and 160 and the microphones 140 and 170 included in the first electronic device 101 and the second electronic device 102 are functioning normally. For example, the reference data RD may include information about multiple reference signals based on combinations of speakers 130 and 160 and microphones 140 and 170 of the first electronic device 101 and the second electronic device 102.
[0046] According to an embodiment, the first processor 120 can compare a first reference signal with a signal corresponding to the third sound S11. For example, the first reference signal may be a reference signal based on a combination of the first speaker 130 and the first microphone 140. The first processor 120 can compare the first reference signal and the signal corresponding to the third sound S11 in at least one specific frequency band, and identify whether the performance of the first speaker 130 and / or the first microphone 140 has degraded based on the comparison result. The first processor 120 can identify whether the performance of the first speaker 130 and / or the first microphone 140 has degraded based on the comparison result.
[0047] For example, refer to Figure 3The first processor 120 can compare the first reference signal 310 with the first signal 320 corresponding to the third sound S11. The first processor 120 can obtain a first difference D1 between the first signal 320 and the first reference signal 310 in the first frequency band H1. The first processor 120 can compare the first difference D1 with a first threshold, and when the first difference D1 is greater than the first threshold, determine that the performance of at least one of the first speaker 130 and the first microphone 140 has degraded. The first processor 120 can determine that the performance of at least one of the first speaker 130 and the first microphone 140 has degraded due to foreign matter (e.g., water) corresponding to the first frequency band H1. The first threshold can be a reference value used to determine whether the performance of the first speaker 130 and the first microphone 140 is normal in the first frequency band H1. For example, the first threshold can be a constant or a ratio relative to a reference value. For example, when the amplitude of a signal at a specific frequency differs from a reference value by a specific ratio or more, the first processor 120 can determine that the performance is abnormal.
[0048] For example, the first processor 120 can obtain a second difference D2 between the first signal 320 and the first reference signal 310 in the second frequency band H2. The first processor 120 can compare the second difference D2 with a second threshold, and when the second difference D2 is greater than the second threshold, determine that the performance of at least one of the first speaker 130 and the first microphone 140 has degraded. The first processor 120 can determine that the performance of at least one of the first speaker 130 and the first microphone 140 has degraded due to a foreign object (e.g., a stone) corresponding to the second frequency band H2. For example, the second threshold can be a reference value used to determine whether the performance of the first speaker 130 and the first microphone 140 is normal in the second frequency band H2. For example, the second threshold can be a constant or a ratio relative to a reference value. For example, when the amplitude of a signal at a specific frequency differs from a reference value by a specific ratio or more, the second processor 150 can determine that the performance is abnormal.
[0049] For example, when the first difference D1 is not greater than the first threshold and the second difference D2 is not greater than the second threshold, the first processor 120 can determine that the performance of the first speaker 130 and the first microphone 140 is normal.
[0050] According to an embodiment, the first processor 120 can compare a second reference signal with a signal corresponding to the fourth sound S21. For example, the second reference signal may be a reference signal based on a combination of the second speaker 160 and the first microphone 140. The first processor 120 can compare the second reference signal with the signal corresponding to the fourth sound S21 in at least one specific frequency band and identify whether the performance of the second speaker 160 and / or the first microphone 140 has degraded based on the comparison result. The first processor 120 can identify the cause of the performance degradation of the second speaker 160 and / or the first microphone 140 based on the comparison result. For example, it can be combined with the above. Figure 3 The method described is performed in the same manner to compare the second reference signal and the signal corresponding to the fourth sound S21 and to identify whether the performance of the second speaker 160 and / or the first microphone 140 has degraded.
[0051] According to an embodiment, when a user first uses the first electronic device 101, with the third electronic device 104 (e.g., a bracket) in a closed state, the first processor 120 can obtain data waveforms (or data related to the waveforms corresponding to the sounds) via the first microphone 140 corresponding to the sounds output from each of the first speaker 130 and the second speaker 160. The first processor 120 can determine a first reference signal and a second reference signal based on the obtained data waveforms. The first processor 120 can store the first reference signal and the second reference signal in a memory 125.
[0052] According to an embodiment, the first processor 120 can obtain first result information RI1 indicating the performance of the first speaker 130, the second speaker 160, and the first microphone 140. The first processor 120 can send the first result information RI1 to the second electronic device 102. The first processor 120 can receive second result information RI2 or final result information RI from the second electronic device 102. For example, the first result information RI1 can be result information obtained by the first electronic device 101, and the second result information RI2 can be result information obtained by the second electronic device 102. For example, when the first processor 120 receives the second result information RI2, the first processor 120 can obtain the final result information RI based on the first result information RI1 and the second result information RI2.
[0053] According to an embodiment, the first processor 120 can output voice corresponding to the final result information RI through the first speaker 130. For example, when a pressure sensor (not shown) identifies that a user is wearing the first electronic device 101, the first processor 120 can output voice corresponding to the final result information RI through the first speaker 130.
[0054] According to an embodiment, the first speaker 130 may include at least one vibrating component (e.g., which includes circuitry). For example, when the first speaker 130 includes multiple vibrating components, each of the multiple vibrating components may output sound in a different frequency band. The first processor 120 may output a first sound S1 through at least one of the multiple vibrating components. In this case, the first processor 120 may obtain first result information indicative of the performance of the first microphone 140, the second speaker 160, and at least one vibrating component included in the first speaker 130 by the method described above.
[0055] although Figure 2 The first electronic device 101 is shown to include only the first microphone 140, but this is only for ease of description, and the spirit of this disclosure is not limited thereto. For example, the first electronic device 101 may include multiple microphones. In this case, the first processor 120 can obtain first result information indicating the performance of the first speaker 130, the second speaker 160, and the multiple microphones by the method described above.
[0056] According to an embodiment, the second electronic device 102 may include a second processor (e.g., which includes processing circuitry) 150, a second memory 155, a second speaker 160, a second microphone 170, and a second communication module (e.g., which includes communication circuitry) 175.
[0057] According to an embodiment, the second processor 150 may include various processing circuits and control the overall operation of the second electronic device 102. The second processor 150 can control the second electronic device 102 to send / receive data to / from the first electronic device 101, the third electronic device 104, and the fourth electronic device 108 via the second communication module 175. For example, the second communication module 175 may include various communication circuits and support wireless communication technologies (e.g., Bluetooth communication technology).
[0058] According to an embodiment, the second processor 150 can receive a notification signal NI from the third electronic device 104 indicating whether the cover of the third electronic device 104 is in a closed (or open) state. When the cover of the third electronic device 104 is in a closed state, the second electronic device 102 mounted on the third electronic device 104 can be located in an enclosed space.
[0059] According to an embodiment, when an enclosed space is formed, with the second electronic device 102 mounted on the third electronic device 104, the second processor 150 can output a second signal S2 with a predetermined frequency via the second speaker 160 in response to a trigger signal. For example, the trigger signal may be a signal used to initiate operation by the second electronic device 102 to identify whether the performance of the second speaker 160 and the second microphone 170 is normal. The trigger signal may be generated by the second processor 150 itself, or it may be received from the first electronic device 101, the third electronic device 104, or the fourth electronic device 108.
[0060] According to an embodiment, the second processor 150 may output a second sound S2 from the second speaker 160 after the first sound S1 is output from the first speaker 130, based on a trigger signal. The second processor 150 may also output the second sound S2 from the second speaker 160 before the first sound S1 is output from the first speaker 130, based on a trigger signal. In other words, the second processor 150 may control the second speaker 160 based on a trigger signal to allow the first sound S1 and the second sound S2 to not be output simultaneously. For example, the trigger signal may include information about the timing of the second processor 150 outputting the second sound S2 from the second speaker 160.
[0061] According to an embodiment, the second processor 150 can obtain a fifth sound S22 via a second microphone 170. The fifth sound S22 is the reflection of the second sound S2 in the enclosed space of the third electronic device 104 (e.g., a bracket). For example, the fifth sound S22 can be the sound result of the second sound S2 output by the second speaker 160 being reflected in the enclosed space of the third electronic device 104 and obtained through the second microphone 170.
[0062] According to an embodiment, the second processor 150 can obtain a sixth sound S12 via a second microphone 170. The sixth sound S12 is the reflection of a first sound S1 output from a first electronic device 102 (or a first speaker 130) mounted on a third electronic device 104 (e.g., a bracket) within the enclosed space of the third electronic device 104. For example, the sixth sound S12 can be the sound result of the first sound S1 output through the first speaker 130 being reflected within the enclosed space of the third electronic device 104 and obtained via the second microphone 170.
[0063] According to an embodiment, the second processor 150 can sequentially acquire the fifth sound S22 and the sixth sound S12 via the second microphone 170. The second processor 150 can obtain reference data RD from the second memory 155 to analyze the fifth sound S22 and the sixth sound S12. For example, the reference data RD may include information about multiple reference signals based on the combination of speakers 130 and 160 and microphones 140 and 170 of the first electronic device 101 and the second electronic device 102.
[0064] According to an embodiment, the second processor 150 can compare a third reference signal with a signal corresponding to the fifth sound S22. For example, the third reference signal may be a reference signal based on a combination of the second speaker 160 and the second microphone 170. The second processor 150 can compare the third reference signal with the signal corresponding to the fifth sound S22 in at least one specific frequency band and identify, based on the comparison result, whether the performance of the second speaker 160 and / or the second microphone 170 has degraded. The second processor 150 can identify the cause of the performance degradation of the second speaker 160 and / or the second microphone 170 based on the comparison result. For example, it can be combined with the above... Figure 3 The method for comparing the third reference signal and the signal corresponding to the fifth sound S22 and identifying whether the performance of the second speaker 160 and / or the second microphone 170 has degraded is performed in the same or similar manner as described.
[0065] According to an embodiment, the second processor 150 can compare a fourth reference signal with a signal corresponding to the sixth sound S12. For example, the fourth reference signal may be a reference signal based on a combination of the first speaker 130 and the second microphone 170. The second processor 150 can compare the fourth reference signal with the signal corresponding to the sixth sound S12 in at least one specific frequency band and identify, based on the comparison result, whether the performance of the first speaker 130 and / or the second microphone 170 has degraded. The second processor 150 can identify the cause of the performance degradation of the first speaker 130 and / or the second microphone 170 based on the comparison result. For example, it can be combined with the above... Figure 3 The method described is performed in the same manner to compare the fourth reference signal and the signal corresponding to the sixth sound S12 and to identify whether the performance of the first speaker 130 and / or the second microphone 170 has degraded.
[0066] According to an embodiment, when a user first uses the second electronic device 102, with the third electronic device 104 (e.g., a bracket) in a closed state, the second processor 150 can obtain data waveforms corresponding to the sounds output from each of the first speaker 130 and the second speaker 160 via the first microphone 170. The second processor 150 can determine a third reference signal and a fourth reference signal based on the obtained data waveforms. The second processor 150 can store the third reference signal and the fourth reference signal in a memory 155.
[0067] According to an embodiment, the second processor 150 can obtain second result information RI2, which indicates the performance of the first speaker 130, the second speaker 160, and the second microphone 170. The second processor 150 can send the second result information RI2 to the first electronic device 101. The second processor 150 can receive first result information RI1 or final result information RI from the first electronic device 101. For example, when the second processor 150 receives the first result information RI1, the second processor 150 can obtain the final result information RI based on the first result information RI1 and the second result information RI2.
[0068] For example, refer to Figure 4 The second processor 150 can obtain the result values between the first speaker 130, the second speaker 160, the first microphone 140, and the second microphone 170 based on the first result information RI1 and the second result information RI2. The second processor 150 can obtain the final result information RI by comparing the result values with table 400 stored in the second memory 155. For example, when the first result value 410 is obtained, the second processor 150 can determine that the performance of the first speaker 130 is abnormal. When the second result value 420 is obtained, the second processor 150 can determine that the performance of the second speaker 160 and the second microphone 170 is abnormal. The first processor 120 can also obtain the final result information RI by the same or similar method described above.
[0069] According to an embodiment, the second processor 150 can output voice corresponding to the final result information RI through the second speaker 160. For example, when a pressure sensor (not shown) identifies that a user is wearing the second electronic device 102, the second processor 150 can output voice corresponding to the final result information RI through the second speaker 160. For example, when a first result value 410 is obtained, the second processor 150 can output voice through the second speaker 160, saying "The first speaker is malfunctioning".
[0070] According to an embodiment, the second speaker 160 may include a plurality of vibrating components, each comprising various circuits. For example, each of the plurality of vibrating components may output sound in a different frequency band. The second processor 150 may output a second sound S2 through at least some of the plurality of vibrating components.
[0071] although Figure 2 The second electronic device 102 is shown to include only the second microphone 170, but this is only for ease of description, and the spirit of this disclosure is not limited thereto. For example, the second electronic device 102 may include multiple microphones. In this case, the second processor 150 can obtain second result information indicative of the performance of the first speaker 130, the second speaker 160, and the multiple microphones by the method described above.
[0072] According to an embodiment, the third electronic device 104 may include a third processor (e.g., which includes processing circuitry) 180, a third memory 185, a sensor 190, and a third communication module (e.g., which includes communication circuitry) 195.
[0073] According to an embodiment, the third processor 180 may include various processing circuits and control the overall operation of the third electronic device 104. The third processor 180 can control the third electronic device 104 to send / receive data to / from the first electronic device 101, the second electronic device 102, and the fourth electronic device 108 via the third communication module 195. For example, the third communication module 195 may include various communication circuits and support contact-type communication interfaces or wireless communication technologies (e.g., Bluetooth communication technology).
[0074] According to an embodiment, the third processor 180 can send a notification signal NI to the first electronic device 101 and / or the second electronic device 102 via the third communication module 195, indicating whether a cover (e.g., the lid of the third electronic device 104) is open or closed when the first electronic device 101 and the second electronic device 102 are installed. For example, the notification signal NI may refer to a signal indicating the open / closed state of the cover. For example, the third electronic device 104 can identify the closed (or open) state of the cover by detecting the magnetic force of a magnet included in the cover via a sensor 190 (e.g., a Hall sensor).
[0075] According to an embodiment, the third processor 180 can obtain final result information RI from the first electronic device 101 or the second electronic device 102 via the third communication module 195. The third processor 180 can obtain first result information RI1 and second result information RI2 from the first electronic device 101 or the second electronic device 102 via the third communication module 195. The third processor 180 can obtain the final result information RI based on the first result information RI1 and the second result information RI2. The third processor 180 can provide the final result information RI to a visual and / or tactile mechanism via an output device (not shown). The third processor 180 can store the final result information RI in a third memory 185.
[0076] although Figure 2 The illustration shows that each of the first electronic device 101 and the second electronic device 102 includes a microphone and a speaker, but the spirit of this disclosure is not limited thereto. In other words, although each of the first electronic device 101 and the second electronic device 102 includes multiple microphones and / or speakers, the first electronic device 101 and the second electronic device 102 can identify whether the microphones and / or speakers are functioning properly by means of the same or similar methods as described above.
[0077] For ease of description, as a non-limiting example, the first electronic device 101 and the second electronic device 102 are described as a first earphone and a second earphone, respectively. As a non-limiting example, the third electronic device 104 is also described as a bracket, and the fourth electronic device 108 is an external terminal. However, this disclosure is not limited to these.
[0078] Figure 5 This is a flowchart illustrating example operations of an electronic device identifying whether the performance of a speaker and microphone is normal, according to various embodiments.
[0079] Reference Figure 5 According to an embodiment, in operation 501, the first earphone 101 can identify whether the holder 104 is in a closed state. For example, the first earphone 101 can identify whether the holder 104 is in a closed state based on a notification signal received from the holder 104. The first earphone 101 can also identify whether it is mounted on the holder 104. For example, when the first earphone 101 contacts a charging terminal included in the holder 104, the first earphone 101 can be determined to be mounted on the holder 104.
[0080] According to an embodiment, when the tray 104 is in the closed state, the first earphone 101 can perform an operation to identify whether the earphone performance is normal. For example, whenever the tray 104 is closed, the first earphone 101 can automatically perform the operation to identify whether the earphone performance is normal. When the tray 104 is closed a predetermined number of times, the first earphone 101 can perform the operation to identify whether the earphone performance is normal. According to an embodiment, when a trigger signal requesting identification of earphone performance is detected, the first earphone 101 can perform the operation to identify whether the earphone performance is normal. For example, the trigger signal can be generated in response to user input requesting identification of earphone performance. For example, the first earphone 101 can receive the trigger signal from the external terminal 108. The first earphone 101 can receive the trigger signal from the tray 104.
[0081] According to an embodiment, in operation 503, with the bracket 104 in the closed state, the first earphone 101 can output a first sound with a predetermined frequency through the first speaker 130. For example, the predetermined frequency may be a frequency in several frequency bands that include audible frequencies.
[0082] According to an embodiment, in operation 505, the first earphone 101 can obtain a third sound corresponding to the first sound through the first microphone 140. For example, the third sound may be the sound result when the first sound is reflected in the enclosed space formed when the bracket 104 is closed and enters the first microphone 140.
[0083] According to an embodiment, in operation 507, the first earphone 101 can obtain a fourth sound corresponding to the second sound output from the external second earphone 102 via the first microphone 140. For example, the fourth sound may be the result of the second sound being reflected in the enclosed space formed when the bracket 104 is closed and entering the first microphone 140.
[0084] According to an embodiment, in operation 509, the first earphone 101 can identify whether the performance of the first speaker 130 and the first microphone 140 included in the first earphone 101 is normal based on the third and fourth sounds.
[0085] According to an embodiment, in operation 511, the first earphone 101 can obtain performance information about the second speaker 160 and the second microphone 170 included in the external second earphone 102, which is recognized by the external second earphone.
[0086] According to an embodiment, in operation 513, the first earphone 101 can identify the performance of the first earphone 101 and the second earphone 102. For example, the first earphone 101 can identify whether the performance of the first speaker 130, the first microphone 140, the second speaker 160, and the fourth microphone 170 is normal.
[0087] Figure 6 This is a flowchart illustrating an example method, according to various embodiments, for comparing a reference signal with a signal corresponding to sound obtained by an electronic device.
[0088] Reference Figure 6 According to an embodiment, in operation 601, the first earphone 101 can obtain a third sound and a fourth sound through the first microphone 140. For example, when the bracket 104 is identified as being in an off state, the first earphone 101 can obtain the third sound and the fourth sound in sequence.
[0089] According to an embodiment, in operation 603, the first earphone 101 can compare a first reference signal and a first signal corresponding to a third sound in at least one frequency band.
[0090] According to an embodiment, in operation 605, the first earphone 101 can compare the second reference signal and the second signal corresponding to the fourth sound in at least one frequency band. For example, each frequency band can be determined to determine whether a specific foreign object is present. According to an embodiment, operation 603 can be performed before the third and fourth sounds are obtained. After the fourth sound is obtained, operation 605 can be performed. According to an embodiment, after the third and fourth sounds are obtained, operations 603 and 605 can be performed sequentially.
[0091] According to an embodiment, in operation 607, the first earphone 101 can identify whether the performance of the first speaker 130 and the first microphone 140 included in the first earphone 101 is normal based on the comparison result. However, in order for the first earphone 101 to accurately determine whether the performance is normal, the first earphone 101 may need information about the performance of the second speaker 160 and the second microphone 170 obtained from an external second earphone 102. For this purpose, the first earphone can obtain information about the performance of the second speaker 160 and the second microphone 170 from the second earphone 102. Further considering the information about the second speaker 160 and the second microphone 170, the first earphone can identify whether the performance of the first speaker 130, the first microphone 140, the second speaker 160, and the second microphone 170 is normal.
[0092] Figure 7 This is a flowchart illustrating example operations of an electronic device identifying whether the performance of a speaker and microphone is normal, according to various embodiments.
[0093] Reference Figure 7According to an embodiment, in operation 701, the first earphone 101 can compare a reference signal (e.g., a first reference signal or a second reference signal) and a signal corresponding to a sound (e.g., a third sound or a fourth sound) (e.g., a first signal or a second signal) in a first frequency band to identify the presence of a first foreign object. For example, the reference signal may be a signal obtained when the user first uses the first earphone 101. The reference signal may be a signal pre-stored during the manufacturing process of the first earphone 101.
[0094] For ease of description, the description focuses primarily on the operation of the first earphone 101 comparing the first reference signal and the first signal corresponding to the third sound. However, the first earphone 101 can perform the operation of comparing the second reference signal and the second signal corresponding to the fourth sound using the same or similar method as described above.
[0095] According to an embodiment, in operation 703, the first earphone 101 can identify the difference between a reference data value and a data value of a first signal corresponding to the sound in a first frequency band.
[0096] According to an embodiment, the first earphone 101 can compare the difference between the data value of the first signal and the reference data value with a predetermined threshold. In operation 705, the first earphone 101 can identify whether the difference between the data value of the first signal and the reference data value exceeds the threshold.
[0097] According to an embodiment, when the difference between the data value of the first signal and the reference data value exceeds a threshold (Yes in operation 705), in operation 707, the first earphone 101 can identify a performance abnormality of at least one of the first speaker 130, the first microphone 140 and the second speaker 160.
[0098] According to an embodiment, when the difference between the data value of the first signal and the reference data value does not exceed a threshold (No in operation 705), in operation 709, the first earphone 101 can identify that at least one of the first speaker 130, the first microphone 140 and the second speaker 160 is performing normally.
[0099] According to an embodiment, the first earphone 101 can compare a first reference signal and a first signal in a second frequency band corresponding to the second foreign object to identify whether a second foreign object different from the first foreign object exists. The first earphone 101 can identify whether the performance of at least one of the first speaker 130, the first microphone 140, and the second speaker 160 is normal based on the comparison result.
[0100] The second earphone 102 can also compare the reference signal and the signal corresponding to the sound using the method described above.
[0101] Figure 8This is a flowchart illustrating example operations of an electronic device providing information about a foreign object according to various embodiments. Figure 9A and Figure 9B This is a table illustrating example operations of an electronic device providing information about a foreign object according to various embodiments.
[0102] Reference Figure 8 According to an embodiment, in operation 801, the first earphone 101 can compare a reference signal (e.g., a first reference signal or a second reference signal) with a signal (e.g., a first signal or a second signal) corresponding to a sound (e.g., a third sound or a fourth sound) in each frequency band corresponding to a predetermined foreign object.
[0103] For ease of description, the description focuses primarily on the operation of the first earphone 101 comparing the first reference signal and the first signal corresponding to the third sound. However, the first earphone 101 can perform the operation of comparing the second reference signal and the second signal corresponding to the fourth sound using the same or similar method as described above.
[0104] According to an embodiment, in operation 803, the first earphone 101 can identify the type of foreign object based on the comparison result.
[0105] Reference Figure 9A The first earpiece 101 can determine a frequency band for identifying the presence of a specific foreign object. For example, the frequency band can be determined based on the type of foreign object. Reference data can be specified to determine the presence of a foreign object in each frequency band. A threshold can be specified to determine the presence of a foreign object in each frequency band. For example, to determine the presence of a foreign object "water," the first earpiece 101 can compare a first signal with a first reference signal in a first frequency band (e.g., 15000Hz). In this case, the reference data value of the first reference signal can be 60dB. In other words, the first earpiece 101 can identify whether the difference between the reference data value and the value of the first signal is 2dB at 15000Hz, and based on the identification result, determine whether the performance of the first earpiece 101 or the second earpiece 102 is normal. For example, to determine the presence of a foreign object "stone," the first earpiece 101 can compare the first signal with the first reference signal in a second frequency band (e.g., 12000Hz). In this case, the reference data value of the first reference signal can be 50dB. In other words, the first earphone 101 can identify whether the difference between the reference data value and the value of the first signal is 5dB at 12000Hz, and determine whether the performance of the first earphone 101 or the second earphone 102 is normal based on the identification result.
[0106] Reference Figure 9BThe first earpiece 101 can identify foreign substances that can be mixed together. For example, the foreign substances "water" and "starch" can be mixed. However, when a reference signal is compared with a first signal in the frequency band corresponding to "water" (e.g., 15000 Hz) and the frequency band corresponding to "starch" (e.g., 375 Hz), the first earpiece 101 can identify the foreign substance mixture of "water" and "starch" as "water".
[0107] According to an embodiment, when a foreign object is identified as a miscible material (e.g., "water" or "starch"), the first earphone 101 can identify whether the foreign object is "water" or "starch" or a mixture of "water" or another foreign object (e.g., starch).
[0108] According to an embodiment, when a foreign object is identified as "water" or "starch," the first earpiece 101 can compare a reference signal with a first signal in three additional frequency bands. For example, when a threshold is exceeded only in the "375Hz" frequency band, the first earpiece 101 can determine that the foreign object is "starch." When the threshold is exceeded in the "3234Hz" frequency band, the "9890Hz" frequency band, and the "375Hz" frequency band, the first earpiece 101 can determine that the foreign object is "water." In other cases, the first earpiece 101 can determine that the foreign object is a mixture of "water" and "starch."
[0109] According to an embodiment, in operation 805, the first earphone 101 can provide information about the type of foreign object. For example, the first earphone 101 can provide information about the type of foreign object to the bracket 104 and / or the external terminal 108. When the first earphone 101 is identified as being worn by a user, the first earphone 101 can output the information about the type of foreign object as sound through the first speaker 130.
[0110] The second earphone 102 can also provide information about the type of foreign object using the method described above.
[0111] Figure 10 This is a flowchart illustrating example operations for identifying whether the performance of a speaker and microphone is normal based on signal attenuation and delay caused by electronic devices, according to various embodiments. Figure 11 This is a graph illustrating example operations for identifying whether the performance of a speaker and microphone is normal based on signal attenuation and delay caused by electronic devices according to various embodiments.
[0112] Reference Figure 10 According to an embodiment, in operation 1001, the first earphone 101 can compare a reference signal (e.g., a first reference signal or a second reference signal) with a signal (e.g., a first signal or a second signal) corresponding to a sound (e.g., a third sound or a fourth sound).
[0113] According to an embodiment, in operation 1003, when two signals are identical or similar in form, the first earphone 101 can identify whether the signal corresponding to the sound is attenuated and / or delayed based on a reference signal.
[0114] Reference Figure 11 According to an embodiment, the first earphone 101 can compare the reference signal 1110 with the signal 1120 or 1130 corresponding to the sound. For example, the first earphone 101 can compare the reference signal 1110 with the signal 1120 and determine that the signal 1120 has been delayed by time "t". The first earphone 101 can compare the reference signal 1110 with the signal 1130 and determine that the signal 1130 has been attenuated by intensity "h".
[0115] According to an embodiment, in operation 1005, the first earphone 101 can identify whether the earphone performance is normal based on signal attenuation and / or delay. For example, when signal attenuation and / or delay is detected, the first earphone 101 can determine that the earphone performance is abnormal. When the degree of signal attenuation and / or delay exceeds a predetermined threshold, the first earphone 101 can determine that the earphone (e.g., the first earphone 101 and / or the second earphone 102) is abnormal. When the degree of signal attenuation and / or delay is not greater than the predetermined threshold, the first earphone 101 can determine that the earphone (e.g., the first earphone 101 and / or the second earphone 102) is normal.
[0116] Figure 12A and Figure 12B This is a signal flow diagram illustrating example operations of an electronic device providing information about whether the performance of a speaker and microphone is normal, according to various embodiments.
[0117] Reference Figure 12A According to an embodiment, in operation 1201, when the tray 104 is in a closed state, the first electronic device 101 (or the first earphone) can receive a notification signal indicating the closed state from the tray 104. When user input requesting the tray 104 to identify earphone performance is detected, the first electronic device 101 can receive a trigger signal from the tray 104. For example, the trigger signal may be a signal for initiating the operation of the first electronic device 101 to identify whether the earphone performance is normal.
[0118] According to an embodiment, in operation 1203, the first electronic device 101 may send (or forward) a trigger signal to the second electronic device 102 (or the second earphone).
[0119] According to an embodiment, in operation 1205, the first electronic device 101 can output a first sound. In operation 1207, the second electronic device 102 can output a second sound based on a trigger signal. The first electronic device 101 can obtain a third sound and a fourth sound, where the third sound is a reflection of the first sound within the enclosed space of the bracket 104, and the fourth sound is a reflection of the second sound within the enclosed space of the bracket 104. The second electronic device 102 can also obtain the third sound and the fourth sound. For example, operations 1205 and 1207 can be performed on the first electronic device 101 and the second electronic device 102 to sequentially output the first sound and the second sound, and obtain the third sound and the fourth sound.
[0120] According to an embodiment, in operation 1209, the second electronic device 102 can obtain information about the performance of the second electronic device 102 (e.g., the performance of the first speaker 130, the second speaker 160, and the second microphone 170) by analyzing the third and fourth sounds, and send the performance information about the second electronic device 102 to the first electronic device 101.
[0121] According to an embodiment, the first electronic device 101 can obtain information about its performance (e.g., the performance of the first speaker 130, the second speaker 160, and the second microphone 170) by analyzing the third and fourth sounds. In operation 1211, the first electronic device 101 can determine final result information based on the information about its performance and the information about the performance of the second electronic device 102. For example, the final result information may include information about whether the performance of the first speaker 130, the first microphone 140, the second speaker 160, and the second microphone 170 is normal.
[0122] According to an embodiment, in operation 1213, the first electronic device 101 can send final result information about the performance of the first electronic device 101 and the second electronic device 102 to the bracket 104.
[0123] According to an embodiment, in operation 1215, the bracket 104 may display a notification including information about the final results of the performance. For example, when the bracket 104 includes a display, the bracket 104 may display the final results information via the display. When the bracket 104 includes a light-emitting element, the bracket 104 may output light of a specific color (e.g., red for abnormal performance, green for normal performance) via the light-emitting element.
[0124] According to an embodiment, in operation 1217, the first electronic device 101 can identify whether the first electronic device 101 is worn by a user.
[0125] According to an embodiment, when the first electronic device 101 is identified as being worn by a user (in 1217), in operation 1219, the first electronic device 101 can send final result information about performance to the second electronic device 102.
[0126] According to an embodiment, in operation 1221, the first electronic device 101 can output voice for the final result information. In operation 1223, the second electronic device 102 can also output voice for the final result information. For example, the first electronic device 101 and the second electronic device 102 can simultaneously output voice for the final result information.
[0127] Reference Figure 12B According to an embodiment, in operation 1251, when the bracket 104 is in a closed state, the bracket 104 can send a closed state notification signal to the external terminal 108.
[0128] According to an embodiment, in operation 1253, terminal 108 may generate a trigger signal to begin identifying headphone performance upon recognizing user input requesting headphone performance identification. For example, when an application for managing wireless headphones is running, terminal 108 may display a running screen including an object for identifying headphone performance. Upon recognizing user input for the object, terminal 108 may generate a trigger signal. For example, the trigger signal may be a signal for initiating operation by which the first electronic device 101 identifies whether the headphone performance is normal.
[0129] According to an embodiment, in operation 1255, terminal 108 may send a trigger signal to first electronic device 101 (or first earphone). In operation 1257, first electronic device 101 may send (or forward) the trigger signal to second electronic device 102 (or second earphone).
[0130] According to an embodiment, in operation 1259, the first electronic device 101 can output a first sound. In operation 1261, the second electronic device 102 can output a second sound based on a trigger signal. The first electronic device 101 can obtain a third sound and a fourth sound, where the third sound is a reflection of the first sound within the enclosed space of the bracket 104, and the fourth sound is a reflection of the second sound within the enclosed space of the bracket 104. The second electronic device 102 can also obtain the third sound and the fourth sound. For example, operations 1259 and 1261 can be performed on the first electronic device 101 and the second electronic device 102 to sequentially output the first sound and the second sound, and obtain the third sound and the fourth sound.
[0131] According to an embodiment, in operation 1263, the second electronic device 102 can obtain information about the performance of the second electronic device 102 (e.g., the performance of the first speaker 130, the second speaker 160, and the second microphone 170) by analyzing the third and fourth sounds, and send the performance information about the second electronic device 102 to the first electronic device 101.
[0132] According to an embodiment, the first electronic device 101 can obtain information about its performance (e.g., the performance of the first speaker 130, the second speaker 160, and the second microphone 170) by analyzing the third and fourth sounds. In operation 1265, the first electronic device 101 can determine final result information based on the information about its performance and the information about the performance of the second electronic device 102. For example, the final result information may include information about whether the performance of the first speaker 130, the first microphone 140, the second speaker 160, and the second microphone 170 is normal.
[0133] According to an embodiment, in operation 1267, the first electronic device 101 can send final result information about the performance of the first electronic device 101 and the second electronic device 102 to the terminal 108.
[0134] According to an embodiment, in operation 1269, terminal 108 may display a notification including final result information regarding performance. For example, terminal 108 may display the final result information via a display screen. Terminal 108 may also display the final result information on a running screen of an application used to manage wireless headphones.
[0135] According to an embodiment, in operation 1271, the first electronic device 101 can identify whether the first electronic device 101 is worn by a user.
[0136] According to an embodiment, when the first electronic device 101 is identified as being worn by a user (Yes in 1271), in operation 1273, the first electronic device 101 can send final result information about performance to the second electronic device 102.
[0137] According to an embodiment, in operation 1275, the first electronic device 101 can output voice for the final result information. In operation 1277, the second electronic device 102 can also output voice for the final result information. For example, the first electronic device 101 and the second electronic device 102 can simultaneously output voice for the final result information.
[0138] Figure 13A , Figure 13B , Figure 13C , Figure 13D and Figure 13EThis is a diagram illustrating example operations of an electronic device providing information about whether the performance of a speaker and microphone is normal, according to various embodiments.
[0139] Reference Figure 13A Bracket 1304 (e.g., Figure 1 The third electronic device (103) may include a first button 1310 and a light-emitting element 1320.
[0140] According to an embodiment, the bracket 1304 can recognize user input for the first button 1310. Upon recognizing user input for the first button 1310, the bracket 1304 can direct the input to the first earphone (e.g., ...). Figure 1 The first electronic device 101 sends a trigger signal. For example, the trigger signal may be a signal used to initiate operation to identify whether the wireless headphones (e.g., the first headphone 101 and the second headphone 102) are functioning properly.
[0141] According to an embodiment, the bracket 1304 can receive final result information about the performance of the wireless earphone from the first earphone 101 and display the final result information through the light-emitting element 1320. For example, the bracket 1304 can output light of a specific color (e.g., red for abnormal performance and green for normal performance) through the light-emitting element 1320.
[0142] Reference Figure 13B Bracket 1305 (e.g., Figure 1 The third electronic device 104 may include a touch screen 1350.
[0143] According to an embodiment, the holder 1305 can display an object 1355 for identifying the performance of the wireless headphones via a touchscreen 1350. Upon recognizing user input for the object 1355, the holder 1305 can direct the input to the first earphone (e.g., ...). Figure 1 The first electronic device 101 sends a trigger signal. For example, the trigger signal may be a signal used to initiate operation to identify whether the wireless headphones (e.g., the first headphone 101 and the second headphone 102) are functioning properly.
[0144] According to an embodiment, the holder 1305 can receive final result information about the performance of the wireless headphones from the first earphone 101, and display information 1360 about the performance of the wireless headphones on the touch screen 1350 based on the final result information. For example, the holder 1305 can provide information about which of the first earphone 101 and the second earphone 102 has abnormal performance (e.g., an abnormality in the speaker of the left earphone) and information about the cause of the performance abnormality (e.g., earwax buildup).
[0145] Reference Figure 13C First earphone 1301 (e.g., Figure 1The first electronic device 101 can identify whether the first earphone 1301 is being worn by the user.
[0146] According to an embodiment, the first earpiece 1301 can output final result information about the performance of the wireless earpiece as voice output. For example, the first earpiece 1301 can provide information about which of the first earpiece 1301 and the second earpiece 102 has abnormal performance (e.g., an abnormality in the speaker of the left earpiece) and information about the cause of the performance abnormality (e.g., earwax buildup).
[0147] Reference Figure 13D Terminal 1308 (for example, Figure 1 The fourth electronic device 108 can display the running screen of the wireless headset management application. When the application is running, the terminal 1308 can display a user interface 1370 on the display for identifying headset performance. The terminal 1308 can display an object 1375 for starting a performance test on the user interface 1370. The terminal 1308 can identify the off state of the bracket 1304 or 1305 based on an off state notification signal received from the bracket 1304 or 1305. When the bracket 1304 or 1305 is identified as being in the off state, the terminal 1308 can send a command to the first headset 1301 to start a performance test in response to user input to the object 1375.
[0148] Reference Figure 13E Terminal 1308 can receive final result information from first earphone 1301 regarding the performance of the speakers and microphones of the wireless earphones (e.g., first earphone and second earphone).
[0149] According to an embodiment, terminal 1308 can display final result information 1380 regarding the performance of the wireless headphones on a display. For example, terminal 1308 can provide information about which of the first headphones 1301 and the second headphones 102 has abnormal performance (e.g., an abnormality in the speaker of the left headphone) and information about the cause of the performance abnormality (e.g., earwax buildup).
[0150] According to an embodiment, the first electronic device 101 can be implemented with the following Figure 1 The electronic device 1401 is the same as or similar to the electronic device 1401. The second electronic device 102, the third electronic device 104, and the fourth electronic device 108 can be implemented as described below. Figure 14 The electronic devices 1402, 1404 and server 1408 are the same or similar.
[0151] Figure 14 This is a block diagram illustrating an electronic device 1401 in a network environment 1400 according to various embodiments. (Refer to...) Figure 14In network environment 1400, electronic device 1401 can communicate with electronic device 1402 via a first network 1498 (e.g., a short-range wireless communication network), or with at least one of electronic device 1404 or server 1408 via a second network 1499 (e.g., a long-range wireless communication network). According to an embodiment, electronic device 1401 can communicate with electronic device 1404 via server 1408. According to an embodiment, electronic device 1401 may include a processor 1420, a memory 1430, an input module 1450, a sound output module 1455, a display module 1460, an audio module 1470, a sensor module 1476, an interface 1477, a connection terminal 1478, a haptic module 1479, a camera module 1480, a power management module 1488, a battery 1489, a communication module 1490, a subscriber identification module (SIM) 1496, or an antenna module 1497. In some embodiments, at least one of the aforementioned components (e.g., connection terminal 1478) may be omitted from electronic device 1401, or one or more other components may be added to electronic device 1401. In some embodiments, some of the aforementioned components (e.g., sensor module 1476, camera module 1480, or antenna module 1497) may be implemented as a single integrated component (e.g., display module 1460).
[0152] Processor 1420 may run software (e.g., program 1440) to control at least one other component (e.g., hardware or software component) of electronic device 1401 connected to processor 1420, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, processor 1420 may store commands or data received from another component (e.g., sensor module 1476 or communication module 1490) in volatile memory 1432, process the commands or data stored in volatile memory 1432, and store the resulting data in non-volatile memory 1434. According to embodiments, processor 1420 may include a main processor 1421 (e.g., central processing unit (CPU) or application processor (AP)) or an auxiliary processor 1423 (e.g., graphics processing unit (GPU), neural processing unit (NPU), image signal processor (ISP), sensor central processor, or communication processor (CP)) that is operationally independent of or combined with the main processor 1421. For example, when electronic device 1401 includes a main processor 1421 and an auxiliary processor 1423, the auxiliary processor 1423 may be adapted to consume less power than the main processor 1421, or may be adapted to be dedicated to a specific function. The auxiliary processor 1423 may be implemented separately from the main processor 1421, or may be implemented as part of the main processor 1421.
[0153] When the main processor 1421 is inactive (e.g., in sleep) state, the auxiliary processor 1423 (rather than the main processor 1421) can control at least some of the functions or states associated with at least one component of the electronic device 1401 (e.g., display module 1460, sensor module 1476, or communication module 1490), or when the main processor 1421 is active (e.g., running an application), the auxiliary processor 1423 can work with the main processor 1421 to control at least some of the functions or states associated with at least one component of the electronic device 1401 (e.g., display module 1460, sensor module 1476, or communication module 1490). According to embodiments, the auxiliary processor 1423 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., camera module 1480 or communication module 1490) functionally associated with the auxiliary processor 1423. According to embodiments, the auxiliary processor 1423 (e.g., a neural processing unit) may include hardware structures dedicated to artificial intelligence model processing. Artificial intelligence models can be generated through machine learning. For example, such learning can be performed via electronic device 1401 where the artificial intelligence is executed, or via a separate server (e.g., server 1408). Learning algorithms may include, but are not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. The artificial intelligence model may include multiple layers of artificial neural networks. The artificial neural networks may be deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted Boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), or deep Q-networks, or combinations of two or more thereof, but are not limited to these. Additionally or optionally, the artificial intelligence model may include software structures in addition to hardware structures.
[0154] The memory 1430 may store various data used by at least one component of the electronic device 1401 (e.g., processor 1420 or sensor module 1476). The various data may include, for example, software (e.g., program 1440) and input or output data for commands associated with it. The memory 1430 may include volatile memory 1432 or non-volatile memory 1434.
[0155] The program 1440 may be stored as software in the memory 1430, and the program 1440 may include, for example, an operating system (OS) 1442, middleware 1444, or application 1446.
[0156] Input module 1450 can receive commands or data from outside electronic device 1401 (e.g., a user) that will be used by other components of electronic device 1401 (e.g., processor 1420). Input module 1450 may include, for example, a microphone, mouse, keyboard, keys (e.g., buttons), or digital pen (e.g., stylus).
[0157] The sound output module 1455 can output sound signals to the outside of the electronic device 1401. The sound output module 1455 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as playing multimedia or playing records. The receiver can be used to receive incoming calls. According to an embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0158] Display module 1460 can visually provide information to the outside of electronic device 1401 (e.g., to a user). Display module 1460 may include, for example, a display, a holographic device, or a projector, and control circuitry for controlling a respective one of the display, holographic device, and projector. According to an embodiment, display module 1460 may include a touch sensor adapted to detect touch or a pressure sensor adapted to measure the intensity of the force caused by touch.
[0159] The audio module 1470 can convert sound into electrical signals and vice versa. According to an embodiment, the audio module 1470 can obtain sound via the input module 1450, or output sound via the sound output module 1455 or headphones of an external electronic device (e.g., electronic device 1402) that is directly (e.g., wired) or wirelessly connected to the electronic device 1401.
[0160] Sensor module 1476 can detect the operating state of electronic device 1401 (e.g., power or temperature) or the environmental state outside electronic device 1401 (e.g., user state), and then generate an electrical signal or data value corresponding to the detected state. According to embodiments, sensor module 1476 may include, for example, a gesture sensor, gyroscope sensor, atmospheric pressure sensor, magnetic sensor, accelerometer, grip sensor, proximity sensor, color sensor, infrared (IR) sensor, biometric sensor, temperature sensor, humidity sensor, or illuminance sensor.
[0161] Interface 1477 may support one or more specific protocols used to enable electronic device 1401 to connect directly (e.g., wired) or wirelessly to external electronic device (e.g., electronic device 1402). According to embodiments, interface 1477 may include, for example, a High Definition Multimedia Interface (HDMI), a Universal Serial Bus (USB) interface, a Secure Digital Card (SD) interface, or an audio interface.
[0162] Connection 1478 may include a connector, via which electronic device 1401 may be physically connected to an external electronic device (e.g., electronic device 1402). According to embodiments, connection 1478 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0163] The haptic module 1479 can convert electrical signals into mechanical stimuli (e.g., vibration or motion) or electrical stimuli that can be recognized by a user through his touch or kinesthesia. According to embodiments, the haptic module 1479 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.
[0164] Camera module 1480 can capture still or moving images. According to embodiments, camera module 1480 may include one or more lenses, an image sensor, an image signal processor, or a flash.
[0165] The power management module 1488 manages the power supply to the electronic device 1401. According to an embodiment, the power management module 1488 may be implemented as at least part of, for example, a power management integrated circuit (PMIC).
[0166] Battery 1489 can power at least one component of electronic device 1401. According to an embodiment, battery 1489 may include, for example, a non-rechargeable primary battery, a rechargeable rechargeable battery, or a fuel cell.
[0167] Communication module 1490 can support the establishment of a direct (e.g., wired) or wireless communication channel between electronic device 1401 and external electronic devices (e.g., electronic device 1402, electronic device 1404, or server 1408), and perform communication via the established communication channel. Communication module 1490 may include one or more communication processors capable of operating independently of processor 1420 (e.g., application processor (AP)) and support direct (e.g., wired) or wireless communication. According to embodiments, communication module 1490 may include wireless communication module 1492 (e.g., cellular communication module, short-range wireless communication module, or Global Navigation Satellite System (GNSS) communication module) or wired communication module 1494 (e.g., local area network (LAN) communication module or power line communication (PLC) module). One of these communication modules can communicate with an external electronic device via a first network 1498 (e.g., a short-range communication network such as Bluetooth, Wi-Fi Direct, or Infrared Data Association (IrDA)) or a second network 1499 (e.g., a long-range communication network such as a traditional cellular network, 5G network, next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip) or as multiple components separate from each other (e.g., multiple chips). The wireless communication module 1492 can identify and verify the electronic device 1401 in the communication network (such as the first network 1498 or the second network 1499) using user information (e.g., the International Mobile Subscriber Identity (IMSI)) stored in the user identification module 1496.
[0168] Wireless communication module 1492 can support 5G networks following 4G networks and next-generation communication technologies (such as new radio (NR) access technologies). NR access technologies can support enhanced mobile broadband (eMBB), massive machine-type communication (mMTC), or ultra-reliable low-latency communication (URLLC). Wireless communication module 1492 can support high-frequency bands (e.g., millimeter-wave bands) to achieve, for example, high data transmission rates. Wireless communication module 1492 can support various technologies used to ensure performance in high-frequency bands, such as, for example, beamforming, massive MIMO, full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. Wireless communication module 1492 can support various requirements specified in electronic device 1401, external electronic device (e.g., electronic device 1404), or network system (e.g., second network 1499). According to an embodiment, the wireless communication module 1492 may support peak data rates (e.g., 20 Gbps or greater) for implementing eMBB, lost coverage (e.g., 164 dB or less) for implementing mMTC, or U-plane latency (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or 1 ms or less round trip) for implementing URLLC.
[0169] Antenna module 1497 can transmit or receive signals or power to or from the exterior of electronic device 1401 (e.g., external electronic device). According to an embodiment, antenna module 1497 may include an antenna comprising a radiating element formed of a conductive material or conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, antenna module 1497 may include multiple antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network (such as a first network 1498 or a second network 1499) can be selected from the multiple antennas by, for example, communication module 1490 (e.g., wireless communication module 1492). Signals or power can then be transmitted or received between communication module 1490 and the external electronic device via the selected at least one antenna. According to an embodiment, additional components besides the radiating element (e.g., a radio frequency integrated circuit (RFIC)) may be additionally incorporated into antenna module 1497.
[0170] According to various embodiments, antenna module 1497 can form a millimeter-wave antenna module. According to embodiments, the millimeter-wave antenna module may include a printed circuit board, a radio frequency integrated circuit (RFIC), and multiple antennas (e.g., an array antenna), wherein the RFIC is disposed on or adjacent to a first surface (e.g., a bottom surface) of the printed circuit board and is capable of supporting a specified high-frequency band (e.g., a millimeter-wave band), and the multiple antennas are disposed on or adjacent to a second surface (e.g., a top surface or a side surface) of the printed circuit board and are capable of transmitting or receiving signals in the specified high-frequency band.
[0171] At least some of the aforementioned components can be interconnected and communicate signals (e.g., commands or data) between them via an inter-peripheral communication scheme (e.g., bus, general purpose input / output (GPIO), serial peripheral interface (SPI), or mobile industrial processor interface (MIPI)).
[0172] According to an embodiment, commands or data can be sent or received between electronic device 1401 and external electronic device 1404 via server 1408 connected to a second network 1499. Each of electronic device 1402 or electronic device 1404 can be a device of the same type as electronic device 1401, or a device of a different type. According to an embodiment, all or some operations that would be performed on electronic device 1401 can be performed on one or more of external electronic devices 1402, external electronic devices 1404, or server 1408. For example, if electronic device 1401 is required to automatically perform a function or service, or is required to perform a function or service in response to a request from a user or another device, electronic device 1401 may request the one or more external electronic devices to perform at least a portion of the function or service, instead of running the function or service, or electronic device 1401 may request the one or more external electronic devices to perform at least a portion of the function or service in addition to running the function or service. Upon receiving the request, one or more external electronic devices may perform at least a portion of the requested function or service, or perform additional functions or services related to the request, and transmit the result of the execution to electronic device 1401. Electronic device 1401 may provide the result as at least a partial response to the request, with or without further processing. For this purpose, technologies such as cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing may be used. Electronic device 1401 may use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In another embodiment, external electronic device 1404 may include an Internet of Things (IoT) device. Server 1408 may be an intelligent server using machine learning and / or neural networks. According to an embodiment, external electronic device 1404 or server 1408 may be included in a second network 1499. Electronic device 1401 may be applied to intelligent services based on 5G communication technology or IoT-related technologies (e.g., smart homes, smart cities, smart cars, or healthcare).
[0173] According to an example embodiment, an electronic device includes: a memory; a communication module including communication circuitry; a first speaker including at least one vibrating component containing circuitry; at least one first microphone; and a processor configured to: control the electronic device to output a first sound having a predetermined frequency through the first speaker, based on the formation of an enclosed space when the electronic device is mounted on a bracket; obtain a third sound through the at least one first microphone, the third sound being a reflection of the first sound in the enclosed space; obtain a fourth sound through the at least one first microphone, the fourth sound being a reflection of a second sound in the enclosed space, the second sound being output from a second speaker included in an external electronic device located in the enclosed space; and identify whether the performance of the first speaker, the at least one first microphone, and the second speaker is normal based on the third sound and the fourth sound.
[0174] The processor can be configured to: obtain information from an external electronic device indicating whether the performance of a first speaker, a second speaker included in the external electronic device, and at least one second microphone is normal; and, based on the obtained information, identify whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal.
[0175] The processor can be configured to: compare a first signal corresponding to a third sound with a first reference signal in a frequency band corresponding to a specific foreign object, and compare a second signal corresponding to a fourth sound with a second reference signal; and based on the comparison results, identify whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal.
[0176] The processor can be configured to: determine that at least one of the at least one first microphone and the first speaker is performing normally based on the difference between the first signal and the first reference signal being less than a threshold in the frequency band; and determine that at least one of the at least one first microphone and the first speaker is performing abnormally based on the difference between the first signal and the first reference signal being greater than a threshold in the frequency band.
[0177] The processor can be configured to: determine that at least one of the at least one first microphone and the at least one second speaker is performing normally based on the difference between the second signal and the second reference signal being less than a threshold in the frequency band; and determine that at least one of the at least one first microphone and the at least one second speaker is performing abnormally based on the difference between the second signal and the second reference signal being greater than a threshold in the frequency band.
[0178] The processor can be configured to determine that a specific foreign object exists in at least one of the at least one first microphone and the second speaker based on the difference between the second signal and the second reference signal being greater than a threshold.
[0179] The processor can be configured to: identify attenuation and delay of the first signal relative to the first reference signal based on the similarity between the first signal and the first reference signal; and identify whether the performance of the first speaker, the at least one first microphone, the second speaker and the at least one second microphone is normal based on attenuation and delay of the first signal.
[0180] The processor can be configured to: identify whether an electronic device is being worn; and based on whether the electronic device is being worn, output information via a first speaker indicating whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal.
[0181] The processor can be configured to: identify whether the bracket is in a closed state when the electronic device is mounted on the bracket; and output a first signal with a predetermined frequency through a first speaker based on the fact that the bracket is in a closed state.
[0182] The processor can be configured to: based on the first use of the electronic device, with the bracket in a closed state, acquire, via a first microphone, a waveform corresponding to the sound output from each of the first and second speakers; and determine a first reference signal and a second reference signal based on the waveform.
[0183] The electronic device and the external electronic device can be implemented as a pair of headphones.
[0184] According to an example embodiment, a method for operating an electronic device includes: based on forming an enclosed space with the electronic device mounted on a bracket, outputting a first sound having a predetermined frequency through a first speaker included in the electronic device; obtaining a third sound through at least one first microphone included in the electronic device, the third sound being a reflection of the first sound in the enclosed space; obtaining a fourth sound through the at least one first microphone, the fourth sound being a reflection of a second sound in the enclosed space, the second sound being output from a second speaker included in an external electronic device located in the enclosed space; and identifying whether the performance of the first speaker, the at least one first microphone, and the second speaker is normal based on the third sound and the fourth sound.
[0185] The method may further include: obtaining information from an external electronic device indicating whether the performance of a first speaker, a second speaker included in the external electronic device, and at least one second microphone is normal; and identifying whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal based on the obtained information.
[0186] Identifying whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal may include: comparing a first signal corresponding to a third sound with a first reference signal in a frequency band corresponding to a specific foreign object; comparing a second signal corresponding to a fourth sound with a second reference signal in the same frequency band; and identifying whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal based on the comparison result.
[0187] Identifying whether the performance of the first speaker and the at least one first microphone is normal may include: determining that the performance of at least one of the at least one first microphone and the first speaker is normal based on the difference between the first signal and the first reference signal being less than a threshold in the frequency band; and determining that the performance of at least one of the at least one first microphone and the first speaker is abnormal based on the difference between the first signal and the first reference signal being greater than a threshold.
[0188] Identifying whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal may include: determining that the performance of at least one of the at least one first microphone and the second speaker is normal based on the difference between the second signal and the second reference signal being less than a threshold in the frequency band; and determining that the performance of at least one of the at least one first microphone and the second speaker is abnormal based on the difference between the second signal and the second reference signal being greater than a threshold in the frequency band.
[0189] The method may further include: determining that a specific foreign object exists in at least one of the at least one first microphone and the second speaker based on the difference between the second signal and the second reference signal being greater than a threshold.
[0190] The method may further include: identifying whether the electronic device is being worn; and, based on the fact that the electronic device is being worn, outputting information via a first speaker indicating whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal.
[0191] Outputting a first signal with a predetermined frequency may include: identifying whether the bracket is in a closed state when the electronic device is mounted on the bracket; and outputting a first signal with a predetermined frequency based on the bracket being in a closed state.
[0192] The output of a first signal having a predetermined frequency may include: outputting the first signal in response to a trigger signal received from an external terminal, based on the bracket being in a closed state.
[0193] According to an example embodiment, a non-transitory computer-readable recording medium having a program stored thereon is provided, which, when run by an electronic device, causes the electronic device to perform operations including: outputting a first sound having a predetermined frequency through a first speaker included in the electronic device, based on an enclosed space formed when the electronic device is mounted on a bracket; obtaining a third sound through at least one first microphone included in the electronic device, the third sound being a reflection of the first sound in the enclosed space; obtaining a fourth sound through the at least one first microphone, the fourth sound being a reflection of a second sound in the enclosed space, the second sound being output from a second speaker included in an external electronic device located in the enclosed space; identifying, based on the third and fourth sounds, whether the performance of the first speaker, the at least one first microphone, and the second speaker is normal; obtaining from the external electronic device information indicating whether the performance of the first speaker, the second speaker included in the external electronic device, and the at least one second microphone is normal; and identifying, based on the obtained information, whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal.
[0194] The electronic device according to various embodiments can be one of a variety of types of electronic devices. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. According to embodiments of this disclosure, the electronic device is not limited to those described above.
[0195] It should be understood that the various embodiments of this disclosure and the terminology used therein are not intended to limit the technical features set forth herein to the specific embodiments, but rather to include various changes, equivalents, or substitutions to the respective embodiments. In the description of the drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that nouns in the singular form corresponding to terms may include one or more things unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as “A or B,” “at least one of A and B,” “at least one of A or B,” “A, B, or C,” “at least one of A, B, and C,” and “at least one of A, B, or C” may include any one or all possible combinations of the items enumerated together with the corresponding phrase among the plurality of phrases. As used herein, terms such as “first” and “second” or “first” and “second” may be used to simply distinguish the respective component from another component and do not limit the component in other respects (e.g., importance or order). It will be understood that, whether the terms “operably” or “communically” are used or not, if an element (e.g., a first element) is referred to as “combined with another element (e.g., a second element),” “combined to another element (e.g., a second element),” “connected to another element (e.g., a second element),” or “connected to another element (e.g., a second element)”, it means that the element can be directly (e.g., wiredly) connected to the other element, wirelessly connected to the other element, or connected to the other element via a third element.
[0196] As used in connection with various embodiments of this disclosure, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms such as "logic," "logic block," "part," or "circuit." A module may be a single integrated component adapted to perform one or more functions, or the smallest unit or part of such a single integrated component. For example, according to embodiments, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0197] The various embodiments set forth herein can be implemented as software (e.g., program 1440) containing one or more instructions readable by a machine (e.g., electronic device 1401) stored in a storage medium (e.g., internal memory 1436 or external memory 1438). For example, under the control of a processor, the processor (e.g., processor 1420) of the machine (e.g., electronic device 1401) can invoke and execute at least one of the one or more instructions stored in the storage medium, with or without the use of one or more other components. This enables the machine to operate to perform at least one function according to the invoked at least one instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. Machine-readable storage media can be provided in the form of non-transitory storage media. The term "non-transitory" simply means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but this term does not distinguish between data being stored semi-permanently in the storage medium and data being temporarily stored in the storage medium.
[0198] According to embodiments, methods according to various embodiments of this disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an app store (e.g., the Play Store™), or may be distributed directly between two user devices (e.g., smartphones) (e.g., downloaded or uploaded). If distributed online, at least a portion of the computer program product may be temporarily generated, or at least a portion of the computer program product may be stored at least temporarily in a machine-readable storage medium (such as the memory of a manufacturer's server, an app store's server, or a forwarding server).
[0199] According to various embodiments, each of the above-described components (e.g., a module or program) may include a single entity or multiple entities, and some of the multiple entities may be separately disposed in different components. According to various embodiments, one or more of the above-described components may be omitted, or one or more other components may be added. Optionally or additionally, multiple components (e.g., modules or programs) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform the one or more functions of each of the multiple components in the same or similar manner as the corresponding component of the multiple components performed one or more functions before integration. According to various embodiments, the operations performed by a module, program, or other component may be performed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be run in a different order or omitted, or one or more other operations may be added.
[0200] As is evident from the foregoing description, according to various embodiments, the electronic device can identify whether the speakers and microphones included in the electronic device are functioning properly without requiring the user to visit a service center.
[0201] While this disclosure has been shown and described with reference to various exemplary embodiments, it will be understood that these exemplary embodiments are intended to be illustrative rather than restrictive. Those skilled in the art will also understand that various changes in form and detail may be made without departing from the true spirit and full scope of this disclosure, including the appended claims and their equivalents.
Claims
1. An electronic device comprising: Memory; Communication module, including communication circuitry; The first loudspeaker includes at least one vibrating component containing circuitry; At least one primary microphone; as well as The processor is configured as follows: Based on the formation of an enclosed space when the electronic device is mounted on the bracket, the electronic device is controlled to output a first sound with a predetermined frequency via a first speaker; A third sound is obtained via the at least one first microphone, the third sound being a reflection of the first sound in an enclosed space; A fourth sound is obtained via the at least one first microphone, the fourth sound being a reflection of the second sound in the enclosed space, the second sound being output from a second speaker included in an external electronic device located in the enclosed space; In the frequency band corresponding to a specific foreign object, the first signal corresponding to the third sound is compared with the first reference signal, and the second signal corresponding to the fourth sound is compared with the second reference signal; Based on the comparison results, first information is obtained indicating whether the performance of the first speaker, the at least one first microphone, and the second speaker of the external electronic device is normal; Obtain second information from the external electronic device indicating whether the performance of the first speaker, the second speaker, and at least one second microphone is normal; as well as Based on the first information and the second information, determine whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal.
2. The electronic device according to claim 1, wherein the processor is configured as follows: Based on the fact that the difference between the first signal and the first reference signal is less than a threshold in the frequency band, it is determined that at least one of the at least one first microphone and the first speaker is functioning normally; and Based on the fact that the difference between the first signal and the first reference signal is greater than a threshold in the frequency band, it is determined that at least one of the at least one first microphone and the first speaker is abnormal in performance.
3. The electronic device according to claim 1, wherein the processor is configured as follows: Based on the fact that the difference between the second signal and the second reference signal is less than a threshold in the frequency band, it is determined that at least one of the at least one first microphone and the second speaker is functioning normally; and Based on the fact that the difference between the second signal and the second reference signal is greater than a threshold in the frequency band, it is determined that at least one of the at least one first microphone and the second speaker is abnormal.
4. The electronic device of claim 3, wherein the processor is configured to: determine that the specific foreign object exists in at least one of the at least one first microphone and the second speaker based on a difference between the second signal and the second reference signal being greater than a threshold.
5. The electronic device according to claim 1, wherein the processor is configured as follows: Based on the similarity in form between the first signal and the first reference signal, the attenuation and delay of the first signal relative to the first reference signal are identified; and Based on at least one of the attenuation and delay of the first signal, determine whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal.
6. The electronic device according to claim 1, wherein the processor is configured as follows: Identifying whether an electronic device is being worn; and Based on the wearable electronic device, information indicating whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal is output via the first speaker.
7. The electronic device according to claim 1, wherein the processor is configured as follows: When the electronic device is mounted on the bracket, it can be identified whether the bracket is in a closed state; and With the bracket in the closed state, a first signal having the predetermined frequency is output via a first speaker.
8. The electronic device according to claim 1, wherein the processor is configured as follows: Based on the first use of the electronic device, with the bracket in the closed state, waveforms corresponding to the sounds output from each of the first and second speakers are obtained via the first microphone; and Based on the waveform, a first reference signal and a second reference signal are determined.
9. A method for operating an electronic device, the method comprising: A closed space is formed by mounting an electronic device on a bracket, and a first sound with a predetermined frequency is output through a first speaker included in the electronic device. A third sound is obtained via at least one first microphone included in an electronic device, the third sound being a reflection of the first sound in an enclosed space; A fourth sound is obtained via the at least one first microphone, the fourth sound being a reflection of the second sound in the enclosed space, the second sound being output from a second speaker included in an external electronic device located in the enclosed space; In the frequency band corresponding to a specific foreign object, the first signal corresponding to the third sound is compared with the first reference signal, and the second signal corresponding to the fourth sound is compared with the second reference signal; Based on the comparison results, first information is obtained indicating whether the performance of the first speaker, the at least one first microphone, and the second speaker of the external electronic device is normal; Obtain second information from the external electronic device indicating whether the performance of the first speaker, the second speaker, and at least one second microphone is normal; as well as Based on the first information and the second information, determine whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal.
10. The method of claim 9, wherein identifying whether the performance of the first speaker and the at least one first microphone is normal comprises: Based on the fact that the difference between the first signal and the first reference signal is less than a threshold in the frequency band, it is determined that at least one of the at least one first microphone and the first speaker is performing normally; as well as Based on the fact that the difference between the first signal and the first reference signal is greater than a threshold in the frequency band, it is determined that at least one of the at least one first microphone and the first speaker is abnormal in performance.
11. The method of claim 9, wherein identifying whether the performance of the first speaker, the at least one first microphone, the second speaker, and the at least one second microphone is normal comprises: Based on the fact that the difference between the second signal and the second reference signal is less than a threshold in the frequency band, it is determined that at least one of the at least one first microphone and the second speaker is performing normally; as well as Based on the fact that the difference between the second signal and the second reference signal is greater than a threshold in the frequency band, it is determined that at least one of the at least one first microphone and the second speaker is abnormal.
Citation Information
Patent Citations
Managing characteristics of earpieces using controlled calibration
US10764699B1