Headphone control method, headphone control device and headphone

By detecting the wearing status of the headphones and the touch operation attribute parameters, controlling the touch function of the wireless headphones, the problem of easy triggering of the touch function is solved, improving the user experience and reducing hardware costs.

CN114827808BActive Publication Date: 2024-12-17GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210374307.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-11
Publication Date
2024-12-17
Estimated Expiration
2042-04-11

AI Technical Summary

Technical Problem

The touch function of wireless headphones is easily triggered during use, affecting the user experience.

Method used

By detecting the wear status of the headset and the user's touch operation attribute parameters, the headset's touch function is turned on or off to avoid mist touch operations.

Benefits of technology

Reduces the frequency of users misoperating headphones and reduces hardware costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114827808B_ABST
    Figure CN114827808B_ABST
Patent Text Reader

Abstract

An embodiment of the present application discloses an earphone control method, which includes: when the earphone is detached from a receiving device, obtaining a detection result of whether the earphone is in a wearing state; obtaining operation attribute parameters of a user performing a touch operation on the earphone; and based on the detection result and the operation attribute parameters, controlling the state of the touch function of the earphone. The embodiment of the present application also discloses an earphone control device and an earphone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless earphones, and in particular to an earphone control method, an earphone control device and an earphone. Background Art

[0002] With the continuous advancement and development of science and technology, True Wireless Stereo (TWS) earphones, which were spawned by TWS technology, have applied TWS technology to the field of Bluetooth wireless earphones. The left and right earplugs of wireless earphones such as TWS earphones do not need to be connected by cables, but can work independently by wirelessly separating the left and right channels. In addition, wireless earphones are equipped with a touch function, which can respond to user touch operations to achieve corresponding functions, such as volume adjustment and / or song switching; however, the touch function of wireless earphones is easily triggered during use, which greatly affects the user experience. Summary of the invention

[0003] The embodiments of the present application hope to provide an earphone control method, an earphone control device and an earphone, so as to solve the problem in the related art that the touch function of the wireless earphone is easily triggered during use. The earphone control method provided by the present application has at least the following beneficial effects: there is no need to upgrade the hardware inside the earphone, and based on the detected wearing state of the earphone and the operation attribute parameters of the user's touch operation on the earphone, the touch function of the earphone is controlled to be in the on state or the off state, thereby avoiding the user's accidental touch operation, reducing the frequency of the user's accidental operation of the earphone, and reducing the hardware cost.

[0004] The technical solution of this application is implemented as follows:

[0005] A method for controlling an earphone, the method comprising:

[0006] When the earphone is out of the receiving device, obtaining a detection result of whether the earphone is in a wearing state;

[0007] Obtaining operation attribute parameters of a user performing a touch operation on the headset;

[0008] Based on the detection result and the operation attribute parameter, the state of the touch function of the headset is controlled.

[0009] A headset control device, the device comprising:

[0010] An acquisition module, used for acquiring a detection result of whether the earphone is in a wearing state when the earphone is out of the receiving device;

[0011] The acquisition module is further used to acquire operation attribute parameters of a touch operation performed by a user on the headset;

[0012] A processing module is used to control the state of the touch function of the headset based on the detection result and the operation attribute parameter.

[0013] A headset, comprising: a processor, a memory, and a communication bus;

[0014] The communication bus is used to realize the communication connection between the processor and the memory;

[0015] The processor is used to execute the earphone control program stored in the memory to implement the above earphone control method.

[0016] A storage medium, characterized in that the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned headphone control method.

[0017] An earphone control method, an earphone control device and an earphone provided in the embodiments of the present application obtain a detection result of whether the earphone is in a wearing state when the earphone is detached from a receiving device; obtain an operation attribute parameter of a touch operation performed by a user on the earphone; and control the state of the touch function of the earphone based on the detection result and the operation attribute parameter; in this way, there is no need to upgrade the hardware inside the earphone, and based on the detected wearing state of the earphone and the operation attribute parameter of the touch operation performed by the user on the earphone, control whether the touch function of the earphone is in an on state or an off state, thereby avoiding the user's erroneous touch operation, reducing the frequency of the user's erroneous operation of the earphone, and reducing hardware costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of an optional network architecture for implementing the headphone control method provided in an embodiment of the present application;

[0019] Figure 2 A schematic diagram of an optional flow chart of the earphone control method provided in an embodiment of the present application;

[0020] Figure 3 A schematic diagram of an optional flow chart of the earphone control method provided in an embodiment of the present application;

[0021] Figure 4 A schematic diagram of an optional flow chart of the earphone control method provided in an embodiment of the present application;

[0022] Figure 5 A schematic diagram of the size of a capacitance signal detected by an optional capacitive touch sensor provided in an embodiment of the present application;

[0023] Figure 6A schematic diagram of an optional flow chart of the earphone control method provided in an embodiment of the present application;

[0024] Figure 7 A schematic diagram of an optional flow chart of the earphone control method provided in an embodiment of the present application;

[0025] Figure 8 A schematic diagram of an optional structure of the earphone control device provided in an embodiment of the present application;

[0026] Fig. 9 An optional structural diagram of the earphone provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0028] It should be understood that the "embodiments of the present application" or "the aforementioned embodiments" mentioned throughout the specification mean that specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, "in the embodiments of the present application" or "in the aforementioned embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. In the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.

[0029] For ease of understanding, the following first introduces the implementation scenario in which the headset control method provided in the embodiment of the present application is applied. Figure 1 , Figure 1 A schematic diagram of an optional network architecture for implementing the headset control method provided in the present application, the network architecture at least includes a headset 100 and a terminal device 200; wherein the headset 100 includes a wireless communication module 110, a processor 120, a housing of the headset, and peripheral hardware circuits (not shown in the figure) necessary for supporting the normal operation of the wireless communication module 110 and the processor 120; wherein,

[0030] The wireless communication module 110 of the headset 100 is connected to the terminal device 200. The wireless communication module 110 is at least used to control the state of the touch function of the headset based on the detection result of whether the headset is in a wearing state and the operation attribute parameters of the user performing the touch operation on the headset. When the touch function of the headset is in the turned-on state, the terminal device 200 is controlled to perform the function corresponding to the operation attribute parameters of the touch operation. Here, before the headset 100 controls the terminal device 200 to perform the corresponding function, the headset 100 establishes a connection with the terminal device 200 through the near field communication of the wireless communication module 110. Near field communication includes but is not limited to Wi-Fi, Bluetooth (bluetooth, BT), near field communication technology (near fieldcommunication, NFC) and other near field communication technologies.

[0031] The processor 120 can be used to execute the steps of an earphone control method provided in an embodiment of the present application.

[0032] The processor 120 may include, but is not limited to, any one or more of a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).

[0033] The above-mentioned terminal device is also called user equipment (UE), mobile station (MS), mobile terminal (MT), etc., which is a device that can be connected to the headset by wire or wirelessly to provide voice and / or data connectivity to the user. For example, a handheld device, a vehicle-mounted device, etc. that allows wireless connection. At present, some examples of terminal devices are: mobile phones, tablet computers, laptops, PDAs, mobile Internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc.

[0034] It can be understood that the subject executing the method of this embodiment can be a headset or a terminal device connected to the headset. In the actual application process, the subject executing the method of this embodiment can be determined according to the computing power of the headset chip. For example, when the computing power of the headset chip is high, the method of this embodiment can be executed by the headset; when the computing power of the headset chip is low, the method of this embodiment can be executed by the terminal device connected to the headset, and the terminal device controls the state of the touch function of the headset based on the detection result of whether the headset is in a wearing state and the operation attribute parameters of the user performing a touch operation on the headset. When the touch function of the headset is in the on state, it controls itself to execute the function corresponding to the operation attribute parameters of the touch operation. For the convenience of description, the headset will be taken as the execution subject of the method of this embodiment as an example to introduce the embodiment of this application in detail.

[0035] The present application embodiment provides an earphone control method, which is applied to earphones. Figure 2 As shown, the method comprises the following steps:

[0036] Step 201: When the earphone is out of the receiving device, a detection result of whether the earphone is in a wearing state is obtained.

[0037] In the embodiment of the present application, the detection result includes a first result that the earphone is in a wearing state, and a second result that the earphone is in a non-wearing state. In one achievable manner, a sensor for detecting whether the earphone is in a wearing state is provided on the earphone, and the sensor is provided on the side of the earphone plugged into the ear. Exemplarily, the sensor may be at least one of a distance sensor, a light intensity sensor, and a temperature sensor.

[0038] Here, the earphone is provided with a light intensity sensor as an example for explanation. When the earphone is in the wearing state, the light intensity sensor is located in the ear space. Since the ear is blocked by the earphone, the light intensity of the ear space detected by the light intensity sensor is relatively small. When the earphone is not in the wearing state, since the earphone is in the external environment, the light intensity detected by the light intensity sensor is relatively large. Therefore, the detected light intensity measured by the earphone through the light intensity sensor is compared with the reference light intensity. If the detected light intensity is less than the reference light intensity, it is determined that the earphone is in the wearing state; if the detected light intensity is greater than the reference light intensity, it is determined that the earphone is not in the wearing state. It should be noted that the reference light intensity can be the light intensity in the ear obtained by a single detection by the light intensity sensor when the earphone is in the wearing state; the reference light intensity can also be the average value of the light intensities in multiple ears obtained by multiple detections by the light intensity sensor when the earphone is in the wearing state; the reference light intensity can also be the maximum light intensity among the light intensities in multiple ears obtained by multiple detections by the light intensity sensor when the earphone is in the wearing state. This application does not make specific restrictions on this.

[0039] Here, the storage device is a device with storage and charging and discharging functions. At least one storage position is provided inside the storage device, and the storage position is used to accommodate headphones. The number of storage positions is related to the number of headphones. For example, the number of headphones is 1, that is, the headphones are single-ear, and the storage device has only one storage position. At the same time, pins are provided on both the headphones and the storage device. The pins that are coupled when the two are in contact can serve as a charging and discharging path between the headphones and the storage device, or a path for information exchange between the two.

[0040] Here, the earphones are earphones with a touch sensor on the earphone shell, such as the ear handle, to realize the touch function. The earphones designed in the embodiment of the present application are wireless earphones that do not require earphone wires; wherein, the earphones can be single-ear wireless earphones, and the earphones can also be dual-ear wireless earphones such as true wireless earphones such as TWS Bluetooth earphones.

[0041] Here, the earphone can detect in real time whether it is out of the receiving device; or, the earphone can periodically detect whether it is out of the receiving device. Optionally, the earphone can use a distance sensor, a light sensor, or an acceleration sensor to detect whether it is out of the receiving device. Exemplarily, the earphone obtains the distance between the earphone and the receiving device through the distance sensor, and determines that the earphone is out of the receiving device when the distance is greater than a distance threshold. In this way, the earphone can timely determine the positional relationship between itself and the receiving device based on the distance between itself and the receiving device, that is, the earphone determines whether it is out of the receiving device or is located in the receiving device.

[0042] Step 202: Obtain operation attribute parameters of the user's touch operation on the headset.

[0043] In the embodiment of the present application, the touch operation includes but is not limited to a long press operation, a single click operation, a multi-click operation, an up slide operation and a down slide operation.

[0044] In the embodiment of the present application, the operation attribute parameter includes a first operation attribute parameter and a second operation attribute parameter, the first operation attribute parameter includes the operation time, the operation duration and the operation pressure, and the second operation attribute parameter includes but is not limited to the operation frequency and the sliding direction. Here, the first operation attribute parameter is used to control the state of the touch function of the headset, such as being in an on state or an off state, and the second operation attribute parameter is used to control the execution of the corresponding function of the terminal device controlled by the wireless communication module of the headset according to the operation attribute parameter of the touch operation when it is determined that the first operation attribute parameter meets the trigger condition and the touch function of the headset has been turned on, such as answering a call, hanging up a call, increasing the volume, decreasing the volume, switching songs, etc. It should be noted that when the first touch parameter meets the trigger condition, the second touch parameter is different, and the corresponding touch operation is also different, that is, when different touch operations are performed on the same headset, the functions executed by the control terminal device are different; in addition, if the headset is a binaural wireless headset, the same touch operation is performed on different headsets, and the functions executed by the control terminal device are also different.

[0045] Step 203: Based on the detection result and the operation attribute parameter, control the state of the touch function of the headset.

[0046] In the embodiment of the present application, the states of the touch function of the headset include an on state and an off state. Here, the touch function is controlled to be in the on state so that the headset responds to the user's touch operation and controls the terminal device to perform the function corresponding to the operation attribute parameter of the touch operation through the wireless transmission module; the touch function is controlled to be in the off state so as to prevent the user from accidentally touching the touch operation during the use of the headset, and to prevent the headset from responding to the accidentally touched touch operation of the user, which affects the user experience.

[0047] In an embodiment of the present application, when the earphone is detached from the containing device, first, the earphone detects whether it is in a wearing state and generates a detection result; secondly, the earphone obtains the operation attribute parameters of the user's touch operation on the earphone; finally, the earphone controls the state of the touch function of the earphone based on the detection result of whether it is in a wearing state and the operation attribute parameters of the touch operation.

[0048] An earphone control method provided in an embodiment of the present application obtains a detection result of whether the earphone is in a wearing state when the earphone is detached from a receiving device; obtains operation attribute parameters of a user's touch operation on the earphone; and controls the state of the touch function of the earphone based on the detection result and the operation attribute parameters. In this way, there is no need to upgrade the hardware inside the earphone, and based on the detected wearing state of the earphone and the operation attribute parameters of the user's touch operation on the earphone, controls whether the touch function of the earphone is in an on state or an off state, thereby avoiding the user's erroneous touch operation, reducing the frequency of the user's erroneous operation of the earphone, and reducing hardware costs.

[0049] The present application embodiment provides an earphone control method, which is applied to earphones. Figure 3 As shown, the method comprises the following steps:

[0050] Step 301: When the earphone is out of the receiving device, obtain a detection result of whether the earphone is in a wearing state.

[0051] Step 302: Obtain operation attribute parameters of the user's touch operation on the headset.

[0052] Step 303: Obtain a specific time period in which the operation time included in the operation attribute parameter of the headset falls under the state corresponding to the detection result.

[0053] In the embodiment of the present application, the state corresponding to the detection result can be understood as the earphone being in a wearing state and the earphone being in a non-wearing state.

[0054] In an embodiment of the present application, the operation time included in the operation attribute parameters is when the headset is in a state corresponding to the detection result, and the timer records the time point when the user performs a touch operation on the headset in this state, so that the headset controls the state of the touch function of the headset according to the specific time period in which the time point falls.

[0055] In the embodiment of the present application, the specific time period may be the first time period after the earphone is not worn and is separated from the receiving device, and the first time period is used to prompt the user to complete the earphone wearing operation within the time period. Exemplarily, the first time period is 5 seconds (second, s).

[0056] Optionally, the specific time period may also be a second time period after the headset enters the wearing state, the second time period is used to prompt the user to complete the wearing operation of adjusting the headset within the time period, and the second time period is after the first time period. Exemplarily, the second time period is 2 seconds.

[0057] Optionally, the specific time period may be the third time period after the headset is in the wearing state, the third time period is used to respond to the touch operation performed by the user on the headset within the time period, and the third time period is after the second time period.

[0058] Step 304: Control the state of the touch function of the headset based on at least the specific time period within which the operation time falls.

[0059] From the above, it can be seen that when the headset is in a state corresponding to the detection result, it is determined that the operation time included in the operation attribute parameters of the user's touch operation on the headset falls into a specific time period, and at least based on the specific time period in which the operation time falls, the state of the touch function of the headset is controlled; in this way, the headset does not need to upgrade the internal hardware. By identifying the state of the headset and the operation time when the user performs the touch operation, it is determined that the time period in which the operation time falls is a time period with a greater possibility of false touch. During the time period with a greater possibility of false touch, it is prohibited to respond to the touch operation performed by the user. That is, by turning off the touch function of the headset, the user's false touch operation is avoided, thereby greatly reducing the frequency of the user's false operation of the headset.

[0060] In other embodiments of the present application, the detection result indicates that the earphone is in a non-worn state, and step 304 controls the state of the touch function of the earphone at least based on the specific time period in which the operation time falls. It can be achieved in the following way: if the operation time falls within the first time period after the earphone is separated from the accommodation device, the touch function is controlled to be in an off state within the first time period.

[0061] In an embodiment of the present application, the headset determines that the detection result indicates that the headset is in a non-worn state, and determines that the operation time included in the operation attribute parameters of the user's touch operation on the headset falls within the first time period after the headset is separated from the receiving device, and controls the touch function to be in an off state during the first time period; in this way, there is no need to upgrade the hardware inside the headset, by determining that the headset is in a non-worn state, and the time period in which the operation time falls is the first time period after the headset is separated from the receiving device; because during the first time period, the user takes the headset out of the receiving device and wears it, the touch operation performed on the headset during the first time period is very likely to be an erroneous touch operation; in order to prevent the headset from responding to the touch operation performed by the user during the process of taking the headset out, the touch function of the headset is turned off during the first time period to avoid the user's erroneous touch operation, thereby greatly reducing the frequency of the user's erroneous operation of the headset.

[0062] In other embodiments of the present application, the detection result characterizes that the earphone is in a wearing state, and step 304 controls the state of the touch function of the earphone at least based on the specific time period in which the operation time falls. It can be achieved in the following way: if the operation time falls within a second time period after the earphone enters the wearing state, the touch function is controlled to be in an off state during the second time period, wherein the second time period is after the first time period after the earphone leaves the accommodation device.

[0063] In an embodiment of the present application, the headset determines that the detection result indicates that the headset is in a wearing state, and determines that the operation time included in the operation attribute parameters of the user's touch operation on the headset falls into a second time period after the headset is in the wearing state, and controls the touch function to be in an off state during the second time period; in this way, the headset does not need to upgrade the internal hardware, by determining that the headset is in a wearing state, and the time period in which the operation time falls is the second time period after the headset is in the wearing state; because during the second time period, the user is adjusting the wearing position of the headset, the touch operation performed on the headset during the second time period is very likely to be an erroneous touch operation; in order to prevent the headset from responding to the touch operation performed by the user during the process of adjusting the wearing position of the headset, the touch function of the headset is turned off during the second time period to avoid the user's erroneous touch operation, thereby greatly reducing the frequency of the user's erroneous operation of the headset.

[0064] In other embodiments of the present application, the detection result characterizes that the headset is in a wearing state, and step 304 controls the state of the touch function of the headset at least based on the specific time period in which the operation time falls. It can be achieved in the following way: if the operation time falls within a third time period after the headset enters the wearing state, and the operation duration and / or operation pressure included in the operation attribute parameters meet the trigger condition, the touch function is controlled to be in an on state, wherein the third time period is after the second time period after the headset enters the wearing state.

[0065] In the embodiment of the present application, the headset determines that the detection result indicates that the headset is in a wearing state, and determines that the operation time and / or operation pressure included in the operation attribute parameters of the user performing a touch operation on the headset meet the trigger condition, and controls the touch function to be in an on state; in this way, the headset does not need to upgrade the internal hardware, by determining that the headset is in a wearing state, and the time period in which the operation time falls is the third time period after the headset is in the wearing state; because in the third time period, the user performs a touch operation process on the headset, the touch operation performed on the headset in the third time period is very likely that the user performs a touch operation on the headset to achieve control of the corresponding function of the terminal device, and further, the headset judges the operation time and / or operation pressure included in the operation attribute parameters, and when the operation time and / or operation pressure meet the trigger condition, turns on the touch function of the headset, so that the headset responds to the touch operation performed by the user. Through the above implementation method, it is possible to avoid the user's erroneous touch operation on the headset, greatly reducing the frequency of the user's erroneous operation of the headset, while reducing the false touch rate, and improving the competitiveness of the product.

[0066] In other embodiments of the present application, the operation duration and / or operation pressure included in the operation attribute parameters satisfy the trigger conditions including: the touch duration is greater than the duration threshold, and / or the touch pressure is greater than the pressure threshold.

[0067] In the embodiment of the present application, the duration threshold is used to determine whether the touch operation with touch duration detected in the third time period is a threshold for a valid touch operation. Here, when the touch duration of the touch operation is greater than the duration threshold, the touch operation with the touch duration is determined to be a valid touch operation; when the touch duration of the touch operation is less than the duration threshold, the touch operation with the touch duration is determined to be an invalid touch operation, that is, the touch operation is determined to be an erroneous touch operation of the user. Exemplarily, the duration threshold can be 40 milliseconds (ms). Here, the touch duration can be obtained by a timer set in the headset,

[0068] In the embodiment of the present application, the pressure threshold is used to determine whether the touch operation with touch pressure detected in the third time period is a threshold value of a valid touch operation. Here, when the touch pressure of the touch operation is greater than the pressure threshold, the touch operation with touch pressure is determined to be a valid touch operation; when the touch pressure of the touch operation is less than the pressure threshold, the touch operation with touch pressure is determined to be an invalid touch operation, that is, the touch operation is determined to be an erroneous touch operation of the user. It should be noted that the touch pressure can be obtained by a pressure sensor provided in the headset.

[0069] From the above, it can be seen that when the earphone detects a touch operation with touch duration and / or touch pressure within the third time period, the touch duration is compared with the duration threshold, and / or the touch pressure is compared with the pressure threshold, and it is determined that the touch duration is greater than the duration threshold, and / or the touch pressure is greater than the pressure threshold, that is, it is determined that the operation duration and / or the operation pressure meets the trigger condition, and the touch function of the earphone is turned on to enable the earphone to respond to the touch operation performed by the user. Through the above implementation method, the user's accidental touch operation on the earphone can be avoided, which greatly reduces the frequency of the user's accidental operation of the earphone, and at the same time reduces the false touch rate, thereby improving the competitiveness of the product.

[0070] In other embodiments of the present application, if the earphone is accommodated in the accommodating device, the earphone is in a non-worn state, and the operation duration and / or operation pressure included in the operation attribute parameters do not satisfy at least one of the trigger conditions, the control touch function is in a closed state.

[0071] In the embodiment of the present application, the earphone is contained in the accommodating device and the earphone is in a non-wearing state. In these two cases, since the earphone is not in a wearing state, the touch operation performed by the user on the earphone is very likely to be an erroneous touch operation. In the case of an erroneous touch operation, the touch control function is in a closed state, that is, it is forbidden to respond to the user's erroneous touch operation. The operation duration and / or operation pressure included in the operation attribute parameters do not meet the trigger condition. In this case, although the earphone is in a wearing state, the operation duration and / or operation pressure included in the operation attribute parameters of the touch operation performed by the user on the earphone do not meet the trigger condition. Then, it is determined that the touch operation performed by the user on the earphone is an erroneous touch operation. In the case of an erroneous touch operation, the touch control function is in a closed state, that is, it is forbidden to respond to the user's erroneous touch operation, so as to avoid the user's inadvertent touch causing an erroneous touch.

[0072] To sum up, when the earphone is accommodated in the accommodating device, the earphone is in a non-wearing state, and the operation duration and / or operation pressure included in the operation attribute parameters do not satisfy at least one of the trigger conditions, it is determined that the touch operation performed by the user on the earphone is a false touch operation. In the case of a false touch operation, the touch function is controlled to be in a closed state, that is, it is prohibited to respond to the user's false touch operation, thereby avoiding the user's false touch operation, thereby greatly reducing the frequency of the user's false operation of the earphone.

[0073] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.

[0074] The present application embodiment provides an earphone control method, which is applied to earphones. Figure 4 As shown, the method comprises the following steps:

[0075] Step 401: When the earphone is out of the receiving device, obtain a detection result of whether the earphone is in a wearing state.

[0076] Step 402: When the user performs a touch operation on the earphone, an electrical signal detected by a sensing device in a touch area of ​​the earphone is obtained.

[0077] In an embodiment of the present application, the touch area is an area that can identify touch operations performed by the user on the headset. The touch area can be any area exposed to the environment when the headset is in a worn state. For example, the touch area can be the area on the outside of the ear handle exposed to the environment. The touch area can also be the area on the upper part of the headset exposed outside the environment. This application does not make any specific restrictions on this.

[0078] In the embodiment of the present application, the electrical signal is used to characterize the sensitivity of the touch area when it is touched by the user. The electrical signal can be a capacitance signal, a voltage signal, or a current signal. The present application does not impose any specific restrictions on this.

[0079] In an embodiment of the present application, the sensing device is used to detect an electrical signal, and the sensing device corresponds to the detected electrical signal, that is, if the detected electrical signal is a capacitive signal, the sensing device is a capacitive touch sensor; if the detected electrical signal is a voltage signal, the sensing device is a voltage touch sensor; if the detected electrical signal is a current signal, the sensing device is a voltage touch sensor, and the earphone indirectly determines the current signal through the obtained voltage and resistance.

[0080] In an achievable application scenario, the detected electrical signal is a capacitance signal, and the sensing device is a capacitive touch sensor. There is an inductive capacitance between any two conductive objects. Therefore, in the earphone, the touch area, that is, a pad in the earphone, forms a first inductive capacitance with the ground. When the surrounding environment remains unchanged, the capacitance signal of the first inductive capacitance detected by the capacitive touch sensor is a fixed and small inductive capacitance value. When a human finger touches the touch area, the second inductive capacitance formed by the human finger and the ground is connected in parallel with the first inductive capacitance formed by the pad and the ground. The capacitance signal detected by the capacitive touch sensor is the sum of the inductive capacitance value of the first inductive capacitance and the inductive capacitance value of the second inductive capacitance, that is, the total inductive capacitance value increases. Reference Figure 5 As shown, Figure 5 The diagram shows the size of the capacitance signal detected by the capacitive touch sensor, wherein the horizontal axis represents time, and the vertical axis represents the size C of the capacitance signal, also known as sensitivity.

[0081] Step 403: If the size of the electrical signal is within the threshold range, obtain the operation attribute parameter.

[0082] In the embodiment of the present application, the magnitude of the electrical signal can represent the sensitivity of the touch area of ​​the headset, and the threshold range is a range greater than the preset sensitivity. Figure 5 As shown, when the electrical signal is a capacitance signal, the size of the capacitance signal is the ratio of the charge of the capacitor to the voltage of the capacitor, that is, C=Q / U, wherein C represents the size of the capacitance signal, Q represents the charge of the capacitor, and U represents the voltage of the capacitor.

[0083] Here, when the user performs a touch operation on the earphone, the capacitance signal detected by the sensing device of the touch area of ​​the earphone, such as a capacitive touch sensor, is obtained, and it is determined that the capacitance signal detected by the capacitive touch sensor exceeds the size of the preset electrical signal, such as the preset sensitivity, that is, it is determined that the user has successfully performed a touch operation in the touch area, and the operation attribute parameters of the touch operation are obtained. In this way, whether the user has successfully performed a touch operation in the touch area is determined based on the size of the electrical signal, avoiding the user's erroneous touch operation, and at the same time, without reducing the sensitivity, the false touch rate is reduced, thereby greatly reducing the frequency of the user's erroneous operation of the earphone.

[0084] In the present application, refer to Figure 6 As shown, step 403, if the size of the electrical signal is within the threshold range, obtaining the operation attribute parameter can be achieved through the following steps:

[0085] Step 4031: If the size of the electrical signal is within the threshold range, obtain the touch time interval between the touch operation and the previous touch operation.

[0086] Step 4032: If the touch time interval is greater than the interval threshold, obtain the operation attribute parameters.

[0087] The touch operation and the previous touch operation belong to the same type of touch operation.

[0088] In the embodiment of the present application, the touch time interval is the time interval between a touch operation currently performed by the user and a previous touch operation in the same type of touch operations.

[0089] In the embodiment of the present application, the interval threshold is used to prevent the user from frequently performing the same type of touch operation. Exemplarily, the interval threshold may be 200ms to 600ms. Of course, the interval threshold may also be other durations, and the present application does not make any specific limitation on this.

[0090] Step 404: Based on the detection result and the operation attribute parameter, control the state of the touch function of the headset.

[0091] From the above, it can be seen that when the size of the electrical signal is within the threshold range, the headset obtains the touch time interval between the touch operation and the previous touch operation, and determines that the touch time interval is greater than the interval threshold. Only then will the headset obtain the operation attribute parameters. In this way, it avoids the phenomenon that the user frequently performs the same type of touch operation, which may cause the headset processor to respond untimely. At the same time, it also avoids the situation where the touch time interval is less than the interval threshold. By calling multiple hardware in the headset to obtain the operation attribute parameters of the touch operation, and then based on the detected wearing state of the headset and the operation attribute parameters of the user's touch operation on the headset, the touch function of the headset is controlled to be in the on or off state, thereby avoiding the user's mistaken touch operation, thereby reducing the frequency of user's mistaken operation of the headset and reducing hardware costs.

[0092] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.

[0093] This application takes an implementation scenario as an example to further illustrate a provided earphone control method, which is applied to earphones, referring to Figure 7 As shown, the method includes step 501, step 506; step 501 to step 502, step 506; step 501 to step 503, step 506; step 501 to step 504, step 506; step 501 to step 505:

[0094] Step 501, detect whether the earphone is out of the earphone box, if so, execute step 502; if not, execute step 506.

[0095] In the embodiment of the present application, by detecting whether the earphone is out of the earphone box, if it is determined that the earphone is out of the earphone box, step 502 is executed. If it is determined that the earphone is still in the earphone box, the touch function of the earphone is turned off to ensure that the user will not make an accidental touch when taking the earphone.

[0096] Step 502 , detecting whether the earphone is separated from the earphone box within the first time period, if not, executing step 503 , if yes, executing step 506 .

[0097] In the embodiment of the present application, by detecting whether the time when the earphone is separated from the earphone box is within the first time period, if it is determined that the time when the earphone is separated from the earphone box is not within the first time period, such as 5 seconds, step 503 is executed. If it is determined that the time when the earphone is separated from the earphone box is within the first time period, such as 5 seconds, the touch function of the earphone is turned off to ensure that the user does not make accidental touches when taking the earphone and putting on the earphone. It should be noted that the first time period is a time period that prompts the user to take the earphone out of the earphone box and put on the earphone successfully within the time period.

[0098] Step 503 , detecting whether the earphone is worn within the second time period, if not, executing step 504 , if yes, executing step 506 .

[0099] In the embodiment of the present application, by detecting whether the earphone is inserted into the ear within the second time period, if it is determined that the earphone is not inserted into the ear within the second time period, such as 2 seconds, step 504 is executed. If it is determined that the earphone is inserted into the ear within the second time period, such as 2 seconds, the touch function of the earphone is turned off to ensure that the user does not make an accidental touch when adjusting the earphone after wearing it. It should be noted that the second time period is a time period for prompting the user to adjust the position of the earphone within this time period after the earphone is successfully worn.

[0100] Step 504, obtaining the operation duration included in the operation attribute parameters of the user performing the touch operation on the headset, and determining whether the operation duration is greater than the duration threshold. If so, executing step 505; if not, executing step 506.

[0101] In the embodiment of the present application, the headset adds a touch anti-shake time, that is, a time length threshold such as 40ms. When the operation time is less than 40ms, the touch is ineffective to avoid accidental touches caused by inadvertent touches.

[0102] Step 505: Enable the touch function.

[0103] Step 506: Turn off the touch function.

[0104] From the above, it can be seen that when at least one of the following conditions is met: the earphone is accommodated in the accommodating device, the earphone is in a non-worn state, and the operation duration included in the operation attribute parameter is less than the duration threshold, it is determined that the touch operation performed by the user on the earphone is an erroneous touch operation. In the erroneous touch operation, the touch function is controlled to be in an off state, that is, it is prohibited to respond to the user's erroneous touch operation. When the earphone is in a worn state and the wearing position of the earphone has been adjusted, it is determined whether the operation duration included in the operation attribute parameter of the touch operation performed by the user on the earphone is greater than the duration threshold. If so, the touch function will be turned on at this time. In this way, the user's erroneous touch operation is avoided, thereby greatly reducing the frequency of the user's erroneous operation of the earphone.

[0105] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.

[0106] The embodiment of the present application provides an earphone control device, which is used to implement Figure 2 to Figure 4 , Figure 6-7 A headset control method provided by a corresponding embodiment, referring to Figure 8 As shown, the earphone control device 8 includes:

[0107] An acquisition module 801 is used to acquire a detection result of whether the earphone is in a wearing state when the earphone is out of the receiving device;

[0108] The acquisition module 801 is further used to obtain the operation attribute parameters of the user performing the touch operation on the headset;

[0109] The processing module 802 is used to control the state of the touch function of the headset based on the detection result and the operation attribute parameter.

[0110] In other embodiments of the present application, the acquisition module 801 is also used to obtain the specific time period in which the operation time contained in the operation attribute parameters of the headset falls when the headset is in a state corresponding to the detection result; the processing module 802 is also used to control the state of the touch function of the headset based on at least the specific time period in which the operation time falls.

[0111] In other embodiments of the present application, the detection result indicates that the earphone is in a non-wearing state, and the processing module 802 is further used to control the touch function to be in a closed state during the first period if the operation time falls within the first period after the earphone is separated from the receiving device.

[0112] In other embodiments of the present application, the detection result indicates that the earphone is in a wearing state, and the processing module 802 is further used to control the touch function to be in an off state during the second time period if the operation time falls within a second time period after the earphone enters the wearing state, wherein the second time period is after the first time period after the earphone is separated from the receiving device.

[0113] In other embodiments of the present application, the detection result indicates that the earphones are in a wearing state, and the processing module 802 is also used to control the touch function to be in an on state if the operation time falls within a third time period after the earphones enter the wearing state, and the operation duration and / or operation pressure included in the operation attribute parameters meet the trigger condition, wherein the third time period is after the second time period after the earphones enter the wearing state.

[0114] In other embodiments of the present application, the processing module 802 is also used to control the touch function to be in an off state if the earphone is accommodated in a accommodating device, the earphone is in a non-worn state, and the operation duration and / or operation pressure included in the operation attribute parameters do not satisfy at least one of the trigger conditions.

[0115] In other embodiments of the present application, the acquisition module 801 is also used to obtain an electrical signal detected by a sensing device in a touch area of ​​the headset when the user performs a touch operation on the headset; if the size of the electrical signal is within a threshold range, the operation attribute parameter is obtained.

[0116] In other embodiments of the present application, the acquisition module 801 is also used to obtain the touch time interval between the touch operation and the previous touch operation if the size of the electrical signal is within the threshold range; if the touch time interval is greater than the interval threshold, obtain the operation attribute parameter; wherein the touch operation and the previous touch operation belong to the same type of touch operation

[0117] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.

[0118] Based on the above embodiments, an embodiment of the present application provides an earphone for implementing Figure 2 to Figure 4 , Figure 6-7 A headset control method provided by a corresponding embodiment, referring to Fig. 9 As shown, the earphone 100 ( Fig. 9 Headphones 100 and Figure 8 The headset control device 8 in the embodiment of the present invention comprises: a processor 120, a memory 130 and a communication bus 140, wherein:

[0119] The communication bus 140 is used to realize the communication connection between the processor 120 and the memory 130;

[0120] The processor 120 is used to execute the earphone control program stored in the memory 130 to implement the following steps:

[0121] When the earphone is out of the receiving device, obtaining a detection result of whether the earphone is in a wearing state;

[0122] Obtaining the operation attribute parameters of the user's touch operation on the headset;

[0123] Based on the detection result and the operation attribute parameters, the state of the touch function of the headset is controlled.

[0124] In other embodiments of the present application, the processor 120 is used to execute the headset control program stored in the memory 130 to implement the following steps:

[0125] Obtaining a specific time period in which an operation time included in the operation attribute parameter falls when the headset is in a state corresponding to the detection result; and controlling a state of a touch function of the headset based at least on the specific time period in which the operation time falls.

[0126] In other embodiments of the present application, the processor 120 is used to execute the headset control program stored in the memory 130 to implement the following steps:

[0127] The detection result indicates that the earphone is in a non-wearing state. If the operation time falls within the first time period after the earphone is separated from the storage device, the control touch function is in a closed state during the first time period.

[0128] In other embodiments of the present application, the processor 120 is used to execute the headset control program stored in the memory 130 to implement the following steps:

[0129] The detection result indicates that the earphone is in a wearing state. If the operation time falls within a second time period after the earphone enters the wearing state, the control touch function is in a closed state during the second time period, wherein the second time period is after the first time period after the earphone leaves the accommodation device.

[0130] In other embodiments of the present application, the processor 120 is used to execute the headset control program stored in the memory 130 to implement the following steps:

[0131] The detection result indicates that the earphone is in a wearing state. If the operation time falls within the third time period after the earphone enters the wearing state, and the operation duration and / or operation pressure included in the operation attribute parameters meet the trigger conditions, the control touch function is in the on state, wherein the third time period is after the second time period after the earphone enters the wearing state.

[0132] In other embodiments of the present application, the processor 120 is used to execute the headset control program stored in the memory 130 to implement the following steps:

[0133] If the earphone is accommodated in the accommodating device, the earphone is not in the wearing state, and the operation duration and / or operation pressure included in the operation attribute parameters do not satisfy at least one of the trigger conditions, the control touch function is in the off state.

[0134] In other embodiments of the present application, the processor 120 is used to execute the headset control program stored in the memory 130 to implement the following steps:

[0135] When the user performs a touch operation on the headset, obtaining an electrical signal detected by a sensing device in a touch area of ​​the headset;

[0136] If the size of the electrical signal is within the threshold range, the operation attribute parameters are obtained.

[0137] In other embodiments of the present application, the processor 120 is used to execute the headset control program stored in the memory 130 to implement the following steps:

[0138] If the size of the electrical signal is within the threshold range, the touch time interval between the touch operation and the previous touch operation is obtained; if the touch time interval is greater than the interval threshold, the operation attribute parameter is obtained; wherein the touch operation and the previous touch operation belong to the same type of touch operation.

[0139] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.

[0140] Based on the foregoing embodiments, an embodiment of the present application provides a computer storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the following steps:

[0141] When the earphone is out of the receiving device, obtaining a detection result of whether the earphone is in a wearing state;

[0142] Obtaining the operation attribute parameters of the user's touch operation on the headset;

[0143] Based on the detection result and the operation attribute parameters, the state of the touch function of the headset is controlled.

[0144] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:

[0145] Obtaining a specific time period in which an operation time included in the operation attribute parameter falls when the headset is in a state corresponding to the detection result; and controlling a state of a touch function of the headset based at least on the specific time period in which the operation time falls.

[0146] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:

[0147] The detection result indicates that the earphone is in a non-wearing state. If the operation time falls within the first time period after the earphone is separated from the storage device, the control touch function is in a closed state during the first time period.

[0148] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:

[0149] The detection result indicates that the earphone is in a wearing state. If the operation time falls within a second time period after the earphone enters the wearing state, the control touch function is in a closed state during the second time period, wherein the second time period is after the first time period after the earphone leaves the accommodation device.

[0150] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:

[0151] The detection result indicates that the earphone is in a wearing state. If the operation time falls within the third time period after the earphone enters the wearing state, and the operation duration and / or operation pressure included in the operation attribute parameters meet the trigger conditions, the control touch function is in the on state, wherein the third time period is after the second time period after the earphone enters the wearing state.

[0152] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:

[0153] If the earphone is accommodated in the accommodating device, the earphone is not in the wearing state, and the operation duration and / or operation pressure included in the operation attribute parameters do not satisfy at least one of the trigger conditions, the control touch function is in the off state.

[0154] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:

[0155] When the user performs a touch operation on the headset, an electrical signal detected by a sensing device in the touch area of ​​the headset is obtained; if the size of the electrical signal is within a threshold range, an operation attribute parameter is obtained.

[0156] In other embodiments of the present application, the one or more programs may be executed by one or more processors, and the following steps may also be implemented:

[0157] If the size of the electrical signal is within the threshold range, the touch time interval between the touch operation and the previous touch operation is obtained; if the touch time interval is greater than the interval threshold, the operation attribute parameter is obtained; wherein the touch operation and the previous touch operation belong to the same type of touch operation.

[0158] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.

[0159] It should be noted that the above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM) and other memories; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0160] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0161] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0162] In addition, all functional units in the embodiments of the present application can be integrated into one processing module, or each unit can be a separate unit, or two or more units can be integrated into one unit; the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units. A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memory (ROM), random access memory (RAM), disks or optical disks, and other media that can store program codes.

[0163] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0164] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0165] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0166] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the 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.

Claims

1. A method for controlling a headset, characterized in that: The method comprises: When the earphone is out of the receiving device, obtaining a detection result of whether the earphone is in a wearing state; Acquire operation attribute parameters of a touch operation performed by a user on the headset; Based on the detection result and the operation attribute parameter, controlling the state of the touch function of the headset; The controlling the state of the touch function of the headset based on the detection result and the operation attribute parameter includes: Obtaining, when the headset is in a state corresponding to the detection result, a specific time period in which the operation time included in the operation attribute parameter falls; Controlling the state of the touch function of the headset based at least on the specific time period within which the operation time falls; The detection result indicates that the headset is in a non-wearing state, and the controlling of the state of the touch function of the headset based at least on the specific time period in which the operation time falls includes: If the operation time falls within a first time period after the earphone is separated from the accommodating device, the touch function is controlled to be in a closed state during the first time period.

2. The method according to claim 1, characterized in that The detection result indicates that the headset is in a wearing state, and the controlling of the state of the touch function of the headset based at least on the specific time period in which the operation time falls includes: If the operation time falls within a second time period after the headset enters the wearing state, the touch function is controlled to be in a closed state during the second time period, wherein the second time period is after the first time period after the headset is separated from the accommodation device.

3. The method according to claim 1, characterized in that: The detection result indicates that the headset is in a wearing state, and the controlling of the state of the touch function of the headset based at least on the specific time period in which the operation time falls includes: If the operation time falls within a third time period after the headset enters the wearing state, and the operation duration and / or operation pressure included in the operation attribute parameters meet the trigger condition, the touch function is controlled to be in an on state, wherein the third time period is after the second time period after the headset enters the wearing state.

4. The method according to claim 1, characterized in that: The method further comprises: If the earphone is accommodated in the accommodating device, the earphone is in a non-wearing state, and the operation duration and / or operation pressure included in the operation attribute parameters do not satisfy at least one of the trigger conditions, the touch function is controlled to be in an off state.

5. The method according to any one of claims 1 to 4, characterized in that The method of obtaining the operation attribute parameter of the user performing a touch operation on the headset comprises: When the user performs the touch operation on the headset, acquiring an electrical signal detected by a sensing device in a touch area of ​​the headset; If the magnitude of the electrical signal is within a threshold range, the operation attribute parameter is obtained.

6. The method according to claim 5, characterized in that If the magnitude of the electrical signal is within a threshold range, obtaining the operation attribute parameter includes: If the magnitude of the electrical signal is within the threshold range, acquiring a touch time interval between the touch operation and a previous touch operation; If the touch time interval is greater than the interval threshold, the operation attribute parameter is obtained; wherein the touch operation and the previous touch operation belong to the same type of touch operation.

7. An earphone control device, characterized in that: The device comprises: An acquisition module, used for acquiring a detection result of whether the earphone is in a wearing state when the earphone is out of the receiving device; The acquisition module is further used to acquire operation attribute parameters of a touch operation performed by a user on the headset; A processing module, configured to control a state of a touch function of the headset based on the detection result and the operation attribute parameter; The acquisition module is further used to acquire, when the headset is in the state corresponding to the detection result, a specific time period in which the operation time included in the operation attribute parameter falls; The processing module is further configured to control the state of the touch function of the headset based at least on the specific time period in which the operation time falls; The detection result indicates that the earphone is in a wearing state, and the processing module is further used to control the touch function to be in a closed state during the first time period if the operation time falls within a first time period after the earphone is separated from the accommodation device.

8. A headset, characterized in that: The headset includes: a processor, a memory and a communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute the earphone control program stored in the memory to implement the earphone control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Control method and device, wearable equipment and medium

    CN110780769A