Earphone equipment operation state switching method, earphone equipment, medium and product

By incorporating a fabric connecting component within the headphone device, the speaker control circuit is automatically adjusted based on the voltage signal value under different compression states. This solves the problem of headphone device operation state switching relying on manual operation, achieving automatic switching and power consumption optimization, and improving the user experience.

CN121056771APending Publication Date: 2025-12-02GEER INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410683282.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2025-12-02

AI Technical Summary

Technical Problem

In the existing technology, the switching of the operating state of a headset device relies on the wearer manually touching a hardware switch, which makes the control process inconvenient.

Method used

By configuring a fabric connecting component inside the headphone device, different voltage signal values ​​are generated by the fabric connecting component under different compression states. The real-time voltage signal value is obtained and the speaker control circuit is adjusted to realize the automatic switching of the headphone device's operating state.

Benefits of technology

It enables automatic switching of the headphone's operating state, reducing inconvenience for the wearer during the control process, minimizing the headphone's operating power consumption, and reducing storage space through the folding characteristics of the fabric connecting parts, thus improving the wearer's user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121056771A_ABST
    Figure CN121056771A_ABST
Patent Text Reader

Abstract

The invention discloses an earphone equipment running state switching method, earphone equipment, a medium and a product, and relates to the technical field of earphone equipment, and the earphone equipment running state switching method is applied to the earphone equipment provided with a fabric connecting part and a loudspeaker control circuit. The method specifically comprises the steps that real-time voltage signal values generated in a fabric connecting component are obtained, and the fabric connecting component generates different voltage signal values in different extrusion states; and adjusting the loudspeaker control circuit according to the real-time voltage signal value so as to switch the operation state of the earphone equipment. The technical effect that the earphone equipment can automatically switch the running state of the earphone equipment is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of headphone device technology, and in particular to a method for switching the operating state of a headphone device, a headphone device, a storage medium, and a computer program product. Background Technology

[0002] With the continuous development of the headphone industry, headphone devices have become an indispensable part of the daily lives of more and more people. Among them, over-ear headphones have become the first choice for many wearers due to their excellent sound quality and wearing comfort.

[0003] In related technologies, switching the operating state of a headset device relies on the wearer manually touching a hardware switch on the headset. However, this control method often causes considerable inconvenience for the wearer.

[0004] Therefore, how to enable headphone devices to automatically switch their operating states has become a technical problem that urgently needs to be solved in the industry. Summary of the Invention

[0005] The main objective of this application is to provide a method for switching the operating state of a headphone device, a headphone device, a storage medium, and a computer program product, aiming to solve the technical problem in the related art where the wearer can only control the headphone device to switch its operating state by touching a hardware switch on the headphone device, which causes many inconveniences for the wearer during the control process.

[0006] To achieve the above objectives, this application proposes a method for switching the operating state of an earphone device. This method is applied to an earphone device equipped with a fabric connecting component and a speaker control circuit. The method includes:

[0007] The real-time voltage signal value generated within the fabric connecting component is obtained, wherein the fabric connecting component generates different voltage signal values ​​under different compression states;

[0008] The speaker control circuit is adjusted according to the real-time voltage signal value to switch the operating state of the headphone device.

[0009] In one embodiment, the fabric connecting component includes an earphone shell fabric connecting component, the real-time voltage signal value includes a first voltage signal value corresponding to the earphone shell fabric connecting component, the speaker control circuit includes a left speaker control circuit and a right speaker control circuit, and the operating state includes a light sleep state.

[0010] The step of adjusting the speaker control circuit according to the real-time voltage signal value to switch the operating state of the headphone device includes:

[0011] Obtain a preset voltage signal threshold and determine whether the first voltage signal value reaches the preset voltage signal threshold;

[0012] If it is determined that the first voltage signal value reaches the preset voltage signal threshold, the left speaker control circuit and / or the right speaker control circuit are adjusted to the off state to switch the operating state of the headphone device to the light sleep state.

[0013] In one embodiment, the operating state further includes a normal operating state;

[0014] After the step of determining whether the first voltage signal value reaches the preset voltage signal threshold, the method further includes:

[0015] If it is determined that the first voltage signal value has not reached the preset voltage signal threshold, the left speaker control circuit and / or the right speaker control circuit are adjusted to the on state to switch the operating state of the headphone device to the normal operating state.

[0016] In one embodiment, the fabric connecting component further includes a head fabric connecting component, the real-time voltage signal value further includes a second voltage signal value corresponding to the head fabric connecting component, the speaker control circuit further includes a main speaker control circuit, and the operating state further includes a deep sleep state.

[0017] The step of adjusting the speaker control circuit according to the real-time voltage signal value to switch the operating state of the headphone device further includes:

[0018] Obtain a preset voltage signal threshold and determine whether the second voltage signal value reaches the preset voltage signal threshold;

[0019] If it is determined that the second voltage signal value reaches the preset voltage signal threshold, the main speaker control circuit is adjusted to the off state to switch the operating state of the headphone device to the deep sleep state.

[0020] In one embodiment, after the step of determining whether the second voltage signal value reaches the preset voltage signal threshold, the method further includes:

[0021] If it is determined that the second voltage signal value has not reached the preset voltage signal threshold, the main speaker control circuit is adjusted to the on state to switch the operating state of the headphone device to the mild sleep state or the normal operating state.

[0022] In one embodiment, prior to the step of acquiring the real-time voltage signal value generated within the fabric connection component, the method further includes:

[0023] The fabric compression state among the multiple fabrics contained in the fabric connecting component is detected, wherein the fabric compression state includes a first compression state and a second compression state, and the degree of compression corresponding to the first compression state is greater than the degree of compression corresponding to the second compression state.

[0024] When the fabric is in the first compression state, the voltage signal generated in the fabric connecting component is controlled to be a third voltage signal value.

[0025] When the fabric is in the second compression state, the voltage signal generated in the fabric connecting component is controlled to be a fourth voltage signal value, wherein the fourth voltage signal value is less than the third voltage signal value.

[0026] In one embodiment, a pressure signal acquisition device is disposed between the plurality of fabrics, and the step of detecting the fabric compression state between the plurality of fabrics included in the fabric connecting member includes:

[0027] The pressure signal acquisition device detects real-time pressure parameters generated between multiple fabrics.

[0028] The comparison results are obtained by comparing the real-time pressure parameters with the preset pressure parameters;

[0029] When the comparison result shows that the real-time pressure parameter reaches the preset pressure parameter, the fabric compression state between the multiple fabrics is determined as the first compression state;

[0030] When the comparison result shows that the real-time pressure parameter does not reach the preset pressure parameter, the fabric compression state is determined to be the second compression state.

[0031] In addition, to achieve the above objectives, this application also proposes an earphone device, the device comprising: 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 steps of the earphone device operating state switching method as described above.

[0032] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the headphone device operating state switching method described above.

[0033] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the headphone device operating state switching method described above.

[0034] The headphone device operation state switching method proposed in this application is applied to a headphone device equipped with a fabric connecting component and a speaker control circuit. The method involves acquiring a real-time voltage signal value generated within the fabric connecting component, wherein the fabric connecting component generates different voltage signal values ​​under different compression states; and adjusting the speaker control circuit based on the real-time voltage signal value to switch the operation state of the headphone device.

[0035] In this embodiment, when the headphone device is running, it first detects the fabric connecting component configured on its own, thereby reading the real-time voltage signal value generated by the fabric connecting component based on its corresponding compression state. Then, the headphone device can determine the compression state corresponding to the fabric connecting component based on the acquired real-time voltage signal value, and determine whether the headphone device is in a folded state based on the compression state. Based on the determination result, the headphone device adjusts the speaker control circuit configured in the headphone device, thereby switching the operating state of the headphone device to a working state or a sleep state.

[0036] Thus, this application solves the technical problem in related technologies where the wearer can only control the headphone device to switch its operating state by touching a hardware switch on the headphone device, which causes many inconveniences for the wearer during the control process. That is, this application detects the voltage signal value in the fabric connecting part configured in the headphone device, and determines whether the wearer has folded the headphone device based on the voltage signal value. Based on the determination result, it further determines whether the wearer is using the headphone device, thereby adjusting the on / off state of the speaker control circuit, thereby achieving the technical effect of enabling the headphone device to automatically switch its operating state. Attached Figure Description

[0037] 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.

[0038] 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.

[0039] Figure 1 This is a flowchart illustrating the first embodiment of the headphone device operation state switching method of this application;

[0040] Figure 2 This is a schematic diagram of the headphone device structure according to an embodiment of the headphone device operation state switching method of this application;

[0041] Figure 3 This is a schematic diagram of the fabric connecting component structure involved in an embodiment of the headphone device operation state switching method of this application;

[0042] Figure 4 This is a schematic diagram of the fabric compression state involved in an embodiment of the headphone device operation state switching method of this application;

[0043] Figure 5 This is a schematic diagram of the fabric winding method involved in an embodiment of the headphone device operation state switching method of this application;

[0044] Figure 6 This is a schematic diagram of the functional modules of the headphone device involved in an embodiment of the headphone device operation state switching method of this application;

[0045] Figure 7 This is a first simplified flowchart illustrating the method for switching the operating state of the headphone device according to this application;

[0046] Figure 8 This is a second simplified flowchart illustrating the method for switching the operating state of the headphone device according to this application;

[0047] Figure 9 This is a schematic diagram of the hardware operating environment involved in the headphone device operating state switching method in this application embodiment.

[0048] 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

[0049] 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.

[0050] 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.

[0051] In this embodiment, for ease of description, the following will be used as... Figure 6The following description focuses on a headset device internally configured with multiple fabric connecting components (including a headphone fabric connecting component and an earphone shell fabric connecting component, wherein the earphone shell fabric connecting component may include a left earphone shell fabric connecting component and a right earphone shell fabric connecting component, which will be described in detail later), a data collection module, a microprocessor, and a power management module. It can be understood that the data collection module is used to detect the voltage signal values ​​output by each of the multiple fabric connecting components and to summarize and transmit these voltage signal values ​​to the microprocessor. Furthermore, the microprocessor, specifically a microcontroller or similar microprocessor, is used to receive the voltage signal values ​​fed back from the data collection module and to perform different control processing based on the different voltage signal values. Additionally, the power management module, composed of a power management chip, is used to provide current to the fabric connecting components based on the degree of compression between the multiple fabrics within the fabric connecting components.

[0052] In addition, please refer to Figure 2 , Figure 2 This is a schematic diagram of the headphone device structure according to an embodiment of the headphone device operation state switching method of this application, as shown below. Figure 2 As shown, the headset device may specifically include a left earphone shell fabric connecting component, a right earphone shell fabric connecting component, and a headband fabric connecting component. The left earphone shell fabric connecting component connects the left earphone shell of the headset device to the headband support, the right earphone shell fabric connecting component connects the right earphone shell of the headset device to the headband support, and the headband fabric connecting component connects the left and right support brackets within the headband support. Further, please refer to... Figure 3 and Figure 5 ,in, Figure 3 This is a schematic diagram of the fabric connecting component structure involved in an embodiment of the headphone device operating state switching method of this application. Figure 5 This is a schematic diagram of the fabric winding method involved in an embodiment of the headphone device operation state switching method of this application, as shown below. Figure 3 and Figure 5As shown, the fabric connecting component is composed of at least two intersecting fabric strands containing internal wiring. The power management module within the headphone device can input different currents into the fabric based on the compression state between the two fabric strands. For example, when the power management module detects that the two fabric strands are not under compression, it does not supply power to the wiring within the fabric. In this case, the data collection module collects a voltage signal value of 0 within the fabric connecting component. Similarly, when the power management module detects that the two fabric strands are under standard compression, it can input a voltage of 3.3V into the wiring within the fabric. In this case, the data collection module collects a voltage signal value of 3.3V within the fabric connecting component. Likewise, when the power management module detects that the two fabric strands are under severe compression, it can input a voltage of 5V into the wiring within the fabric. In this case, the data collection module collects a voltage signal value of 5V within the fabric connecting component.

[0053] Based on the aforementioned headphone device, this application presents the overall concept of a method for switching the operating state of the headphone device.

[0054] With the continuous development of the headphone industry, headphone devices have become an indispensable part of daily life for more and more people. Among them, over-ear headphones have become the first choice for many users due to their superior sound quality and wearing comfort. In related technologies, engineers often incorporate large speakers into over-ear headphones to ensure a sufficiently good sound quality experience for the wearer. However, with such large speakers, it is often difficult for the wearer to effectively store the headphones after removing them. Furthermore, in related technologies, switching the operating state of over-ear headphones relies on the wearer manually touching a hardware switch on the headphone. However, this control method often causes considerable inconvenience for the wearer.

[0055] To address the above issues, this application provides a method for switching the operating state of an earphone device. This method is applied to an earphone device equipped with a fabric connecting component and a speaker control circuit. The method includes: acquiring a real-time voltage signal value generated within the fabric connecting component, wherein the fabric connecting component generates different voltage signal values ​​under different compression states; and adjusting the speaker control circuit based on the real-time voltage signal value to switch the operating state of the earphone device.

[0056] Thus, this application solves the technical problem in related technologies where the wearer can only control the headphone device to switch its operating state by touching a hardware switch on the headphone device, causing considerable inconvenience during control. Specifically, this application detects the voltage signal value within the fabric connecting component inside the headphone device and determines whether the wearer has folded the headphone device based on the voltage signal value. Based on the determination result, it further determines whether the wearer is using the headphone device and adjusts the on / off state of the speaker control circuit accordingly. This intelligently switches the operating state of the headphone device based on the usage scenario, minimizing power consumption without requiring manual switching by the user, effectively achieving the technical effect of automatically switching the headphone device's operating state. Furthermore, by configuring multiple fabric connecting components within the headphone device, this application also utilizes the foldable nature of the fabric connecting components, allowing the wearer to fold the headphone device after removing it, thereby reducing storage space and further improving the user experience.

[0057] Based on the overall concept of the headphone device operating state switching method of this application, the embodiments of this application provide a method for switching the operating state of a headphone device, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the headphone device operation state switching method of this application.

[0058] In this embodiment, the headphone device operating state switching method is applied to a headphone device equipped with a fabric connecting component and a speaker control circuit. The headphone device operating state switching method includes steps S10 to S30:

[0059] Step S10: Obtain the real-time voltage signal value generated in the fabric connecting component, wherein the fabric connecting component generates different voltage signal values ​​under different compression states;

[0060] It should be noted that, as Figure 5 As shown, the fabric connecting component is composed of at least two intersecting fabric strands with internal wiring, and is used to connect a bendable area within the headphone device. It is understood that this application does not limit the number of fabric strands contained in the fabric connecting component.

[0061] In this embodiment, when the headphone device is running, it first calls its own configured data collection module to detect the fabric connecting parts contained in the headphone folding area, thereby obtaining the real-time voltage signal values ​​of multiple fabrics output within the fabric connecting parts that correspond to the compression state it is in.

[0062] For example, when the headphone device is configured with a left earphone shell folding area, a right earphone shell folding area, and a headrest folding area, a left earphone shell fabric connecting component, a right earphone shell fabric connecting component, and a headrest fabric connecting component are respectively configured in the left earphone shell folding area, the right earphone shell folding area, and the headrest folding area. When the wearer does not need to use the headphone device, the headphone device can be folded by bending the left earphone shell fabric connecting component, the right earphone shell fabric connecting component, and the headrest fabric connecting component. At this time, the headphone device calls its own configured data collection module to first detect the left earphone shell fabric connecting component in the left earphone shell folding area, thereby obtaining the real-time voltage signal value output by the fabric in the left earphone shell fabric connecting component when it is in the first compression state.

[0063] It should be noted that, in this embodiment and another embodiment, the data collection module may first detect the right earphone shell fabric connecting component in the folding area of ​​the right earphone shell, or the data collection module may first detect the head fabric connecting component in the folding area of ​​the headrest bracket, thereby determining whether the wearer directly folds the right earphone shell or the headrest bracket; in addition, the data collection module may also simultaneously detect the left earphone shell fabric connecting component, the right earphone shell fabric connecting component, and the head fabric connecting component, thereby determining the folding situation inside the headphone device.

[0064] In this way, the headphone device can obtain the real-time voltage signal value of the fabric connecting parts in the multiple folding areas configured within itself, and then determine the compression state of the fabric connecting parts based on the real-time voltage signal value, and determine whether the wearer has folded the headphone device based on the compression state, and further determine the circuit control strategy to be executed based on the judgment result.

[0065] Step S20: Adjust the speaker control circuit according to the real-time voltage signal value to switch the operating state of the headphone device;

[0066] It should be noted that the speaker control circuit is a circuit used to control the output of sound signals from the headphone device through the speaker. Specifically, it consists of a left speaker control circuit, a right speaker control circuit, and a main speaker control circuit. The left speaker control circuit and the right speaker control circuit are connected to the main speaker control circuit. It can be understood that when the main speaker control circuit is turned off, the left speaker control circuit and the right speaker control circuit connected to it will also be turned off. Furthermore, the operating states specifically include normal operation, light sleep, and deep sleep. Light sleep mode means only the left speaker control circuit and / or the right speaker control circuit are off. This is understandable because if the wearer only folds the earphone shell containing the speakers without folding the headrest, and still needs to use the headphones, the headphones can adjust only the left and / or right speaker control circuits within the earphone shell area to reduce power consumption and ensure quick return to normal operation when the earphone shell is unfolded. Similarly, deep sleep mode means the entire speaker control circuit is off. This is understandable because if the wearer folds the headrest, it's certain they don't need to use the headphones, so the headphones can adjust the entire speaker control circuit to ensure all hardware except the data collection module enters sleep mode, minimizing power consumption and improving battery life.

[0067] In this embodiment, after the data collection module acquires the real-time voltage signal value contained in the fabric connecting component, it inputs the acquired real-time voltage signal value to the microprocessor configured in the headphone device. The microprocessor determines the compression state corresponding to the fabric connecting component based on the acquired real-time voltage signal value, and determines whether the headphone device is in a folded state based on the compression state. Then, it adjusts the speaker control circuit according to the judgment result to switch the operating state of the headphone device.

[0068] For example, after the data collection module obtains a real-time voltage signal value of 3.3V generated in the fabric connection component of the left earphone shell, it inputs the real-time voltage signal value to the microprocessor configured in the earphone device. The microprocessor then determines based on the real-time voltage signal value that the fabric connection component of the left earphone shell is in a second compression state with a relatively light compression degree, and determines that the wearer has not folded the left earphone shell connected to the fabric connection component of the left earphone shell. At this time, the microprocessor adjusts the left speaker control circuit used to control the left speaker, thereby turning on the left speaker control circuit to switch the operating state of the earphone device to the normal operating state.

[0069] In another embodiment, after the data collection module obtains a real-time voltage signal value of 5V generated in the fabric connecting part of the left earphone shell, it inputs the real-time voltage signal value to the microprocessor configured in the earphone device. The microprocessor then determines based on the real-time voltage signal value that the fabric connecting part of the left earphone shell is in a first compression state with a relatively heavy compression degree, and determines that the wearer has folded the left earphone shell connected to the fabric connecting part of the left earphone shell. At this time, the microprocessor adjusts the left speaker control circuit used to control the left speaker, thereby causing the left speaker control circuit to enter the off state, so as to switch the operating state of the earphone device to a light sleep state.

[0070] In this way, the headphone device can determine the compression state of the fabric connecting parts based on the real-time voltage signal value, and determine whether the wearer has folded the headphone device based on the compression state, thereby adjusting the connection state of the speaker control circuit to change the operating state of the headphone device itself.

[0071] In one feasible implementation, the fabric connecting component includes an earphone shell fabric connecting component, the real-time voltage signal value includes a first voltage signal value corresponding to the earphone shell fabric connecting component, the speaker control circuit includes a left speaker control circuit and a right speaker control circuit, and the operating state includes a light sleep state; the above step S20 may specifically include steps S201 to S202:

[0072] Step S201: Obtain a preset voltage signal threshold and determine whether the first voltage signal value reaches the preset voltage signal threshold;

[0073] Step S202: If it is determined that the first voltage signal value reaches the preset voltage signal threshold, then adjust the left speaker control circuit and / or the right speaker control circuit to the off state to switch the operating state of the headphone device to the light sleep state.

[0074] It should be noted that the preset voltage signal threshold is used to determine whether the voltage signal value generated within the fabric connecting component is sufficient to indicate whether the fabric connecting component is in a compressed state (i.e., the first compression state) or a relaxed state (i.e., the second compression state). Furthermore, if the headphone device inputs a third voltage signal value to the fabric connecting component when it is in a compressed state, and inputs a fourth voltage signal value when it is in a relaxed state, the specific value of the preset voltage signal threshold should be between the third and fourth voltage signal values. It can be understood that the first voltage signal value is a real-time signal value collected within the headphone shell fabric connecting component, and its specific value can be equal to either the third or fourth voltage signal value.

[0075] In this embodiment, if the microprocessor obtains the first voltage signal value corresponding to the headphone shell fabric connecting component, it first acquires a preset voltage signal threshold for determining whether the fabric connecting component is in a first compression state, and compares the first voltage signal value generated in the left headphone shell fabric connecting component with the preset voltage signal threshold to determine whether the first voltage signal value has reached the preset voltage signal threshold. Then, when the microprocessor detects that the first voltage signal value has reached the preset voltage signal threshold, it determines that the headphone shell fabric connecting component is in a first compression state. The microprocessor then adjusts the left speaker control circuit and / or the right speaker control circuit corresponding to the headphone shell fabric connecting component to the off state, thereby switching the operating state of the headphone device from the normal operating state to the mild sleep state.

[0076] For example, if the real-time voltage signal value obtained by the microprocessor is the first voltage signal value generated in the left earphone shell fabric connecting part located in the left earphone shell, the microprocessor reads the storage device configured in the headphone device, and obtains a preset voltage signal threshold of 4V for determining whether the left earphone shell fabric connecting part is in a compressed state through the storage device. If the first voltage signal value obtained by the microprocessor is 5V, it can be determined that the first voltage signal value has reached the preset voltage signal threshold, and it can be determined that the left earphone shell fabric connecting part is in a compressed state at this time, thereby determining that the wearer has folded the left earphone shell where the left speaker is located to a fully retracted state. At this time, the processor determines that the wearer does not need to use the speaker in the left earphone shell, and the microprocessor then adjusts the left speaker control circuit for controlling the speaker in the left earphone shell to enter the off state, so that the operating state of the headphone device switches from the normal operating state to a light sleep state.

[0077] Similarly, if the real-time voltage signal value obtained by the microprocessor is the first voltage signal value generated in the right earphone shell fabric connecting part located in the right earphone shell, the microprocessor reads the storage device configured in the headphone device, and obtains the preset voltage signal threshold of 4V for determining whether the right earphone shell fabric connecting part is in a compressed state through the storage device. If the first voltage signal value obtained by the microprocessor is 5V, it can be determined that the first voltage signal value has reached the preset voltage signal threshold, and it can be determined that the right earphone shell fabric connecting part is in a compressed state at this time. Thus, it can be determined that the wearer has folded the right earphone shell where the right speaker is located to a fully retracted state. At this time, the processor determines that the wearer does not need to use the speaker in the right earphone shell, and the microprocessor then adjusts the right speaker control circuit used to control the speaker in the right earphone shell to enter the off state, so that the operating state of the headphone device switches from the normal operating state to a light sleep state.

[0078] In this way, the headphone device can determine whether the wearer has folded the headphone shell to a fully retracted state based on the voltage signal value detected by the fabric connection component of the headphone shell. When it is determined that the wearer has folded the headphone shell to a fully retracted state, the speaker control circuit inside the headphone device used to control the speaker is adjusted to a closed state, thereby putting the headphone device into a light sleep state, so as to significantly reduce the power consumption generated by the headphone device when the wearer is not using the headphone device.

[0079] In one feasible implementation, the operating state further includes a normal operating state; after step S202 above, the method for switching the operating state of the headphone device of this application may further include step S203:

[0080] Step S203: If it is determined that the first voltage signal value has not reached the preset voltage signal threshold, then adjust the left speaker control circuit and / or the right speaker control circuit to the on state, so as to switch the operating state of the headphone device to the normal operating state;

[0081] In this embodiment, if the microprocessor detects that the first voltage signal value has not reached the preset voltage signal threshold, it determines that the headphone shell fabric connecting component is in the second compression state. The microprocessor then adjusts the left speaker control circuit and / or the right speaker control circuit corresponding to the headphone shell fabric connecting component to the on state, thereby switching the working state of the headphone device from the mild sleep state to the normal working state.

[0082] For example, if the real-time voltage signal value obtained by the microprocessor is the first voltage signal value generated in the left earphone shell fabric connecting part located in the left earphone shell, the microprocessor reads the storage device configured in the headphone device, and obtains a preset voltage signal threshold of 4V for determining whether the left earphone shell fabric connecting part is in a compressed state through the storage device. If the first voltage signal value obtained by the microprocessor is 3.3V, it can be determined that the first voltage signal value has not reached the preset voltage signal threshold, and it can be determined that the left earphone shell fabric connecting part is in a relaxed state at this time. Thus, it can be determined that the wearer has moved the left earphone shell where the left speaker is located to a fully unfolded state. At this time, the microprocessor determines that the wearer needs to use the speaker in the left earphone shell, and the microprocessor then adjusts the left speaker control circuit for controlling the speaker in the left earphone shell to enter the on state, so that the operating state of the headphone device switches from a light sleep state to a normal operating state.

[0083] Correspondingly, if the voltage signal change value obtained by the microprocessor is the first voltage signal value generated in the right earphone shell fabric connecting part located in the right earphone shell, the same principle applies. The microprocessor adjusts the right speaker control circuit corresponding to the right earphone, thereby turning on the right speaker control circuit. This will not be elaborated further here.

[0084] In this way, the headphone device can determine whether the wearer has moved the headphone shell to the fully unfolded state based on the voltage signal value corresponding to the fabric connection component of the headphone shell. When it is determined that the wearer has moved the headphone shell to the fully unfolded state, the speaker control circuit inside the headphone device used to control the speaker is turned on, thereby putting the headphone device into normal working state, so as to ensure that the headphone device can quickly complete the wake-up operation when the wearer uses the headphone device.

[0085] In one feasible implementation, the fabric connecting component further includes a head fabric connecting component, the real-time voltage signal value further includes a second voltage signal value corresponding to the head fabric connecting component, the speaker control circuit further includes a main speaker control circuit, and the operating state further includes a deep sleep state; the above step S20 may also include steps S204 to S205:

[0086] Step S204: Obtain a preset voltage signal threshold and determine whether the second voltage signal value reaches the preset voltage signal threshold;

[0087] Step S205: If it is determined that the second voltage signal value reaches the preset voltage signal threshold, the main speaker control circuit is adjusted to the off state to switch the operating state of the headphone device to the deep sleep state.

[0088] In this embodiment, if the microprocessor obtains the second voltage signal value corresponding to the head fabric connecting component, it first obtains a preset voltage signal threshold for determining whether the fabric connecting component is in the first compression state, and compares the second voltage signal value corresponding to the head fabric connecting component with the preset voltage signal threshold to determine whether the second voltage signal value has reached the preset voltage signal threshold. Then, when the microprocessor detects that the second voltage signal value has reached the preset voltage signal threshold, it determines that the head fabric connecting component is in the first compression state. The microprocessor then adjusts the main speaker control circuit corresponding to the head fabric connecting component to enter the off state, thereby switching the operating state of the headphone device from the normal operating state or the light sleep state to the deep sleep state.

[0089] For example, if the real-time voltage signal value obtained by the microprocessor is the second voltage signal value output by the head fabric connecting component located in the head fixation bracket, the microprocessor reads the storage device configured in the headphone device, and obtains a preset voltage signal threshold of 4V for determining whether the head fabric connecting component is in a compressed state through the storage device. If the second voltage signal value obtained by the microprocessor is 5V, it can be determined that the second voltage signal value has reached the preset voltage signal threshold, and it can be determined that the head fabric connecting component is in a compressed state at this time, thereby determining that the wearer has folded the head fixation bracket to a fully retracted state. At this time, the processor determines that the wearer does not need to use the headphone device, and the microprocessor then adjusts the main speaker control circuit to enter the off state, so that the operating state of the headphone device switches from a light sleep state to a deep sleep state.

[0090] In this way, the headphone device can determine whether the wearer has folded the headrest to a fully retracted state based on the voltage signal value detected by the head fabric connection component. When it is determined that the wearer has folded the headrest to a fully retracted state, the device adjusts the main speaker control circuit inside the headphone device to a closed state, thereby putting the headphone device into a deep sleep state. This ensures that the power consumption of the headphone device is greatly reduced when the wearer is not using the headphone device.

[0091] In one feasible implementation, after step S205, the method for switching the operating state of the headphone device of this application may further include step S206:

[0092] Step S206: If it is determined that the second voltage signal value has not reached the preset voltage signal threshold, the main speaker control circuit is adjusted to the on state to switch the operating state of the headphone device to the light sleep state or the normal operating state.

[0093] In this embodiment, if the microprocessor detects that the second voltage signal value has not reached the preset voltage signal threshold, it determines that the head fabric connecting component is in the second compression state. The microprocessor then adjusts the main speaker control circuit corresponding to the head fabric connecting component to enter the on state, thereby switching the working state of the headphone device from deep sleep state to light sleep state, or switching the working state of the headphone device from deep sleep state to normal working state.

[0094] For example, if the real-time voltage signal value obtained by the microprocessor is the second voltage signal value corresponding to the head fabric connecting component, the microprocessor reads the storage device configured in the headphone device and obtains a preset voltage signal threshold of 4V for determining whether the head fabric connecting component is in a compressed state. If the second voltage signal value obtained by the microprocessor is 3.3V, it can be determined that the second voltage signal value has reached the preset voltage signal threshold and that the head fabric connecting component is in a relaxed state. This indicates that the wearer has moved the head fixation bracket to a fully extended state. At this time, the processor determines that the wearer needs to use the headphone device, and the microprocessor then adjusts the main speaker control circuit to enter the on state, so that the operating state of the headphone device is switched from a deep sleep state to a light sleep state, or the operating state of the headphone device is switched from a deep sleep state to a normal operating state.

[0095] In this way, the headphone device can determine whether the wearer has moved the headrest to the fully extended state based on the voltage signal value detected by the head fabric connection component. When it is determined that the wearer has moved the headrest to the fully extended state, the device adjusts the main speaker control circuit in the headphone device to the on state, thereby putting the headphone device into a light sleep state to ensure that the headphone device can quickly complete the wake-up operation when the wearer uses the headphone device.

[0096] In this embodiment, when the headphone device is running, it first calls its own data collection module to detect the fabric connecting parts contained in the folding area of ​​the headphone, thereby obtaining the real-time voltage signal values ​​of multiple fabric outputs within the fabric connecting parts corresponding to the compression state of the headphone device. Then, the data collection module inputs the obtained real-time voltage signal values ​​to the microprocessor configured in the headphone device. The microprocessor determines the compression state corresponding to the fabric connecting parts based on the obtained real-time voltage signal values, and determines whether the headphone device is in a folded state based on the compression state. Then, based on the determination result, it adjusts the speaker control circuit to switch the operating state of the headphone device.

[0097] Thus, this application solves the technical problem in related technologies where the wearer can only control the headphone device to switch its operating state by touching a hardware switch on the headphone device, causing considerable inconvenience during control. Specifically, this application detects the voltage signal value within the fabric connecting component inside the headphone device and determines whether the wearer has folded the headphone device based on the voltage signal value. Based on the determination result, it further determines whether the wearer is using the headphone device and adjusts the on / off state of the speaker control circuit accordingly. This intelligently switches the operating state of the headphone device based on the usage scenario, minimizing power consumption without requiring manual switching by the user, effectively achieving the technical effect of automatically switching the headphone device's operating state. Furthermore, by configuring multiple fabric connecting components within the headphone device, this application also utilizes the foldable nature of the fabric connecting components, allowing the wearer to fold the headphone device after removing it, thereby reducing storage space and further improving the user experience.

[0098] Based on the first embodiment of this application, a second embodiment of this application is proposed herein. In this second embodiment, content that is the same as or similar to that in the first embodiment described above can be referred to the above description and will not be repeated hereafter. Furthermore, before step S10, the method for switching the operating state of the headphone device in this application further includes steps A10 to A30:

[0099] Step A10: Detect the fabric compression state between the multiple fabrics contained in the fabric connecting component, wherein the fabric compression state includes a first compression state and a second compression state, and the degree of compression corresponding to the first compression state is greater than the degree of compression corresponding to the second compression state.

[0100] Step A20: When the fabric is in the first compression state, control the voltage signal generated in the fabric connecting component to be a third voltage signal value;

[0101] Step A30: When the fabric is in the second compression state, the voltage signal generated in the fabric connecting component is controlled to be a fourth voltage signal value, wherein the fourth voltage signal value is less than the third voltage signal value.

[0102] It should be noted that, please refer to Figure 4 , Figure 4This is a schematic diagram of the fabric compression states involved in an embodiment of the headphone device operation state switching method of this application. The first compression state is the compression state of the fabric connecting component when the headphone device is in a folded state, that is, when the two fabric strands within the fabric connecting component are under greater compression. Furthermore, the second compression state is the compression state of the fabric connecting component when the headphone device is in an unfolded state, that is, when the two fabric strands within the fabric connecting component are under lesser compression. It can be understood that when the wearer folds the headphone device, the fabric within the fabric connecting component deforms and stretches, thus the compression state between the two fabric strands changes from... Figure 4 The second extrusion state shown in B changes to Figure 4 In the first compression state shown in C, the headphone device can determine whether the wearer has folded and stored the headphones by detecting changes in the compression state between the fabrics, and further calculate whether the wearer needs to use the headphone device at present.

[0103] In this embodiment, when the headphone device is running, it first calls its own configured power management module to detect the fabric compression state generated by the two fabrics in the fabric connecting component during the winding process. Then, if the power management module detects that the fabric compression state is a first compression state, it inputs a first voltage value into the fabric so that the voltage signal value generated in the fabric is a third voltage signal value indicating that the fabric connecting component is in a folded state. When the power management module detects that the fabric compression state is a second compression state, it inputs a second voltage value less than the first voltage value into the fabric so that the voltage signal value generated in the fabric is a fourth voltage signal value indicating that the fabric connecting component is in an unfolded state.

[0104] For example, during operation, the headphone device first calls its configured power management module to detect the two intertwined fabrics within the fabric connecting component of the left headphone shell in the folding area of ​​the left headphone shell, thereby determining whether the fabric compression between the two fabrics is a compressed state or a relaxed state. Then, if the power management module detects that the compression between the two fabrics is a compressed state, it determines that the wearer has folded the left headphone shell of the headphone device at this time, and the power management module then inputs a 5V voltage to one of the fabrics in the fabric connecting component of the left headphone shell. When the power management module detects that the compression between the two fabrics is a relaxed state, it determines that the wearer has not folded the left headphone shell at this time, and the power management module then inputs a 3.3V voltage to one of the fabrics in the fabric connecting component of the left headphone shell.

[0105] In this way, the headphone device can determine whether the wearer has folded the headphone device based on the degree of compression between multiple fabrics within the fabric connecting component. This results in different voltage signal values ​​being generated within the fabric connecting component depending on the folding state of the headphone device, allowing the microprocessor to determine the circuit control strategy to be executed based on the different voltage signal values.

[0106] In one feasible implementation, a pressure signal acquisition device is arranged between the plurality of fabrics, and step A10 above may specifically include steps A101 to A104:

[0107] Step A101: Detect the real-time pressure parameters generated between the multiple fabrics using the pressure signal acquisition device;

[0108] Step A102: Compare the real-time pressure parameters with the preset pressure parameters to obtain the comparison results;

[0109] Step A103: When the comparison result shows that the real-time pressure parameter reaches the preset pressure parameter, the fabric compression state between the multiple fabrics is determined as the first compression state;

[0110] Step A104: When the comparison result shows that the real-time pressure parameter has not reached the preset pressure parameter, the fabric compression state is determined to be the second compression state.

[0111] It should be noted that the real-time pressure parameter refers to the pressure generated between two intertwined fabrics. This means the magnitude of the real-time pressure parameter reflects the degree of compression between the two fabrics. Conversely, the preset pressure parameter is the pressure generated between two fabrics within the headphone folding area when the headphone folding area is already folded. That is, when the real-time pressure parameter between the two fabrics reaches the preset pressure parameter, it indicates that the headphone folding area containing the fabric connecting component is already folded; conversely, when the real-time pressure parameter does not reach the preset pressure parameter, it indicates that the headphone folding area containing the fabric connecting component is not yet folded. It is understood that this application does not limit the specific value of the preset pressure parameter.

[0112] In this embodiment, when the headphone device is running, the power management module configured in the headphone device first calls the pressure sensor between the two fabric strands configured in the fabric connecting component to detect the real-time pressure parameters generated by the two fabric strands during the compression process. Then, the power management module obtains the preset pressure parameter used to determine whether the two fabric strands are in a state of heavy compression, and compares the real-time pressure parameter with the preset pressure parameter to obtain a comparison result. Then, when the power management module determines that the real-time pressure parameter reaches the preset pressure parameter, it determines that the degree of compression between the two fabric strands is in a first compression state. When the power management module determines that the real-time pressure parameter does not reach the preset pressure parameter, it determines that the degree of compression between the two fabric strands is in a second compression state.

[0113] For example, when the headphone device detects the fabric connection component of the left earphone shell, it first calls the pressure sensor configured in the fabric connection component of the left earphone shell through the power management module to collect the real-time pressure value generated between the two intertwined fabrics in the fabric connection component. Then, the power management module obtains a preset pressure parameter indicating whether the two fabrics are in a compressed state, and compares the real-time pressure value with the preset pressure parameter to obtain a comparison result. Then, if the power management module determines that the comparison result shows that the real-time pressure value has reached the preset pressure parameter, it determines that... At this point, the pressure between the two fabric strands is relatively high, thus determining that the wearer has folded the left earphone shell inside the earphone. The power management module then determines that the fabric compression state between the two fabric strands is a compressed state and inputs a voltage value of 5V into the fabric connection component of the left earphone shell. If the power management module determines that the comparison result is that the real-time pressure value has not reached the preset pressure parameter, then it determines that the pressure between the two fabric strands is relatively low, thus determining that the wearer has not folded the left earphone shell inside the earphone. The power management module then determines that the fabric compression state between the two fabric strands is a relaxed state and inputs a voltage value of 3.3V into the fabric connection component of the left earphone shell.

[0114] In this way, the headphone device can determine whether the wearer has folded the headphone device based on the degree of compression between multiple fabrics within the fabric connecting component. This results in different voltage signal values ​​being generated within the fabric connecting component depending on the folding state of the headphone device, allowing the microprocessor to determine the circuit control strategy to be executed based on the different voltage signal values.

[0115] For example, to help understand the implementation flow of the headphone device operating state switching method obtained in combination with the above embodiments, please refer to... Figure 7 , Figure 7 A first simplified flowchart of a method for switching the operating state of a headphone device is provided, specifically:

[0116] In this embodiment, when the headphone device is equipped with a left earphone shell folding area, a right earphone shell folding area, and a headrest bracket folding area, a left earphone shell fabric connecting component, a right earphone shell fabric connecting component, and a headrest bracket fabric connecting component are respectively arranged in the left earphone shell folding area, the right earphone shell folding area, and the headrest bracket folding area. If the wearer moves the left earphone shell fabric connecting component and the right earphone shell fabric connecting component respectively, thereby folding the left and right earphone shells, the power management module in the headphone device first collects the real-time pressure parameters generated between the two fabric strands within the left earphone shell fabric connecting component through a pressure sensor configured within the left earphone shell fabric connecting component. The module then detects that the real-time pressure parameters have reached a preset pressure. When the parameters are set, it is determined that the fabric compression state inside the left earphone shell fabric connection component has reached the compressed state. At this time, the power management module inputs a 5V voltage value into the left earphone shell fabric connection component. After that, the data collection module in the earphone device collects the real-time voltage value inside the left earphone shell fabric connection component and inputs the real-time voltage value into the microprocessor in the earphone device. When the microprocessor detects that the real-time voltage value is 5V, it determines that the first real-time voltage signal value inside the left earphone shell fabric connection component has reached the preset voltage signal threshold used to determine whether the left earphone shell is in a fully folded state. At this time, the microprocessor determines that the wearer does not need to use the speaker inside the left earphone shell, and the microprocessor then adjusts the left speaker control circuit inside the left earphone shell to enter the off state.

[0117] Meanwhile, when the power management module collects the real-time pressure parameters generated between the two fabric strands in the right earphone shell fabric connection component through the pressure sensor configured in the right earphone shell fabric connection component, and determines that the fabric compression state in the right earphone shell fabric connection component has reached the compressed state based on the real-time pressure parameters, the power management module inputs a 3.3V voltage into the fabric in the right earphone shell fabric connection component. Then, when the microprocessor detects that the real-time voltage value output by the right earphone shell fabric connection component is 3.3V, it determines that the first voltage signal value generated in the right earphone shell fabric connection component has reached the preset voltage signal threshold used to determine whether the right earphone shell fabric connection component is in a fully folded state. At this time, the microprocessor determines that the wearer does not need to use the speaker in the right earphone shell, and the microprocessor then adjusts the speaker control circuit in the right earphone shell to enter the off state, so that the headphone device enters a mild sleep state in which each speaker control circuit is turned off.

[0118] At this point, if the wearer completes folding the earphone shell and continues to move the head fabric connecting component within the folding area of ​​the headrest to attempt to fold the headrest and fully store the earphones, the power management module configures the real-time pressure parameters generated between the two fabric strands within the head fabric connecting component. Based on these parameters, when the compression state of the fabric within the head fabric connecting component reaches a tight state, the power management module inputs a 5V voltage to the fabric within the head fabric connecting component. Then, when the microprocessor detects that the second real-time voltage value output by the head fabric connecting component is 5V, it determines that the second real-time voltage signal generated within the head fabric connecting component has reached the preset voltage signal threshold used to determine whether the head fabric connecting component is in a fully folded state. At this point, the microprocessor determines that the wearer does not need to use the earphones, and then adjusts the overall speaker control circuit within the headrest to enter a shutdown state, causing the earphones to transition from a light sleep state to a deep sleep state.

[0119] In addition, please refer to Figure 8 , Figure 8 This is a simplified flowchart illustrating the second method for switching the operating state of the headphone device according to this application. In this embodiment and another embodiment, when the wearer sequentially moves the head fabric connecting component within the folding area of ​​the headrest to attempt to unfold the headrest, and after unfolding the headrest, further moves the left and right earphone shell fabric connecting components respectively to unfold the left and right earphone shells, the headphone device can first detect the second voltage signal value generated within the head fabric connecting component, and adjust its operating state from a deep sleep state to a light sleep state based on the second voltage signal value. Then, the headphone device can further adjust its operating state from a light sleep state to a normal operating state based on the first voltage signal values ​​collected within the left and right earphone shell fabric connecting components respectively. It is understood that the specific process by which the headphone device adjusts its operating state based on the first and second voltage signal values ​​is the same as in the above embodiments, and therefore will not be repeated here.

[0120] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the switching method of the operating state of the headphone device in this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0121] This application provides a headphone device, which includes: 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, which are executed by the at least one processor to enable the at least one processor to perform the headphone device operating state switching method in Embodiment 1 above.

[0122] The following is for reference. Figure 9 The diagram illustrates a structural schematic suitable for implementing the headphone device of the embodiments of this application. The headphone device in the embodiments of this application may include, but is not limited to, a headset device internally configured with multiple fabric connecting parts, a data collection module, a microprocessor, and a power management module. Figure 5 The illustrated headphone device is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of this application.

[0123] like Figure 9 As shown, the headphone device may include a processing unit 1001 (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 a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the headphone device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows the headset device to communicate wirelessly or wiredly with other devices to exchange data. Although headset devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.

[0124] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application 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 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0125] The headphone device provided in this application, employing the headphone device operating state switching method in the above embodiments, solves the technical problem in related technologies where the wearer can only control the headphone device to switch its operating state by touching a hardware switch on the headphone device, resulting in considerable inconvenience for the wearer during control. Compared with the prior art, the beneficial effects of the headphone device provided in this application are the same as those of the headphone device operating state switching method provided in the above embodiments, and other technical features of this headphone device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0126] It should be understood that the various parts disclosed in 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.

[0127] The above description is merely a specific embodiment of this application, but the scope of protection 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 scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0128] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the headphone device operating state switching method in the above embodiments.

[0129] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having 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 fiber, 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.

[0130] The aforementioned computer-readable storage medium may be included in the headphone device; or it may exist independently and not assembled into the headphone device.

[0131] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the headphone device, cause the headphone device to: detect a voltage signal value generated within the fabric connecting component; determine a voltage signal change value corresponding to the voltage signal value when the voltage signal value changes; determine a target control circuit within the headphone device based on the voltage signal change value, and adjust the target control circuit to switch the operating state of the headphone device.

[0132] Computer program code for performing the operations of this application 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).

[0133] 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.

[0134] 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.

[0135] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described method for switching the operating state of a headphone device. This solves the technical problem in related technologies where the wearer can only control the headphone device to switch its operating state by touching a hardware switch on the headphone device, causing considerable inconvenience during control. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the headphone device operating state switching method provided in the above embodiments, and will not be elaborated upon here.

[0136] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the headphone device operation state switching method described above.

[0137] The computer program product provided in this application solves the technical problem in related technologies where the wearer can only control the headphone device to switch its operating state by touching a hardware switch on the headphone device, resulting in considerable inconvenience for the wearer during control. 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 device operating state switching method provided in the above embodiments, and will not be repeated here.

[0138] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for switching the operating state of a headphone device, characterized in that, The method for switching the operating state of the headphone device is applied to a headphone device equipped with a fabric connecting component and a speaker control circuit, and the method includes: The real-time voltage signal value generated within the fabric connecting component is obtained, wherein the fabric connecting component generates different voltage signal values ​​under different compression states; The speaker control circuit is adjusted according to the real-time voltage signal value to switch the operating state of the headphone device.

2. The method as described in claim 1, characterized in that, The fabric connecting component includes an earphone shell fabric connecting component, the real-time voltage signal value includes a first voltage signal value corresponding to the earphone shell fabric connecting component, the speaker control circuit includes a left speaker control circuit and a right speaker control circuit, and the operating state includes a light sleep state. The step of adjusting the speaker control circuit according to the real-time voltage signal value to switch the operating state of the headphone device includes: Obtain a preset voltage signal threshold and determine whether the first voltage signal value reaches the preset voltage signal threshold; If it is determined that the first voltage signal value reaches the preset voltage signal threshold, the left speaker control circuit and / or the right speaker control circuit are adjusted to the off state to switch the operating state of the headphone device to the light sleep state.

3. The method as described in claim 2, characterized in that, The operating status also includes normal operating status; After the step of determining whether the first voltage signal value reaches the preset voltage signal threshold, the method further includes: If it is determined that the first voltage signal value has not reached the preset voltage signal threshold, the left speaker control circuit and / or the right speaker control circuit are adjusted to the on state to switch the operating state of the headphone device to the normal operating state.

4. The method as described in claim 3, characterized in that, The fabric connecting component also includes a head fabric connecting component, the real-time voltage signal value also includes a second voltage signal value corresponding to the head fabric connecting component, the speaker control circuit also includes a main speaker control circuit, and the operating state also includes a deep sleep state. The step of adjusting the speaker control circuit according to the real-time voltage signal value to switch the operating state of the headphone device further includes: Obtain a preset voltage signal threshold and determine whether the second voltage signal value reaches the preset voltage signal threshold; If it is determined that the second voltage signal value reaches the preset voltage signal threshold, the main speaker control circuit is adjusted to the off state to switch the operating state of the headphone device to the deep sleep state.

5. The method as described in claim 4, characterized in that, After the step of determining whether the second voltage signal value reaches the preset voltage signal threshold, the method further includes: If it is determined that the second voltage signal value has not reached the preset voltage signal threshold, the main speaker control circuit is adjusted to the on state to switch the operating state of the headphone device to the mild sleep state or the normal operating state.

6. The method as described in claim 1, characterized in that, Prior to the step of acquiring the real-time voltage signal value generated within the fabric connection component, the method further includes: The fabric compression state among the multiple fabrics contained in the fabric connecting component is detected, wherein the fabric compression state includes a first compression state and a second compression state, and the degree of compression corresponding to the first compression state is greater than the degree of compression corresponding to the second compression state. When the fabric is in the first compression state, the voltage signal generated in the fabric connecting component is controlled to be a third voltage signal value. When the fabric is in the second compression state, the voltage signal generated in the fabric connecting component is controlled to be a fourth voltage signal value, wherein the fourth voltage signal value is less than the third voltage signal value.

7. The method as described in claim 6, characterized in that, A pressure signal acquisition device is disposed between multiple fabrics, and the step of detecting the fabric compression state between the multiple fabrics included in the fabric connecting component includes: The pressure signal acquisition device detects real-time pressure parameters generated between multiple fabrics. The comparison results are obtained by comparing the real-time pressure parameters with the preset pressure parameters; When the comparison result shows that the real-time pressure parameter reaches the preset pressure parameter, the fabric compression state between the multiple fabrics is determined as the first compression state; When the comparison result shows that the real-time pressure parameter does not reach the preset pressure parameter, the fabric compression state is determined to be the second compression state.

8. A headphone device, characterized in that, The device 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 steps of the method for switching the operating state of the headphone device as described in any one of claims 1 to 7.

9. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the headphone device operation state switching method as described in any one of claims 1 to 7.

10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the method for switching the operating state of the headphone device as described in any one of claims 1 to 7.