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

Through the communication connection between the earphone charging box and the ring device, the user's wearing status is detected and interactive instructions are obtained, which solves the problem of misoperation caused by blind operation and improves the interactive experience of the earphone device.

CN118433605BActive Publication Date: 2024-10-11GOERTEK INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410896955.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-10-11
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

Users are prone to misoperation when blindly operating headset devices, causing the headset to perform incorrect interactive operations and reducing the user's interactive experience.

Method used

Through the communication connection between the earphone charging box and the ring device, the user's wearing status is detected and the target control strategy is determined. The ring device is used to obtain the user's interactive instructions and control the earphones to perform corresponding operations to avoid blind operations.

Benefits of technology

It improves the user's interactive experience when using the headset device and reduces the occurrence of misoperations. The user can complete the interactive operation of the headset without blind operation by wearing the ring device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118433605B_ABST
    Figure CN118433605B_ABST
Patent Text Reader

Abstract

The present application discloses a control method for an earphone device, a charging box, a storage medium and a computer product, and relates to the technical field of earphone devices. The control method for an earphone device of the present application is applied to an earphone charging box, and the earphone charging box is respectively connected to the earphone device and the ring device in communication, and specifically includes: detecting the earphone device and the ring device to determine the target control strategy, wherein the target control strategy includes the ring control strategy and the earphone control strategy; when the target control strategy is the ring control strategy, determining the target interaction instruction through the ring device; and controlling the earphone device based on the target interaction instruction so that the earphone device executes the interaction operation corresponding to the target interaction instruction. The present application achieves the technical effect of enabling the earphone charging compartment to obtain the interaction instruction through the ring device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of earphone devices, and in particular to a control method for earphone devices, an earphone charging box, a storage medium, and a computer program product. Background Art

[0002] With the continuous development of the headphone industry, headphone devices have become an indispensable and important device in the daily lives of more and more users.

[0003] In the related art, the headphone device usually relies on the user to touch the hardware switch configured on it to determine the interaction command issued by the user and perform the interaction operation corresponding to the interaction command. However, this interaction method requires the user to perform blind operation when the line of sight is away from the headphone device.

[0004] In this way, the above-mentioned interaction method makes it easy for the user to make an erroneous operation during blind operation, thereby causing the headphone device to perform an erroneous interaction operation, greatly reducing the user's interaction experience when using the headphone device. Summary of the invention

[0005] The main purpose of the present application is to provide a control method for an earphone device, an earphone charging box, a storage medium and a computer program product, aiming to solve the technical problem in the related art that the user is prone to make mistakes in blind operation, which leads to the earphone device performing erroneous interactive operations.

[0006] To achieve the above object, the present application proposes a control method for an earphone device, the control method for the earphone device is applied to an earphone charging box, the earphone charging box is communicatively connected with the earphone device and the ring device respectively, and the method comprises:

[0007] Detecting the earphone device and the finger ring device to determine a target control strategy, wherein the target control strategy includes a finger ring control strategy and an earphone control strategy;

[0008] In a case where the target control strategy is the finger ring control strategy, determining a target interaction instruction through the finger ring device;

[0009] The headphone device is controlled based on the target interaction instruction so as to enable the headphone device to perform an interaction operation corresponding to the target interaction instruction.

[0010] In one embodiment, the step of detecting the earphone device and the ring device to determine the target control strategy includes:

[0011] Detecting the earphone device to obtain a first wearing state parameter, and detecting the ring device to obtain a second wearing state parameter;

[0012] A target control strategy is determined according to the first wearing state parameter and the second wearing state parameter.

[0013] In one embodiment, the step of determining a target control strategy according to the first wearing state parameter and the second wearing state parameter comprises:

[0014] Comparing the first wearing state parameter with a preset first parameter threshold to obtain a first comparison result, and comparing the second wearing state parameter with a preset second parameter threshold to obtain a second comparison result;

[0015] When the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter reaches the second parameter threshold, determining that the target control strategy is the finger ring control strategy;

[0016] When the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter does not reach the second parameter threshold, it is determined that the target control strategy is the earphone control strategy.

[0017] In one embodiment, the step of determining the target interaction instruction by the finger ring device includes:

[0018] Acquire inertia parameters corresponding to the finger ring device, and determine a device movement trajectory corresponding to the finger ring device according to the inertia parameters;

[0019] The device movement trajectory is determined as a first interaction gesture, and a target interaction instruction is determined according to the first interaction gesture.

[0020] In one embodiment, the step of determining a target interaction instruction according to the first interaction gesture includes:

[0021] Determine a plurality of reference interaction gestures and reference interaction instructions corresponding to each of the plurality of reference interaction gestures;

[0022] screening the plurality of reference interaction gestures according to the first interaction gesture to determine a target interaction gesture among the plurality of reference interaction gestures;

[0023] A reference interaction instruction corresponding to the target interaction gesture is determined as a target interaction instruction.

[0024] In one embodiment, after the step of detecting the earphone device and the ring device to determine the target control strategy, the method further includes:

[0025] In a case where the target control strategy is the headphone control strategy, determining a target interaction instruction through the headphone device;

[0026] The headphone device is controlled based on the target interaction instruction so as to enable the headphone device to perform an interaction operation corresponding to the target interaction instruction.

[0027] In one embodiment, the step of determining the target interaction instruction by the headphone device includes:

[0028] A hardware trigger parameter corresponding to the headphone device is obtained, and a target interaction instruction is determined according to the hardware trigger parameter.

[0029] In one embodiment, after the step of controlling the headphone device based on the target interaction instruction, the method further includes:

[0030] Detecting a remaining power value of the headphone device, and comparing the remaining power value with a preset power threshold to obtain a third comparison result;

[0031] When the third comparison result is that the remaining power value is less than the power threshold, generating a power prompt audio;

[0032] The battery prompt audio is output to the headphone device so as to play the battery prompt audio through the headphone device.

[0033] In one embodiment, the earphone charging box includes an earphone charging interface, and before the step of detecting the earphone device and the ring device to determine the target control strategy, the method further includes:

[0034] Detecting the interface status of the headset charging interface, wherein the interface status includes an interface connected state and an interface disconnected state;

[0035] In the case where it is detected that the interface state is the interface disconnection state, the step of detecting the earphone device and the ring device to determine the target control strategy is performed.

[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes an earphone charging box, which includes: an earphone charging interface, a ring charging interface, a memory, a processor, and a computer program stored in the memory and runnable on the processor, and the computer program is configured to implement the steps of the control method of the earphone device as described above.

[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which 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, the steps of the control method of the headphone device as described above are implemented.

[0038] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the control method of the headphone device as described above are implemented.

[0039] The control method of the earphone device, the earphone charging box, the storage medium and the computer program product provided in the embodiments of the present application are applied to the earphone charging box, the earphone charging box and the earphone device and the ring device are respectively communicatively connected, and the target control strategy is determined by detecting the earphone device and the ring device, wherein the target control strategy includes the ring control strategy and the earphone control strategy; when the target control strategy is the ring control strategy, the target interaction instruction is determined by the ring device; based on the target interaction instruction, the earphone device is controlled to make the earphone device execute the interaction operation corresponding to the target interaction instruction.

[0040] In this embodiment, during the operation of the earphone charging box, the earphone charging box first detects the earphone device and the ring device connected to the communication with itself, so as to determine whether the target control strategy adopted by itself is the ring control strategy or the earphone control strategy. After that, when the earphone charging box determines that the ring control strategy is the target control strategy, it obtains the target interaction instruction triggered by the user through the ring device. Finally, the earphone charging box controls the earphone device according to the target interaction instruction, so that the earphone device performs the interaction operation corresponding to the target interaction instruction.

[0041] In this way, the present application solves the technical problem in the related art that the user is prone to make misoperations during blind operation, which leads to the headphone device performing erroneous interactive operations. That is, the present application enables the headphone charging box to obtain the interactive instructions triggered by the user through the finger ring device when determining that the target control strategy is the finger ring control strategy, and controls the headphone device according to the interactive instructions, so that the user can issue interactive instructions to the headphone device through the finger ring device worn on the hand, thereby achieving the technical effect of enabling the headphone charging box to obtain interactive instructions through the finger ring device, and then the user can complete the interaction with the headphone device through the finger ring device without blind operation, thereby improving the user's interactive experience when using the headphone device. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0044] Figure 1 A flowchart of a first embodiment of a method for controlling a headset device of the present application;

[0045] Figure 2 This is a schematic diagram of the structure of an earphone charging box involved in an embodiment of a method for controlling an earphone device of the present application;

[0046] Figure 3 A flowchart of a second embodiment of a method for controlling a headset device of the present application is provided;

[0047] Figure 4 A schematic diagram of a simplified flow chart of a method for controlling a headphone device of the present application;

[0048] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the control method of the headphone device in the embodiment of the present application.

[0049] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0050] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0051] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0052] In this embodiment, for the sake of convenience, the following description is based on the earphone charging box which is internally equipped with an earphone charging interface, a ring charging interface, a communication module and a storage module. Figure 2 , Figure 2 This is a schematic diagram of the structure of the earphone charging box involved in an embodiment of the control method of the earphone device of the present application, such as Figure 2As shown, when the earphone device and / or the ring device is placed in the earphone charging box, the earphone charging box can charge the earphone device through the earphone charging interface, and charge the ring device through the ring charging interface. When the earphone device and / or the ring device is taken out of the earphone charging box, the earphone charging box does not need to charge the earphone device and the ring device, and communicates with the earphone device and the ring device respectively through the communication module, thereby realizing data interaction with the earphone device and the ring device.

[0053] Based on the above-mentioned earphone charging box, the overall concept of the control method of the earphone device of the present application is proposed here.

[0054] With the continuous development of the headphone industry, headphone devices have become an indispensable and important device in the daily lives of more and more users. In related technologies, headphone devices usually rely on users to touch the hardware switches configured on them to determine the interactive instructions issued by the users and perform the interactive operations corresponding to the interactive instructions. However, this interactive method requires the user to perform blind operations when the user's sight leaves the headphone device. In this way, the above-mentioned interactive method makes it easy for users to make mistakes during blind operations, which in turn causes the headphone device to perform incorrect interactive operations, greatly reducing the user's interactive experience when using the headphone device.

[0055] In view of the above phenomenon, the present application provides a control method for an earphone device, which is applied to an earphone charging box, and the earphone charging box is communicatively connected with the earphone device and the ring device respectively. The method comprises: detecting the earphone device and the ring device to determine a target control strategy, wherein the target control strategy includes a ring control strategy and an earphone control strategy; when the target control strategy is the ring control strategy, determining a target interaction instruction through the ring device; and controlling the earphone device based on the target interaction instruction so that the earphone device executes an interaction operation corresponding to the target interaction instruction.

[0056] In this way, the present application solves the technical problem in the related art that the user is prone to make misoperations during blind operation, which leads to the headphone device performing erroneous interactive operations. That is, the present application enables the headphone charging box to obtain the interactive instructions triggered by the user through the finger ring device when determining that the target control strategy is the finger ring control strategy, and controls the headphone device according to the interactive instructions, so that the user can issue interactive instructions to the headphone device through the finger ring device worn on the hand, thereby achieving the technical effect of enabling the headphone charging box to obtain interactive instructions through the finger ring device, and then the user can complete the interaction with the headphone device through the finger ring device without blind operation, thereby improving the user's interactive experience when using the headphone device.

[0057] Based on the overall concept of the control method of the headphone device of the present application, the embodiment of the present application provides a control method of the headphone device, referring to Figure 1 , Figure 1 This is a flow chart of a first embodiment of a method for controlling a headphone device of the present application.

[0058] In this embodiment, the control method of the earphone device is applied to an earphone charging box, the earphone charging box is communicatively connected with the earphone device and the ring device respectively, and the control method of the earphone device includes steps S10 to S30:

[0059] Step S10: detecting the earphone device and the finger ring device to determine a target control strategy, wherein the target control strategy includes a finger ring control strategy and an earphone control strategy;

[0060] It should be noted that the target control strategy is a control strategy that can be adopted by the headphone charging case to control the headphone device, which specifically includes a ring control strategy and a headphone control strategy. Among them, the ring control strategy is a control strategy for obtaining interaction instructions through the ring device. Similarly, the headphone control strategy is a control strategy for obtaining interaction instructions through the headphone device.

[0061] In this embodiment, during the operation of the earphone charging box, the earphone device and the ring device connected to the earphone charging box for communication are first detected respectively, so as to determine the device status corresponding to the earphone device and the ring device respectively, and determine whether the target control strategy that can be adopted is the earphone control strategy or the ring control strategy according to the status of each device.

[0062] Exemplarily, for example, during operation, the earphone charging box first establishes a communication connection between the wireless earphone and the smart ring through the communication module configured by itself. At this time, the earphone charging box respectively accesses the wireless earphone and the smart ring through the communication module to obtain the device status corresponding to the wireless earphone and the smart ring respectively. The earphone charging box then determines whether the wireless earphone and the smart ring are worn by the user according to the status of each device, and then determines whether the target control strategy it can adopt is the earphone control strategy or the ring control strategy.

[0063] In this way, the headphone charging box can detect the headphone device and the ring device respectively, and judge whether the user is wearing the headphone device and / or the ring device according to the device status corresponding to the headphone device and the ring device respectively, and then determine the headphone control strategy that can be adopted according to the user's wearing situation.

[0064] In a feasible implementation manner, the above step S10 may specifically include steps S101-S102:

[0065] Step S101: detecting the earphone device to obtain a first wearing state parameter, and detecting the ring device to obtain a second wearing state parameter;

[0066] Step S102: determining a target control strategy according to the first wearing state parameter and the second wearing state parameter.

[0067] It should be noted that the first wearing state parameter is a state parameter reflecting whether the earphone device is worn on the ear by the user, which can be a pressure parameter, a temperature parameter, a voltage parameter, etc. It can be understood that the present application does not limit the specific parameter type of the first wearing state parameter. Similarly, the second wearing state parameter is a state parameter reflecting whether the ring device is worn on the hand by the user, which can be a pressure parameter, a temperature parameter, a voltage parameter, etc. It can be understood that the present application also does not limit the specific parameter type of the second wearing state parameter.

[0068] In this embodiment, during operation, the earphone charging box first detects the earphone device connected to itself for communication, thereby reading the first detection unit configured on the earphone device, so as to obtain the first wearing state parameter generated on the earphone device through the first detection unit. At the same time, the earphone charging box detects the ring device connected to itself for communication, thereby reading the second detection unit configured on the ring device, so as to obtain the second wearing state parameter generated on the ring device through the second detection unit. Thereafter, the earphone charging box processes the obtained first wearing state parameter and second wearing state parameter, so as to determine the device states corresponding to the earphone device and the ring device respectively according to the first wearing state parameter and the second wearing state parameter, and then determines whether the target control strategy that can be adopted is the earphone control strategy or the ring control strategy according to the states of each device.

[0069] Exemplarily, for example, during operation, the earphone charging box first establishes a communication connection between the wireless earphone and the smart ring through the communication module configured by itself, and detects the wireless earphone through the communication module to obtain the first pressure parameter generated on the wireless earphone through the first pressure sensor configured on the wireless earphone. At the same time, the earphone charging box detects the smart ring through the communication module to obtain the second pressure parameter generated on the smart ring through the second pressure sensor configured on the smart ring. After that, the earphone charging box processes the first pressure parameter and the second pressure parameter to determine whether the wireless earphone is worn on the user's ear according to the first pressure parameter, and determines whether the smart ring is worn on the user's hand according to the second pressure parameter, and then determines whether the target control strategy that can be adopted by itself is the earphone control strategy or the ring control strategy.

[0070] It should be noted that, in addition to being a pressure sensor, each of the above-mentioned detection units can also be a temperature sensor. It is understandable that the present application does not limit the specific type of the detection unit. In addition, in this embodiment and another embodiment, the first detection unit and the second detection unit can also be detection units of different types. For example, when the first detection unit is a pressure sensor and the second detection unit is a temperature sensor, the earphone charging box can obtain the first pressure parameter generated on the wireless earphone through the first detection unit, and judge whether the wireless earphone is worn on the user's ear based on the first pressure parameter. At the same time, the earphone charging box can obtain the temperature parameter generated on the smart ring through the second detection unit, and judge whether the smart ring is worn on the user's hand based on the temperature parameter, and then determine whether the target control strategy that can be adopted by itself is the earphone control strategy or the ring control strategy.

[0071] In this way, the headphone charging box can detect the headphone device and the ring device respectively, and judge whether the user is wearing the headphone device and / or the ring device according to the device status corresponding to the headphone device and the ring device respectively, and then determine the headphone control strategy that can be adopted according to the user's wearing situation.

[0072] In a feasible implementation manner, the above step S102 may specifically include steps S1021 to S1023:

[0073] Step S1021: comparing the first wearing state parameter with a preset first parameter threshold to obtain a first comparison result, and comparing the second wearing state parameter with a preset second parameter threshold to obtain a second comparison result;

[0074] Step S1022: when the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter reaches the second parameter threshold, determining that the target control strategy is the ring control strategy;

[0075] Step S1023: when the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter does not reach the second parameter threshold, determining that the target control strategy is the earphone control strategy.

[0076] It should be noted that the first parameter threshold is a wearing status parameter for determining whether the headphone device is worn on the user's ear. It can be understood that when the first wearing status parameter is a pressure parameter, the first parameter threshold can be a pressure parameter threshold, that is, when the pressure parameter reaches the first parameter threshold, it can be determined that the headphone device is fixed on the user's ear. Similarly, when the first wearing status parameter is a temperature parameter, the first parameter threshold can be a temperature threshold.

[0077] In addition, the second parameter threshold is a wearing state parameter used to determine whether the ring device is worn on the user's hand. It can be understood that when the second wearing state parameter is a pressure parameter, the second parameter threshold can be a pressure parameter threshold, that is, when the pressure parameter reaches the second parameter threshold, it can be determined that the ring device is worn on the user's hand. Similarly, when the second wearing state parameter is a temperature parameter, the second parameter threshold can be a temperature threshold.

[0078] In this embodiment, after obtaining the first wearing state parameter and the second wearing state parameter, the earphone charging box first reads the storage module configured by itself to obtain the first parameter threshold corresponding to the earphone device, and compares the first wearing state parameter with the first parameter threshold to obtain a first comparison result. At the same time, the earphone charging box reads the storage module to obtain the second parameter threshold corresponding to the ring device, and compares the second wearing state parameter with the second parameter threshold to obtain a second comparison result. After that, when the earphone charging box determines that the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter reaches the second parameter threshold, it is determined that the device states corresponding to the earphone device and the ring device are both wearing states, and then it is determined that the target control strategy that can be adopted is the ring control strategy of obtaining the interaction instruction through the ring device; and when the earphone charging box determines that the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter does not reach the second parameter threshold, it is determined that the device state of the earphone device is the wearing state, and the wearing state of the ring device is the not-wearing state, and then it is determined that the target control strategy that can be adopted is the earphone control strategy of obtaining the interaction instruction through the earphone device.

[0079] Exemplarily, for example, after obtaining the first pressure parameter and the second pressure parameter, the earphone charging box first reads the storage module configured by itself to obtain the first pressure threshold corresponding to the wireless earphone and the second pressure threshold corresponding to the smart ring. The earphone charging box then compares the first pressure parameter with the first pressure threshold to obtain a first comparison result, and compares the second pressure parameter with the second pressure threshold to obtain a second comparison result. Afterwards, when the earphone charging box determines that the first comparison result is that the first pressure parameter reaches the first pressure threshold, and the second comparison result is that the second pressure parameter reaches the second pressure threshold, it determines that the wireless earphone is fixed on the user's ear and the smart ring is worn on the user's hand. At this time, the earphone charging box It is determined that the user can trigger the interaction instruction by touching the smart ring, and the headphone charging box thereby determines the ring control strategy of obtaining the interaction instruction through the smart ring as the target control strategy that it can adopt; similarly, when the headphone charging box determines that the first comparison result is that the first pressure parameter reaches the first pressure threshold, and the second comparison result is that the second pressure parameter does not reach the second pressure threshold, it determines that the wireless headset is fixed on the user's ear, but the smart ring is not worn on the user's hand. At this time, the headphone charging box determines that the user can trigger the interaction instruction by touching the hardware switch configured on the wireless headset, and the headphone charging box thereby determines the headset control strategy of obtaining the interaction instruction through the wireless headset as the target control strategy that it can adopt.

[0080] Similarly, in another embodiment, after the earphone charging box obtains the first temperature parameter and the second temperature parameter, it can also read the storage module to obtain the first temperature threshold corresponding to the wireless earphone and the second temperature threshold corresponding to the smart ring. The earphone charging box then compares the first temperature parameter with the first temperature threshold to obtain a first comparison result, and compares the second temperature parameter with the second temperature threshold to obtain a second comparison result, and then determines that the wireless earphone is worn on the user's ear and the smart ring is worn on the user's hand according to the first comparison result and the second comparison result. When it is determined that the wireless earphone is worn on the user's ear and the smart ring is worn on the user's hand, the above-mentioned ring control strategy is determined as the target control strategy, and when it is determined that the wireless earphone is worn on the user's ear and the smart ring is not worn on the user's hand according to the first comparison result and the second comparison result, the above-mentioned earphone control strategy is determined as the target control strategy. It can be understood that if the wearing state parameter obtained by the earphone charging box is a voltage parameter, the comparison results corresponding to the wireless earphone and the smart ring can also be determined by the voltage threshold corresponding to the voltage parameter, and the target control strategy is determined according to each comparison result.

[0081] In this way, the headphone charging box can detect the headphone device and the ring device respectively, and judge whether the user is wearing the headphone device and / or the ring device according to the device status corresponding to the headphone device and the ring device respectively, and then determine the headphone control strategy that can be adopted according to the user's wearing situation.

[0082] Step S20: when the target control strategy is the finger ring control strategy, determining a target interaction instruction through the finger ring device;

[0083] In this embodiment, after determining that the target control strategy is the finger ring control strategy, the earphone charging box further accesses the finger ring device to detect the target interaction instruction triggered by the user through the finger ring device.

[0084] Exemplarily, for example, after the earphone charging box determines that the target control strategy is the ring control strategy, it determines that the target interaction instruction triggered by the user can be obtained through the smart ring. At this time, the earphone charging box accesses the smart ring to detect the user's hand movement trajectory through the smart ring, and then determines the interaction instruction that the user wants to trigger according to the hand movement trajectory.

[0085] In this way, the earphone charging box can obtain the interaction instructions triggered by the user through the ring device when the user wears the ring device and the earphone device at the same time, so that the user can complete the interaction with the earphone device through the ring device without blind operation.

[0086] In a feasible implementation manner, the step of "determining the target interaction instruction by the ring device" in the above step S20 may specifically include steps S201-S202:

[0087] Step S201: acquiring inertia parameters corresponding to the finger ring device, and determining a device movement trajectory corresponding to the finger ring device according to the inertia parameters;

[0088] Step S202: determining the device movement trajectory as a first interaction gesture, and determining a target interaction instruction according to the first interaction gesture.

[0089] In this embodiment, when the earphone charging box determines that the target control strategy is the finger ring control strategy, it first accesses the finger ring device to read the first detection unit configured on the finger ring device, so as to obtain the inertia parameters generated by the finger ring device when following the movement of the user's hand through the first detection unit. The earphone charging box then determines the device movement trajectory of the finger ring device according to the inertia parameters. After that, the earphone charging box determines the device movement trajectory as the first interaction gesture triggered by the user's hand, and determines the target interaction instruction that the user wants to trigger according to the first interaction gesture.

[0090] Exemplarily, for example, after the earphone charging box determines that the target control strategy is the ring control strategy, the user can move his hand to trigger the target interaction instruction. At this time, the earphone charging box accesses the inertial sensor configured on the ring device, and thereby determines through the inertial sensor the inertial parameters such as the moving direction and acceleration value generated by the smart ring during the movement of the hand when the user's hand moves. The earphone charging box then determines the device movement trajectory of the smart ring based on the inertial parameters. Afterwards, the earphone charging box determines the device movement trajectory as the first interaction gesture adopted by the user, and determines the target interaction instruction that the user wants to trigger based on the first interaction gesture.

[0091] It should be noted that when a user wears a smart ring, the user can trigger the interactive command of his / her needs by moving his / her hand to draw a preset gesture (for example, triggering the command to lower the volume by waving his / her hand downward). Therefore, the inertial parameters generated when the user moves his / her hand can be collected by the inertial sensor to determine the content of the gesture triggered by the user. It is understandable that the specific process of the headphone charging box collecting the inertial parameters through the inertial sensor and determining the device movement trajectory of the smart ring based on the inertial parameters is a prior art, so it will not be repeated here.

[0092] In this way, the earphone charging box can obtain the interaction instructions triggered by the user through the ring device when the user wears the ring device and the earphone device at the same time, so that the user can complete the interaction with the earphone device through the ring device without blind operation.

[0093] In a feasible implementation manner, the step of “determining a target interaction instruction according to the first interaction gesture” in the above step S202 may specifically include steps S2021 to S2023:

[0094] Step S2021: determining a plurality of reference interaction gestures and reference interaction instructions corresponding to the plurality of reference interaction gestures;

[0095] Step S2022: screening the plurality of reference interaction gestures according to the first interaction gesture to determine a target interaction gesture among the plurality of reference interaction gestures;

[0096] Step S2023: Determine the reference interaction instruction corresponding to the target interaction gesture as the target interaction instruction.

[0097] It should be noted that the baseline interaction gesture is a preset interaction gesture that can trigger an interaction instruction, including but not limited to: waving down, waving up, etc. It is understandable that the baseline interaction gesture can be pre-set by a technician and stored in a storage module, so that the earphone charging box can obtain it by accessing the storage module when needed. The present application does not limit the specific content and acquisition method of the baseline interaction gesture. In addition, the baseline interaction instruction is an interaction instruction that matches the baseline interaction gesture, including but not limited to: switching songs, adjusting the volume and other interaction instructions. It is understandable that the present application also does not limit the specific content and acquisition method of the baseline interaction instruction. In addition, the correspondence between the baseline interaction gesture and the baseline interaction instruction can be set by the technician according to his own needs, and the present application also does not limit this.

[0098] In this embodiment, after determining the first interaction gesture, the earphone charging box further reads the storage module configured by itself to obtain multiple baseline interaction gestures and baseline interaction instructions corresponding to the multiple baseline interaction gestures. Thereafter, the earphone charging box compares the obtained first interaction gesture with the multiple baseline interaction gestures respectively, thereby determining the target interaction gesture that is the same as the first interaction gesture among the multiple baseline interaction gestures. Finally, the earphone charging box determines the baseline interaction instruction corresponding to the target interaction gesture as the target interaction instruction that the user wants to trigger.

[0099] Exemplarily, for example, after the earphone charging box collects the first interaction gesture triggered by the user through the smart ring, the earphone charging box reads the storage module configured by itself to obtain an instruction mapping table containing multiple benchmark interaction gestures and benchmark interaction instructions corresponding to each of the multiple benchmark interaction instructions. Afterwards, the earphone charging box queries the instruction mapping table based on the first interaction gesture to compare the first interaction gesture with the multiple benchmark interaction gestures respectively, so as to determine the target interaction gesture that is the same as the first interaction gesture among the multiple benchmark interaction gestures. Finally, the earphone charging box determines the benchmark interaction instruction corresponding to the target interaction gesture in the instruction mapping table as the target interaction instruction.

[0100] In this way, the earphone charging box can obtain the interaction instructions triggered by the user through the ring device when the user wears the ring device and the earphone device at the same time, so that the user can complete the interaction with the earphone device through the ring device without blind operation.

[0101] Step S30: controlling the headphone device based on the target interaction instruction so as to enable the headphone device to perform an interaction operation corresponding to the target interaction instruction;

[0102] Exemplarily, for example, after determining the target interaction instruction, the earphone charging box sends the target interaction instruction to the earphone device through the wireless communication module configured by itself, so that the earphone device performs the corresponding interaction operation according to the target interaction instruction.

[0103] In this embodiment, during the operation of the earphone charging box, the earphone device and the ring device connected to the earphone device for communication are first detected respectively, so as to determine the device status corresponding to the earphone device and the ring device respectively, and determine whether the target control strategy that can be adopted is the earphone control strategy or the ring control strategy according to the status of each device. After that, the earphone charging box further accesses the ring device to detect the target interaction instruction triggered by the user through the ring device. Finally, the earphone charging box sends the target interaction instruction to the earphone device through the wireless communication module configured by itself, so that the earphone device performs the corresponding interaction operation according to the target interaction instruction.

[0104] In this way, the present application solves the technical problem in the related art that the user is prone to make misoperations during blind operation, which leads to the headphone device performing erroneous interactive operations. That is, the present application enables the headphone charging box to obtain the interactive instructions triggered by the user through the finger ring device when determining that the target control strategy is the finger ring control strategy, and controls the headphone device according to the interactive instructions, so that the user can issue interactive instructions to the headphone device through the finger ring device worn on the hand, thereby achieving the technical effect of enabling the headphone charging box to obtain interactive instructions through the finger ring device, and then the user can complete the interaction with the headphone device through the finger ring device without blind operation, thereby improving the user's interactive experience when using the headphone device.

[0105] Based on the first embodiment of the present application, the second embodiment of the present application is proposed here. In the second embodiment of the present application, the same or similar contents as those of the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later. Figure 3 , Figure 3 A flow chart of the second embodiment of the control method of the headphone device of the present application is provided, as shown in FIG. Figure 3 As shown, after step S10, the control method of the headphone device of the present application further includes steps A10 to A20:

[0106] Step A10: when the target control strategy is the headphone control strategy, determining a target interaction instruction through the headphone device;

[0107] Step A20: Control the headphone device based on the target interaction instruction to enable the headphone device to perform an interaction operation corresponding to the target interaction instruction.

[0108] In this embodiment, after determining that the target control strategy is the earphone control strategy, the earphone charging box further accesses the earphone device to detect the target interaction instruction triggered by the user through the earphone device. Thereafter, the earphone charging box sends the target interaction instruction to the earphone device through its own configured wireless communication module, so that the earphone device performs the corresponding interaction operation according to the target interaction instruction.

[0109] Exemplarily, for example, after determining that the target control strategy is the earphone control strategy, the earphone charging box determines that the user is not wearing a smart ring on his hand at this time, and then determines that the user can only interact by touching the wireless earphones. The earphone charging box then accesses the wireless earphones to determine the target hardware switch touched by the user among multiple interactive hardware switches configured on the wireless earphones, and then determines the target interaction instruction triggered by the user according to the target hardware switch. After that, the earphone charging box sends the target interaction instruction to the wireless earphones through the wireless communication module configured by itself, so that the wireless earphones perform the corresponding interaction operation according to the target interaction instruction.

[0110] In this way, the earphone charging box can determine the interaction command triggered by the user through the earphone device when the user is only wearing the earphone device, thereby ensuring that the user can interact with the earphone device even when not wearing the ring device.

[0111] In a feasible implementation manner, the step of "determining the target interaction instruction by the headphone device" in the above step A10 may further include step A101:

[0112] Step A101: Acquire hardware trigger parameters corresponding to the headphone device, and determine a target interaction instruction according to the hardware trigger parameters.

[0113] In this embodiment, after determining that the target control strategy is the earphone control strategy, the earphone charging box further accesses the earphone device to read the second detection unit configured on the earphone device, thereby detecting multiple interactive hardware switches configured on the earphone device through the second detection unit, thereby obtaining hardware trigger parameters corresponding to the multiple interactive hardware switches, and then determining the target hardware switch touched by the user according to the hardware trigger parameters, and determining the target interaction instruction corresponding to the target hardware switch.

[0114] Exemplarily, for example, after determining that the target control strategy is the earphone control strategy, the earphone charging box further accesses the wireless earphone to read the second detection unit configured on the wireless earphone, thereby detecting the multiple interactive hardware switches configured on the wireless earphone through the second detection unit to determine the hardware trigger parameters corresponding to each of the multiple interactive hardware switches. When the user triggers a certain interactive hardware switch among the multiple interactive hardware switches in an attempt to interact with the wireless earphone, the hardware trigger parameters corresponding to the interactive hardware switch triggered by the user will change. At this time, the earphone charging box can determine the target hardware switch triggered by the user among the multiple interactive hardware switches by detecting the change in the hardware trigger parameters. At the same time, the earphone charging box reads the above-mentioned storage module to obtain a second instruction mapping table containing multiple reference hardware switches and reference interaction instructions corresponding to each of the multiple reference hardware switches, and queries the second instruction mapping table based on the target hardware switch to determine the target interaction instruction that matches the target hardware switch among the multiple reference interaction instructions.

[0115] It should be noted that the second detection unit is a detection unit configured on the earphone device for detecting the interaction instruction triggered by the user. The second detection unit can be specifically a detection unit capable of detecting multiple interactive hardware switches configured on the earphone device, or the second detection unit can also be a gesture detection unit capable of detecting the interaction gesture adopted by the user when the user touches the earphone device. It can be understood that the present application does not limit the specific type of the second detection unit. In this embodiment and another embodiment, after determining that the target control strategy is the earphone control strategy, the earphone charging box can further access the wireless earphone to read the gesture detection unit configured on the wireless earphone, so as to obtain the second interaction gesture adopted by the user when touching the wireless earphone through the gesture detection unit, and query the above-mentioned instruction mapping table according to the second interaction gesture, so as to determine the target interaction gesture based on the second interaction gesture in the multiple reference interaction gestures contained in the instruction mapping table, and determine the reference interaction instruction corresponding to the target interaction gesture in the instruction mapping table as the target interaction instruction.

[0116] In this way, the earphone charging box can determine the interaction command triggered by the user through the earphone device when the user is only wearing the earphone device, thereby ensuring that the user can interact with the earphone device even when not wearing the ring device.

[0117] Based on the first embodiment and / or the second embodiment of the present application, a third embodiment of the present application is proposed here. In the third embodiment of the present application, the same or similar contents as those of the above embodiments can be referred to the above introduction and will not be repeated later. On this basis, after step S30, the control method of the headphone device of the present application further includes steps B10 to B30:

[0118] Step B10: detecting the remaining power value of the earphone device, and comparing the remaining power value with a preset power threshold to obtain a third comparison result;

[0119] Step B20: when the third comparison result is that the remaining power value is less than the power threshold, generating a power prompt audio;

[0120] Step B30: outputting the battery prompt audio to the headphone device so as to play the battery prompt audio through the headphone device.

[0121] In this embodiment, after controlling the earphone device to perform the above-mentioned interactive operation, the earphone charging box further accesses the power management module configured in the earphone device to obtain the remaining power value of the earphone device. At the same time, the earphone charging box accesses the above-mentioned storage module to obtain a preset power threshold, and compares the remaining power value with the power threshold to obtain a third comparison result. Thereafter, when the earphone charging box determines that the third comparison result is that the remaining power value is less than the power threshold, the earphone charging box generates a power prompt audio based on the remaining power value. Finally, the earphone charging box inputs the power prompt audio to the earphone device through the communication module, so as to play the power prompt audio externally through the earphone device, thereby prompting the user that the power of the earphone device is too low.

[0122] Exemplarily, for example, after controlling the wireless headset to execute the interactive operation corresponding to the above-mentioned target interactive instruction, the earphone charging box further accesses the power management module in the wireless headset to obtain the remaining power value of the wireless headset. At the same time, the earphone charging box accesses the storage module configured by itself to obtain the power threshold preset by the technician, and compares the remaining power value with the power threshold to obtain a third comparison result. Thereafter, when the earphone charging box determines that the third comparison result is that the remaining power value is less than the power threshold, it determines that the remaining power in the wireless headset is low, thereby generating a power prompt audio based on the remaining power value. Finally, the earphone charging box sends the power prompt audio to the wireless headset through the wireless transmission module, and the wireless headset plays the power prompt audio through the speaker configured by itself to prompt the user to charge the wireless headset.

[0123] In this way, the earphone charging box can detect the remaining power of the earphone device in real time during the interaction between the user and the earphone device, and generate a power reminder audio when it detects that the remaining power is low, and then play the power reminder audio through the earphone device to prompt the user to charge the earphone device.

[0124] Based on the various embodiments of the present application, a fourth embodiment of the present application is proposed here. In the fourth embodiment of the present application, the same or similar contents as the above embodiments can be referred to the above introduction, and will not be repeated later. On this basis, the earphone charging box includes an earphone charging interface. Before step S10, the control method of the earphone device of the present application also includes steps C10~C20:

[0125] Step C10: Detecting the interface status of the headset charging interface, wherein the interface status includes an interface connected state and an interface disconnected state;

[0126] Step C20: when it is detected that the interface state is the interface disconnection state, executing the step of detecting the earphone device and the ring device to determine the target control strategy.

[0127] It should be noted that the interface status is a status parameter used to determine whether the headphone charging box is connected to the headphone device, wherein the interface connection status is a status parameter indicating that the headphone charging box is connected to the headphone device through the headphone charging interface. It is understandable that when the headphone device is in the charging state, the headphone charging box can be connected to the headphone device through the headphone charging interface, and charge the headphone device through the headphone charging interface. At this time, the user cannot interact with the headphone device. In addition, the interface disconnection status is a status parameter indicating that the headphone charging box is not connected to the headphone device through the headphone charging interface. It is understandable that when the headphone device is in the uncharged state, the headphone charging box cannot be connected to the headphone device through the headphone charging interface. At this time, the user can interact with the headphone device.

[0128] In this embodiment, when the earphone charging box is in operation, it first detects the earphone charging interface configured by itself to determine whether the interface state of the earphone charging interface is the interface connected state or the interface disconnected state. After that, when the earphone charging box determines that the interface state is the interface disconnected state, it determines that the earphone device is not in a charging state, and detects the earphone device and the ring device connected to communicate with itself to determine whether the target control strategy that can be adopted is the earphone control strategy or the ring control strategy.

[0129] Exemplarily, for example, when the earphone charging box is in operation, it first detects the earphone charging interface configured by itself to determine whether the interface state of the earphone charging interface is an interface connected state or an interface disconnected state. Then, when the earphone charging box determines that the interface state is an interface disconnected state, it determines that it is not connected to the wireless earphone at this time, and then it can be determined that the device state of the wireless earphone is an uncharged state. The earphone charging box determines that the user is wearing the earphone device at this time, and then first establishes a communication connection between the wireless earphone and the smart ring through the communication module configured by itself, and accesses the wireless earphone and the smart ring respectively through the communication module to determine whether the target control strategy it can adopt is the earphone control strategy or the ring control strategy.

[0130] In addition, in this embodiment and another embodiment, the earphone charging box is also configured with a finger ring charging interface. When the earphone charging box is in operation, it can also detect the finger ring charging interface and the earphone charging interface at the same time. Therefore, when it is determined that both the finger ring charging interface and the earphone charging interface are in the interface disconnected state, it accesses the smart ring and wireless earphone connected to itself respectively, so as to determine whether the target control strategy it can adopt is the earphone control strategy or the finger ring control strategy.

[0131] In this way, the earphone charging box can first detect the earphone charging interface configured by itself before determining the target control strategy, so as to determine whether the earphone device is in a charging state, and determine the target control strategy that it can adopt when it is determined that the earphone device is not in a charging state.

[0132] For example, in order to help understand the implementation process of the control method of the headphone device obtained by combining the present embodiment with the above embodiments, please refer to Figure 4 , Figure 4 A brief flow chart of a method for controlling a headphone device is provided, specifically:

[0133] In this embodiment, when the earphone charging box is in operation, it first detects the earphone charging interface configured by itself to determine the interface status of the earphone charging interface, and when it is determined that the interface status is the interface disconnected state, it is determined that the user has taken the wireless earphone out of the earphone charging box. At this time, the earphone charging box establishes a communication connection with the wireless earphone and the smart ring through the communication module configured by itself, and accesses the wireless earphone to obtain the first pressure parameter generated on the wireless earphone through the first pressure sensor configured on the wireless earphone. At the same time, the earphone charging box accesses the smart ring to obtain the second pressure parameter generated on the smart ring through the second pressure sensor configured on the smart ring. After that, the earphone charging box reads the storage module configured by itself. To obtain a first pressure threshold corresponding to the wireless headset and a second pressure threshold corresponding to the smart ring, and compare the first pressure parameter with the first pressure threshold to obtain a first comparison result, and compare the second pressure parameter with the second pressure threshold to obtain a second comparison result. The headset charging box then determines that the wireless headset is worn on the user's ear and the smart ring is worn on the user's hand when it determines that the first comparison result is that the first pressure parameter reaches the first pressure threshold and the second comparison result is that the second pressure parameter reaches the second pressure threshold, and then determines that the user can control the wireless headset by touching the smart ring, and determines the ring control strategy of controlling the wireless headset through the smart ring as the target control strategy. After that, When the user moves his hand to trigger the target interaction instruction, the earphone charging box accesses the inertial sensor configured on the ring device, thereby determining the inertial parameters generated by the smart ring as the hand moves through the inertial sensor, and determining the device movement trajectory of the smart ring according to the inertial parameters, and then determining the device movement trajectory as the first interaction gesture adopted by the user. At the same time, the earphone charging box reads the storage module configured by itself to obtain an instruction mapping table containing multiple benchmark interaction gestures and benchmark interaction instructions corresponding to each of the multiple benchmark interaction gestures. The earphone charging box queries the instruction mapping table based on the first interaction gesture to determine the target interaction instruction corresponding to the first interaction gesture, and then the earphone charging box sends the target interaction instruction through its configured storage module. The wireless communication module is sent to the wireless headset, so that the wireless headset performs the corresponding interactive operation according to the target interactive instruction. Finally, after controlling the wireless headset to perform the interactive operation, the earphone charging box further accesses the power management module in the wireless headset to obtain the remaining power value of the wireless headset, and compares the remaining power value with the preset power threshold to obtain a third comparison result. When the earphone charging box determines that the third comparison result is that the remaining power value is less than or equal to the power threshold, it generates a power prompt audio based on the remaining power value, and sends the power prompt audio to the wireless headset through the wireless transmission module. The wireless headset plays the power prompt audio through the speaker configured by itself to prompt the user to charge the wireless headset.

[0134] Similarly, when the earphone charging box determines that the first comparison result is that the first pressure parameter reaches the first pressure threshold, and the second comparison result is that the second pressure parameter does not reach the second pressure threshold, it is determined that the wireless earphone is worn on the user's ear, but the smart ring is not worn on the user's hand, and then determines that the user can trigger the interaction instruction by touching the wireless earphone. After that, the earphone charging box accesses the wireless earphone to detect the multiple interactive hardware switches configured on the wireless earphone through the hardware detection unit configured on the wireless earphone (that is, the above-mentioned second detection unit), so as to determine the target hardware switch triggered by the user among the multiple interactive hardware switches, and determine the target interaction instruction triggered by the user according to the target hardware switch, and then send the target interaction instruction to the wireless earphone through the wireless communication module configured by itself, so that the wireless earphone performs the corresponding interaction operation according to the target interaction instruction.

[0135] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the control method of the headphone device of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0136] The present application provides an earphone charging box, 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, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of the earphone device in the above-mentioned embodiment one.

[0137] Reference below Figure 5 , which shows a schematic diagram of the structure of an earphone charging box suitable for implementing the embodiment of the present application. The earphone charging box in the embodiment of the present application may include but is not limited to an earphone charging box with an earphone charging interface, a ring charging interface, a communication module and a storage module configured therein. Figure 5 The earphone charging box shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0138] like Figure 5As shown, the earphone charging box may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the earphone charging box are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the earphone charging box to communicate with other devices wirelessly or wired to exchange data. Although the figure shows an earphone charging box with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided alternatively.

[0139] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0140] The earphone charging box provided by the present application adopts the control method of the earphone device in the above embodiment, which can solve the technical problem in the related art that the user is prone to make mistakes in blind operation, which leads to the earphone device performing wrong interactive operations. Compared with the prior art, the beneficial effects of the earphone charging box provided by the present application are the same as the beneficial effects of the control method of the earphone device provided by the above embodiment, and the other technical features of the earphone charging box are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0141] It should be understood that the various parts disclosed in this application can be implemented by 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 one or more embodiments or examples in a suitable manner.

[0142] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0143] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the control method of the headphone device in the above-mentioned embodiment.

[0144] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0145] The above-mentioned computer-readable storage medium may be included in the earphone charging box; or it may exist independently without being assembled in the earphone charging box.

[0146] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the earphone charging box, the earphone charging box: detects the earphone device and the ring device to determine a target control strategy, wherein the target control strategy includes a ring control strategy and an earphone control strategy; when the target control strategy is the ring control strategy, determines a target interaction instruction through the ring device; and controls the earphone device based on the target interaction instruction so that the earphone device performs an interaction operation corresponding to the target interaction instruction.

[0147] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0148] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0149] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0150] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the control method of the above-mentioned headphone device, and can solve the technical problem in the related art that the headphone device performs erroneous interactive operations due to the user's easy misoperation during blind operation. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the control method of the headphone device provided by the above-mentioned embodiment, and will not be repeated here.

[0151] The present application also provides a computer program product, including a computer program, which implements the steps of the control method of the headphone device as described above when the computer program is executed by a processor.

[0152] The computer program product provided by the present application can solve the technical problem in the related art that the user is prone to make mistakes in blind operation, which leads to the headphone device performing wrong interactive operations. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the headphone device control method provided by the above embodiment, which will not be repeated here.

[0153] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for controlling an earphone device, characterized in that: The control method of the earphone device is applied to an earphone charging box, the earphone charging box is communicatively connected with the earphone device and the ring device respectively, and the method comprises: Detecting the earphone device to obtain a first wearing state parameter, and detecting the ring device to obtain a second wearing state parameter; Comparing the first wearing state parameter with a preset first parameter threshold to obtain a first comparison result, and comparing the second wearing state parameter with a preset second parameter threshold to obtain a second comparison result; When the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter reaches the second parameter threshold, determining that the target control strategy is the ring control strategy; When the first comparison result is that the first wearing state parameter reaches the first parameter threshold, and the second comparison result is that the second wearing state parameter does not reach the second parameter threshold, determining that the target control strategy is the earphone control strategy; In a case where the target control strategy is the finger ring control strategy, determining a target interaction instruction through the finger ring device; The headphone device is controlled based on the target interaction instruction so as to enable the headphone device to perform an interaction operation corresponding to the target interaction instruction.

2. The method according to claim 1, characterized in that The step of determining the target interaction instruction by the finger ring device comprises: Acquire inertia parameters corresponding to the finger ring device, and determine a device movement trajectory corresponding to the finger ring device according to the inertia parameters; The device movement trajectory is determined as a first interaction gesture, and a target interaction instruction is determined according to the first interaction gesture.

3. The method according to claim 2, characterized in that The step of determining a target interaction instruction according to the first interaction gesture comprises: Determine a plurality of reference interaction gestures and reference interaction instructions corresponding to each of the plurality of reference interaction gestures; screening the plurality of reference interaction gestures according to the first interaction gesture to determine a target interaction gesture among the plurality of reference interaction gestures; A reference interaction instruction corresponding to the target interaction gesture is determined as a target interaction instruction.

4. The method according to claim 1, characterized in that After the step of detecting the earphone device and the finger ring device to determine the target control strategy, the method further includes: In a case where the target control strategy is the headphone control strategy, determining a target interaction instruction through the headphone device; The headphone device is controlled based on the target interaction instruction so as to enable the headphone device to perform an interaction operation corresponding to the target interaction instruction.

5. The method according to claim 4, characterized in that The step of determining the target interaction instruction by the headphone device comprises: A hardware trigger parameter corresponding to the headphone device is obtained, and a target interaction instruction is determined according to the hardware trigger parameter.

6. The method according to any one of claims 1 to 5, characterized in that After the step of controlling the headphone device based on the target interaction instruction, the method further includes: Detecting a remaining power value of the headphone device, and comparing the remaining power value with a preset power threshold to obtain a third comparison result; When the third comparison result is that the remaining power value is less than the power threshold, generating a power prompt audio; The battery prompt audio is output to the headphone device so as to play the battery prompt audio through the headphone device.

7. The method according to claim 1, characterized in that The earphone charging box includes an earphone charging interface. Before the step of detecting the earphone device and the ring device to determine the target control strategy, the method further includes: Detecting the interface status of the headset charging interface, wherein the interface status includes an interface connected state and an interface disconnected state; In the case where it is detected that the interface state is the interface disconnection state, the step of detecting the earphone device and the ring device to determine the target control strategy is performed.

8. An earphone charging box, characterized in that: The earphone charging box includes: an earphone charging interface, a ring charging interface, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the control method of the earphone device as described in any one of claims 1 to 7.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the control method of the headphone device according to any one of claims 1 to 7 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the control method of the headphone device according to any one of claims 1 to 7 are implemented.