Volume control method and device of wireless earphone and wireless earphone
By setting rotatable parts and built-in rotation detection parts on the wireless headphone case, using an acceleration sensor to detect rotation parameters and generate volume control commands, the problem of insufficient accuracy and stability of the volume control of existing wireless headphones is solved, and more accurate and stable volume control is achieved, improving the user experience.
Patent Information
- Application Number
- CN202311754028.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-19
- Publication Date
- 2025-06-20
AI Technical Summary
The volume control method of existing wireless headphones is relatively lacking, especially the capacitive touch area on the headphone handle of TWS headphones is too small, which is prone to failure and mistouching, resulting in inaccurate and stable volume control.
A wireless headset is designed, including a rotatable component arranged on the housing and a built-in rotation detection component. The rotation parameter information of the rotatable component is detected by an acceleration sensor, thereby determining the rotation direction, angle and speed, and generating a volume control command.
Accurate and stable control of the volume of wireless headphones, improve user experience, and avoid problems such as mistouch and failure.
Smart Images

Figure CN120186516A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless earphones, and particularly relates to a method and device for controlling the volume of a wireless earphone and a wireless earphone. Background Art
[0002] Currently, the volume control method of wireless earphones is mainly to control the volume of the wireless earphones through a wirelessly connected terminal device (such as a mobile phone). The volume control method of the wireless earphones themselves is relatively lacking. For example, although there is a way to adjust the volume by capacitive touch on the earphone stem of TWS (True Wireless Stereo) earphones, due to the too small touch area on the earphone stem, the situation of malfunction and accidental touch is likely to occur.
[0003] Therefore, how to add a more accurate and stable volume control method for wireless earphones and improve the user experience is an urgent problem to be solved nowadays. Summary of the Invention
[0004] The purpose of the present invention is to provide a method and device for controlling the volume of a wireless earphone and a wireless earphone, so as to add a more accurate and stable volume control method for the wireless earphone and improve the user experience.
[0005] To solve the above technical problems, the present invention provides a wireless earphone, including: a rotatable component arranged on the outer shell of the wireless earphone and a rotation detection component arranged inside the outer shell of the wireless earphone;
[0006] Wherein, the rotation direction of the rotatable component is the clockwise rotation direction and the counterclockwise rotation direction along the same rotation axis, and the rotation detection component is used to detect the rotation parameter information corresponding to the rotation of the rotatable component, so as to determine the rotation direction of the rotatable component by using the rotation parameter information.
[0007] In some embodiments, the rotatable component is an annular component arranged on the earphone stem part of the outer shell of the wireless earphone, and the outer surface of the annular component protrudes or is parallel to the outer surface of the earphone stem part.
[0008] In some embodiments, the rotation detection component is specifically an acceleration sensor that rotates correspondingly as the rotatable component rotates.
[0009] In some embodiments, the wireless earphone further includes: a rotation limiting component arranged inside the outer shell of the wireless earphone, which is used to limit the maximum rotation angle of the rotatable component in the clockwise rotation direction and the counterclockwise rotation direction respectively; wherein, the maximum rotation angle is less than or equal to 360°.
[0010] In some embodiments, the wireless earphone further includes: a rotation reset component disposed inside the wireless earphone housing, configured to restore the rotatable component to its initial position before rotation when there is no external force on the outer surface of the rotatable component after rotation.
[0011] The present invention also provides a method for controlling the volume of a wireless earphone, which is applied to the wireless earphone as described above, and includes:
[0012] Obtaining rotation parameter information detected by a rotation detection component in the wireless earphone;
[0013] Determining rotation information of a rotatable component in the wireless earphone according to the rotation parameter information; wherein the rotation information includes a rotation direction;
[0014] Generating a volume control instruction for the wireless earphone according to the rotation information; wherein the volume control instruction includes a volume increase instruction and a volume decrease instruction.
[0015] In some embodiments, the rotation detection component is an acceleration sensor, and determining the rotation information of the rotatable component in the wireless earphone according to the rotation parameter information includes:
[0016] Determining the rotation information according to the rotation parameter information detected by the acceleration sensor; wherein the rotation information further includes a rotation angle and / or a rotation speed;
[0017] Correspondingly, generating the volume control instruction for the wireless earphone according to the rotation information includes:
[0018] Determining the instruction type of the volume control instruction according to the rotation direction; wherein the instruction type is the volume increase instruction or the volume decrease instruction;
[0019] Determining the adjusted volume of the volume control instruction according to the rotation angle and / or the rotation speed;
[0020] Generating the volume control instruction according to the instruction type and the adjusted volume.
[0021] In some embodiments, determining the adjusted volume of the volume control instruction according to the rotation angle and / or the rotation speed includes:
[0022] If the instruction type is the volume increase instruction, determining whether the rotation of the rotatable component is a uniform rotation according to the rotation speed within a first preset time period;
[0023] If it is a uniform rotation, determine whether the rotation angles within the second preset time period are all within the preset angle range; wherein, the second preset time period is greater than or equal to the first preset time period;
[0024] If they are all within the preset angle range, determine the adjusted volume of the volume control instruction according to the maximum rotation angle within the second preset time period;
[0025] If it is not a uniform rotation or not all within the preset angle range, execute the step of obtaining the rotation parameter information detected by the rotation detection component in the wireless earphone.
[0026] In some embodiments, before obtaining the rotation parameter information detected by the rotation detection component in the wireless earphone, it further includes:
[0027] Detect whether the wireless earphone is in a worn state;
[0028] If it is in a worn state, activate the rotation detection component and execute the step of obtaining the rotation parameter information detected by the rotation detection component in the wireless earphone.
[0029] The present invention also provides a volume control device for a wireless earphone, which is applied to the wireless earphone as described above, and includes:
[0030] An acquisition module, configured to acquire the rotation parameter information detected by the rotation detection component in the wireless earphone;
[0031] A determination module, configured to determine the rotation information of the rotatable component in the wireless earphone according to the rotation parameter information; wherein, the rotation information includes a rotation direction;
[0032] A generation module, configured to generate a volume control instruction for the wireless earphone according to the rotation information; wherein, the volume control instruction includes a volume increase instruction and a volume decrease instruction.
[0033] A wireless earphone provided by the present invention includes: a rotatable component provided on the outer shell of the wireless earphone and a rotation detection component provided inside the outer shell of the wireless earphone; wherein, the rotation directions of the rotatable component are the clockwise rotation direction and the counterclockwise rotation direction along the same rotation axis, and the rotation detection component is configured to detect the rotation parameter information corresponding to the rotation of the rotatable component to determine the rotation direction of the rotatable component by using the rotation parameter information;
[0034] It can be seen that the present invention uses a rotation detection component to detect the rotation parameter information of a rotatable component, and can detect the rotation direction of the rotatable component, thereby realizing the rotation detection of the rotatable component, enabling the user to adjust the volume of the wireless earphone by rotating the rotatable component, adding a more accurate and stable volume control method for the wireless earphone, and improving the user experience. In addition, the present invention also provides a volume control method and device for a wireless earphone, which also have the above beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to the provided drawings.
[0036] Figure 1 FIG. is a schematic structural diagram of a wireless earphone provided by an embodiment of the present invention;
[0037] Figure 2 FIG. is a flowchart of a volume control method for a wireless earphone provided by an embodiment of the present invention;
[0038] Figure 3 FIG. is a flowchart of another volume control method for a wireless earphone provided by an embodiment of the present invention;
[0039] Figure 4 FIG. is a structural block diagram of a volume control device for a wireless earphone provided by an embodiment of the present invention;
[0040] Figure 5 FIG. is a schematic structural diagram of a computer-readable storage medium provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0041] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
[0042] Please refer to Figure 1 , Figure 1 FIG. is a schematic structural diagram of a wireless earphone provided by an embodiment of the present invention. The wireless earphone may include: a rotatable component 11 provided on the outer shell 10 of the wireless earphone and a rotation detection component 12 provided inside the outer shell 10 of the wireless earphone;
[0043] Among them, the rotation direction of the rotatable component 11 is the clockwise rotation direction and the counterclockwise rotation direction along the same rotation axis. The rotation detection component 12 is used to detect the rotation parameter information corresponding to the rotation of the rotatable component 11, so as to determine the rotation direction of the rotatable component 11 by using the rotation parameter information.
[0044] It can be understood that the wireless earphone provided in this embodiment can be an earphone that directly performs wireless connection with a terminal device (such as a mobile phone) in the prior art and obtains audio data sent by the terminal device for audio playback, such as TWS earphones. The outer shell 10 of the wireless earphone in this embodiment can be the outer shell of the wireless earphone. The rotatable component 11 in this embodiment can be a component provided on the outer shell 10 of the wireless earphone that can rotate clockwise and counterclockwise along a rotation axis, so that the user can operate the rotatable component 11 on the outer shell 10 of the wireless earphone to control it to rotate clockwise and counterclockwise to correspondingly adjust the volume of the wireless earphone.
[0045] Correspondingly, for the specific structure of the rotatable component 11 in this embodiment and its installation position on the outer shell 10 of the wireless earphone, it can be set by the designer according to the practical scenario and user needs. For example, the entire earphone stem part of the outer shell 10 of the wireless earphone can be used as an annular component, so that the user can directly rotate the earphone stem part to adjust the volume. The rotatable component 11 can also be an annular component, and the outer surface of the annular component can protrude or be parallel to the outer surface of the outer shell 10 of the wireless earphone, so that the user can touch the outer surface of the entire annular component on the outer shell 10 of the wireless earphone and operate the annular component to rotate; as Figure 1 shown, the rotatable component 11 can be an annular component of the earphone stem part of the outer shell 10 of the wireless earphone, and the outer surface of the annular component protrudes or is parallel to the outer surface of the earphone stem part. The rotatable component 11 can also be an annular component of the earphone head part of the outer shell 10 of the wireless earphone, such as being arranged in the non-earbud area of the earphone head part, that is, the area that will not enter the user's ear when the user wears the wireless earphone, so that the user can operate the rotatable component 11 to rotate when wearing the wireless earphone.
[0046] Correspondingly, the rotatable component 11 can also be a circular component arranged in the groove of the outer shell 10 of the wireless earphone. At least part of the rotatable component 11 placed in the groove protrudes from the outer shell 10 of the wireless earphone, so that the user can operate the rotatable component 11 protruding from the outer shell 10 of the wireless earphone to rotate. As long as the user can operate the rotatable component 11 on the outer shell 10 of the wireless earphone to perform two-way rotation of clockwise and counterclockwise, this embodiment does not make any restrictions.
[0047] It should be noted that the rotation detection component 12 in this embodiment can be a component disposed within the wireless earphone housing 10 for detecting information corresponding to the rotation of the rotatable component 11 (i.e., rotation parameter information), such as an acceleration sensor for detecting acceleration information or a magnetic flux sensor for detecting magnetic flux. For the component type and installation location of the rotation detection component 12 in this embodiment, it can be set by the designer according to the usage scenario and user requirements. For example, the rotation detection component 12 can specifically be an acceleration sensor that rotates correspondingly as the rotatable component 11 rotates, so that the rotation of the rotatable component 11 can drive the acceleration sensor to rotate correspondingly, thereby enabling the rotation information of the rotatable component 11 (such as rotation direction, rotation angle, and rotation speed, etc.) to be determined through the acceleration information (i.e., rotation parameter information) collected by the acceleration sensor; the rotation detection component 12 can also specifically be a magnetic flux sensor disposed at a corresponding position of the rotatable component 11. Correspondingly, magnets can be arranged at intervals in the circumferential direction of the rotatable component 11, so that the magnetic flux sensor can detect the magnetic flux information at the rotation positions (i.e., the installation positions of the magnets) corresponding to each magnet when the rotatable component 11 rotates, thereby determining the rotation information of the rotatable component 11. As long as the rotation detection component 12 can detect the rotation parameter information corresponding to the rotation of the rotatable component 11 to determine the rotation direction of the rotatable component 11, so as to realize the control of the playback volume of the wireless earphone, this embodiment does not impose any restrictions.
[0048] Correspondingly, for the specific rotation detection method of the rotatable component 11 in this embodiment, it can be set by the designer according to the practical scenario and user requirements. For example, the rotatable component 11 on the wireless earphone housing 10 can rotate freely without restriction, that is, the rotation information of the rotatable component 11 can be determined according to the rotation parameter information corresponding to the initial position before the rotation and the current position after the rotation of the rotatable component 11 detected by the rotation detection component 12. The rotatable component 11 on the wireless earphone housing 10 can also rotate within a certain rotation angle range; for example, the wireless earphone provided in this embodiment can also include a rotation limiting component disposed within the wireless earphone housing 10 for limiting the maximum rotation angle of the rotatable component 11 in the clockwise rotation direction and the counterclockwise rotation direction respectively; wherein, the maximum rotation angle of the rotatable component 11 in the clockwise rotation direction and the counterclockwise rotation direction can both be less than or equal to 360°.
[0049] Correspondingly, the wireless earphone provided in this embodiment may further include a rotation reset component (such as a torsion spring) disposed inside the wireless earphone housing 10, which is used to restore the rotatable component 11 to its initial position before rotation when there is no external force on the outer surface of the rotatable component 11 after rotation, so that after the user rotates the rotatable component 11, the rotatable component 11 can automatically return to its initial position before rotation; that is, the rotation information of the rotatable component 11 can be determined according to the rotation parameter information corresponding to the initial position before rotation (i.e., the position after the rotation reset component is reset) and the current position (or the maximum rotation position) after rotation of the rotatable component 11 detected by the rotation detection component 12, so as to facilitate the determination of the rotation information. For example, the rotatable component 11 and the wireless earphone body can be linked by a torsion spring (i.e., the rotation reset component) to use the torsion spring to reset the rotatable part. After reset, the rotation limit component can limit the maximum rotation angle of the rotatable component 11 in the clockwise rotation direction or the counterclockwise rotation direction to 180°, so that the user can increase or decrease the volume of the wireless earphone by rotating the rotatable component 11 in the clockwise rotation direction or the counterclockwise rotation direction by less than or equal to 180° each time.
[0050] In this embodiment, the embodiment of the present invention uses the rotation detection component 12 to detect the rotation parameter information of the rotatable component 11, and can detect the rotation direction of the rotatable component 11, thereby realizing the rotation detection of the rotatable component 11, so that the user can adjust the volume of the wireless earphone by rotating the rotatable component 11, adding a more accurate and stable volume control method for the wireless earphone and improving the user experience.
[0051] Corresponding to the above wireless earphone embodiment, the embodiment of the present invention also provides a volume control method for a wireless earphone. The volume control method for a wireless earphone described below can be correspondingly referred to the wireless earphone described above.
[0052] Please refer to Figure 2 , Figure 2 which is a flowchart of a volume control method for a wireless earphone provided by the embodiment of the present invention. This method is applied to the wireless earphone provided in the above embodiment and may include:
[0053] Step 101: Obtain the rotation parameter information detected by the rotation detection component in the wireless earphone.
[0054] It can be understood that the wireless earphone provided in this embodiment can be the wireless earphone provided with a rotatable component and a rotation detection component in the above embodiment, such as a TWS earphone. In this step, a processor (such as a micro control unit MCU or a system on chip SOC) in the wireless earphone can obtain the rotation parameter information detected by the rotation detection component in the wireless earphone, so as to use the rotation parameter information detected by the rotation detection component to determine the information related to the rotation of the rotatable component (i.e., rotation information), thereby generating a corresponding volume control instruction to realize the control of the playback volume of the wireless earphone.
[0055] Correspondingly, for the specific manner in which the processor of the wireless earphone in this step obtains the rotation parameter information detected by the rotation detection component in the wireless earphone, it can be set by the designer according to the practical scenario and user requirements. For example, the processor can directly receive the rotation parameter information (such as acceleration information or magnetic flux information) sent by the rotation detection component. To reduce the power consumption of the wireless earphone, in this step, the processor can start the rotation detection component when it detects that the wireless earphone is in a worn state, and obtain the rotation parameter information detected by the rotation detection component in the wireless earphone. That is to say, before this step, the processor can detect whether the wireless earphone is in a worn state. If it is in a worn state, the rotation detection component is started and step 101 is entered. If it is not in a worn state, the rotation detection component can be turned off, and this process can be ended or the step of detecting whether the wireless earphone is in a worn state can be returned to wait for the user to wear the wireless earphone.
[0056] Step 102: Determine the rotation information of the rotatable component in the wireless earphone according to the rotation parameter information; wherein, the rotation information includes the rotation direction.
[0057] It should be noted that the rotation information of the rotatable component in this embodiment can be the information related to the rotation of the rotatable component. For the specific content of the rotation information in this embodiment, it can be set by the designer according to the practical scenario and user requirements. For example, the rotation information can include the rotation direction of the rotatable component, such as the clockwise rotation direction and the counterclockwise rotation direction, so as to use the determined rotation direction to determine the instruction type of the volume control instruction, such as the volume increase instruction and the volume decrease instruction. The rotation information can also include the rotation angle and / or the rotation speed to realize the detection of accidental triggering and / or the determination of volume adjustment. As long as the processor of the wireless earphone can use the determined rotation information to generate a corresponding volume control instruction to realize the volume control of the wireless earphone, this embodiment does not make any restrictions on this.
[0058] Correspondingly, in this step, the processor of the wireless earphone can determine whether the user operates the rotatable component to rotate according to the rotation parameter information detected by the rotation detection component, and the rotation information of the rotatable component when the user operates the rotatable component to rotate; that is to say, in this step, the processor can determine whether the rotatable component in the wireless earphone rotates according to the rotation parameter information; if so, according to the rotation parameter information, determine the rotation information of the rotatable component in the wireless earphone; if not, this process can be ended or step 101 can be entered to wait for the user to drive the rotatable component.
[0059] Correspondingly, for the specific manner in which the processor in this step determines the rotation information of the rotatable component in the wireless earphone according to the rotation parameter information, the designer can set it by himself according to the practical scenario and user requirements. For example, when the rotation detection component in the wireless earphone is an acceleration sensor that rotates correspondingly with the rotation of the rotatable component, the processor can determine the rotation information according to the rotation parameter information (i.e., acceleration information) detected by the acceleration sensor; correspondingly, the rotation information can not only include the rotation direction of the rotatable component (such as the clockwise rotation direction or the counterclockwise rotation direction), but also include the rotation angle and / or rotation speed of the rotatable component; for example, the processor can determine the rotation direction, rotation angle and rotation speed of the rotatable component according to the acceleration information (such as the acceleration value and direction) of at least one of the X-axis, Y-axis and Z-axis detected by the acceleration sensor. When the rotation detection component in the wireless earphone is a magnetic flux sensor for detecting the magnetic flux information at the rotation positions corresponding to each magnet when the rotatable component rotates, the processor can determine the rotation positions passed by the rotation of the rotatable component according to the change of the magnetic flux information (i.e., rotation parameter information) detected by the magnetic flux sensor; determine the rotation information according to the change of the rotation position; correspondingly, the rotation information can also include the rotation direction of the rotatable component and the rotation angle and / or rotation speed. This embodiment does not make any restrictions on this.
[0060] Step 103: Generate a volume control instruction for the wireless earphone according to the rotation information; wherein, the volume control instruction includes a volume increase instruction and a volume decrease instruction.
[0061] It can be understood that the volume control instruction of the wireless earphone in this embodiment can be an instruction for controlling the playback volume of the wireless earphone, such as a volume increase instruction for increasing the playback volume and a volume decrease instruction for decreasing the playback volume.
[0062] Correspondingly, in this step, the processor of the wireless earphone can generate corresponding volume control instructions according to the determined rotation information to correspondingly adjust the playback volume of the wireless earphone. For the specific manner in which the processor in this step generates the volume control instructions of the wireless earphone according to the rotation information, designers can set it by themselves according to the practical scenario and user requirements. For example, when the rotation information includes the rotation direction, the processor can determine the instruction type of the volume control instruction according to the rotation direction; among them, the instruction type is a volume increase instruction or a volume decrease instruction; generate a volume control instruction with a preset variable volume (such as 10%) corresponding to the determined instruction type; for example, when the rotation direction is clockwise rotation, the processor can generate a volume increase instruction to increase the volume by 10%; when the rotation direction is counterclockwise rotation, the processor can generate a volume decrease instruction to decrease the volume by 10%. When the rotation information further includes the rotation angle and / or the rotation speed, in this step, the processor can determine the instruction type of the volume control instruction according to the rotation direction; among them, the instruction type is a volume increase instruction or a volume decrease instruction; determine the adjusted volume of the volume control instruction according to the rotation angle and / or the rotation speed; generate a volume control instruction according to the instruction type and the adjusted volume; that is to say, the processor can use the rotation angle and / or the rotation speed to realize the determination of the adjusted volume of the volume control instruction.
[0063] Correspondingly, the processor can also judge whether there is a mis-trigger of the rotatable component according to the rotation angle and / or the rotation speed; if so, end this process or enter step 101 without generating a volume control instruction; if not, it can use the generated volume control instruction corresponding to the rotation direction. For example, when the rotation speed is not a uniform rotation and / or the rotation angle is not within the preset angle range, it is determined that there is a mis-trigger of the rotatable component, and a volume control instruction may not be generated; otherwise, it is determined that there is no mis-trigger of the rotatable component, and a volume control instruction with a preset variable volume corresponding to the determined instruction type or a volume control instruction corresponding to the determined instruction type and the adjusted volume can be generated. This embodiment does not make any restrictions on this.
[0064] It should be noted that after the processor of the wireless earphone in this embodiment generates the volume control instruction of the wireless earphone, it can directly control the playback volume of the wireless earphone according to the generated volume control instruction, or send the generated volume control instruction to the terminal device (such as a mobile phone) wirelessly connected to the wireless earphone to adjust the playback volume of the wireless earphone through the terminal device. As long as the processor can use the generated volume control instruction to adjust the playback volume of the wireless earphone, this embodiment does not make any restrictions on this.
[0065] In this embodiment, the embodiment of the present invention uses a rotation detection component to detect the rotation parameter information of a rotatable component, and can detect the rotation direction of the rotatable component, so as to realize the rotation detection of the rotatable component, and thus realize the corresponding volume control, enabling the user to adjust the volume of the wireless headset by rotating the rotatable component, adding a more accurate and stable volume control method for the wireless headset and improving the user experience.
[0066] Based on the above method embodiment, the embodiment of the present invention also provides another volume control method for a wireless headset to achieve a volume adjustment that better meets the user's needs. Specifically, please refer to Figure 3 , Figure 3 which is a flowchart of another volume control method for a wireless headset provided by the embodiment of the present invention. This method is applied to the wireless headset provided in the above embodiment and may include:
[0067] Step 201: Obtain the rotation parameter information detected by the acceleration sensor in the wireless headset.
[0068] It can be understood that in this embodiment, the rotation detection component in the wireless headset is exemplified by an acceleration sensor that rotates correspondingly as the rotatable component rotates. For the volume control method using other devices (such as a magnetic flux sensor) as the rotation detection component in the wireless headset, it can be implemented in a manner similar to the method provided in this embodiment, and this embodiment does not impose any restrictions on this.
[0069] Among them, this step is similar to step 101 and will not be elaborated here.
[0070] Step 202: Determine the rotation information of the rotatable component in the wireless headset according to the rotation parameter information; where the rotation information includes the rotation direction, the rotation angle, and / or the rotation speed.
[0071] It can be understood that in this step, the processor of the wireless headset can determine the rotation information of the rotatable component during the user's rotation of the rotatable component according to the rotation parameter information (i.e., the acceleration information) collected by the acceleration sensor, such as the rotation direction, the rotation angle, and the rotation speed of the rotatable component.
[0072] Step 203: Determine the instruction type of the volume control instruction according to the rotation direction; where the instruction type is a volume increase instruction or a volume decrease instruction.
[0073] Correspondingly, in this step, the processor can determine the instruction type of the volume control instruction to be generated according to the rotation direction of the rotatable component. For example, when it is preset that the clockwise rotation direction is the volume increase direction and the counterclockwise rotation direction is the volume decrease direction, if the rotation direction is the clockwise rotation direction, the instruction type of the volume control instruction can be determined as the volume increase instruction; if the rotation direction is the counterclockwise rotation direction, the instruction type of the volume control instruction can be determined as the volume decrease instruction.
[0074] Step 204: Determine the adjusted volume of the volume control instruction according to the rotation angle and / or rotation speed.
[0075] It can be understood that in this step, the processor can determine the volume size (i.e., the adjusted volume) adjusted by the volume control instruction to be generated according to the rotation angle and / or rotation speed of the rotatable component, so that each time the user rotates the rotatable component to adjust the volume, the corresponding volume size can be adjusted according to the demand, and then the volume can be adjusted to the required volume at one time, reducing the number of volume adjustments.
[0076] Correspondingly, for the specific method of determining the adjusted volume of the volume control instruction by the processor according to the rotation angle and / or rotation speed in this step, it can be set by the designer according to the practical scenario and user requirements. For example, the processor can determine the adjusted volume of the volume control instruction according to the rotation angle. For example, according to the maximum rotation angle within the second preset time period, determine the adjusted volume of the volume control instruction. The rotation angle ranges corresponding to each preset adjusted volume (such as 10%, 20%, and 30%, etc.) can be preset in advance, so as to determine the corresponding preset adjusted volume as the adjusted volume of the volume control instruction according to the rotation angle range where the maximum rotation angle of the current rotation is located. For example, the larger the rotation angle, the larger the corresponding adjusted volume. That is to say, in this step, the processor can determine the target preset adjusted volume as the adjusted volume according to the rotation angle and each rotation angle range; where the target preset adjusted volume is the preset adjusted volume corresponding to the rotation angle range where the rotation angle is located. For example, when setting the rotation limit component in the wireless earphone, the rotation angle ranges corresponding to each preset adjusted volume can all be within the maximum rotation angles in the clockwise rotation direction and the counterclockwise rotation direction restricted by the rotation limit component.
[0077] Correspondingly, the processor can also determine the adjusted volume of the volume control instruction according to the rotation speed. For example, the rotation speed ranges corresponding to each preset adjusted volume (such as 10%, 20%, and 30%, etc.) can be preset in advance, so as to determine the corresponding preset adjusted volume as the adjusted volume of the volume control instruction according to the rotation speed range in which the rotation speed of the current rotation is located. For example, the faster the rotation speed, the larger the corresponding adjusted volume. The processor can also determine the adjusted volume of the volume control instruction according to the rotation speed and the rotation angle. For example, the larger the rotation angle, the larger the corresponding adjusted volume; when the rotation angles are the same, the faster the rotation speed, the larger the corresponding adjusted volume. This embodiment does not make any restrictions on this.
[0078] Further, in order to avoid the sudden increase in the volume of the wireless earphone from affecting the user experience and to protect the user's hearing, in this embodiment, when the instruction type determined by the processor is a volume increase instruction, the processor can determine whether to activate hearing protection according to the determined rotation angle and / or rotation speed. If so, end this process or enter step 201 without generating a volume increase instruction. If not, the adjusted volume can be determined according to the rotation angle and / or rotation speed to generate a corresponding volume increase instruction. For example, in this step, when the instruction type is a volume increase instruction, the processor can determine whether the rotation of the rotatable component is a uniform rotation according to the rotation speed within the first preset time period. If it is a uniform rotation, it is determined whether the rotation angles within the second preset time period are all within the preset angle range. Here, the second preset time period is greater than or equal to the first preset time period. If they are all within the preset angle range, the adjusted volume of the volume control instruction is determined according to the largest rotation angle within the second preset time period, and step 205 is entered. If it is not a uniform rotation or not all within the preset angle range, step 201 is entered, that is, the volume is not adjusted this time. That is to say, when the user rotates the rotatable component of the earphone, it can be judged whether the direction in which the rotatable component is rotated detected by the acceleration sensor is for volume increase. If it is rotated in the volume increase direction, at the same time, it is detected whether the rotation speed is a uniform rotation and the maximum rotation angle is within the preset angle range (for the purpose of protecting the user's hearing and avoiding the sudden increase in volume caused by instant rotation from affecting the user experience). If the rotation speed and the rotation angle are too large, hearing protection is activated, that is, the volume adjustment is not executed. Only when both the rotation speed and the rotation angle meet the requirements is the volume increase adjustment executed. For the volume decrease adjustment, it can be adjusted without limitation. For example, when the instruction type is a volume decrease instruction, the adjusted volume of the volume control instruction is determined according to the largest rotation angle within the second preset time period, and step 205 is entered.
[0079] Step 205: Generate a volume control instruction according to the instruction type and the adjusted volume.
[0080] It can be understood that in this step, the processor can generate a corresponding volume control instruction according to the determined instruction type and the adjusted volume, that is, the magnitude of the changed volume of the adjustment is the volume increase instruction or the volume decrease instruction of the adjusted volume, so as to implement the volume adjustment corresponding to this rotation.
[0081] Corresponding to the above method embodiment, the embodiment of the present invention further provides a volume control device for a wireless earphone. A volume control device for a wireless earphone described below can be correspondingly referred to with a volume control method for a wireless earphone described above.
[0082] Please refer to Figure 4 , Figure 4 which is a structural block diagram of a volume control device for a wireless earphone provided by an embodiment of the present invention. This device is applied to the wireless earphone provided by the above embodiment and may include:
[0083] An acquisition module 100, configured to acquire rotation parameter information detected by a rotation detection component in the wireless earphone;
[0084] A determination module 200, configured to determine rotation information of a rotatable component in the wireless earphone according to the rotation parameter information; wherein, the rotation information includes a rotation direction;
[0085] A generation module 300, configured to generate a volume control instruction for the wireless earphone according to the rotation information; wherein, the volume control instruction includes a volume increase instruction and a volume decrease instruction.
[0086] In some embodiments, the rotation detection component is an acceleration sensor, and the determination module 20 may be specifically configured to determine the rotation information according to the rotation parameter information detected by the acceleration sensor; wherein, the rotation information further includes a rotation angle and / or a rotation speed;
[0087] Correspondingly, the generation module 300 may include:
[0088] A type determination sub-module, configured to determine the instruction type of the volume control instruction according to the rotation direction; wherein, the instruction type is a volume increase instruction or a volume decrease instruction;
[0089] A volume determination sub-module, configured to determine the adjusted volume of the volume control instruction according to the rotation angle and / or the rotation speed;
[0090] An instruction generation sub-module, configured to generate a volume control instruction according to the instruction type and the adjusted volume.
[0091] In some embodiments, the volume determination sub-module may include:
[0092] A rotation speed judgment unit, configured to, if the instruction type is a volume increase instruction, judge whether the rotation of the rotatable component is uniform rotation according to the rotation speed within the first preset time period; if it is not uniform rotation, send a start signal to the acquisition module 100;
[0093] An angle judgment unit, configured to, if it is uniform rotation, judge whether the rotation angles within the second preset time period are all within the preset angle range; wherein, the second preset time period is greater than or equal to the first preset time period; if they are not all within the preset angle range, send a start signal to the acquisition module 100;
[0094] A volume determination unit, configured to, if they are all within the preset angle range, determine the adjusted volume of the volume control instruction according to the maximum rotation angle within the second preset time period.
[0095] In some embodiments, the device may further include:
[0096] A wearing detection module, configured to detect whether the wireless earphone is in a wearing state; if it is in a wearing state, start the rotation detection component and send a start signal to the acquisition module 100.
[0097] In this embodiment, the embodiment of the present invention uses the rotation detection component to detect the rotation parameter information of the rotatable component, can detect the rotation direction of the rotatable component, realizes the rotation detection of the rotatable component, and thus realizes the corresponding volume control, so that the user can adjust the volume of the wireless earphone by rotating the rotatable component, adding a more accurate and stable volume control method for the wireless earphone and improving the user experience.
[0098] Corresponding to the above method embodiment, the embodiment of the present invention also provides a computer-readable storage medium, and a computer-readable storage medium described below can be mutually referred to corresponding to a volume control method of a wireless earphone described above.
[0099] Please refer to Figure 5 , Figure 5 FIG. is a schematic structural diagram of a computer-readable storage medium provided by an embodiment of the present invention. A computer program 51 is stored on the computer-readable storage medium 50, and when the computer program 51 is executed by a processor, the steps of the volume control method of the wireless earphone provided by the above method embodiment are implemented.
[0100] The computer-readable storage medium 50 may specifically be various storage media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc that can store program codes.
[0101] The various embodiments in the specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference can be made to each other. For the devices and computer-readable storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section.
[0102] The above has introduced in detail a method and device for controlling the volume of a wireless earphone and the wireless earphone provided by the present invention. Specific examples are used herein to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.
Claims
1. A wireless earphone, characterized in that, Comprising: A rotatable component disposed on the housing of the wireless earphone and a rotation detection component disposed inside the housing of the wireless earphone; Wherein, the rotation direction of the rotatable component is the clockwise rotation direction and the counterclockwise rotation direction along the same rotation axis, and the rotation detection component is used to detect the rotation parameter information corresponding to the rotation of the rotatable component, so as to determine the rotation direction of the rotatable component by using the rotation parameter information.
2. The wireless earphone according to claim 1, characterized in that, The rotatable component is an annular component disposed on the earphone stem part of the housing of the wireless earphone, and the outer surface of the annular component protrudes or is parallel to the outer surface of the earphone stem part.
3. The wireless earphone according to claim 1, characterized in that, The rotation detection component is specifically an acceleration sensor that rotates correspondingly as the rotatable component rotates.
4. The wireless earphone according to claim 1, characterized in that, Further comprising: A rotation limiting component disposed inside the housing of the wireless earphone, which is used to limit the maximum rotation angle of the rotatable component in the clockwise rotation direction and the counterclockwise rotation direction respectively; wherein, the maximum rotation angle is less than or equal to 360°.
5. The wireless earphone according to claim 1, characterized in that, Further comprising: A rotation reset component disposed inside the housing of the wireless earphone, which is used to restore the rotatable component to the initial position before rotation when the outer surface of the rotatable component after rotation is not affected by an external force.
6. A method for controlling the volume of a wireless earphone, characterized in that, Applied to the wireless earphone according to any one of claims 1 to 5, comprising: Obtaining the rotation parameter information detected by the rotation detection component in the wireless earphone; Determining the rotation information of the rotatable component in the wireless earphone according to the rotation parameter information; wherein, the rotation information includes the rotation direction; Generating a volume control instruction for the wireless earphone according to the rotation information; wherein, the volume control instruction includes a volume increase instruction and a volume decrease instruction.
7. The method for controlling the volume of a wireless earphone according to claim 6, characterized in that, The rotation detection component is an acceleration sensor, and determining the rotation information of the rotatable component in the wireless earphone according to the rotation parameter information includes: Determining the rotation information according to the rotation parameter information detected by the acceleration sensor; wherein, the rotation information further includes the rotation angle and / or the rotation speed; Correspondingly, generating the volume control instruction for the wireless earphone according to the rotation information includes: Determining the instruction type of the volume control instruction according to the rotation direction; wherein, the instruction type is the volume increase instruction or the volume decrease instruction; Determining the adjusted volume of the volume control instruction according to the rotation angle and / or the rotation speed; Generating the volume control instruction according to the instruction type and the adjusted volume.
8. The method for controlling the volume of a wireless earphone according to claim 7, characterized in that, Determining the adjusted volume of the volume control instruction according to the rotation angle and / or the rotation speed includes: If the instruction type is the volume increase instruction, then judging whether the rotation of the rotatable component is a uniform rotation according to the rotation speed within a first preset time period; If it is a uniform rotation, then judging whether the rotation angles within a second preset time period are all within a preset angle range; wherein, the second preset time period is greater than or equal to the first preset time period; If they are all within the preset angle range, then determining the adjusted volume of the volume control instruction according to the maximum rotation angle within the second preset time period; If it is not a uniform rotation or not evenly within the preset angle range, then perform the step of obtaining the rotation parameter information detected by the rotation detection component in the wireless earphone.
9. The method for controlling the volume of a wireless earphone according to claim 6, characterized in that, Before obtaining the rotation parameter information detected by the rotation detection component in the wireless earphone, it further includes: Detect whether the wireless earphone is in a worn state; If it is in a worn state, start the rotation detection component and perform the step of obtaining the rotation parameter information detected by the rotation detection component in the wireless earphone.
10. A device for controlling the volume of a wireless earphone, characterized in that, Applied to the wireless earphone according to any one of claims 1 to 5, it includes: An acquisition module, configured to acquire the rotation parameter information detected by the rotation detection component in the wireless earphone; A determination module, configured to determine the rotation information of the rotatable component in the wireless earphone according to the rotation parameter information; wherein, the rotation information includes the rotation direction; A generation module, configured to generate a volume control instruction for the wireless earphone according to the rotation information; Wherein, the volume control instruction includes a volume increase instruction and a volume decrease instruction.