Control method of earphone device, earphone device, storage medium and computer product

CN121056770BActive Publication Date: 2026-09-18GEER TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410683057.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2026-09-18
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

[0005]本申请的主要目的在于提供一种耳机设备的控制方法、耳机设备、存储介质及计算机程序产品,旨在解决相关技术中因为佩戴者需要通过触碰头戴式耳机设备上的各硬件按钮才能实现交互操作,从而导致佩戴者在使用耳机设备的过程中会感觉到诸多不便的技术问题

Benefits of technology

[0038] Thus, this application solves the technical problem in related technologies where wearers need to touch various hardware buttons on the headset device to perform interactive operations, resulting in many inconveniences for the wearer during use. Specifically, this application detects the voltage signal within the fabric connecting component configured in the headset device, determines the compression state of the fabric connecting component based on the voltage signal, determines the degree of movement of the fabric connecting component by the wearer based on the compression state, identifies the target interactive command that the wearer is trying to execute based on the degree of movement, and executes the interactive operation corresponding to the target interactive command. This achieves the technical effect of enabling the headset device to complete interactive operations with the wearer more flexibly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121056770B_ABST
    Figure CN121056770B_ABST
Patent Text Reader

Abstract

The application discloses a control method of earphone equipment, earphone equipment, a storage medium and a computer product, relates to the technical field of earphone equipment, and the control method of the earphone equipment of the application is applied to earphone equipment configured with a fabric connecting component, and specifically comprises the following steps: acquiring a real-time voltage signal generated in the fabric connecting component, wherein the fabric connecting component generates different voltage signals in different extrusion states; determining whether the real-time voltage signal is a valid voltage signal; if it is determined that the real-time voltage signal is a valid voltage signal, determining a target interaction instruction corresponding to the real-time voltage signal; and controlling the earphone equipment according to the target interaction instruction, so that the earphone equipment executes an interaction function corresponding to the target interaction instruction. The application achieves the technical effect that the earphone equipment can more flexibly complete the interaction operation with the wearer.
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 control method for 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, wearers need to touch various hardware buttons on the headset to perform interactive operations such as switching songs and adjusting volume. However, this control method often makes wearers feel inconvenienced when using the headset.

[0004] Therefore, how to enable headphones to interact more flexibly with the wearer has become a pressing technical problem that the industry needs to solve. Summary of the Invention

[0005] The main objective of this application is to provide a control method for 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 needs to touch various hardware buttons on the headphone device to achieve interactive operation, which causes many inconveniences for the wearer during the use of the headphone device.

[0006] To achieve the above objectives, this application proposes a control method for an earphone device, which is applied to an earphone device equipped with a fabric connecting component, the method comprising:

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

[0008] Determine whether the real-time voltage signal is a valid voltage signal;

[0009] If the real-time voltage signal is determined to be a valid voltage signal, then the target interactive command corresponding to the real-time voltage signal is determined.

[0010] The headset device is controlled according to the target interaction command so that the headset device performs the interaction function corresponding to the target interaction command.

[0011] In one embodiment, the step of determining whether the real-time voltage signal is a valid voltage signal includes:

[0012] Determine the duration of the real-time signal contained in the real-time voltage signal, and compare the duration of the real-time signal with the preset signal duration to obtain a comparison result;

[0013] When the comparison result indicates that the duration of the real-time signal reaches the preset signal duration, the real-time voltage signal is determined to be a valid voltage signal.

[0014] If the comparison result indicates that the duration of the real-time signal does not reach the preset signal duration, the real-time voltage signal is determined to be an invalid voltage signal.

[0015] In one embodiment, the step of determining the target interactive command corresponding to the real-time voltage signal includes:

[0016] Determine the value of the real-time voltage signal contained within the real-time voltage signal;

[0017] Based on the real-time voltage signal value, multiple preset reference interaction commands are filtered to determine the target interaction command corresponding to the real-time voltage signal from among the multiple reference interaction commands.

[0018] In one embodiment, the step of filtering a plurality of preset reference interaction commands based on the real-time voltage signal value to determine the target interaction command corresponding to the real-time voltage signal from the plurality of reference interaction commands includes:

[0019] Determine multiple reference voltage value ranges and reference interaction commands corresponding to each of the multiple reference voltage value ranges;

[0020] Based on the real-time voltage signal value, a target voltage value range that matches the real-time voltage signal value is selected from multiple reference voltage value ranges.

[0021] The reference interaction command corresponding to the target voltage value range is determined as the target interaction command corresponding to the real-time voltage signal.

[0022] In one embodiment, the fabric connecting component includes a plurality of fabrics, and a pressure detection device is disposed between the plurality of fabrics;

[0023] Prior to the step of acquiring the real-time voltage signal generated within the fabric connection component, the method further includes:

[0024] The pressure detection device acquires real-time pressure values ​​between the multiple fabrics.

[0025] The real-time voltage signal is determined based on the real-time pressure value, and a voltage signal is input into the fabric connecting component according to the real-time voltage signal.

[0026] In one embodiment, the step of determining the real-time voltage signal based on the real-time pressure value includes:

[0027] Determine multiple reference pressure values ​​and reference voltage signal values ​​corresponding to each of the multiple reference pressure values;

[0028] Based on the real-time pressure value, a target pressure value is determined from among multiple reference pressure values, and the reference voltage signal value corresponding to the target pressure value is determined as the real-time voltage signal.

[0029] In one embodiment, after the step of controlling the headset device according to the target interaction instruction to cause the headset device to perform the interaction function corresponding to the target interaction instruction, the method further includes:

[0030] Determine whether the interactive function was executed successfully;

[0031] If the interactive function is determined to be executed successfully, a target prompt sound signal is generated based on the target interactive instruction;

[0032] The target prompt sound signal is output to prompt the wearer of the headphone device.

[0033] 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 control method for the earphone device as described above.

[0034] 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 control method described above.

[0035] 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 control method described above.

[0036] The headphone device control method proposed in this application is applied to a headphone device equipped with a fabric connecting component. It acquires a real-time voltage signal generated within the fabric connecting component, wherein the fabric connecting component generates different voltage signals under different compression states; determines whether the real-time voltage signal is a valid voltage signal; if the real-time voltage signal is determined to be a valid voltage signal, it determines the target interaction command corresponding to the real-time voltage signal; and controls the headphone device according to the target interaction command to cause the headphone device to execute the interaction function corresponding to the target interaction command.

[0037] In this embodiment, when the headphone device is running, it first detects the fabric connecting component configured on its own to obtain the real-time voltage signal generated by the fabric connecting component based on its corresponding compression state. Then, the headphone device detects the real-time voltage signal to determine whether the real-time voltage signal is a valid voltage signal that can be used to determine the wearer's interaction intention. If the headphone device determines that the real-time voltage signal is a valid voltage signal, it queries the target interaction command corresponding to the real-time voltage signal. Finally, the headphone device executes the interaction function corresponding to the target interaction command to complete the interaction operation with the wearer.

[0038] Thus, this application solves the technical problem in related technologies where wearers need to touch various hardware buttons on the headset device to perform interactive operations, resulting in many inconveniences for the wearer during use. Specifically, this application detects the voltage signal within the fabric connecting component configured in the headset device, determines the compression state of the fabric connecting component based on the voltage signal, determines the degree of movement of the fabric connecting component by the wearer based on the compression state, identifies the target interactive command that the wearer is trying to execute based on the degree of movement, and executes the interactive operation corresponding to the target interactive command. This achieves the technical effect of enabling the headset device to complete interactive operations with the wearer more flexibly. Attached Figure Description

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

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

[0041] Figure 1This is a flowchart illustrating an embodiment of the control method for the headphone device of this application.

[0042] Figure 2 This is a schematic diagram of the headphone device structure according to an embodiment of the control method for the headphone device of this application;

[0043] Figure 3 This is a schematic diagram of the fabric connecting component structure according to an embodiment of the control method for the headphone device of this application;

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

[0045] Figure 5 This is a schematic diagram illustrating the fabric winding method according to an embodiment of the control method for the headphone device of this application;

[0046] Figure 6 This is a schematic diagram of the functional modules of an earphone device according to an embodiment of the control method for an earphone device of this application;

[0047] Figure 7 This is a simplified flowchart illustrating the control method of the headphone device of this application;

[0048] Figure 8 This is a schematic diagram of the hardware operating environment involved in the control method of the headphone device in the embodiments of this application.

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

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

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

[0052] 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, a power management module, and an audio playback module. The data collection module detects the voltage signals output by each of the multiple fabric connecting components and transmits these signals to the microprocessor. This microprocessor, specifically a microcontroller such as a single-chip microcomputer, receives the voltage signals from the data collection module and performs different control processing based on the different voltage signals. The power management module, composed of a power management chip, provides current to the fabric connecting components based on the degree of compression between the multiple fabrics within the connecting components. The audio playback module primarily receives the audio signal to be played and plays it to the wearer through its own speaker.

[0053] 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 control method for the headphone device 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 according to an embodiment of the control method for the headphone device of this application. Figure 5 This is a schematic diagram illustrating the fabric winding method according to an embodiment of the control method for the headphone device of this application. Figure 3 and Figure 5As shown, the fabric connecting component consists of at least two intersecting fabric strands containing internal wiring, connecting the two ends of the bending area. 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 wearer moves the fabric component of the left earphone shell, creating a 90° angle between the left earphone shell and the headrest, the power management module can input a 3.3V voltage into the wiring within the fabric based on the real-time pressure value generated between the fabric strands in the left earphone shell fabric connecting component. At this time, the data collection module acquires a voltage signal value of 3.3V within the fabric connecting component. Similarly, when the wearer moves the fabric component of the left earphone shell... When the fabric component moves, creating a 150° angle between the left earcup and the headrest, the power management module inputs 5.5V to the wiring within the fabric, based on the real-time pressure reading between the fabric components of the left earcup. At this time, the data collection module detects a voltage signal of 5.5V within the fabric connection component. Similarly, when the wearer is wearing the headphones normally (i.e., without moving the left earcup fabric component), the power management module detects that the fabric within the left earcup fabric connection component is not compressed and therefore does not supply power to the wiring within the fabric. At this time, the data collection module detects a voltage signal of 0V within the fabric connection component. It can be understood that the real-time pressure reading between the fabric components varies depending on the degree of movement of the left earcup fabric connection component. Based on this varying real-time pressure, the power management module can input different voltages into the fabric, allowing the data collection module to calculate the degree of movement of the fabric connection component and, based on this difference in real-time voltage, determine the desired interaction command from the wearer.

[0054] Based on the aforementioned headphone device, the overall concept of the control method for the headphone device of this application is presented here.

[0055] With the continuous development of the headphone industry, headphones have become an indispensable part of daily life for many 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, users need to touch various hardware buttons on the over-ear headphones to perform interactive operations such as switching songs and adjusting volume. However, this control method often causes inconvenience for users. Furthermore, in related technologies, engineers often incorporate large speakers into over-ear headphones to ensure a sufficiently good sound quality experience. However, with such large speakers, it is often difficult for users to effectively store the headphones after removing them.

[0056] To address the above issues, this application provides a control method for an earphone device. The method is applied to an earphone device equipped with a fabric connecting component. The method includes: acquiring a real-time voltage signal generated within the fabric connecting component, wherein the fabric connecting component generates different voltage signals under different compression states; determining whether the real-time voltage signal is a valid voltage signal; if the real-time voltage signal is determined to be a valid voltage signal, determining a target interaction command corresponding to the real-time voltage signal; and controlling the earphone device according to the target interaction command to cause the earphone device to execute the interaction function corresponding to the target interaction command.

[0057] Thus, this application solves the technical problem in related technologies where users need to touch various hardware buttons on the headset to perform interactive operations, causing inconvenience during use. Specifically, this application detects the voltage signal within the fabric connecting component of the headset and determines its compression state based on the voltage signal. This compression state then determines the degree of movement the wearer makes on the connecting component, identifies the target interactive command the wearer is attempting to execute, and executes the corresponding interactive operation. This achieves the technical effect of enabling the headset to interact with the wearer more flexibly. Furthermore, by configuring multiple fabric connecting components within the headset, this application leverages the foldable nature of these components, allowing the headset to be folded after removal, reducing storage space and further improving the user experience.

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

[0059] In this embodiment, the control method for the headphone device is applied to a headphone device equipped with a fabric connecting component, and the control method for the headphone device includes steps S10 to S40:

[0060] Step S10: Obtain the real-time voltage signal generated within the fabric connecting component, wherein the fabric connecting component generates different voltage signals under different compression states;

[0061] It should be noted that, as Figure 5As 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.

[0062] 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 signals output by multiple fabrics in the fabric connecting parts that correspond to the compression state it is in.

[0063] 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 uses the headphone device, they can perform interactive operations such as song switching and volume adjustment by bending any one or more of the left earphone shell fabric connecting component, the right earphone shell fabric connecting component, or the headrest fabric connecting component. At this time, during the operation of the headphone device, it can call its own configured data collection module to simultaneously detect the left earphone shell fabric connecting component, the right earphone shell fabric connecting component, and the headrest fabric connecting component, thereby identifying the target fabric connecting component that generates a voltage signal among the left earphone shell fabric connecting component, the right earphone shell fabric connecting component, and the headrest fabric connecting component and the real-time voltage signal output within the target fabric connecting component.

[0064] Furthermore, it should be noted that in this embodiment and another real-time embodiment, when the data collection module detects that multiple fabric connecting parts have generated voltage signals, the multiple fabric connecting parts can be simultaneously identified as target fabric connecting parts, and the real-time voltage signals corresponding to each of the multiple fabric connecting parts can be determined.

[0065] In this way, the headphone device can identify the target fabric connection component that outputs a voltage signal among its multiple fabric connection components, determine the bending state of the fabric connection component based on the voltage signal, and further determine the interaction operation that the wearer wants to perform based on the bending state, thereby determining the control strategy to be executed based on the interaction operation.

[0066] Step S20: Determine whether the real-time voltage signal is a valid voltage signal;

[0067] In this embodiment, after obtaining the real-time voltage signal, the data collection module inputs the collected real-time voltage signal to the microprocessor configured in the headphone device. The microprocessor detects the real-time voltage signal to determine whether the real-time voltage signal is a valid voltage signal that can be used to determine the wearer's interaction intention.

[0068] For example, after acquiring the real-time voltage signal generated within the target fabric connecting component, the data collection module inputs the real-time voltage signal to the microprocessor configured within the headphone device. The microprocessor detects the real-time voltage signal to determine whether it is a valid voltage signal generated when the user bends the fabric connecting component to perform an interactive operation, which can determine the wearer's interactive intention, or an invalid voltage signal generated when the user bends the fabric connecting component without performing an interactive operation, which cannot be used to determine the wearer's interactive intention.

[0069] Furthermore, it should be noted that in this embodiment and another real-time embodiment, after the data collection module inputs multiple real-time voltage signals to the microprocessor, the microprocessor can process the multiple real-time voltage signals separately to determine whether the multiple real-time voltage signals are all valid voltage signals. When it is determined that there is at least one invalid voltage signal among the multiple real-time voltage signals, the wearer's operation on the fabric connecting part is determined to be a mis-touch operation.

[0070] In this way, the headphone device can analyze the acquired real-time voltage signal to identify whether the voltage signal is a valid voltage signal that can be used to determine the wearer's interaction intention, thereby preventing the headphone device from automatically performing interactive operations when the wearer accidentally touches the fabric connection part.

[0071] In one feasible implementation, step S20 above may specifically include steps S201 to S203:

[0072] Step S201: Determine the duration of the real-time signal contained in the real-time voltage signal, and compare the duration of the real-time signal with the preset signal duration to obtain a comparison result;

[0073] Step S202: When the comparison result shows that the duration of the real-time signal reaches the preset signal duration, the real-time voltage signal is determined to be a valid voltage signal;

[0074] Step S203: When the comparison result indicates that the duration of the real-time signal has not reached the preset signal duration, the real-time voltage signal is determined to be an invalid voltage signal.

[0075] It should be noted that the preset signal duration is the duration of the bending state of the fabric connecting component when it is not accidentally touched. It can be understood that since a voltage signal will be generated inside the fabric connecting component once it bends, in order to prevent the headphone device from automatically performing interactive operations due to the wearer accidentally touching the headphone device, the real-time voltage signal output by the fabric connecting component can be detected to determine whether the real-time voltage signal is generated by the fabric connecting component when it is not accidentally touched. In this way, it can be determined whether the real-time voltage signal can be used to infer the wearer's interactive intention.

[0076] In this embodiment, after acquiring the real-time voltage signal generated within the fabric connecting component, the data collection module inputs the real-time voltage signal to the microprocessor configured within the headphone device. The microprocessor then reads the real-time signal duration contained within the real-time voltage signal. Simultaneously, the microprocessor reads the storage device configured within the headphone device to obtain a preset signal duration for determining whether the real-time voltage signal is a valid voltage signal. The microprocessor compares the real-time signal duration with the preset signal duration to obtain a comparison result. Subsequently, if the microprocessor determines that the real-time signal duration reaches the preset signal duration, it determines that the real-time voltage signal is a valid voltage signal that can be used to determine the wearer's interaction intention. If the microprocessor determines that the real-time signal duration does not reach the preset signal duration, it determines that the real-time voltage signal is an invalid voltage signal that cannot be used to determine the wearer's interaction intention.

[0077] For example, after acquiring the real-time voltage signal generated within the fabric connecting component, the data collection module inputs the real-time voltage signal to a microprocessor configured within the headphone device. The microprocessor then identifies the acquired real-time voltage signal to determine the signal duration corresponding to the real-time voltage signal. When the microprocessor determines that the real-time signal duration is 0.2s, it reads the storage device configured within the headphone device to obtain a preset signal duration of 0.1s for determining whether the real-time voltage signal is a valid signal. The microprocessor then compares the real-time signal duration with the preset signal duration to obtain a comparison result. If the microprocessor determines that the comparison result of 0.2s is greater than 0.1s, it determines that the real-time signal duration has reached the preset signal duration. The microprocessor then... The real-time voltage signal is determined to be a valid voltage signal generated when the fabric connecting component is in a bent state under non-accidental touch conditions, capable of determining the wearer's interaction intention. When the microprocessor determines that the duration of the real-time signal is 0.05s, the microprocessor reads the storage device to obtain a preset signal duration of 0.1s for determining whether the real-time voltage signal is valid. The microprocessor then compares the real-time signal duration with the preset signal duration to obtain a comparison result. Subsequently, the microprocessor determines that the comparison result of 0.05s is less than 0.1s, thereby determining that the real-time signal duration has not reached the preset signal duration. The microprocessor thus determines that the real-time voltage signal is an invalid voltage signal generated when the fabric connecting component is in a bent state under accidental touch conditions, and cannot determine the wearer's interaction intention.

[0078] Furthermore, it should be noted that in this embodiment and another real-time embodiment, after the data collection module inputs multiple real-time voltage signals to the microprocessor, the microprocessor can process each of the multiple real-time voltage signals separately, thereby reading the duration of each real-time signal and determining whether all the multiple real-time voltage signals are valid voltage signals based on the duration of the multiple real-time voltage signals. If at least one invalid voltage signal is found among the multiple real-time voltage signals, the wearer's operation on the fabric connecting component is determined to be a mis-touch operation. It is understood that the specific process of the data collection module detecting multiple real-time voltage signals is the same as in the above embodiment, and therefore will not be repeated here.

[0079] In this way, the headphone device can analyze the acquired real-time voltage signal to identify whether the voltage signal is a valid voltage signal that can be used to determine the wearer's interaction intention, thereby preventing the headphone device from automatically performing interactive operations when the wearer accidentally touches the fabric connection part.

[0080] Step S30: If it is determined that the real-time voltage signal is a valid voltage signal, then determine the target interactive command corresponding to the real-time voltage signal;

[0081] It should be noted that the target interaction command is an interaction command used to control the headphone device to perform interactive operations, including but not limited to: switching to the previous song, switching to the next song, increasing the volume, decreasing the volume, pausing, and switching to call mode.

[0082] In this embodiment, when the microprocessor determines that the real-time voltage signal is a valid voltage signal, it further detects the real-time voltage signal to determine the real-time voltage signal value corresponding to the real-time voltage signal, and determines the target interactive instruction corresponding to the real-time voltage signal based on the real-time voltage signal value.

[0083] For example, when the microprocessor determines that the acquired real-time voltage signal is a valid voltage signal that can determine the wearer's interaction intention, it further identifies the real-time voltage signal to determine the real-time voltage signal value contained in the real-time voltage signal. If the microprocessor determines that the real-time voltage signal value is 3.3V, it determines that the real-time voltage signal is generated when the fabric connecting part is bent to 90°. At this time, the microprocessor determines that the wearer's interaction intention is to play the next song based on the bending angle of the fabric connecting part. The microprocessor then determines that the target interaction instruction is "switch to the next song".

[0084] In this way, the headphone device can determine the compression state between the fabrics in the fabric connecting component based on the collected real-time voltage signal, and determine the degree of bending of the fabric connecting component based on the compression state. Then, it can determine the wearer's interaction intention based on the degree of bending, and then determine the interaction command to be executed based on the interaction intention.

[0085] In one feasible implementation, the step of "determining the target interaction command corresponding to the real-time voltage signal" in step S30 above may specifically include steps S301 to S302:

[0086] Step S301: Determine the real-time voltage signal value contained in the real-time voltage signal;

[0087] Step S302: Based on the real-time voltage signal value, filter a plurality of preset reference interaction commands to determine the target interaction command corresponding to the real-time voltage signal from among the plurality of reference interaction commands.

[0088] In this embodiment, when the microprocessor determines that the acquired real-time voltage signal is a valid voltage signal that can be used to determine the wearer's interaction intention, it further reads the real-time voltage signal value contained in the real-time voltage signal. Then, the microprocessor reads the aforementioned storage device to obtain an instruction mapping table storing multiple reference interaction instructions. The microprocessor then queries the instruction mapping table based on the real-time voltage signal value, thereby determining the reference interaction instruction corresponding to the real-time voltage value among the multiple reference interaction instructions contained in the instruction mapping table, and determining the reference interaction instruction corresponding to the real-time voltage value as the target interaction instruction corresponding to the real-time voltage signal.

[0089] For example, when the microprocessor determines that the acquired real-time voltage signal is a valid voltage signal that can be used to determine the wearer's interaction intention, the microprocessor further reads the aforementioned storage device to obtain an instruction mapping table containing reference interaction instructions such as "switch to the previous song", "switch to the next song", "turn up the volume", "turn down the volume", "pause", and "switch to call mode". Then, the microprocessor queries the instruction mapping table based on the real-time voltage signal value, and determines that when the real-time voltage signal value is 3.3V, the corresponding reference interaction instruction is "switch to the next song". The microprocessor then determines "switch to the next song" as the target interaction instruction to be executed.

[0090] In this way, the headphone device can determine the compression state between the fabrics in the fabric connecting component based on the voltage signal value corresponding to the real-time voltage signal collected, and determine the degree of bending of the fabric connecting component based on the compression state. Then, it can determine the wearer's interaction intention based on the degree of bending, and then determine the interaction command to be executed based on the interaction intention.

[0091] In one feasible implementation, step S302 above may specifically include steps S3021 to S3023:

[0092] Step S3021: Determine multiple reference voltage value ranges and reference interaction commands corresponding to each of the multiple reference voltage value ranges;

[0093] Step S3022: Based on the real-time voltage signal value, select a target voltage value range that matches the real-time voltage signal value from multiple reference voltage value ranges;

[0094] Step S3023: Determine the reference interaction command corresponding to the target voltage value range as the target interaction command corresponding to the real-time voltage signal.

[0095] In this embodiment, after reading the real-time voltage signal value corresponding to the real-time voltage signal, the microprocessor first reads the aforementioned storage device to obtain an instruction mapping table containing multiple reference voltage value ranges and reference interaction instructions corresponding to each of the multiple reference voltage value ranges. Then, the microprocessor queries the instruction mapping table based on the real-time voltage value to compare the real-time voltage value with the multiple reference voltage value ranges, thereby determining the target voltage value range where the real-time voltage value is located among the multiple reference voltage value ranges contained in the instruction mapping table. Finally, the microprocessor determines the reference interaction instruction corresponding to the target voltage value range in the instruction mapping table as the target interaction instruction represented by the real-time voltage signal.

[0096] For example, after the microprocessor reads that the real-time voltage signal value corresponding to the real-time voltage signal is 3.3V, it further reads the aforementioned storage device to obtain the internal reference voltage value ranges: 0-1V, 1-2V, 2-3V, 3-4V, 4-5V, and 5-6V, and the reference interaction commands corresponding to the reference voltage value ranges 0-1V ("turn up volume"), 1-2V ("turn down volume"), 2-3V ("switch to the previous song"), 3-4V ("switch to the next song"), and 4-5V ("pause"), respectively. The microprocessor first obtains a command mapping table containing the reference interactive command "Switch to call mode" corresponding to the reference voltage value range of 5-6V. Then, the microprocessor queries the command mapping table based on the real-time voltage signal value of 3.3V, comparing the real-time voltage signal value with the multiple reference voltage value ranges contained in the command mapping table. This determines that the target voltage value range corresponding to the real-time voltage signal value is the reference voltage value range of 3-4V. Finally, the microprocessor queries the command mapping table based on the target voltage value range, thus determining the reference interactive command "Switch to next song" corresponding to the reference voltage value range of 3-4V in the command mapping table as the target interactive command expressed by the aforementioned real-time voltage signal.

[0097] Furthermore, it should be noted that in this embodiment and another real-time embodiment, when the microprocessor determines that the acquired multiple real-time voltage signals are all valid voltage signals, it can further identify the real-time voltage signal values ​​contained in each of the multiple real-time voltage signals, and form a voltage signal value group based on the multiple real-time voltage signal values. Then, based on the voltage value signal group, it queries a second instruction mapping table containing multiple reference voltage value groups and reference interaction instructions corresponding to each of the multiple reference voltage value groups. The microprocessor then filters the multiple reference voltage value groups in the second instruction mapping table based on the voltage signal value groups to obtain the target voltage signal value group, and determines the reference interaction instruction corresponding to the target voltage signal value group in the second instruction mapping table as the target interaction instruction to be executed.

[0098] In this way, the headphone device can determine the compression state between the fabrics in the fabric connecting component based on the voltage signal value corresponding to the real-time voltage signal collected, and determine the degree of bending of the fabric connecting component based on the compression state. Then, it can determine the wearer's interaction intention based on the degree of bending, and then determine the interaction command to be executed based on the interaction intention.

[0099] Step S40: Control the headphone device according to the target interaction instruction, so that the headphone device executes the interaction function corresponding to the target interaction instruction.

[0100] In this embodiment, after receiving the target interaction instruction, the microprocessor controls the audio playback module configured in the headphone device according to the target interaction instruction, thereby enabling the headphone device to perform the interaction function corresponding to the target interaction instruction.

[0101] For example, when the microprocessor determines that the target interaction instruction is "switch to the next song," it controls the audio playback module configured in the headphone device according to the target interaction instruction, thereby causing the audio playback module to switch the currently playing song to the next song to be played in the playlist according to the target interaction instruction. Similarly, when the microprocessor determines that the target interaction instruction is an interaction instruction such as switching to the previous song, switching to the next song, increasing the volume, decreasing the volume, pausing, or switching to call mode, it can control the audio playback module according to the target interaction instruction, thereby causing the audio playback module to perform the interaction operation corresponding to the interaction instruction.

[0102] Furthermore, in this embodiment and another embodiment, when the wearer outputs an audio signal to the headphone device through their own handheld mobile terminal, and the audio signal is played through the speaker in the headphone device, the headphone device can also send the target interaction command to the handheld mobile terminal through its own configured Bluetooth module after determining the target interaction command, so that the handheld mobile terminal can perform the above-mentioned interaction operation based on the target interaction command.

[0103] 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 acquiring real-time voltage signals from multiple fabric outputs within the fabric connecting parts corresponding to the compression state of the headphone device. Then, the data collection module inputs the collected real-time voltage signals to the microprocessor configured in the headphone device. The microprocessor detects the real-time voltage signals to determine whether the real-time voltage signals are valid voltage signals that can be used to determine the wearer's interaction intention. Then, if the microprocessor determines that the real-time voltage signals are valid voltage signals, it further detects the real-time voltage signals to determine the corresponding real-time voltage signal values, and determines the target interaction command corresponding to the real-time voltage signal values. Finally, the microprocessor controls the audio playback module configured in the headphone device according to the target interaction command, thereby causing the headphone device to execute the interaction function corresponding to the target interaction command.

[0104] Thus, this application solves the technical problem in related technologies where users need to touch various hardware buttons on the headset to perform interactive operations, causing inconvenience during use. Specifically, this application detects the voltage signal within the fabric connecting component of the headset and determines its compression state based on the voltage signal. This compression state then determines the degree of movement the wearer makes on the connecting component, identifies the target interactive command the wearer is attempting to execute, and executes the corresponding interactive operation. This achieves the technical effect of enabling the headset to interact with the wearer more flexibly. Furthermore, by configuring multiple fabric connecting components within the headset, this application leverages the foldable nature of these components, allowing the headset to be folded after removal, reducing storage space and further improving the user experience.

[0105] 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, the fabric connecting component includes multiple fabrics, and a pressure detection device is disposed between the multiple fabrics. Before step S10, the control method of the headphone device of this application further includes steps A10 to A20:

[0106] Step A10: Obtain the real-time pressure values ​​generated between the multiple fabrics using the pressure detection device;

[0107] Step A20: Determine the real-time voltage signal based on the real-time pressure value, and input the voltage signal into the fabric connecting component according to the real-time voltage signal.

[0108] It should be noted that, please refer to Figure 4 , Figure 4 This is a schematic diagram illustrating the fabric compression state according to an embodiment of the control method for the headphone device of this application. When the wearer bends the fabric connecting component, the fabric within the connecting component deforms and stretches, thus changing the compression state between the two fabric strands. Figure 4 The first extrusion state shown in B changes to Figure 4 In the second compression state shown in C, the voltage signal input to the fabric by the power management module also changes. The headphone device can determine the degree of bending of the fabric connecting parts by the wearer by detecting the degree of change of the voltage signal between the fabrics, and then determine the interaction command selected by the wearer based on the degree of bending.

[0109] 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 value generated when the two fabric strands bend in the fabric connecting component. Then, the power management module determines the corresponding real-time voltage signal based on the real-time pressure value and then inputs the real-time voltage signal into the fabric connecting component.

[0110] In this way, the headphone device can determine whether the wearer has bent the fabric connecting component based on the real-time pressure value generated between multiple fabrics within the fabric connecting component, and determine the degree of bending of the fabric connecting component. Then, based on the different degrees of bending, different real-time voltage signals are generated within the fabric connecting component, so that the microprocessor can determine the interactive instructions to be executed based on the different voltage signals.

[0111] In one feasible implementation, the step of "determining the real-time voltage signal based on the real-time pressure value" in step A20 above may specifically include steps A201 to A202:

[0112] Step A201: Determine multiple reference pressure values ​​and reference voltage signal values ​​corresponding to each of the multiple reference pressure values;

[0113] Step A202: Determine the target pressure value from among the multiple reference pressure values ​​based on the real-time pressure value, and determine the reference voltage signal value corresponding to the target pressure value as the real-time voltage signal.

[0114] In this embodiment, after the power management module obtains the real-time pressure value contained in the fabric detection unit, it first reads the storage device configured in the headphone device to obtain a voltage mapping table containing multiple reference pressure values ​​and reference voltage signals corresponding to each of the multiple reference pressure values. Then, the power management module queries the voltage mapping table according to the real-time pressure value, thereby determining the target pressure value corresponding to the real-time pressure value among the multiple reference pressure values ​​contained in the voltage mapping table, and determining the reference voltage signal corresponding to the target pressure value in the voltage mapping table as the real-time voltage signal that needs to be input to the fabric connecting component.

[0115] For example, after acquiring the real-time pressure values ​​contained in the fabric detection unit, the power management module first reads the storage device configured in the headphone device to obtain six reference pressure values ​​(ON, aN, bN, cN, dN, and eN) and reference voltage parameters (0V, 1.1V, 2.2V, 3.3V, 4.4V, and eN) corresponding to the reference pressure value ON, aN, bN, cN, dN, and eN, respectively. The power management module retrieves a voltage mapping table containing a pressure parameter of 5.5V. Then, based on the acquired real-time pressure value, it queries this table to compare the six reference pressure values ​​(0N, aN, bN, cN, dN, eN) with the real-time pressure value. This allows it to determine the target pressure value from among the reference voltage parameters. If the target pressure value is cN, the power management module further queries the voltage mapping table to determine the corresponding reference voltage parameter of 3.3V for cN as the real-time voltage value to be input into the fabric connection component.

[0116] In this way, the headphone device can determine whether the wearer has bent the fabric connecting component based on the real-time pressure value generated between multiple fabrics within the fabric connecting component, and determine the degree of bending of the fabric connecting component. Then, based on the different degrees of bending, different real-time voltage signals are generated within the fabric connecting component, so that the microprocessor can determine the interactive instructions to be executed based on the different voltage signals.

[0117] Based on the first and / or second embodiments of this application, a third embodiment of this application is proposed herein. In this third embodiment, content that is the same as or similar to the above embodiments can be referred to the above description and will not be repeated hereafter. Furthermore, after step S40, the control method for the headphone device of this application further includes steps B10 to B30:

[0118] Step B10: Determine whether the interactive function was executed successfully;

[0119] Step B20: If it is determined that the interactive function has been successfully executed, then generate a target prompt sound signal based on the target interactive instruction;

[0120] Step B30: Output the target prompt sound signal to prompt the wearer of the headphone device.

[0121] In this embodiment, after the microprocessor in the headphone device controls the headphone device to execute the interactive function according to the aforementioned target interactive instruction, the microprocessor further detects the audio playback module in the headphone device to determine whether the interactive function has been successfully executed. If the microprocessor determines that the interactive function has been successfully executed, it generates a prompt sound signal based on the target interactive instruction. Finally, the microprocessor inputs the prompt sound signal to the audio playback module, which then plays the target prompt sound through the speaker to notify the wearer that the headphone device has successfully executed the target interactive operation.

[0122] For example, the microprocessor within the headphone device controls the audio playback module configured within the headphone device to switch to the next song in the playlist according to the aforementioned target interaction instruction "switch to the next song". After the audio playback module switches the currently playing song to the next song in the playlist according to the target interaction instruction, the microprocessor further detects the audio playback module to determine whether the audio module has performed the switch to the next song operation according to the target interaction instruction. If the microprocessor determines that the audio playback module has performed the interaction function, it generates a prompt sound signal "switch to the next song" based on the target interaction instruction. Finally, the microprocessor outputs the generated prompt sound signal to the audio output module, so that the speaker in the audio output module plays the prompt sound signal "switch to the next song" to the wearer to indicate to the wearer that the current interaction operation performed by the headphone device is to switch to the next song.

[0123] It should be noted that, in this embodiment and another embodiment, the specific detection process of whether the headphone device detects whether the audio playback module has performed the interactive function is existing technology, and therefore will not be described in detail here.

[0124] In this way, the headphone device can generate prompt sound signals when performing the target interactive operation, and use these prompt sound signals to remind the wearer, thereby further improving the user experience.

[0125] For example, to help understand the implementation flow of the headphone device control method obtained in this embodiment in combination with the above embodiments, please refer to... Figure 7 , Figure 7A simplified flowchart of a control method for a headphone device is provided, specifically:

[0126] In this embodiment, 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. If the wearer moves any one or more of the left earphone shell fabric connecting components, the right earphone shell fabric connecting component, or the headrest fabric connecting component, causing the fabric connecting component to bend, in an attempt to execute the interactive functions of the headphone device, the power management module in the headphone device first collects the real-time pressure parameters generated between the two fabric strands in the bent target fabric connecting component through pressure sensors configured in each fabric connecting component. Based on these real-time pressure parameters, it queries the voltage mapping table mentioned above and determines the real-time voltage value corresponding to the real-time pressure parameter in the voltage mapping table. At this time, the power management module inputs the real-time voltage value into the target fabric connecting component. Afterwards, the data collection module in the headphone device detects the left earphone shell fabric connecting component, the right earphone shell fabric connecting component, and the headrest fabric connecting component respectively, thereby detecting the internal... The system collects the voltage of a target fabric connection component and obtains its real-time voltage value. The data collection module then inputs this real-time voltage value to the microprocessor within the headphone device. The microprocessor reads the real-time signal duration corresponding to this voltage value and determines whether the duration has reached a preset signal duration. If the microprocessor determines that the signal duration has reached the preset duration, it considers the real-time voltage signal a valid voltage signal that can indicate the wearer's interaction intention. The microprocessor then determines the voltage value range of the valid voltage signal and searches the aforementioned instruction mapping table to identify the target interaction instruction corresponding to that range. Finally, the microprocessor controls the audio playback module within the headphone device according to the target interaction instruction, causing the audio playback module to execute the corresponding interaction function. After detecting that the audio playback module has successfully executed the interaction function, the microprocessor generates a prompt sound signal based on the target interaction instruction and sends it to the audio playback module. The audio playback module then plays the prompt sound signal through its speaker to remind the wearer.

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

[0128] 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 control method of the above embodiment 1.

[0129] The following is for reference. Figure 8 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 having multiple fabric connecting parts (including a head fabric connecting part and a headphone shell fabric connecting part, wherein the headphone shell fabric connecting part may include a left headphone shell fabric connecting part and a right headphone shell fabric connecting part, which will be described in detail later), a data collection module, a microprocessor, a power management module, and an audio playback module. Figure 8 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.

[0130] like Figure 8 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.

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

[0132] The headphone device provided in this application, employing the headphone device control method described in the above embodiments, solves the technical problem in related technologies where users need to touch various hardware buttons on the headphone device to perform interactive operations, resulting in numerous inconveniences during headphone use. 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 control 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.

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

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

[0135] 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 control method of the headphone device in the above embodiments.

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

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

[0138] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the headphone device, cause the headphone device to: acquire a real-time voltage signal generated within the fabric connecting component, wherein the fabric connecting component generates different voltage signals under different compression states; determine whether the real-time voltage signal is a valid voltage signal; if the real-time voltage signal is determined to be a valid voltage signal, determine a target interaction instruction corresponding to the real-time voltage signal; and control the headphone device according to the target interaction instruction to cause the headphone device to execute the interaction function corresponding to the target interaction instruction.

[0139] 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).

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

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

[0142] 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 control method of the aforementioned headphone device. This solves the technical problem in related technologies where users need to touch various hardware buttons on the headphone device to perform interactive operations, resulting in considerable inconvenience during headphone use. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the headphone device control method provided in the above embodiments, and will not be elaborated upon here.

[0143] 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 control method described above.

[0144] The computer program product provided in this application can solve the technical problem in related technologies where users need to touch various hardware buttons on the headset device to perform interactive operations, resulting in numerous inconveniences for users during headset use. 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 headset device control method provided in the above embodiments, and will not be repeated here.

[0145] 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 control method for an earphone device, characterized in that, The control method for the headphone device is applied to a headphone device equipped with a fabric connecting component, and the method includes: The real-time voltage signal generated within the fabric connecting component is acquired. The fabric connecting component generates different voltage signals under different compression states. 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. The real-time voltage signal is generated based on the wearer's mechanical action of moving the headphone device. Different compression states are generated according to the wearer's different degrees of movement of the fabric connecting component. Determine whether the real-time voltage signal is a valid voltage signal; If the real-time voltage signal is determined to be a valid voltage signal, then the target interactive command corresponding to the real-time voltage signal is determined. The headphone device is controlled according to the target interaction command so that the headphone device performs the interaction function corresponding to the target interaction command; The fabric connecting component includes multiple fabrics, and pressure detection devices are disposed between the multiple fabrics; prior to the step of acquiring the real-time voltage signal generated within the fabric connecting component, the method further includes: The pressure detection device acquires real-time pressure values ​​between the multiple fabrics; a real-time voltage signal is determined based on the real-time pressure values, and a voltage signal is input into the fabric connecting component according to the real-time voltage signal.

2. The method as described in claim 1, characterized in that, The step of determining whether the real-time voltage signal is a valid voltage signal includes: Determine the duration of the real-time signal contained in the real-time voltage signal, and compare the duration of the real-time signal with the preset signal duration to obtain a comparison result; When the comparison result indicates that the duration of the real-time signal reaches the preset signal duration, the real-time voltage signal is determined to be a valid voltage signal. If the comparison result indicates that the duration of the real-time signal does not reach the preset signal duration, the real-time voltage signal is determined to be an invalid voltage signal.

3. The method as described in claim 1, characterized in that, The step of determining the target interactive command corresponding to the real-time voltage signal includes: Determine the value of the real-time voltage signal contained within the real-time voltage signal; Based on the real-time voltage signal value, multiple preset reference interaction commands are filtered to determine the target interaction command corresponding to the real-time voltage signal from among the multiple reference interaction commands.

4. The method as described in claim 3, characterized in that, The step of filtering multiple preset reference interaction commands based on the real-time voltage signal value to determine the target interaction command corresponding to the real-time voltage signal from among the multiple reference interaction commands includes: Determine multiple reference voltage value ranges and reference interaction commands corresponding to each of the multiple reference voltage value ranges; Based on the real-time voltage signal value, a target voltage value range that matches the real-time voltage signal value is selected from multiple reference voltage value ranges. The reference interaction command corresponding to the target voltage value range is determined as the target interaction command corresponding to the real-time voltage signal.

5. The method as described in claim 1, characterized in that, The step of determining the real-time voltage signal based on the real-time pressure value includes: Determine multiple reference pressure values ​​and reference voltage signal values ​​corresponding to each of the multiple reference pressure values; Based on the real-time pressure value, a target pressure value is determined from among multiple reference pressure values, and the reference voltage signal value corresponding to the target pressure value is determined as the real-time voltage signal.

6. The method as described in claim 1, characterized in that, After the step of controlling the headset device according to the target interaction instruction to cause the headset device to execute the interaction function corresponding to the target interaction instruction, the method further includes: Determine whether the interactive function was executed successfully; If the interactive function is determined to be executed successfully, a target prompt sound signal is generated based on the target interactive instruction; The target prompt sound signal is output to prompt the wearer of the headphone device.

7. 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 control method for the headphone device as described in any one of claims 1 to 6.

8. 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 control method for the headphone device as described in any one of claims 1 to 6.

9. 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 control method for the headphone device as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Audio frequency control method and device and terminal device

    CN103761984A

  • Devices with smart textile touch sensing capabilities

    WO2023164269A1