Headset, control method, control module and computer readable storage medium thereof
Patent Information
- Application Number
- CN202610772699.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-29
- Publication Date
- 2026-08-18
AI Technical Summary
[0003]然而,用户在日常使用中,很容易因长时间佩戴头戴耳机,而造成耳朵过度疲劳,严重时甚至可能对耳朵和听力造成双重损伤,影响用户的佩戴体验
[0015] This application provides a control method for headphones. The headphones include a headphone body and earcups disposed on both sides of the headphone body. Each earcup includes an inner contact portion and an outer contact portion surrounding the inner contact portion. Each earcup is provided with a wear detection module and an earcup driving module connected to its respective inner and outer contact portions. The control method for the headphones includes: detecting whether the headphones are in a wearing state through the wear detection module; when the headphones are detected to be in a wearing state, obtaining the duration of continuous contact between the earcups and the user's ear in the current wearing contact area; if the duration of continuous contact exceeds a preset contact duration threshold, controlling the earcup driving module to drive the inner and outer contact portions to switch between extension and retraction states, thereby changing the wearing contact area between the earcups and the user's ear.
Smart Images

Figure CN122602023A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of headphone technology, and in particular to a headphone and its control method, control module, and computer-readable storage medium. Background Technology
[0002] Headphones are widely used for music appreciation, gaming, remote work, and other scenarios due to their good soundstage performance and non-in-ear design.
[0003] However, in daily use, users are prone to ear fatigue due to prolonged wearing of headphones, which may even cause dual damage to the ears and hearing in severe cases, affecting the user's wearing experience. Summary of the Invention
[0004] The main purpose of this application is to provide a headset and its control method, control module, and computer-readable storage medium, which aims to avoid the damage to the ears caused by prolonged wearing of headsets to a certain extent, thereby improving the user's wearing experience.
[0005] This application provides a control method for headphones, the headphones including a headphone body and earcups disposed on both sides of the headphone body, each earcup including an inner ring contact portion and an outer ring contact portion surrounding the inner ring contact portion, and each earcup is provided with a wear detection module and an earcup driving module connected to its respective inner ring contact portion and outer ring contact portion; The method includes: The wearing detection module detects whether the headphones are being worn. When the headphones are detected to be in a wearing state, the duration of continuous contact between the earcups and the user's ear in the current wearing contact area is obtained; If the duration of continuous contact exceeds a preset contact duration threshold, the earmuff driving module is controlled to switch the inner and outer contact portions to extend or retract, thereby changing the contact area between the earmuff and the user's ear.
[0006] In one embodiment, the step of controlling the earmuff driving module to switch the inner ring contact portion and the outer ring contact portion between extension and retraction states includes: When the current wearing contact area between the earmuff and the user's ear is the inner ring contact portion, the earmuff driving module is controlled to drive the inner ring contact portion from the extended state to the retracted state, and to drive the outer ring contact portion from the retracted state to the extended state. When the current wearing contact area between the earmuff and the user's ear is the outer ring contact portion, the earmuff driving module is controlled to drive the inner ring contact portion to switch from a retracted state to an extended state, and to drive the outer ring contact portion to switch from an extended state to a retracted state.
[0007] In one embodiment, before the step of controlling the earmuff driving module to switch the inner ring contact portion and the outer ring contact portion between extension and retraction states, the method further includes: Within a preset time window after determining that the continuous contact duration exceeds the preset contact duration threshold, the real-time loudness of the audio signal currently played by the headphones is dynamically detected. If the real-time loudness is less than or equal to a preset loudness threshold, then the step of controlling the earmuff driving module to drive the inner ring contact part and the outer ring contact part to switch between extension and retraction states is executed; If all real-time loudnesses detected within the preset time window are greater than the preset loudness threshold, then at the end of the preset time window, the step of controlling the earmuff driving module to drive the inner ring contact portion and the outer ring contact portion to switch between extension and retraction states is executed.
[0008] In one embodiment, the step of determining the preset contact duration threshold includes: Obtain the historical wearing duration sequence of the headphones worn by the user within a preset time period prior to the current moment; The preset contact duration threshold is determined based on the historical wearing duration sequence.
[0009] In one embodiment, the step of determining the preset contact duration threshold based on the historical wearing duration sequence includes: The absolute difference between each two adjacent historical wearing durations in the historical wearing duration sequence is determined as the fluctuation range of each wearing duration. If the fluctuation range of each of the aforementioned wearing durations is less than the preset amplitude threshold, then the product between the average value of each historical wearing duration in the historical wearing duration sequence and the first preset proportional coefficient is calculated as the preset contact duration threshold. If any of the wear duration fluctuations is greater than or equal to the preset amplitude threshold, then the product of the average value of each historical wear duration in the historical wear duration sequence and the second preset proportional coefficient is calculated as the preset contact duration threshold. Wherein, the first preset proportional coefficient is less than the second preset proportional coefficient.
[0010] In one embodiment, the headphones further include a timing module disposed on the headphone body, and the method further includes: During the recording of the continuous contact duration by the timing module, if the wearing detection module detects that the headphones have changed from a wearing state to a non-wearing state, the contact part currently in the extended state is recorded, and the timing module is controlled to pause the timing. If the wearing detection module detects that the headphones are being worn again, the duration of the headphones being removed is determined. If the off-hook duration is less than a preset off-hook duration threshold, the timing module is controlled to continue timing based on the already timed continuous contact duration; If the off-ear duration is greater than or equal to the preset off-ear duration threshold, the timing module is reset and the timing module is controlled to restart the timing. The earcup driving module is also controlled to drive the inner ring contact part and the outer ring contact part to switch between extension and retraction states, so that the contact part identifier in the extended state when the timing restarts is different from the recorded contact part identifier.
[0011] In one embodiment, each of the earmuffs is provided with a temperature acquisition module and a humidity acquisition module, and the method further includes: When the headphones are detected to be in a wearing state, the real-time contact temperature between the earcups and the user's ear in the current wearing contact area is collected by the temperature acquisition module, and the real-time contact humidity between the earcups and the user's ear in the current wearing contact area is collected by the humidity acquisition module. If the real-time contact temperature is greater than a preset temperature threshold, and / or the real-time contact humidity is greater than a preset humidity threshold, then the earmuff driving module is controlled to switch the inner ring contact portion and the outer ring contact portion to change the wearing contact area between the earmuff and the user's ear.
[0012] In addition, to achieve the above objectives, this application also provides a control module, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the control method for headphones as described above.
[0013] Furthermore, to achieve the above objectives, this application also provides a headset, the headset comprising: The earphone itself; The earcups located on both sides of the headphone body include an inner ring contact portion and an outer ring contact portion surrounding the inner ring contact portion. Each earcup is also provided with a wear detection module and an earcup driving module connected to its respective inner ring contact portion and outer ring contact portion. The control module described above is located on the headphone body and is connected to the wearing detection module and the earcup driving module of each earcup.
[0014] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the headphone control method described above.
[0015] This application provides a control method for headphones. The headphones include a headphone body and earcups disposed on both sides of the headphone body. Each earcup includes an inner contact portion and an outer contact portion surrounding the inner contact portion. Each earcup is provided with a wear detection module and an earcup driving module connected to its respective inner and outer contact portions. The control method for the headphones includes: detecting whether the headphones are in a wearing state through the wear detection module; when the headphones are detected to be in a wearing state, obtaining the duration of continuous contact between the earcups and the user's ear in the current wearing contact area; if the duration of continuous contact exceeds a preset contact duration threshold, controlling the earcup driving module to drive the inner and outer contact portions to switch between extension and retraction states, thereby changing the wearing contact area between the earcups and the user's ear.
[0016] Therefore, the technical solution provided in this application sets the contact area of the earcups of the headphones as independently retractable inner and outer contact parts, and configures a corresponding earcup driving module to connect the inner and outer contact parts, giving the earcups a variable hardware basis for the wearing contact area between the user's ears. Based on this, a wearing detection module is set on the earcups to detect whether the headphones are being worn. When the headphones are detected to be worn, the duration of continuous contact between the earcups and the user's ears in the current wearing contact area is recorded. If the duration of continuous contact in the same contact area exceeds a preset contact duration threshold, the earcup driving module is controlled to switch the inner and outer contact parts between retraction and extension, thereby changing the wearing contact area between the earcups and the user's ears. Thus, when a user wears headphones for a long time, the pressure on the user's ears will no longer be fixed in a single area, but will rotate between different contact areas, effectively avoiding excessive fatigue caused by prolonged continuous pressure on the same area, and to a certain extent preventing damage to the ears caused by prolonged headphone use, thus improving the user's wearing experience. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of the structure of the headphones provided in the first embodiment of this application; Figure 2 A schematic flowchart illustrating the control method for headphones provided in the first embodiment of this application; Figure 3 A flowchart illustrating the control method for headphones provided in the second embodiment of this application; Figure 4 A schematic flowchart illustrating the control method for headphones provided in the third embodiment of this application; Figure 5 A schematic flowchart illustrating the control method for headphones provided in the fourth embodiment of this application; Figure 6 This is a schematic diagram of the hardware operating environment involved in the embodiments of this application.
[0020] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0021] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0022] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0023] Headphones are widely used for music appreciation, gaming, remote work, and other scenarios due to their good soundstage performance and non-in-ear design.
[0024] However, in daily use, users are prone to ear fatigue due to prolonged wearing of headphones, which may even cause dual damage to the ears and hearing in severe cases, affecting the user's wearing experience.
[0025] Based on this, this application provides a control method for headphones. The headphones include a headphone body and earcups disposed on both sides of the headphone body. Each earcup includes an inner contact portion and an outer contact portion surrounding the inner contact portion. Each earcup is provided with a wear detection module and an earcup driving module connected to its respective inner and outer contact portions. The control method for the headphones includes: detecting whether the headphones are in a wearing state through the wear detection module; when the headphones are detected to be in a wearing state, obtaining the duration of continuous contact between the earcups and the user's ear in the current wearing contact area; if the duration of continuous contact exceeds a preset contact duration threshold, controlling the earcup driving module to drive the inner and outer contact portions to switch between extension and retraction states, thereby changing the wearing contact area between the earcups and the user's ear.
[0026] Therefore, the technical solution provided in this application sets the contact area of the earcups of the headphones as independently retractable inner and outer contact parts, and configures a corresponding earcup driving module to connect the inner and outer contact parts, giving the earcups a variable hardware basis for the wearing contact area between the user's ears. Based on this, a wearing detection module is set on the earcups to detect whether the headphones are being worn. When the headphones are detected to be worn, the duration of continuous contact between the earcups and the user's ears in the current wearing contact area is recorded. If the duration of continuous contact in the same contact area exceeds a preset contact duration threshold, the earcup driving module is controlled to switch the inner and outer contact parts between retraction and extension, thereby changing the wearing contact area between the earcups and the user's ears. Thus, when a user wears headphones for a long time, the pressure on the user's ears will no longer be fixed in a single area, but will rotate between different contact areas, effectively avoiding excessive fatigue caused by prolonged continuous pressure on the same area, and to a certain extent preventing damage to the ears caused by prolonged headphone use, thus improving the user's wearing experience.
[0027] The execution subject of the control method for headphones in this application can be a control module with data processing, network communication and program execution functions, or it can be a headphone including a control module. This embodiment does not specifically limit it in this way.
[0028] The following description uses headphones as an example to illustrate the various embodiments.
[0029] This application presents a control method for headphones according to a first embodiment. Please refer to [link / reference]. Figure 1 The headphones may include a headphone body and earcups located on both sides of the headphone body. Each earcup includes an inner contact portion and an outer contact portion surrounding the inner contact portion. Each earcup is equipped with a wear detection module and an earcup driving module connected to its respective inner and outer contact portions. Please refer to... Figure 2 The control method for headphones may include steps S10 to S30: Step S10: Detect whether the headphones are being worn using the wear detection module; It should be noted that the wear detection module may include, but is not limited to, proximity sensors, ultrasonic ranging sensors, and / or other sensor devices capable of sensing whether the headphones are being worn by the user. This embodiment does not specifically limit this. The detection principle of the wear detection module may be capacitance change, infrared reflection, pressure sensing, or ultrasonic ranging, as long as it can output a signal indicating whether the headphones are in contact with or close to the user's ear. The wearing state refers to the state in which the headphones are worn on the user's head, and the opposite is the non-wearing state, which is the state in which the headphones are not worn or have been removed.
[0030] In one feasible implementation, when the wear detection module includes a capacitive proximity sensor, the capacitive proximity sensor can be embedded inside the padding of the earcup facing the auricle. When a user puts on the headphones, the auricle comes into contact with the capacitive proximity sensor, causing a change in capacitance. The capacitive proximity sensor can convert this change in capacitance into a wear signal output. Therefore, by determining whether the change in capacitance is greater than a preset capacitance threshold, it can be determined whether the headphones are being worn.
[0031] In another feasible implementation, when the wear detection module includes an infrared reflective sensor, both the infrared emitter and receiver of the sensor face inwards towards the earcup. The infrared emitter emits infrared light outwards, and when the earcup is close to the user's ear, the infrared light is reflected to the infrared receiver. Therefore, by determining whether the intensity of the reflected light received by the infrared receiver exceeds a preset intensity threshold, it can be determined whether the headphones are being worn.
[0032] This embodiment uses a wearing detection module on the earcups of the headphones to sense in real time whether the headphones are being worn by the user, providing a basis for triggering and stopping timing in subsequent steps. Only when it is confirmed that the headphones are being worn will the accumulation of pressure duration in the same contact area begin, thus avoiding meaningless timing and switching actions when the headphones are not being worn.
[0033] Step S20: When it is detected that the headphones are being worn, obtain the duration of continuous contact between the earcups and the user's ears in the current wearing contact area; It should be noted that the current wearing contact area refers to the area on the earcup that is actually in contact with the user's ear and provides support at the current moment. Specifically, when the inner contact part is extended and the outer contact part is retracted, the current wearing contact area is the area corresponding to the inner contact part; when the inner contact part is retracted and the outer contact part is extended, the current wearing contact area is the area corresponding to the outer contact part. Continuous contact duration refers to the cumulative time that the earcup and the user's ear remain in contact within that wearing contact area since it was most recently identified as a support contact part.
[0034] Step S30: If the continuous contact duration exceeds the preset contact duration threshold, the earcup driving module is controlled to switch the inner and outer contact parts to extend and retract, thereby changing the wearing contact area between the earcup and the user's ear.
[0035] It should be noted that the preset contact duration threshold refers to the maximum duration of continuous pressure allowed within the same wearing contact area, which can be a default value, such as 10 minutes, or can be flexibly set according to the user's actual needs. This embodiment does not impose specific limitations on this. The earcup driving module is the actuator used to drive the inner and outer contact parts to perform extension and retraction actions, respectively. The driving method used by the earcup driving module can be motor drive, electromagnetic drive, piezoelectric drive, shape memory alloy drive, or airbag inflation / deflation drive, etc. This embodiment does not impose specific limitations on this.
[0036] When the earcup driving module switches the extension and retraction states of the inner and outer contact parts, if the current wearing contact area between the earcup and the user's ear is the inner contact part, the earcup driving module switches the inner contact part from the extended state to the retracted state and the outer contact part from the retracted state to the extended state; if the current wearing contact area between the earcup and the user's ear is the outer contact part, the earcup driving module switches the inner contact part from the retracted state to the extended state and the outer contact part from the extended state to the retracted state.
[0037] In this context, "extended state" refers to the inner or outer contact portion being positioned close to the user's ear, making contact and providing support. When a contact portion is in the extended state, the area corresponding to that contact portion is the currently worn contact area. "Retracted state" refers to the inner or outer contact portion being positioned away from the user's ear, not making contact. When a contact portion is in the retracted state, it yields to another contact portion, preventing pressure on the ear.
[0038] When switching between the inner and outer contact portions, in one feasible implementation, if the currently worn contact area is the inner contact portion, the inner contact portion is driven to retract, while the outer contact portion is driven to extend at the same rate; the two actions start and end synchronously. If the currently worn contact area is the outer contact portion, the outer contact portion is driven to retract, while the inner contact portion is driven to extend at the same rate. This implementation provides a crisp and efficient switching process with coordinated actions on both sides, allowing the user to perceive the change in contact area instantly.
[0039] In another feasible implementation, if the currently worn contact area is the inner ring contact portion, the inner ring contact portion is driven to gradually change from an extended state to a retracted state at a first speed curve, while the outer ring contact portion is driven to gradually change from a retracted state to an extended state at a second speed curve. The first and second speed curves partially overlap in time, so that during the middle period of the switching process, the inner and outer ring contact portions are simultaneously in a partially extended state for a short period, forming a double-support transition. After the transition, the inner ring contact portion is fully retracted, and the outer ring contact portion is fully extended. When the currently worn contact area is the outer ring contact portion, the driving direction is opposite, but the overlapping transition method is the same. This implementation makes the switching process smoother, and the user hardly notices the change in contact area, resulting in a more seamless experience.
[0040] In one feasible implementation, the earcup driving module may include a miniature stepper motor and a lead screw and nut mechanism connected to the miniature stepper motor. The inner and outer contact portions may be fixed to independent nut seats. After receiving a switching signal, the earcup driving module drives the lead screw to rotate, causing the nut seat corresponding to the currently extended contact portion to move backward along the lead screw, retracting the contact portion; simultaneously, the nut seat corresponding to the currently retracted contact portion moves forward along the lead screw, extending the contact portion.
[0041] In another feasible implementation, the earcup driving module may include a first shape memory alloy wire and a second shape memory alloy wire respectively connected to the inner ring contact portion and the outer ring contact portion; wherein, the shape memory alloy wire contracts when heated by electricity and returns to its original length when cooled by power-off. Thus, after receiving a switching signal, the earcup driving module can control the shape memory alloy wire connected to the contact portion currently in the extended state to be energized, causing the contact portion to retract; simultaneously, it can control the shape memory alloy wire connected to the contact portion currently in the retracted state to be de-energized, causing the contact portion to extend.
[0042] In one feasible implementation, the step of determining the preset contact duration threshold may include steps S31-S32: Step S31: Obtain the historical wearing duration sequence of the headphones worn by the user within a preset duration before the current moment; Step S32: Determine the preset contact duration threshold based on the historical wearing duration sequence.
[0043] It should be noted that the preset duration can be a default duration, such as one day, one week, or the last ten wears, or it can be flexibly set by the user according to the actual situation. This embodiment does not impose specific limitations on this. The historical wear duration sequence refers to the data set arranged in chronological order of the total continuous wear time of each single wear of the headphones by the user within the preset duration before the current moment. Among them, each data point in the historical wear duration sequence is the total duration of a complete wear process (i.e., from the time the wear detection module detects the wearing state to the time it detects the non-wearing state).
[0044] In this embodiment, by acquiring the user's historical wearing time sequence of the headphones within a preset time period prior to the current moment, and determining a preset wearing time threshold accordingly, the time interval for triggering the switching of the inner and outer contact parts (i.e., the preset contact time threshold) is no longer fixed, but adapts to the user's actual wearing behavior. For example, if the user's historical wearing data shows that they are accustomed to wearing the headphones for extended periods, the preset contact time threshold can be set to a larger value to avoid inconvenience caused by frequent switching; if the user's historical wearing data shows that their wearing time is short or fluctuates significantly, the preset contact time threshold can be adjusted accordingly to provide a suitable switching rhythm. Thus, this embodiment can achieve the anti-fatigue function while taking into account the differences in usage habits of different users or the same user at different times, thereby further improving the user's wearing experience.
[0045] Furthermore, in one feasible implementation, step S32 may include steps S321 to S323: Step S321: Determine the absolute difference between each pair of adjacent historical wearing durations in the historical wearing duration sequence, as the fluctuation range of each wearing duration; Step S322: If the fluctuation range of each wearing duration is less than the preset amplitude threshold, then calculate the product between the average value of each historical wearing duration in the historical wearing duration sequence and the first preset proportional coefficient, and use it as the preset contact duration threshold. Step S323: If there is a wearing duration fluctuation amplitude that is greater than or equal to a preset amplitude threshold in each wearing duration fluctuation amplitude, then calculate the product between the average value of each historical wearing duration in the historical wearing duration sequence and the second preset proportional coefficient, and use it as the preset contact duration threshold. The first preset proportional coefficient is less than the second preset proportional coefficient.
[0046] It should be noted that the preset amplitude threshold is a pre-set critical value used to determine whether the fluctuation amplitude of the wearing time is too large. It can be a default value or it can be flexibly set by the user according to the actual situation. This embodiment does not make specific limitations on it. The first preset ratio coefficient and the second preset ratio coefficient can both be a default value or they can be flexibly set by the user according to the actual situation. This embodiment does not make specific limitations on them.
[0047] In this embodiment, the stability of user wearing behavior is determined by measuring the fluctuation range between each adjacent pair of historical wearing durations in the historical wearing duration sequence. If the fluctuation range of each wearing duration is less than a preset threshold, it indicates that the user's wearing duration is relatively fixed each time, and the system has a high degree of confidence in the next wearing duration. In this case, a smaller first preset ratio coefficient can be used to make the preset contact duration threshold shorter, resulting in more proactive switching and a more significant anti-fatigue effect. If there are wearing duration fluctuation ranges greater than or equal to the preset threshold, it indicates that the user's wearing duration is inconsistent, and the system has difficulty predicting the next wearing duration. In this case, a larger second preset ratio coefficient can be used to make the preset contact duration threshold longer, avoiding interference caused by frequent switching when user behavior is uncertain. Thus, the switching interval no longer depends solely on the average of historical wearing durations but is also related to the predictability of user behavior, thereby further avoiding the damage to the ears caused by prolonged wearing of headphones and further improving the user's wearing experience.
[0048] This embodiment does not specifically limit the implementation of step S32. For example, in other feasible implementations, the product of the average value of each historical wearing duration in the historical wearing duration sequence and the preset proportional coefficient can be directly used as the preset contact duration.
[0049] As described above, the technical solution provided in this embodiment sets the contact area of the earcups of the headphones into independently retractable inner and outer contact parts, and configures a corresponding earcup driving module to connect the inner and outer contact parts, giving the earcups a variable hardware basis for the wearing contact area between the user's ears and the headphones. Based on this, a wearing detection module is installed on the earcups to detect whether the headphones are being worn. When the headphones are detected to be being worn, the duration of continuous contact between the earcups and the user's ears in the current wearing contact area is recorded. If the duration of continuous contact in the same contact area exceeds a preset contact duration threshold, the earcup driving module is controlled to switch the inner and outer contact parts between retraction and extension, thereby changing the wearing contact area between the earcups and the user's ears. Therefore, when a user wears headphones for a long time, the pressure on the user's ears will no longer be fixed in a single area, but will rotate between different contact areas, effectively avoiding excessive fatigue caused by prolonged continuous pressure on the same area. This, to a certain extent, avoids damage to the ears caused by prolonged headphone use and improves the user's wearing experience.
[0050] Based on the first embodiment described above, a second embodiment of the control method for headphones of this application is proposed. For the second embodiment, please refer to... Figure 3 Before step S30, the control method for the headphones may also include steps S301 to S303: Step S301: Within a preset time window after determining that the continuous contact duration is greater than the preset contact duration threshold, dynamically detect the real-time loudness of the audio signal currently played by the headphones. It should be noted that the preset time window is a detection period initiated after the continuous contact duration exceeds a preset contact duration threshold, used to find a suitable switching opportunity. The preset time window can be a default value, such as 30 seconds, or it can be flexibly set by the user according to the actual situation; this embodiment does not impose a specific limitation on this. Within the preset time window, the real-time loudness of the audio signal will be continuously monitored, rather than immediately performing a switch. Real-time loudness refers to the instantaneous loudness value of the audio signal currently played by the headphones at the detection moment, reflecting the instantaneous volume of the audio signal at the current detection moment.
[0051] When dynamically detecting the real-time loudness of the audio signal currently played by the headphones, detection can be performed in real time or periodically at certain time intervals; this embodiment does not specifically limit this. The instantaneous amplitude value of the audio signal can be collected as the real-time loudness; alternatively, a short-time Fourier transform can be performed on the audio signal to obtain the energy distribution of each frequency band, and the different frequency bands can be weighted and summed according to the characteristics of human hearing to obtain a real-time loudness that better reflects the loudness perceived by the human ear. This embodiment does not specifically limit the implementation method of step S301.
[0052] Step S302: If the real-time loudness is less than or equal to the preset loudness threshold, then execute the step of controlling the earmuff driving module to drive the inner ring contact part and the outer ring contact part to switch between extension and retraction states. It should be noted that the preset loudness threshold is a pre-set critical value used to determine whether the audio signal is in a low loudness state. It can be a default value or can be flexibly set by the user according to the actual situation. This embodiment does not make specific limitations on this. When the real-time loudness is less than or equal to the preset loudness threshold, it indicates that the current audio content is in a quiet segment, a musical phrase gap, or a dialogue pause, which is suitable for performing a scaling state switch.
[0053] Step S303: If all the real-time loudnesses detected within the preset time window are greater than the preset loudness threshold, then at the end of the preset time window, the step of controlling the earmuff driving module to drive the inner ring contact part and the outer ring contact part to switch between extension and retraction states is executed.
[0054] This embodiment, by setting the system so that after determining that the continuous contact duration exceeds a preset contact duration threshold, does not immediately execute the expansion / contraction state switching operation, but first searches for a quiet interval in the audio signal within a certain time window as the switching opportunity, and then executes the expansion / contraction state switching operation at that switching opportunity. Specifically, if the real-time loudness detected within the preset time window is less than or equal to the preset loudness threshold, it indicates that the audio content is currently in a low-loudness segment, and the switching action has minimal interference with the user's auditory experience, so the expansion / contraction state switching operation can be executed immediately; if the audio signal remains in a high-loudness state throughout the entire preset time window, to avoid prolonged pressure on the same contact area due to long waiting times, the expansion / contraction state switching operation can be forcibly executed at the end of the preset time window. Thus, this embodiment can effectively reduce the impact of the expansion / contraction state switching operation on the user's listening experience without sacrificing the anti-fatigue effect, thereby simultaneously considering health protection and auditory immersion.
[0055] Based on the first and / or second embodiments described above, a third embodiment of the control method for headphones according to this application is proposed. In the third embodiment, the headphones may further include a timing module disposed on the headphone body. Please refer to... Figure 4 The control method for headphones may also include steps S40~S70: Step S40: During the process of recording the continuous contact duration through the timing module, if the wearing detection module detects that the headphones have changed from a wearing state to a non-wearing state, then the contact part currently in the extended state is recorded, and the timing module is controlled to pause the timing. It should be noted that the timing module can be a timer or other device with timing function, and this embodiment does not specifically limit it. The contact part identifier is the marking information used to distinguish the inner ring contact part and the outer ring contact part. For example, it can be represented by the binary value "0" to represent the inner ring contact part and "1" to represent the outer ring contact part, or it can be represented by other encoding forms.
[0056] Step S50: If the headphone is detected to be in a wearing state again by the wearing detection module, determine the duration of the headphone being removed from the device; It should be noted that the off-ear time refers to the time elapsed from the moment the headphones are changed from a wearing state to a non-wearing state until the moment they are restored to a wearing state.
[0057] When determining the off-ear headphone duration, the system timestamp can be recorded as the off-ear start time when a non-wearing state is detected in step S40; when the wearing detection module detects that the headphone is in a wearing state again, the system timestamp can be recorded as the off-ear end time; the off-ear duration can be obtained by calculating the time difference between the off-ear end time and the off-ear start time.
[0058] Step S60: If the off-hook time is less than the preset off-hook time threshold, the timing module is controlled to continue timing based on the already timed continuous contact time. Step S70: If the off-hook time is greater than or equal to the preset off-hook time threshold, the timing module is reset and the timing module is restarted. The earcup drive module is controlled to drive the inner and outer contact parts to switch between extension and retraction states, so that the contact part identifier in the extended state when the timing restarts is different from the recorded contact part identifier.
[0059] It should be noted that the preset off-hook duration threshold is a pre-set critical duration used to distinguish between "short off-hook" and "long off-hook". It can be a default value or can be flexibly set by the user according to the actual situation. This embodiment does not make specific limitations on it.
[0060] In this embodiment, during the recording of continuous contact duration by the timing module, if the wearing detection module detects that the headphones have changed from a wearing state to a non-wearing state, it will record the contact part currently in the extended state and control the timing module to pause timing. If the wearing detection module detects that the headphones are wearing again, it will determine the off-hook duration. If the off-hook duration is less than the preset off-hook duration threshold, that is, when the user briefly removes the headphones (such as to answer a call or talk to someone) and then quickly puts them back on, it will be determined that this off-hook is a temporary interruption, and the timing can continue using the continuous contact duration accumulated before the off-hook, so as to maintain the original switching rhythm and avoid the switching cycle being disrupted due to brief off-hook. If the off-hook duration is greater than or equal to the preset off-hook duration threshold, that is, when the user removes the headphones for a long time and then puts them back on, it will be determined that the previous wearing session has ended and the current one is a new wearing session. The timing module can then be reset and the timing can be restarted. At the same time, an extension / retraction state switch is actively performed so that the contact part in the extended state when the timing restarts is different from the contact part before the off-hook.
[0061] Therefore, in this embodiment, not only is the duration of continuous pressure on the same contact area limited within a single wearing session, but the initial contact area is also alternated between different wearing sessions. That is, each time the user puts on the headphones again, the initial pressure position on the ear is different from the previous time, forming a double layer of anti-fatigue protection. This further avoids the cumulative fatigue caused by a fixed initial pressure point during long-term use, and improves the health and comfort of users who use headphones for a long time.
[0062] Based on the first, second, and / or third embodiments described above, a fourth embodiment of the control method for headphones according to this application is proposed. In this fourth embodiment, each earcup is equipped with a temperature acquisition module and a humidity acquisition module. Please refer to... Figure 5 The control method for headphones may also include steps S01~S02: Step S01: When it is detected that the headphones are being worn, the real-time contact temperature between the earcups and the user's ear in the current wearing contact area is collected by the temperature acquisition module, and the real-time contact humidity between the earcups and the user's ear in the current wearing contact area is collected by the humidity acquisition module. It should be noted that the temperature acquisition module can be a temperature sensor or other device with temperature acquisition function, etc., and this embodiment does not specifically limit it. The humidity acquisition module can be a humidity sensor or other device with humidity acquisition function, etc., and this embodiment does not specifically limit it.
[0063] Real-time contact temperature refers to the temperature of the contact interface between the earcup and the user's ear, detected by the temperature acquisition module at the current wearing contact area. This temperature is affected by the user's body temperature, ambient temperature, and the degree of airtightness of the contact area. Understandably, when the same contact area is continuously subjected to pressure, the real-time wearing temperature will usually gradually rise due to obstructed local ventilation and heat dissipation.
[0064] Real-time contact humidity refers to the humidity at the contact interface between the earcup and the user's ear, detected by the humidity acquisition module under the current wearing contact area. It's understandable that when the same contact area is under continuous pressure, the evaporation of sweat from the skin surface is hindered, causing the local humidity to gradually increase. Excessive humidity can exacerbate skin discomfort and a stuffy feeling.
[0065] Step S02: If the real-time contact temperature is greater than the preset temperature threshold and / or the real-time contact humidity is greater than the preset humidity threshold, then control the earmuff driving module to drive the inner ring contact part and the outer ring contact part to switch between extension and retraction states, so as to change the wearing contact area between the earmuff and the user's ear.
[0066] It should be noted that the preset temperature threshold is a pre-set critical temperature value at which the contact area temperature is determined to be too high and a switching mechanism needs to be triggered. This can be a default value or a value that the user can flexibly set according to actual conditions; this embodiment does not impose specific limitations on this. Similarly, the preset humidity threshold is a pre-set critical humidity value at which the contact area humidity is determined to be too high and a switching mechanism needs to be triggered. This can be a default value or a value that the user can flexibly set according to actual conditions; this embodiment does not impose specific limitations on this.
[0067] This embodiment incorporates temperature and humidity acquisition modules on the earcups. When the headphones are detected as being worn, it not only records the duration of continuous contact between the earcups and the user's ear in the current contact area, but also simultaneously collects real-time contact temperature and humidity data using the temperature and humidity acquisition modules. Therefore, when continuous pressure on the same contact area causes the local temperature and / or humidity to rise to a preset threshold, even if the continuous contact time has not yet reached the threshold, a switching of the extension / retraction state can be triggered in advance. This proactive intervention before fatigue develops provides more timely and physiologically responsive anti-fatigue protection, further preventing ear damage caused by prolonged headphone use and improving the user's wearing experience.
[0068] This application embodiment also provides a control module, which may include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the headphone control method in the above embodiment.
[0069] The following is for reference. Figure 6 It shows a schematic diagram of the structure of a control module suitable for implementing the embodiments of this application. Figure 6 The control module shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0070] like Figure 6 As shown, the control module may include a processing device 101 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in read-only memory 102 or a program loaded from storage device 103 into random access memory 104. Random access memory 104 also stores various programs and data required for the operation of the control module. The processing device 101, read-only memory 102, and random access memory 104 are interconnected via bus 105. Input / output interface 106 is also connected to bus 105. Typically, the following systems can be connected to input / output interface 106: input devices 107 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 108 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 103 including, for example, magnetic tape, hard disks, etc.; and communication devices 109. Communication device 109 allows the control module to communicate wirelessly or wiredly with other devices to exchange data. Although the diagram shows control modules with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented alternatively.
[0071] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 103, or installed from read-only memory 102. When the computer program is executed by processing device 101, it performs the functions defined in the methods of the embodiments of this application.
[0072] The control module provided in this application adopts the headphone control method in the above embodiments, which can, to a certain extent, avoid the damage to the ears caused by prolonged use of headphone, thereby improving the user's wearing experience. Compared with the prior art, the beneficial effects of the control module provided in this application are the same as those of the headphone control method provided in the above embodiments, and other technical features in this control module are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0073] It should be understood that various parts of the embodiments of this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0074] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the above claims.
[0075] This application embodiment also provides a headset, which may include: The earphone itself; The earcups located on both sides of the headphone body include an inner ring contact portion and an outer ring contact portion surrounding the inner ring contact portion. Each earcup is also equipped with a wear detection module and an earcup drive module connected to its respective inner ring contact portion and outer ring contact portion. The control module in the above embodiment is located on the headphone body and is connected to the wearing detection module and the earcup driving module of each earcup.
[0076] Compared with the prior art, the beneficial effects of the headset provided in this application embodiment are the same as the beneficial effects of the headset control method provided in the above embodiments, and other technical features of the headset are the same as the features disclosed in the above embodiment method, and will not be repeated here.
[0077] This application also provides a computer-readable storage medium storing a computer program that can run on a processor, the computer program being used to execute the headphone control method described in the above embodiments.
[0078] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0079] The aforementioned computer-readable storage medium may be included in the control module; or it may exist independently and not be assembled into the control module.
[0080] The aforementioned computer-readable storage medium carries one or more programs. When the control module executes the aforementioned one or more programs, the control module causes the control module to: detect whether the headphones are being worn through the wearing detection module; if the headphones are being worn, obtain the duration of continuous contact between the earcups and the user's ear in the current wearing contact area; if the duration of continuous contact exceeds a preset contact duration threshold, control the earcup driving module to drive the inner and outer contact parts to switch between extension and retraction states, thereby changing the wearing contact area between the earcups and the user's ear.
[0081] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0082] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0083] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0084] The computer-readable storage medium provided in this application embodiment stores computer-readable program instructions for executing the above-described headphone control method, which can, to a certain extent, avoid the damage to the ears caused by prolonged wearing of headphones, thereby improving the user's wearing experience. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application embodiment are the same as the beneficial effects of the headphone control method provided in the above embodiments, and will not be repeated here.
[0085] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the control method for headphones as described above.
[0086] The computer program product provided in this application can, to a certain extent, avoid the damage to the ears caused by prolonged wearing of headphones, thereby improving the user's wearing experience. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the headphone control method provided in the above embodiments, and will not be repeated here.
[0087] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A control method for headphones, characterized in that, The headphones include a headphone body and earcups disposed on both sides of the headphone body. Each earcup includes an inner ring contact portion and an outer ring contact portion surrounding the inner ring contact portion. Each earcup is provided with a wear detection module and an earcup driving module connected to its respective inner ring contact portion and outer ring contact portion. The method includes: The wearing detection module detects whether the headphones are being worn. When the headphones are detected to be in a wearing state, the duration of continuous contact between the earcups and the user's ear in the current wearing contact area is obtained; If the duration of continuous contact exceeds a preset contact duration threshold, the earmuff driving module is controlled to switch the inner and outer contact portions to extend or retract, thereby changing the contact area between the earmuff and the user's ear.
2. The method as described in claim 1, characterized in that, The step of controlling the earmuff driving module to switch the inner and outer contact parts to extend or retract includes: When the current wearing contact area between the earmuff and the user's ear is the inner ring contact portion, the earmuff driving module is controlled to drive the inner ring contact portion from the extended state to the retracted state, and to drive the outer ring contact portion from the retracted state to the extended state. When the current wearing contact area between the earmuff and the user's ear is the outer ring contact portion, the earmuff driving module is controlled to drive the inner ring contact portion to switch from a retracted state to an extended state, and to drive the outer ring contact portion to switch from an extended state to a retracted state.
3. The method as described in claim 1, characterized in that, Before the step of controlling the earmuff driving module to switch the inner and outer contact portions between extension and retraction states, the method further includes: Within a preset time window after determining that the continuous contact duration exceeds the preset contact duration threshold, the real-time loudness of the audio signal currently played by the headphones is dynamically detected. If the real-time loudness is less than or equal to a preset loudness threshold, then the step of controlling the earmuff driving module to drive the inner ring contact part and the outer ring contact part to switch between extension and retraction states is executed; If all real-time loudnesses detected within the preset time window are greater than the preset loudness threshold, then at the end of the preset time window, the step of controlling the earmuff driving module to drive the inner ring contact portion and the outer ring contact portion to switch between extension and retraction states is executed.
4. The method as described in claim 1, characterized in that, The steps for determining the preset contact duration threshold include: Obtain the historical wearing duration sequence of the headphones worn by the user within a preset time period prior to the current moment; The preset contact duration threshold is determined based on the historical wearing duration sequence.
5. The method as described in claim 4, characterized in that, The step of determining the preset contact duration threshold based on the historical wearing duration sequence includes: The absolute difference between each two adjacent historical wearing durations in the historical wearing duration sequence is determined as the fluctuation range of each wearing duration. If the fluctuation range of each of the aforementioned wearing durations is less than the preset amplitude threshold, then the product between the average value of each historical wearing duration in the historical wearing duration sequence and the first preset proportional coefficient is calculated as the preset contact duration threshold. If any of the wear duration fluctuations is greater than or equal to the preset amplitude threshold, then the product of the average value of each historical wear duration in the historical wear duration sequence and the second preset proportional coefficient is calculated as the preset contact duration threshold. Wherein, the first preset proportional coefficient is less than the second preset proportional coefficient.
6. The method according to any one of claims 1 to 5, characterized in that, The headphones also include a timing module disposed on the headphone body, and the method further includes: During the recording of the continuous contact duration by the timing module, if the wearing detection module detects that the headphones have changed from a wearing state to a non-wearing state, the contact part currently in the extended state is recorded, and the timing module is controlled to pause the timing. If the wearing detection module detects that the headphones are being worn again, the duration of the headphones being removed is determined. If the off-hook duration is less than a preset off-hook duration threshold, the timing module is controlled to continue timing based on the already timed continuous contact duration; If the off-ear duration is greater than or equal to the preset off-ear duration threshold, the timing module is reset and the timing module is controlled to restart the timing. The earcup driving module is also controlled to drive the inner ring contact part and the outer ring contact part to switch between extension and retraction states, so that the contact part identifier in the extended state when the timing restarts is different from the recorded contact part identifier.
7. The method according to any one of claims 1 to 5, characterized in that, Each of the earmuffs is equipped with a temperature acquisition module and a humidity acquisition module, and the method further includes: When the headphones are detected to be in a wearing state, the real-time contact temperature between the earcups and the user's ear in the current wearing contact area is collected by the temperature acquisition module, and the real-time contact humidity between the earcups and the user's ear in the current wearing contact area is collected by the humidity acquisition module. If the real-time contact temperature is greater than a preset temperature threshold, and / or the real-time contact humidity is greater than a preset humidity threshold, then the earmuff driving module is controlled to switch the inner ring contact portion and the outer ring contact portion to change the wearing contact area between the earmuff and the user's ear.
8. A control module, characterized in that, The control module includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the control method for headphones as described in any one of claims 1 to 7.
9. A type of headset, characterized in that, The headset includes: The earphone itself; The earcups located on both sides of the headphone body include an inner ring contact portion and an outer ring contact portion surrounding the inner ring contact portion. Each earcup is also provided with a wear detection module and an earcup driving module connected to its respective inner ring contact portion and outer ring contact portion. The control module as described in claim 8 is located on the headphone body and is connected to the wearing detection module and the earcup driving module of each earcup.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the control method for headphones as described in any one of claims 1 to 7.