Control method and device of wearable equipment, wearable equipment and medium
By switching the working state of the feedback microphone according to the wearable state in the wearable device, the audio leakage problem caused by changes in the headphone wearable state is solved, and the device power consumption is reduced, and the accuracy and battery life of audio adjustment are improved.
Patent Information
- Application Number
- CN202311609611.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2025-05-30
AI Technical Summary
When a user wears wireless headphones for exercise, the wearing status of the headphones changes, which leads to audio leakage, affecting the sound effect quality, and continuously turning on the audio detection device increases the power consumption of the wearable device and affects battery life.
By obtaining the first signal that represents the wearable state of the wearable device, if the preset condition is met, the control switches the feedback microphone from the sleep state to the working state, and determines the target audio based on the signal collected by the feedback microphone and plays it.
It effectively reduces the power consumption of wearable devices, improves battery life, and improves the accuracy and reliability of target audio adjustment during audio playback.
Smart Images

Figure CN120065789A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of wearable devices, and particularly to a control method, device, wearable device and medium for a wearable device. Background Art
[0002] When a user wears wireless earphones during exercises such as walking, running and jumping, the wearing state of the earphones may change, resulting in leakage of the audio played in the earphones, and thus poor sound effects of the audio. In order to ensure stable playback effect of the audio, it is necessary to compensate the playback effect of the audio.
[0003] In the related art, when compensating the effect of the played audio, it is necessary to continuously turn on relevant audio detection devices, resulting in increased power consumption of the wearable device and affecting the battery life performance of the wearable device. Summary of the Invention
[0004] To overcome the problems in the related art, the present disclosure provides a control method, device, wearable device and medium for a wearable device.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a control method for a wearable device, including:
[0006] Obtaining a first signal, where the first signal is used to characterize the wearing state of the wearable device;
[0007] If the first signal meets a first preset condition, controlling the feedback microphone of the wearable device to switch from a sleep state to a working state;
[0008] Based on a second signal collected by the feedback microphone, determining a target audio and playing the target audio.
[0009] In some embodiments, the control method for the wearable device further includes:
[0010] Controlling the feedback microphone to switch from a sleep state to a working state every preset time interval.
[0011] In some embodiments, the control method for the wearable device further includes:
[0012] Performing analog-to-digital conversion on the second signal to obtain a second reference signal;
[0013] If the second reference signal meets a second preset condition, adjusting the audio to be played as the target audio.
[0014] In some embodiments, the control method for the wearable device further includes:
[0015] Within a preset duration, if the second reference signal does not meet the second preset condition, play the audio to be played and control the feedback microphone to switch from the working state to the sleep state.
[0016] In some embodiments, determining the target audio based on the second signal collected by the feedback microphone includes:
[0017] Determine a compensation parameter based on the second reference signal;
[0018] Determine the target audio based on the audio to be played and the compensation parameter.
[0019] In some embodiments, the compensation parameter includes at least one of a noise reduction parameter and an equalizer parameter.
[0020] In some embodiments, obtaining the first signal includes:
[0021] Obtain an initial signal detected by a preset sensor;
[0022] Perform analog-to-digital conversion on the initial signal to obtain the first signal.
[0023] According to a second aspect of the embodiments of the present disclosure, there is provided a control device for a wearable device, including:
[0024] An acquisition module, configured to acquire a first signal, where the first signal is used to characterize the wearing state of the wearable device;
[0025] A control module, configured to control the feedback microphone of the wearable device to switch from the sleep state to the working state if the first signal meets a first preset condition;
[0026] A playback module, configured to determine a target audio based on a second signal collected by the feedback microphone and play the target audio.
[0027] According to a third aspect of the embodiments of the present disclosure, there is provided a wearable device, including:
[0028] A processor;
[0029] A memory for storing processor-executable instructions;
[0030] Wherein, the processor is configured to execute the control method of the wearable device as described in the first aspect of the present disclosure.
[0031] According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a wearable device, enabling the wearable device to execute the control method of the wearable device as described in the first aspect of the present disclosure.
[0032] Adopting the above method of the present disclosure has the following beneficial effects: The present disclosure provides a control method for a wearable device. By obtaining a first signal and controlling the feedback microphone of the wearable device to switch from a sleep state to a working state when the first signal meets a first preset condition, and then determining a target audio based on a second signal collected by the feedback microphone and playing the target audio. The feedback microphone in the present disclosure does not need to be always in an on state. When the first signal meets the first preset condition, the feedback microphone can enter the working state from the sleep state, thereby effectively reducing the power consumption of the wearable device and improving the battery life of the wearable device; in addition, the second signal collected by the feedback microphone is used to determine the target audio, which is beneficial to improving the accuracy and reliability of target audio adjustment during the audio playback process.
[0033] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure and, together with the specification, used to explain the principles of the present disclosure.
[0035] Figure 1 is a flowchart of a control method for a wearable device shown according to an exemplary embodiment.
[0036] Figure 2 is a schematic structural diagram of a wearable device shown according to an exemplary embodiment.
[0037] Figure 3 is a flowchart of a control method for a wearable device shown according to an exemplary embodiment.
[0038] Figure 4 is a block diagram of a control device for a wearable device shown according to an exemplary embodiment.
[0039] Figure 5 is a block diagram of a wearable device shown according to an exemplary embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0040] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are only examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0041] Wired earphones are the earliest type of earphones. They need to be connected to the earphone jack of a mobile phone through a 3.5 - millimeter earphone plug. However, wired earphones have some drawbacks. For example, the connecting wire is prone to knotting and tangling, and sometimes it even gets caught on objects, causing inconvenience. At the same time, the wire of wired earphones is also easy to break and needs to be replaced regularly. With the continuous progress of technology, Bluetooth wireless earphones have gradually replaced wired earphones and become a more favored type of earphones. Bluetooth earphones refer to earphones with built - in Bluetooth chips that can be wirelessly connected to a mobile phone or other devices through Bluetooth technology. Bluetooth earphones offer a more convenient user experience, without the trouble of wire tangling, and can make full use of Bluetooth technology to achieve more flexible connections and better sound quality performance.
[0042] Among them, the most widely used type in Bluetooth earphones is TWS (True Wireless Stereo) earphones. TWS earphones have a different design from traditional Bluetooth earphones. It has a main and a secondary earphone. The Bluetooth module in the main earphone is used to connect to the mobile phone, while the secondary earphone connects to the main earphone. Therefore, compared with traditional Bluetooth earphones, TWS earphones can be worn in single - ear or dual - ear mode, making the user's wearing experience more comfortable. At the same time, due to their relatively small overall volume, they are also more convenient to carry.
[0043] During the process of wearing Bluetooth earphones, especially semi - in - ear Bluetooth earphones, the wearing state of the earphones may change during movements such as walking and jumping. Different wearing states can cause different degrees of sound leakage from the earphones, resulting in unstable sound effects of the audio played inside the earphones, making it impossible for users to clearly hear the audio played inside the earphones or there being too much noise in the audio heard by the users.
[0044] To improve the effect of users receiving audio through earphones, an equalizer adaptive algorithm can be set to perform equalizer compensation on the sound effects of the audio played inside the earphones, making the sound effects of the audio played inside the earphones more stable and balanced. Here, a simple explanation of the equalizer adaptive algorithm is as follows: The equalizer adaptive algorithm is a method based on feedback control theory. By continuously measuring the difference between the input signal and the output signal and adjusting the equalizer parameters according to the difference value, the sound effects of the audio played inside the earphones are equalized, so that users can obtain a better auditory experience.
[0045] In addition, the sound signal from around the earphone speaker can be collected through the feedback microphone or the feedforward microphone of the earphone. Based on this signal, the DSP (Digital Signal Processing) determines the wearing state of the earphone to judge whether there is sound leakage in the earphone. If there is indeed sound leakage in the earphone, the active noise reduction method can be used to remove the external environmental noise and reduce the influence of the environmental noise on the user's listening effect, so as to improve the user's auditory experience.
[0046] In addition, the sound signal from around the earphone speaker can also be collected through the sound collection devices such as the feedback microphone and the feedforward microphone of the earphone. Based on this signal, the DSP determines the wearing state of the earphone to judge whether there is sound leakage in the earphone. If there is indeed sound leakage in the earphone, then the signal from the earphone speaker collected by the microphone is compared with the target signal to determine the target compensation curve, and the equalizer filter is adjusted according to the target compensation curve. It should be noted that the target signal here can refer to the signal from the earphone speaker collected by the microphone when the earphone is in the correct wearing state.
[0047] However, although the above method can solve the problem of unstable sound effects of the audio played in the earphone, this method requires the sound collection devices such as the feedback microphone and the feedforward microphone to continuously obtain and forward the signal of the earphone speaker, and moreover, the DSP also needs to continuously analyze the signal sent by the microphone. Therefore, the related technology requires the feedback microphone, the feedforward microphone and the DSP to be always in the on state, which undoubtedly increases the power consumption of the earphone and reduces the battery life of the earphone.
[0048] The present disclosure provides a control method for a wearable device. By obtaining a first signal and when the first signal meets a first preset condition, the feedback microphone of the wearable device is controlled to switch from the sleep state to the working state, and then based on the second signal collected by the feedback microphone, the target audio is determined and the target audio is played. Since the feedback microphone in the present disclosure is not always in the on state, when the first signal meets the first preset condition, the feedback microphone can enter the working state from the sleep state. Correspondingly, since the DSP does not continuously receive the sound signal collected by the feedback microphone, the DSP no longer needs to analyze the signal collected by the feedback microphone in real time. Therefore, the feedback microphone in the present disclosure does not need to be always in the on state. When the first signal meets the first preset condition, the feedback microphone can enter the working state from the sleep state, thereby effectively reducing the power consumption of the wearable device and improving the battery life of the wearable device; in addition, the second signal collected by the feedback microphone is used to determine the target audio, which is beneficial to improving the accuracy and reliability of the target audio adjustment during the audio playback process.
[0049] The exemplary embodiments of the present disclosure provide a control method for a wearable device, which is applied to the wearable device. The wearable device may be a Bluetooth headset, and the type of the Bluetooth headset may be a headset, a semi-in-ear headset, an in-ear headset, a TWS headset, etc. The control method of the wearable device in the present disclosure is described below by taking the wearable device as a Bluetooth wireless headset as an example.
[0050] like Figure 1 As shown, the control method of the wearable device shown in the present disclosure includes:
[0051] S101. Acquire a first signal.
[0052] S102: If the first signal meets a first preset condition, control the feedback microphone of the wearable device to switch from a sleep state to a working state.
[0053] S103: Determine target audio based on the second signal collected by the feedback microphone and play the target audio.
[0054] In step S101, in order to better judge and respond to the user's intention during use, many types of sensors are set on the Bluetooth headset. For example, the Bluetooth headset's cover-opening and instant connection function requires a Hall sensor; putting on the headset to play music requires an optical sensor or a capacitive sensor; the touch control or tapping control of the Bluetooth headset requires a capacitive sensor or an acceleration sensor. In addition, the Bluetooth headset can use the sensor to monitor the wearing status of the headset in real time. Therefore, in this embodiment, a first signal can be obtained by a preset sensor set on the wearable device, wherein the first signal can be used to characterize the wearing status of the headset. The wearing status is usually divided into two types, one is that the wearing position deviates less from the preset position, and there will not be much sound leakage, and the other is that the wearing position deviates more from the preset position, and the user will have obvious sound leakage when using the headset.
[0055] A sensor is a detection device that can sense information to be measured and can convert the sensed information into electrical signals or other required forms of information output according to certain rules to meet the requirements of information transmission, processing, storage, display, recording and control. This embodiment does not limit the specific type of the preset sensor. In an example, the preset sensor can be a capacitive sensor, an optical sensor, a pressure sensor, etc., so that the preset sensor determines the wearing state of the headset by detecting the pressure value, distance value, etc. between the headset and the user's ear.
[0056] Among them, a capacitive sensor uses various types of capacitors as sensing elements and converts the measured physical quantity or mechanical quantity into a change in capacitance. In fact, it is a capacitor with variable parameters. Capacitive sensors are widely used in the measurement of displacement, angle, vibration, speed, pressure, component analysis, dielectric properties, etc. A pressure sensor is a device or apparatus that can sense a pressure signal and convert the pressure signal into an available output electrical signal according to a certain rule.
[0057] In applications, the preset sensor can be a pressure sensor, and the wearing state of the earphone can be determined through the signal detected by the pressure sensor. For example, if the signal detected by the pressure sensor is 0, it means that the current earphone is in a non-pressure state, that is, the out-of-ear state; for another example, if the signal detected by the pressure sensor is a, where a > 0 and a < b, and b is the signal detected by the pressure sensor in the correct wearing state, then it is determined that the earphone is in the in-ear state, but the wearing state of the earphone may be different from the correct wearing state.
[0058] In one example, the pressure sensor can be a piezoelectric pressure sensor. A piezoelectric pressure sensor is a sensor based on the charge effect, which can convert the pressure signal acting on it into an electrical signal. When pressure is applied to the piezoelectric pressure sensor, it will cause a change in the charge distribution and output. The piezoelectric pressure sensor is very sensitive and can measure tiny pressure changes, and the measurement of the piezoelectric pressure sensor is also very accurate. Therefore, in this embodiment, using a piezoelectric pressure sensor to obtain the first signal can ensure the accuracy of the first signal.
[0059] In another example, the pressure sensor can also be a capacitive pressure sensor. A capacitive pressure sensor is a pressure sensor that uses capacitance as a sensitive element and converts the measured pressure into a change in capacitance value. This kind of pressure sensor generally uses a circular metal film or a metal-coated film as one electrode of the capacitor. When the film senses pressure and deforms, the capacitance formed between the film and the fixed electrode changes, and an electrical signal related to the voltage can be output through the measurement circuit.
[0060] In applications, the preset sensor can be a capacitive sensor, and then the principle of RC oscillation can be used to detect capacitance changes, and the wearing state of the earphone can be determined according to the electrical signal output by the capacitive sensor. Among them, the capacitance change means that when the human body approaches or contacts the capacitive sensor, the capacitive sensor will sense the change in capacitance.
[0061] In applications, the preset sensor can be an optical sensor, and specifically, the optical sensor can be an infrared proximity sensor. When the optical sensor is an infrared proximity sensor, the distance between the earphone and the emitting object can be calculated by calculating the time of emitting and receiving the infrared beam, so as to determine the wearing state of the earphone.
[0062] In addition, it should be noted that the wearing state of the earphone is determined by analyzing the signals obtained by the sensor. Therefore, a transmission line from the sensor to the DSP should be provided inside the earphone. When the DSP receives the corresponding signal (such as the signal collected by the sensor), it will analyze the signal. If the DSP does not receive the signal to be analyzed, the DSP does not need to consume computing power for analysis.
[0063] It should be noted that when the signal output by the preset sensor adopted in this embodiment is an analog signal (for example, the signals output by a pressure sensor or a capacitive sensor are analog signals, but the optical sensor does not need to output an analog signal), in order to enable the DSP to analyze the analog signal, an analog-to-digital converter also needs to be set in the transmission line from the preset sensor to the DSP to perform analog-to-digital conversion on the analog signal collected by the preset sensor to achieve the conversion from analog signal to digital signal. Among them, the specific method of analog-to-digital conversion can adopt the verified and feasible methods in related technologies, which will not be elaborated here.
[0064] In step S102, since the preset sensor remains in the on state, the preset sensor can monitor the wearing state of the wearable device in real time. When the wearing state of the wearable device changes, correspondingly, the corresponding first signal collected by the preset sensor also changes. That is, when the initial signal detected by the preset sensor and the corresponding first signal obtained after processing the initial signal change, it indicates that the wearing state of the wearable device has changed.
[0065] There may be various changes in the wearing state of the wearable device. For example, the wearing state changes slightly, or the wearing state changes greatly. When the wearing state of the earphone changes, it may cause the sound played by the earphone to leak, or the noise in the external environment may be heard by the user. To ensure the audio effect received by the user using the earphone, it is necessary to determine whether to use an equalizer to process the audio or whether to perform active noise reduction according to the change in the wearing state of the earphone. The present disclosure collects the sound signal around the earphone through a feedback microphone provided on the earphone to jointly determine whether to equalize or actively reduce the noise of the audio played in the earphone in combination with the wearing state of the earphone in the subsequent method, improving the accuracy and reliability of the sound adjustment process.
[0066] In order to reduce the power consumption caused by the feedback microphone being always on, thereby reducing the battery life of the headset, and to prevent misjudgment or the switching of the feedback microphone of the wearable device from the sleep state to the working state when the change in the wearing state is relatively small, a condition, namely the first preset condition, needs to be set in advance in this embodiment. Moreover, when the first signal meets the first preset condition, the feedback microphone of the wearable device is switched from the sleep state to the working state to enable the feedback microphone. Among them, the first preset condition can be used to represent a significant change in the wearing state of the wearable device. That is, only when the preset sensor detects a relatively obvious change in the wearing state of the headset, the feedback microphone will be activated for detection, thus avoiding the misactivation of the feedback microphone and generating unnecessary power consumption.
[0067] In one example, the first signal meeting the first preset condition can be determined by the signal characteristics of the first signal. For example, obtain the spectral characteristics of the first signal, determine the cross-correlation coefficient between the spectral characteristics of the first signal and the preset spectral characteristics, and when the cross-correlation coefficient is greater than the first threshold, determine that the first signal meets the first preset condition. Another example is to obtain the time-domain envelope characteristics of the first signal, determine the cross-correlation coefficient between the time-domain envelope characteristics of the first signal and the preset time-domain envelope characteristics, and when the cross-correlation coefficient is greater than the second threshold, determine that the first signal meets the first preset condition.
[0068] In another example, the first signal meeting the first preset condition can also be determined by the signal threshold of the first signal. For example, obtain the signal threshold of the first signal, and when the signal threshold of the first signal is greater than the third threshold, determine that the first signal meets the first preset condition.
[0069] Regardless of which method is used to determine that the first signal meets the first preset condition, when the first signal meets the first preset condition, it is sufficient to indicate that a significant change has occurred in the wearing state of the wearable device. At this time, the feedback microphone of the wearable device can be controlled to switch from the sleep state to the working state. It can be seen that in this embodiment, the first signal is used as the switch to turn on the feedback microphone of the wearable device, and the feedback microphone is only turned on when the first signal meets the first preset condition, so that the feedback microphone does not need to be always on, saving power to a certain extent.
[0070] It should be noted that there is a transmission line from the DSP to the feedback microphone in the wearable device. When the first signal meets the first preset condition, the process of controlling the feedback microphone of the wearable device to switch from the sleep state to the working state can be expressed as: the DSP sends a start signal to the feedback microphone, and the feedback microphone enters the working state based on this start signal. Since the signal sent by the DSP is a digital signal, in order to facilitate the feedback microphone to recognize the signal sent by the DSP, it is necessary to set a digital-to-analog converter in the transmission line between the DSP and the feedback microphone, so that the start signal in the form of a digital signal sent by the DSP is converted into an analog signal that can be recognized by the feedback microphone.
[0071] In addition, it should be noted that the feedback microphone is arranged near the speaker of the earphone. The feedback microphone can accurately collect the signal emitted by the earphone speaker and the ambient noise collected, and send them to the DSP. The DSP can determine the wearing state of the wearable device according to the signal collected by the feedback microphone. Therefore, during the audio playback process of the earphone, the DSP converts the audio to be played from a digital signal to an analog signal through a digital-to-analog converter and then sends it to the speaker. The speaker plays the analog signal to generate audio. Then, the feedback microphone collects the sound signal around the speaker, and converts these sound signals from analog signals to digital signals through an analog-to-digital converter and sends them to the DSP for analysis.
[0072] In step S103, the signal collected by the feedback microphone can be used to characterize the wearing state of the wearable device. Therefore, the wearing state of the wearable device can be judged through the second signal, and the audio to be played can be determined according to the wearing state of the wearable device.
[0073] For example, the degree of change in the wearing state of the wearable device characterized by the second signal is relatively small compared to the correct wearing state (that is, the wearing state of the wearable device shows a slight looseness). At this time, the audio leakage degree of the wearable device is relatively small. Even if the original audio (the audio to be played) is not processed, the sound effect of the original audio is very stable. Therefore, in this case, even if the preset sensor detects a change in the wearing state of the earphone, this state change can be ignored, and the currently playing audio does not need to be adjusted, and the original audio can be played continuously.
[0074] Another example is that the degree of change in the wearing state of the wearable device characterized by the second signal is relatively large compared to the correct wearing state (that is, the wearing state of the wearable device shows a large degree of looseness). At this time, the audio leakage degree of the wearable device is relatively large. If the original audio is not processed, it is very likely that the user will hear the external environmental noise or the user cannot hear the original audio clearly, resulting in a poor listening experience for the user. Therefore, in the current situation, it is necessary to process the original audio and play the processed original audio, so that the user can get a better listening experience.
[0075] In this embodiment, the first signal is judged according to the first preset condition. When the first signal meets the first preset condition, the feedback microphone is turned on, so that the feedback microphone does not need to be always in the on state, which can effectively reduce the power consumption of the wearable device and improve the battery life of the wearable device. In addition, the second signal collected by the feedback microphone is used to determine the target audio, which is beneficial to improving the accuracy and reliability of the target audio adjustment during the audio playback process.
[0076] According to an exemplary embodiment, the control method in this embodiment can be used in combination with the method of the embodiment disclosed above. The control method in this embodiment includes:
[0077] At every preset time interval, control the feedback microphone to switch from the sleep state to the working state.
[0078] In order to avoid the situation of false detection caused by some factors during the detection of the preset sensor, and at the same time, in order to more accurately adjust the state of the audio played in the earphone to enable the user to obtain a better auditory experience, the control method in the present disclosure can control the feedback microphone to switch from the sleep state to the working state at every preset time interval to turn on the feedback microphone. For example, every 10 seconds, control the feedback microphone to switch from the sleep state to the working state; or every 15 seconds, control the feedback microphone to switch from the sleep state to the working state. The preset time interval can be selected and set according to actual needs. After the feedback microphone is turned on, the feedback microphone in the working state collects the second signal, and after the feedback microphone collects the second signal, the DSP comprehensively analyzes the first signal collected by the preset sensor and the second signal collected by the feedback microphone, and comprehensively judges whether it is necessary to perform equalization and active noise reduction on the audio played in the earphone in combination with the first signal and the second signal, so as to improve the accuracy of the wearable device to adjust the audio played in the earphone according to the wearing state.
[0079] In addition, it should be noted that in this embodiment, the turning on and off of the feedback microphone are independent of whether the first signal meets the first preset condition. That is to say, regardless of whether the first signal meets the first preset condition, it is certain that the feedback microphone is controlled to switch from the sleep state to the working state every preset time period. That is, the feedback microphone in this embodiment can be switched from the sleep state to the working state under two circumstances. The first circumstance is that when the first signal detected by the preset sensor meets the first preset condition, it indicates that there may be a risk of sound leakage in the earphone. At this time, the feedback microphone can be activated to collect the second signal, which is conducive to the DSP comprehensively judging whether the sound leakage is caused by the change in the wearing state of the earphone based on the first signal and the second signal. The second circumstance is that even when the preset sensor of the earphone has not detected the relevant electrical signal indicating the change in the wearing state for a long time, in order to avoid the misdetection of the preset sensor and improve the reliability of the earphone usage, the feedback microphone is activated every preset time period, and the DSP analyzes the signal collected by the feedback microphone to determine whether to perform equalization or active noise reduction processing on the audio played by the earphone.
[0080] In this embodiment, by turning on the feedback microphone every preset time period to enable the feedback microphone to collect the second signal and the DSP comprehensively analyzes the second signal and the first signal, it is possible to more reliably and quickly determine whether there is a relatively obvious change in the wearing state of the earphone that is likely to cause sound leakage, and then timely perform audio state compensation, avoiding the influence on the judgment accuracy by using only the first signal to judge the wearing state.
[0081] According to an exemplary embodiment, as Figure 3 shown, the control method of the wearable device in this embodiment includes:
[0082] S301. Obtain the first signal.
[0083] S302. If the first signal meets the first preset condition, control the feedback microphone of the wearable device to switch from the sleep state to the working state.
[0084] S303. Based on the second signal collected by the feedback microphone, perform analog-to-digital conversion on the second signal to obtain a second reference signal.
[0085] S304. If the second reference signal meets the second preset condition, adjust the audio to be played as the target audio.
[0086] S305. Play the target audio.
[0087] S306. Within the preset time period, if the second reference signal does not meet the second preset condition, play the audio to be played and control the feedback microphone to switch from the working state to the sleep state.
[0088] Among them, steps S301 - S302 and S305 are the same as steps S101 - S102 and S105 in the above - mentioned embodiment, and will not be elaborated here. In addition, it should be noted that steps S304 and S306 are in an alternative relationship, that is, the second reference signal satisfies the second preset condition, or the second reference signal does not satisfy the second preset condition within a preset time period.
[0089] Before describing the method, first, a schematic illustration of the relevant structure of the wearable device involved in this embodiment is given, as Figure 2 shown in the structural schematic diagram of the wearable device. Inside the wearable device, there are a preset sensor 201, a first analog - to - digital converter 202, a digital signal processor 203, a first digital - to - analog converter 204, a speaker 205, a feedback microphone 206, and a second analog - to - digital converter 207. Among them, the first analog - to - digital converter 202 is used to convert the analog signal collected by the preset sensor 201 into a digital signal, so that the digital signal processor 203 can analyze this digital signal to determine the wearing state of the wearable device. In addition, the digital signal processor 203 can also convert the audio to be played from a digital signal into an analog signal through the first digital - to - analog converter 204 and then send it to the speaker 205. The speaker 205 plays the analog signal to generate audio. At the same time, the feedback microphone 206 can also collect the sound signal around the speaker 205. Then, the second analog - to - digital converter 207 converts the sound signal collected by the feedback microphone 206 from an analog signal into a digital signal, so that the digital signal processor 203 can analyze this digital signal to determine the wearing state of the wearable device. Through Figure 2 the structural schematic diagram of the wearable device shown, the wearing state of the wearable device can be determined through two links: from the preset sensor to the digital signal processor and from the speaker to the digital signal processor, so as to determine the accuracy of the obtained wearing state, and further improve the accuracy and reliability of the target audio adjustment during the audio playback process.
[0090] In step S301, the first signal can be determined by obtaining the initial signal detected by the preset sensor. Among them, the initial signal varies according to the type of the sensor. However, generally, the signals collected by the sensor are continuous analog signals, while the signals that the DSP can receive and analyze are digital signals. Therefore, referring to Figure 2 the structural schematic diagram of the wearable device shown, an analog - to - digital converter needs to be set between the preset sensor and the DSP to convert the analog signal collected by the preset sensor into a digital signal and send it to the DSP for processing. That is, after the analog - to - digital converter converts the initial signal, a first signal in digital signal form is obtained.
[0091] In step S303, to determine the wearing state of the wearable device through the second signal, a DSP is required to analyze the second signal. However, the signals collected by the feedback microphone are usually continuous analog signals, while the signals that the DSP can receive and analyze are digital signals. Therefore, referring to Figure 2 the structural schematic diagram of the wearable device shown in
[0092] an analog-to-digital converter needs to be set between the feedback microphone and the DSP to convert the analog signal collected by the feedback microphone into a digital signal and send it to the DSP for processing. That is, after the analog-to-digital converter converts the second signal, a second reference signal in digital signal form is obtained.
[0093] In step S304, the DSP will receive and analyze the second reference signal to determine the wearing state of the wearable device. Specifically, the DSP will analyze the second reference signal according to the second preset condition, and when the second reference signal meets the second preset condition, the target audio will be determined through the second reference signal. Among them, the second preset condition can be used to characterize a large degree of change in the wearing state of the wearable device. That is, when the second reference signal meets the second preset condition, it means that the wearing state of the wearable device has changed to a large extent. At this time, there is likely a problem of audio leakage in the wearable device.
[0094] In another example, the second reference signal meeting the second preset condition can also be determined through the signal threshold of the second reference signal. For example, obtain the signal threshold of the second reference signal. When the signal threshold of the second reference signal is greater than the third threshold, it is determined that the second reference signal meets the second preset condition.
[0095] If the second reference signal meets the second preset condition, it indicates that the wearing state of the wearable device determined by the feedback microphone has changed significantly. That is to say, the wearing state of the wearable device determined by the DSP analyzing the first signal and the second reference signal collected by the preset sensor is the same, both indicating a significant change in the wearing state. At this time, although there may be a certain degree of error in both the preset sensor and the feedback microphone, the possibility that both have a large error or both determine the wearing state incorrectly is relatively small. Therefore, by combining the two to finally determine the wearing state, it can be obtained that in the actual situation, the wearing state of the wearable device has indeed changed significantly, that is, there is a certain degree of sound leakage problem in the wearable device, and it is necessary to equalize and actively noise-cancel the audio played in the earphone, determine the target audio, and improve the accuracy and reliability of the target audio adjustment during the audio playback process.
[0096] To solve the sound leakage problem of the wearable device, it is necessary to adjust the audio to be played. For example, the sound effect and volume of the audio to be played can be adjusted so that the adjusted effect of the audio to be played can meet the user's needs.
[0097] In one example, the corresponding relationship between the second reference signal and the adjustment method can be set, and based on the second reference signal and this corresponding relationship, the currently required adjustment method can be determined, and the audio to be played can be adjusted according to this adjustment method. For example, the second reference signal x corresponds to the adjustment method b (the adjustment method can specifically be to increase the volume of the audio to be played, equalize the sound effect of the audio to be played, etc.), and the second reference signal y corresponds to the adjustment method c. If the second reference signal obtained after analog-to-digital conversion of the second signal collected by the feedback microphone at this time is the second reference signal x, the audio to be played can be adjusted based on the adjustment method b to obtain the adjusted audio to be played (i.e., the target audio).
[0098] In another example, the corresponding compensation parameter can be determined based on the second reference signal, and then the compensation parameter can be used to adjust the audio to be played to determine the target audio. The corresponding relationship between the second reference signal and the compensation parameter will be pre-stored in the wearable device. In actual applications, the corresponding compensation parameter can be determined according to this corresponding relationship and the second reference signal, and the target audio can be obtained based on the compensation parameter.
[0099] Specifically, the compensation parameter can include at least one of the noise reduction parameter and the equalizer parameter, that is, the compensation parameter can only include the noise reduction parameter, or only include the equalizer parameter, or can include both the noise reduction parameter and the equalizer parameter at the same time. Among them, whether to include the equalizer parameter depends on whether there is an equalizer in the wearable device. Among them, the equalizer parameter is used to equalize the audio played in the earphone, and the noise reduction parameter is used to actively noise-cancel the external environmental noise.
[0100] Specifically, the noise reduction parameter adopts the active noise reduction technology. The active noise reduction technology means that the noise reduction system generates a reverse sound wave equal to the external environmental noise, and then neutralizes the external environmental noise through this reverse sound wave. That is, the noise reduction parameter does not adjust the audio to be played, but processes the noise in the external environment where the wearable device is located. By reducing the external environmental noise, the accuracy of the audio being played during the audio playback process is achieved. Therefore, although the audio to be played is not adjusted, due to the reduction of the external environmental noise, the contrast between the external environmental noise and the audio to be played is obvious, the influence of the external environmental noise on the audio to be played is greatly reduced, the sound effect of the audio to be played will be more stable, and the audio quality will also be more stable. In this embodiment, the corresponding noise reduction parameter can be queried through the correspondence between the second reference signal and the noise reduction parameter, and the external environmental noise can be reduced based on this noise reduction parameter, and finally the audio to be played is played.
[0101] Optionally, the noise reduction parameter may include a feedback filter parameter, that is, active noise reduction is achieved through a feedback microphone. The specific process may be: a feedback filter is set through the feedback filter parameter, the feedback microphone captures the external environmental noise, inputs the external environmental noise into the feedback filter, the feedback filter generates a reverse sound wave, and the reverse sound wave cancels out the external environmental noise to achieve the neutralization of the external environmental noise, and after the external environmental noise is reduced, the audio to be played is played.
[0102] Specifically, the working principle of adjusting the audio to be played with the equalizer parameter is: an equalizer is used to adjust the audio to be played. Among them, a filter circuit is used in the equalizer, and the working principle of the filter circuit is to remove some parts of the signal spectrum of the audio, or to boost / reduce some parts of the signal spectrum of the audio, so as to adjust the audio.
[0103] Common filters mainly include four types: low-pass filter, high-pass filter, band-pass filter and band-stop filter. Among them, for the low-pass filter, its purpose is to allow all signals below the "bass cut-off frequency" to pass through, and attenuate the components above this frequency. For the high-pass filter, its purpose is to allow all signals above the "treble cut-off frequency" to pass through, and attenuate the components below this frequency. For the band-pass filter, its purpose is to boost the signals near a specific frequency and ignore the too high and too low frequency components. This specific frequency is called the center frequency. For the band-stop filter, its purpose is to attenuate the signals near the center frequency and ignore the too high and too low frequency components. The frequency range in which the band-pass and band-stop filters can act is called the bandwidth.
[0104] For convenient adjustment, filter parameters can be used as equalizer parameters, and audio equalization processing can be achieved by setting filter parameters. Common equalizer parameters (filter parameters) include frequency. The frequency mentioned here refers to the range of sounds that can theoretically be heard by the human ear, that is, the frequency range of 20 Hz - 20 kHz. The lower the frequency, the deeper the sound. When the frequency is below 160 Hz, we call it "bass" (20 Hz - 160 Hz), and when the frequency is above 5000 Hz, we call it "treble" (5000 Hz - 20 kHz).
[0105] Gain, which refers to volume gain. The unit of gain is (dB). 0 dB means no increase or attenuation. Every +6 dB is a sound pressure level, which means twice as large as the original, and -6 dB means half as large. In the actual adjustment process, the frequency to be adjusted can be selected to increase or decrease the volume of that frequency band.
[0106] Frequency band. Among them, the range extending to both sides centered on a certain frequency is usually called a frequency band. For example, with 500 Hz as the center, extending to the left (bass) to 250 Hz and to the right (treble) to 1000 Hz, that is, 250 Hz to 1000 Hz is called the mid-frequency band.
[0107] Q value. Simply put, the size of the range controlling the frequency band extension is called the Q value. The smaller the Q value, the larger the cut-off frequency (extension range) of the frequency band. For example, when Q = 1.0 and the center frequency is 500 Hz, the cut-off range of this frequency band is approximately 200 - 1100 Hz. When Q = 2.0 and the center frequency is 500 Hz, the cut-off range of this frequency band is approximately 350 - 800 Hz.
[0108] Timbre refers to the different characteristics of sounds in different frequency ranges, which we call timbre. For example, the often-heard descriptions such as harsh treble, dull sound, hoarseness, etc. are all negative descriptions of timbre. Bandwidth can be used to represent the width of the frequency band. If the width of the frequency band needs to be adjusted during the adjustment process, only the bandwidth parameter needs to be adjusted. High-pass filtering means weakening the volume of the low-frequency band, which is often used to remove low-frequency noise or emphasize high-pitched instruments. Low-pass filtering means weakening the volume of the high-frequency band, which is often used to remove high-frequency noise or emphasize low-pitched instruments.
[0109] Here, it should be noted that the correspondence between the second reference signal and the equalizer parameters can be one-to-one or one-to-many. When the correspondence is one-to-one, the second reference signal and the equalizer parameters are in one-to-one correspondence, that is, only one equalizer parameter can be determined through the second reference signal. For example, the second reference signal only corresponds to the equalizer parameter g, and the audio to be played is equalized through this one equalizer parameter. When the correspondence is one-to-many, multiple equalizer parameters can be determined through the second reference signal. For example, the second reference signal corresponds to the equalizer parameters q, w, e, and r. After the second reference signal is determined, the above multiple equalizer parameters can be determined simultaneously, and the audio to be played is equalized through the multiple equalizer parameters.
[0110] In one example, the adjustment of the audio to be played can be achieved by adjusting the values of the equalizer parameters. It should be noted that each piece of audio has a corresponding equalizer, and the equalizer is provided with equalizer parameters. Moreover, the equalizer parameters corresponding to different audio can be the same or different. For the convenience of understanding, the adjustment process is described below with a specific example. For example, the equalizer corresponding to the audio to be played is provided with 6 equalizer parameters, and the original value of these 6 equalizer parameters is 50. When the correspondence is one-to-one, assuming that the equalizer parameter g is determined to be 100, then only the value of the equalizer parameter g in the above 6 equalizer parameters needs to be modified to 100 to complete the adjustment of the audio to be played. Similarly, when the correspondence is one-to-many, assuming that the determined equalizer parameters q is 100, the equalizer parameter w is 80, the equalizer parameter e is 40, and the equalizer parameter r is 120, then the values of the equalizer parameters q, w, e, and r in the above 6 equalizer parameters need to be modified correspondingly.
[0111] In addition, this embodiment can also update the initial equalizer (i.e., the equalizer corresponding to the audio to be played) based on all the equalizer parameters to form the equalizer corresponding to the target audio, and display the equalizer on the display interface of the electronic device connected to the wearable device for the user to view or the user to adjust the equalizer parameters in the equalizer by himself. For example, the user can open the display interface where the equalizer is located and perform operations such as dragging or clicking to achieve the self-adjustment of the audio to be played, so as to meet the user's needs and add interactive fun. Or, the initial equalizer (i.e., the equalizer corresponding to the audio to be played) can also be displayed on the display interface of the electronic device connected to the wearable device for the user to view or the user to adjust the equalizer parameters in the equalizer by himself.
[0112] Specifically, the target audio can also be determined from two aspects: the noise reduction parameter and the equalizer parameter. For example, the external environmental noise can be reduced by the noise reduction parameter, and then the audio to be played can be adjusted by the equalizer parameter. Through these two aspects of adjustment, the sound effect of the audio to be played can be enhanced simultaneously from both the outside and inside of the wearable device, ensuring the sound effect and sound quality of the audio to be played to the greatest extent and making the listening experience of the audio to be played better. Preferably, in this embodiment, the audio to be played can be preferentially adjusted from the two aspects of the noise reduction parameter and the equalizer parameter to determine the target audio, so as to obtain a more stable sound effect and sound quality and a more perfect listening effect compared with single adjustment, improving the user experience.
[0113] In another example, the second reference signal corresponding to the correct wearing state of the wearable device can also be obtained, and the second reference signal in this state can be used as the target signal. By comparing the target signal with the second reference signal in the current wearing state, the target compensation curve can be obtained, and the filter of the equalizer can be adjusted based on the target compensation curve. That is, through the target compensation curve, the filter parameters are determined, and the filter of the equalizer is adjusted by the filter parameters to achieve the equalization processing of the audio to be played.
[0114] In addition, in this embodiment, a special case needs to be described, that is, the wearing state of the wearable device is the completely out-of-ear state. When the wearing state of the wearable device is the completely out-of-ear state, it means that the user may not need to listen to the audio or for some reason, the wearable device accidentally comes out of the ear. In short, the completely out-of-ear state of the wearable device indicates that the user has separated from the wearable device. In this case, the audio to be played can be temporarily turned off / temporarily stopped, and the preset sensor and the feedback microphone can be turned off, so that the wearable device as a whole enters the sleep state to reduce the power consumption of the wearable device and improve the user experience. Due to the turning off / temporary stopping of the audio to be played, step S305 will not continue in this case. When the wearing state of the wearable device is switched to the in-ear state, the audio to be played can be played again based on the user's operation (such as the user clicks the play button in the display interface of the electronic device connected to the wearable device) or automatically (the operation automatically performed by the wearable device or the electronic device connected to the wearable device).
[0115] In step S305, except for the special case described in step S304, after adjusting the audio to be played, the adjusted audio to be played can be used as the target audio, and the target audio can be played.
[0116] In step S306, during the detection process, the preset sensor may be affected by some factors and may have false detections, that is, there may be errors in the first signal obtained by the preset sensor. When the preset sensor has false detections, it is possible that the second reference signal does not meet the second preset condition. And when the second reference signal does not meet the second preset condition, it means that the wearing state of the wearable device determined by the feedback microphone has not changed, or there has been a negligible state change. That is, in this case, the sound effect of the audio to be played is stable. Therefore, there is no need to adjust the audio to be played anymore, and directly playing the audio to be played can enable the user to hear clear audio and achieve the desired listening effect for the user.
[0117] To avoid the second reference signal accidentally not meeting the second preset condition, and also to avoid the false detections that the feedback microphone may have due to certain factors, a time limit can be imposed on the situation where the second reference signal does not meet the second preset condition. For example, within a preset duration, if the second reference signal does not meet the second preset condition, it can be considered that the second reference signal truly does not meet the second preset condition.
[0118] Meanwhile, if within the preset duration, the second reference signal does not meet the second preset condition, it indicates that the wearing state of the wearable device has not changed significantly. Therefore, to save power consumption and improve the battery life of the wearable device, the feedback microphone can be controlled to switch from the working state to the sleep state, temporarily turning off the feedback microphone. It will be restarted until the first signal meets the first preset condition next time.
[0119] In this embodiment, the audio to be played corresponding to each situation can be determined when the second reference signal meets and does not meet the second preset condition, so as to adjust the audio to be played in different situations. And within the preset duration, when the second reference signal does not meet the second preset condition, controlling the feedback microphone to switch from the working state to the sleep state can also make the feedback microphone enter the sleep state again, saving the power consumption of the wearable device and improving the battery life of the wearable device. In addition, by determining the adjustment method for the audio to be played through the second reference signal, a target audio with a better playback effect can be determined, improving the user experience.
[0120] An exemplary embodiment of the present disclosure provides a device, as Figure 4 shown, a block diagram of a control device for a wearable device shown in the present disclosure.
[0121] The block diagram includes an acquisition module 41, a control module 42, and a playback module 43. The acquisition module 41 is configured to acquire a first signal, where the first signal is used to characterize the wearing state of the wearable device; the control module 42 is configured to control the feedback microphone of the wearable device to switch from the sleep state to the working state if the first signal meets a first preset condition; the playback module 43 is configured to determine a target audio based on a second signal collected by the feedback microphone and play the target audio.
[0122] In some embodiments, the control device of the wearable device further includes:
[0123] A second control module, configured to control the feedback microphone to switch from the sleep state to the working state at every preset time interval.
[0124] In some embodiments, the control device of the wearable device further includes: a first processing module;
[0125] The first processing module is configured to perform analog-to-digital conversion on the second signal to obtain a second reference signal; if the second reference signal meets a second preset condition, adjust the audio to be played as the target audio.
[0126] In some embodiments, the control device of the wearable device further includes: a second processing module;
[0127] The second processing module is configured to, within a preset time period, if the second reference signal does not meet the second preset condition, play the audio to be played and control the feedback microphone to switch from the working state to the sleep state.
[0128] In some embodiments, the playback module 43 is specifically configured to:
[0129] Determine a compensation parameter based on the second reference signal;
[0130] Determine a target audio based on the audio to be played and the compensation parameter.
[0131] In some embodiments, the compensation parameter includes at least one of a noise reduction parameter and an equalizer parameter.
[0132] In some embodiments, the acquisition module 41 is specifically configured to:
[0133] Acquire an initial signal detected by a preset sensor;
[0134] Perform analog-to-digital conversion on the initial signal to obtain a first signal.
[0135] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.
[0136] Figure 5It is a block diagram of a wearable device 500 shown according to an exemplary embodiment.
[0137] Referring Figure 5 , the wearable device 500 may include one or more of the following components: a processing component 502, a memory 504, a power supply component 506, a multimedia component 508, an audio component 510, an input / output (I / O) interface 512, a sensor component 514, and a communication component 516.
[0138] The processing component 502 generally controls the overall operation of the wearable device 500, such as operations associated with display, phone calls, data communication, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above methods. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.
[0139] The memory 504 is configured to store various types of data to support the operation of the wearable device 500. Examples of such data include instructions for any application or method operating on the wearable device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0140] The power supply component 506 provides power to various components of the wearable device 500. The power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the wearable device 500.
[0141] The multimedia component 508 includes a screen that provides an output interface between the wearable device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the wearable device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0142] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC) that is configured to receive external audio signals when the wearable device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 further includes a speaker for outputting audio signals.
[0143] The I / O interface 512 provides an interface between the processing component 502 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.
[0144] The sensor component 514 includes one or more sensors for providing status assessments of various aspects of the wearable device 500. For example, the sensor component 514 can detect the on / off state of the wearable device 500, the relative positioning of components, such as the display and keypad of the wearable device 500. The sensor component 514 can also detect a change in the position of the wearable device 500 or a component of the wearable device 500, the presence or absence of user contact with the wearable device 500, the orientation or acceleration / deceleration of the wearable device 500, and the temperature change of the wearable device 500. The sensor component 514 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 514 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 514 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0145] The communication component 516 is configured to facilitate communication between the wearable device 500 and other devices in a wired or wireless manner. The wearable device 500 can access a communication standard-based wireless network, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0146] In an exemplary embodiment, the wearable device 500 can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.
[0147] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, and the above instructions can be executed by a processor 520 of the wearable device 500 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0148] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of the wearable device, enables the wearable device to execute the control method of the wearable device provided by the exemplary embodiments of the present disclosure.
[0149] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only to be considered exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0150] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A control method for a wearable device, characterized in that, comprising: obtaining a first signal, wherein the first signal is used to characterize the wearing state of the wearable device; if the first signal meets a first preset condition, controlling the feedback microphone of the wearable device to switch from a sleep state to a working state; determining a target audio based on a second signal collected by the feedback microphone and playing the target audio.
2. The control method for a wearable device according to claim 1, characterized in that, the control method for the wearable device further comprises: controlling the feedback microphone to switch from a sleep state to a working state at every preset time interval.
3. The control method for a wearable device according to claim 1, characterized in that, the control method for the wearable device further comprises: performing analog-to-digital conversion on the second signal to obtain a second reference signal; if the second reference signal meets a second preset condition, adjusting the audio to be played as the target audio.
4. The control method for a wearable device according to claim 3, characterized in that, the control method for the wearable device further comprises: if the second reference signal does not meet the second preset condition within a preset time period, playing the audio to be played and controlling the feedback microphone to switch from the working state to the sleep state.
5. The control method for a wearable device according to claim 3, characterized in that, the determining of the target audio based on the second signal collected by the feedback microphone comprises: determining a compensation parameter based on the second reference signal; determining the target audio based on the audio to be played and the compensation parameter.
6. The control method for a wearable device according to claim 5, characterized in that, the compensation parameter includes at least one of a noise reduction parameter and an equalizer parameter.
7. The control method for a wearable device according to claim 1, characterized in that, the obtaining of the first signal comprises: obtaining an initial signal detected by a preset sensor; performing analog-to-digital conversion on the initial signal to obtain the first signal.
8. A control device for a wearable device, characterized in that, comprising: an obtaining module, configured to obtain a first signal, wherein the first signal is used to characterize the wearing state of the wearable device; a control module, configured to control the feedback microphone of the wearable device to switch from a sleep state to a working state if the first signal meets a first preset condition; a playing module, configured to determine a target audio based on a second signal collected by the feedback microphone and play the target audio.
9. A wearable device, characterized in that, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the control method for the wearable device according to any one of claims 1-7.
10. A non-transitory computer-readable storage medium, characterized in that, when the instructions in the storage medium are executed by a processor of a wearable device, the wearable device is enabled to execute the control method for the wearable device according to any one of claims 1-7.