Earphone, earphone control method, earphone control device and storage medium

文档序号:1966202 发布日期:2021-12-14 浏览:12次 中文

阅读说明:本技术 耳机、耳机的控制方法、装置及存储介质 (Earphone, earphone control method, earphone control device and storage medium ) 是由 凌华东 于 2021-07-29 设计创作,主要内容包括:本申请实施例公开了一种耳机、耳机的控制方法、装置及存储介质,属于耳机技术领域,能够解决容易误触发无线耳机的控制功能的问题。该耳机包括:第一传感器;分别设置于第一传感器至少一侧的N个第二传感器,N为正整数;分别与第一传感器和每个第二传感器电连接的处理器;其中,该处理器,用于若至少一个所述第二传感器检测到的电容值大于或等于所述第一传感器检测到的电容值,则禁止执行与所述第一传感器检测到的电容值对应的控制功能;若每个所述第一传感器检测到的电容值均小于所述第一传感器检测到的电容值,则执行与所述第一传感器检测到的电容值对应的控制功能。(The embodiment of the application discloses an earphone, a control method and device of the earphone and a storage medium, belongs to the technical field of earphones, and can solve the problem that the control function of a wireless earphone is easily triggered by mistake. The earphone includes: a first sensor; n second sensors respectively arranged on at least one side of the first sensor, wherein N is a positive integer; a processor electrically connected to the first sensor and each second sensor, respectively; the processor is configured to prohibit execution of a control function corresponding to the capacitance value detected by the first sensor if the capacitance value detected by at least one of the second sensors is greater than or equal to the capacitance value detected by the first sensor; and if the capacitance value detected by each first sensor is smaller than the capacitance value detected by the first sensor, executing a control function corresponding to the capacitance value detected by the first sensor.)

1. An earphone, characterized in that the earphone comprises:

a first sensor;

n second sensors respectively arranged on at least one side of the first sensor, wherein N is a positive integer;

a processor electrically connected to the first sensor and each of the second sensors, respectively;

the processor is configured to prohibit execution of a control function corresponding to the capacitance value detected by the first sensor if the capacitance value detected by at least one of the second sensors is greater than or equal to the capacitance value detected by the first sensor; and if the capacitance value detected by each second sensor is smaller than the capacitance value detected by the first sensor, executing a control function corresponding to the capacitance value detected by the first sensor.

2. The headset of claim 1, further comprising at least one of:

the earphone comprises a first touch area and N second touch areas, wherein the first touch area is positioned on an earphone shell, and the N second touch areas are positioned on the earphone shell;

the first key is a sensing area corresponding to the first sensor, and each second key is a sensing area corresponding to one second sensor.

3. The headset of any one of claims 1 or 2, wherein the N second sensors are disposed to one side of the first sensor;

wherein the one side is: the earphone is a left ear earphone, and when the earphone is worn on a left ear, the first sensor is close to one side of the antitragus of the left ear;

or, the one side is: the earphone is a right ear earphone and is worn on the right ear, and the first sensor is close to one side of the antitragus of the right ear.

4. The earphone according to claim 1 or 2, wherein the N second sensors are respectively disposed at both sides of the first sensor;

wherein the two sides are: when the earphone is in a wearing state, the first sensor is close to one side of the antitragus of the ear and one side of the tragus of the ear, and N is larger than 1.

5. A control method of a headphone, applied to a headphone including a first sensor and N second sensors according to any one of claims 1 to 4, the method comprising:

if the capacitance value detected by at least one second sensor is larger than or equal to the capacitance value detected by the first sensor, forbidding to execute the control function corresponding to the capacitance value detected by the first sensor;

if the capacitance value detected by each second sensor is smaller than the capacitance value detected by the first sensor, executing a control function corresponding to the capacitance value detected by the first sensor;

wherein N is a positive integer.

6. The method of claim 5, further comprising:

if the earphone is detected not to be in a wearing state, forbidding to detect the capacitance values of the N second sensors;

and if the earphone is detected to be in a wearing state, allowing the capacitance values of the N second sensors to be detected.

7. The method according to claim 6, wherein the allowing to detect the capacitance values of the N second sensors if the headset is detected to be worn comprises:

if the earphone is detected to be in a wearing state, allowing the capacitance value of a target sensor in the N second sensors to be detected;

if the earphone is worn on the left ear, the target sensor is the second sensor arranged on one side, close to the antitragus of the left ear, of the first sensor;

if the earphone is worn on the right ear, the target sensor is the second sensor arranged on one side of the first sensor close to the antitragus of the right ear.

8. The method of any of claims 5 to 7, wherein after the inhibiting execution of the control function corresponding to the first capacitance value, the method further comprises:

and outputting prompt information, wherein the prompt information is used for prompting the touch area corresponding to the first sensor to be touched by mistake.

9. A control device for a headset, characterized in that the headset comprises a first sensor and N second sensors according to any one of claims 1 to 4, the device comprising: a control module;

the control module is used for prohibiting executing a control function corresponding to the capacitance value detected by the first sensor if the capacitance value detected by at least one second sensor is greater than or equal to the capacitance value detected by the first sensor; if the capacitance value detected by each second sensor is smaller than the capacitance value detected by the first sensor, executing a control function corresponding to the capacitance value detected by the first sensor;

wherein N is a positive integer.

10. A headset, characterized in that it comprises a processor, a memory and a program or instructions stored on the memory and executable on the processor, which program or instructions, when executed by the processor, implement the steps of a control method of a headset according to any one of claims 5 to 8.

11. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the control method of a headset of any of claims 5 to 8.

Technical Field

The present application relates to the field of earphone technologies, and in particular, to a control method for an earphone, and a storage medium.

Background

With the popularization of earphone technology, the proportion of the wireless earphone in the whole earphone market is greatly improved. Especially, the convenience of use of a True Wireless Stereo (TWS) headset brings an excellent user experience to the user.

Currently, most earphones can control the earphones to perform corresponding control functions (such as music playing, call receiving and making, voice assistant waking, volume adjustment, earphone mode switching and the like) by touching or approaching a touch area corresponding to a first sensor on an earphone shell. However, when the earphone is turned on, the control function of the wireless earphone is easily triggered by mistake or by mistake approaching the touch area due to the small volume of the earphone or the deformation of the ear caused by pressure (for example, when the user lies on his side or leans against a chair).

Disclosure of Invention

The embodiment of the application provides a control method of an earphone, the earphone and a storage medium, which are used for solving the problem that the control function of a wireless earphone is easily triggered by mistake.

In a first aspect of embodiments of the present application, there is provided a headset, including: a first sensor; n second sensors respectively arranged on at least one side of the first sensor, wherein N is a positive integer; a processor electrically connected to the first sensor and each second sensor, respectively; the processor is used for forbidding to execute a control function corresponding to the capacitance value detected by the first sensor if the capacitance value detected by the at least one second sensor is greater than or equal to the capacitance value detected by the first sensor; and if the capacitance value detected by each second sensor is smaller than the capacitance value detected by the first sensor, executing a control function corresponding to the capacitance value detected by the first sensor.

In a second aspect of the embodiments of the present application, there is provided a control method for a headset, which is applied to a headset including a first sensor and N second sensors as described in the first aspect, the method including: if the capacitance value detected by the at least one second sensor is greater than or equal to the capacitance value detected by the first sensor, prohibiting execution of the control function corresponding to the capacitance value detected by the first sensor; if the capacitance value detected by each second sensor is smaller than the capacitance value detected by the first sensor, executing a control function corresponding to the capacitance value detected by the first sensor; wherein N is a positive integer.

In a third aspect of the embodiments of the present application, there is provided a control device for a headset, the headset including a first sensor and N second sensors as described in the first aspect, the device including: a control module; the control module is used for forbidding to execute a control function corresponding to the capacitance value detected by the first sensor if the capacitance value detected by the at least one second sensor is greater than or equal to the capacitance value detected by the first sensor; if the capacitance value detected by each second sensor is smaller than the capacitance value detected by the first sensor, executing a control function corresponding to the capacitance value detected by the first sensor; wherein N is a positive integer.

In a fourth aspect of the embodiments of the present application, there is provided a headset including a processor, a memory, and a program or instructions stored on the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the control method of the headset according to the second aspect.

A fifth aspect of the embodiments of the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the control method of the headset according to the second aspect.

In a sixth aspect of the embodiments of the present application, there is provided a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the control method of the headset according to the second aspect.

In an embodiment of the present application, a headset includes: a first sensor; n second sensors respectively arranged on at least one side of the first sensor, wherein N is a positive integer; a processor electrically connected to the first sensor and each second sensor, respectively; the processor is used for forbidding to execute a control function corresponding to the capacitance value detected by the first sensor if the capacitance value detected by the at least one second sensor is greater than or equal to the capacitance value detected by the first sensor; and if the capacitance value detected by each second sensor is smaller than the capacitance value detected by the first sensor, executing a control function corresponding to the capacitance value detected by the first sensor. The earphone provided by the embodiment of the application determines whether to execute the control function corresponding to the capacitance value detected by the first sensor according to the size relation between the capacitance values detected by the N second sensors and the capacitance value detected by the first sensor. In this scheme, the capacitance values detected by the N second sensors and the capacitance value detected by the first sensor are combined to determine whether the capacitance value detected by the first sensor is an effective capacitance value, and whether the touch operation of the user on the touch area of the first sensor is effective touch or wrong touch. The N second sensors are arranged on at least one side of the first sensor, namely, arranged around the first sensor, are close to the first sensor, and are closer to the ear of the user than the first sensor (namely, the touch area of each second sensor is closer to the ear of the user than the touch area of the first sensor) when the earphone is smaller than the first sensor or the ear is deformed under pressure, and the capacitance value detected by the first sensor can be detected by at least one second sensor, and the capacitance value detected by at least one second sensor is larger than or equal to the capacitance value detected by the first sensor (because the at least one second sensor is closer to the ear of the user), so that the touch operation of the touch area of the first sensor by the user can be determined as false touch, and the use of the earphone by the user is not influenced by the processor not responding to the touch operation, and unnecessary operation can not be brought to a user, so that the control function of the earphone can be prevented from being triggered by mistake caused by the fact that the existing earphone is small or the ear is deformed due to pressure.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained according to the drawings.

Fig. 1 is a schematic wearing diagram of an earphone according to an embodiment of the present disclosure;

fig. 2 is a schematic structural diagram of a capacitive sensor according to an embodiment of the present disclosure;

fig. 3A is a block diagram of a structure of an earphone according to an embodiment of the present disclosure;

fig. 3B is a second block diagram of the earphone according to the embodiment of the present application;

fig. 3C is a third block diagram of the earphone according to the embodiment of the present application;

fig. 3D is a schematic diagram of a button of an earphone according to an embodiment of the present disclosure;

fig. 4 is a fourth block diagram of the earphone according to the embodiment of the present application;

fig. 5 is a schematic structural diagram of an ear and a wearing schematic diagram of a corresponding earphone according to an embodiment of the present application;

fig. 6 is a schematic flowchart of a control method of an earphone according to an embodiment of the present disclosure;

fig. 7 is a block diagram of a control device of an earphone according to an embodiment of the present disclosure;

fig. 8 is a schematic diagram of a hardware structure of an earphone according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.

The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.

An earphone is an electronic product worn on the ear for audio communication. Specifically, the earphone receives an electrical signal from the media player or receiver and converts the signal into an acoustic signal using a speaker proximate to the ear.

The earphone in the embodiment of the present application may be an inner ear earphone, an in-ear earphone, or a headphone. The earphone in the embodiment of the application can be a wired earphone and can also be a wireless earphone. Wherein, the Wireless earphone can be a bluetooth earphone (e.g., True Wireless Stereo earphone), an infrared earphone or a 2.4G earphone, and the earphone can be a rod earphone, a bean earphone, a neck strap earphone, etc.; the embodiments of the present application are not particularly limited.

The first sensors of the earphones in the embodiments of the present application are each disposed proximate to the earphone head (or ear bud).

Exemplarily, as shown in fig. 1, a schematic wearing diagram of a headset according to an embodiment of the present application is shown.

Taking the first sensor as an example of a capacitive sensor, as shown in fig. 2, one capacitive sensor includes a sensing layer 21 located on an inner wall of a housing of the earphone, and a reference layer 22 disposed opposite to the sensing layer 21, where the sensing layer 21 and the reference layer 22 are disposed on an upper layer and a lower layer of a same Flexible Printed Circuit (FPC), the main material is copper, the sensing layer may also be referred to as a touch (touch) pad (pad), a sensor KEY (sensor KEY), and the like, and a touch region of the first sensor on the earphone is a sensing region corresponding to the sensing layer. The first sensor has a single-point touch scheme, a sliding touch scheme, and the like. The single-point touch scheme is realized by one capacitive sensor, the control function (such as clicking music playing, long-press voice awakening assistant and the like) can be realized by identifying the operations of clicking/double-clicking/triple-clicking/long-press and the like of a user on the touch area, the sliding touch scheme is realized by 3 capacitive sensors, and the control function (such as the functions of sliding volume adjustment and the like) can be realized by identifying different sliding operations of the user on the touch area.

As shown in fig. 2, when a finger, an ear, or the like touches a touch area, a touch response is generated (a corresponding control scheme is executed), and when the earphone is worn on the ear (as shown in fig. 1), the ear is close to or touches the touch area with a probability under different ear shapes, especially, when a user lies on his side or leans against a chair or the like, the ear is pressed and deformed to touch or approach the touch area (especially, when the user leans against the chair or the like, the edge of the touch area is close to the ear), thereby causing a false triggering of the control function.

The control method of the earphone provided by the embodiment of the application can be applied to scenes that the size of the earphone is small, or the shape of the ear, the deformation of the ear and the like easily trigger the control function of the earphone by mistake, and can be particularly applied to scenes that the control function is easily triggered by mistake when the earphone is held by a hand, scenes that the control function is easily triggered by mistake when the earphone is worn, or scenes that the control function is easily triggered by mistake when the earphone is in a closed narrow space.

In order to solve the above problem, as shown in fig. 3A to 3C, an embodiment of the present application provides a headset including: a first sensor 31; n second sensors 32 (in the figure, N is 1, 2 or 4, respectively as an example), which are respectively arranged on at least one side of the first sensor, wherein N is a positive integer; a processor 33 electrically connected to the first sensor 31 and each of the second sensors 32, respectively; the processor 33 is configured to prohibit execution of the control function corresponding to the capacitance value detected by the first sensor 31 if the capacitance value detected by the at least one second sensor 32 is greater than or equal to the capacitance value detected by the first sensor 31; if the capacitance value detected by each second sensor 32 is smaller than the capacitance value detected by the first sensor 31, the control function corresponding to the capacitance value detected by the first sensor 31 is executed.

It is understood that each second sensor is respectively arranged adjacent to the first sensor, and it is also understood that N second sensors are arranged around the first sensor. The N second sensors are anti-false touch sensors arranged for avoiding the false touch of the user on the first sensor.

Accordingly, the touch area of each second sensor is adjacent to the touch area of the first sensor, that is, the touch area of each second sensor is closer to the ear than the touch area of the first sensor.

Alternatively, the first sensor may be one sensor or a plurality of sensors. If the first sensor is a sensor, the headset may comprise at least one first sensor as described above.

The control function may be music playing, call receiving, voice assistant waking up, volume adjustment, or earphone mode switching, and the embodiment of the present application is not limited.

Fig. 3A to 3C are schematic layout diagrams of first and second sensors of three possible earphones according to an embodiment of the present disclosure. As shown in fig. 3A, the earphone includes one first sensor 31 and one second sensor 32, and the one second sensor 32 is disposed at the right side of the one first sensor 31, respectively. As shown in fig. 3B, the earphone includes one first sensor 31 and two second sensors 32, and the two second sensors 32 are respectively disposed at left and right sides of the one first sensor 31. As shown in fig. 3C, the earphone includes one first sensor 31 and four second sensors 32, and the four second sensors 32 are respectively disposed at upper, lower, left, and right sides of the one first sensor 31.

The earphone provided by the embodiment of the application determines whether to execute the control function corresponding to the capacitance value detected by the first sensor according to the size relation between the capacitance values detected by the N second sensors and the capacitance value detected by the first sensor. In this scheme, the capacitance values detected by the N second sensors and the capacitance value detected by the first sensor are combined to determine whether the capacitance value detected by the first sensor is an effective capacitance value, and whether the touch operation of the user on the touch area of the first sensor is effective touch or wrong touch. The N second sensors are arranged on at least one side of the first sensor, namely, arranged around the first sensor, are close to the first sensor, and are closer to the ear of the user than the first sensor (namely, the touch area of each second sensor is closer to the ear of the user than the touch area of the first sensor) when the earphone is smaller than the first sensor or the ear is deformed under pressure, and the capacitance value detected by the first sensor can be detected by at least one second sensor, and the capacitance value detected by at least one second sensor is larger than or equal to the capacitance value detected by the first sensor (because the at least one second sensor is closer to the ear of the user), so that the touch operation of the touch area of the first sensor by the user can be determined as false touch, and the use of the earphone by the user is not influenced by the processor not responding to the touch operation, and unnecessary operation can not be brought to a user, so that the control function of the earphone can be prevented from being triggered by mistake caused by the fact that the existing earphone is small or the ear is deformed due to pressure.

Optionally, the processor in the embodiment of the present Application may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), one or more Integrated circuits configured to implement the embodiment of the present Application, a main control chip, or one or more chips (or systems of chips) for executing the solution of the present Application, and the embodiment of the present Application is not limited thereto.

In the embodiment of the present application, the first sensor and the second sensor are both capacitance sensors, and the capacitance sensor refers to a sensor that converts a change of a measured quantity (such as a size, a pressure, and the like) into a change of capacitance. In fact, it is a variable capacitor by itself (or with the object under test).

Optionally, the headset further comprises at least one of: the earphone comprises a first touch area and N second touch areas, wherein the first touch area is positioned on an earphone shell, and the N second touch areas are positioned on the earphone shell; the first touch area is a sensing area corresponding to the first sensor, and each second touch area is a sensing area corresponding to one second sensor.

It is to be understood that the earphone may include a first touch area located on the earphone housing, the earphone may include N second touch areas located on the earphone housing, the earphone may include the first touch area located on the earphone housing and the N second touch areas located on the earphone housing, which may be determined according to actual usage requirements, and the embodiment of the present application is not limited thereto.

In the embodiment of the application, according to the first touch area and the N second touch areas, the user can accurately determine the position of the touch area corresponding to the first sensor, so that the earphone is controlled by accurately touching the first touch area, and the probability of mistaken touch can be reduced.

Fig. 3D is a schematic view of a touch area corresponding to a first sensor and a touch area corresponding to a second sensor in the embodiment of the present application. As shown in fig. 3D, the earphone is a left-ear earphone, the earphone includes a first sensor 31 and a second sensor 32, the second sensor 32 is disposed on the right side of the first sensor 31, and accordingly, the touch area 34 corresponding to the second sensor 32 is disposed on the right side of the touch area 35 corresponding to the first sensor 31.

It will be appreciated that there is a touch area on the housing of the headset corresponding to the first sensor and a touch area corresponding to each of the second sensors. A key may be provided or not provided in the touch area corresponding to the first sensor (in the case of no key, the area identifier corresponding to the touch area may be set); similarly, there may be a key or no key on the touch area corresponding to each second sensor (in the case of no key, the key may be set in the area identifier corresponding to the touch area), and the embodiment of the present application is not limited.

The following describes the anti-touch principle of the earphone provided by the embodiment of the present application:

it can be understood that the plate capacitance formula is as follows:wherein C is a capacitance value, ε1,ε2Is the dielectric constant, S is the contact area, and d is the distance.

According to the plate capacitance formula, the larger the contact area is, the larger the capacitance value is, the smaller the contact area is, and the smaller the capacitance value is; the closer the distance, the larger the capacitance value, and the farther the distance, the smaller the capacitance value. Therefore, when the user needs to use the control function of the earphone, the finger touches the touch area corresponding to the first sensor (i.e., the sensing area of the first sensor), then the contact area on the touch area corresponding to the first sensor is larger than the contact area on the touch area corresponding to each second sensor, the distance from the finger to the reference layer of the capacitive sensor is smaller than the distance from the finger to the reference layer of each second sensor, the capacitance value detected by the first sensor is larger than the capacitance value detected by each second sensor, and at this time, the processor executes the control function corresponding to the capacitance value detected by the first sensor for the user to normally touch the touch area corresponding to the first sensor; when the ear of the user is pressed and deformed and is close to or touches the touch area of the earphone, the ear is more close to the touch area corresponding to the at least one second sensor, namely, at the moment, the contact area on the touch area corresponding to the first sensor is smaller than or equal to the contact area on the touch area corresponding to the at least one second sensor, the distance from the finger to the reference layer of the capacitance sensor is larger than or equal to the distance from the finger to the reference layer of the at least one second sensor, the capacitance value detected by the at least one second sensor is larger than or equal to the capacitance value detected by the first sensor, and the processor does not respond to the corresponding control function when the touch area is considered as false touch; if the user touches the touch area corresponding to the at least one second sensor by mistake when not wearing the earphone, the capacitance value of the at least one second sensor is larger than or equal to the capacitance value of the first sensor (the principle is the same as above), and the processor does not respond to the corresponding control function.

It can be understood that, in the embodiment of the present application, N second sensors are disposed on at least one side of the first sensor, and the N second sensors are closer to the ear than the first sensor, so that when the ear is smaller or the ear is pressed and deformed to touch the touch area corresponding to the first sensor, at least one second sensor is also touched, therefore, when the first sensor and the N second sensors are both capacitance sensors, whether the touch is a false touch can be determined according to the magnitude relationship between the capacitance value detected by the at least one second sensor and the capacitance value detected by the first sensor, when the capacitance value detected by the at least one second sensor is greater than or equal to the capacitance value detected by the first sensor, the touch is determined as a false touch, the execution of the control function corresponding to the capacitance value detected by the first sensor is prohibited, and when the capacitance value detected by each second sensor is less than the capacitance value detected by the first sensor, and judging whether the touch is mistaken touch, and executing a control function corresponding to the capacitance value detected by the first sensor, so that the problem that the control function of the earphone is mistakenly triggered due to the mistaken touch can be avoided.

Exemplarily, referring to fig. 3D, as shown in fig. 4, the connection diagram of the internal structure of the earphone is shown, the processor is a main control chip, wherein the Touch chip (Touch IC) includes a first sensor and a second sensor, KEY1 is a Touch area corresponding to the first sensor, and KEY2 is a Touch area corresponding to the second sensor. The KEY1 and the KEY2 are respectively electrically connected to the touch chip, the touch chip is electrically connected to the main control chip, when a user finger or the like touches the KEY1 and the KEY2, the touch chip can detect a capacitance value of the first sensor and a capacitance value of the second sensor, and the touch chip sends the capacitance values of the first sensor and the second sensor to the main control chip. And the main control chip determines whether the touch operation is mistaken touch according to the magnitude relation between the capacitance value of the first sensor and the capacitance value of the second sensor.

Optionally, the N second sensors are disposed on one side of the first sensor; wherein, this one side is: the earphone is a left ear earphone, and when the earphone is worn on the left ear, the first sensor is close to one side of the antitragus of the left ear; alternatively, the one side is: this earphone is the right ear earphone, and when wearing at the right ear, one side that first sensor is close to the right ear antitragus.

Wherein, tragus means that the protrusion in front of the external auditory meatus is composed of cartilage and skin, and can cover the external auditory meatus. The lower part of the antihelix behind the concha is provided with a protuberance called as antitragus. A depression is located between the tragus and the antitragus, called intertragic notch. As shown in fig. 5 (a), the structure of the ear is schematically shown, wherein the mark "51" indicates an antitragus, the mark "52" indicates an antitragus, and the mark "53" indicates an intertragic notch. As shown in fig. 5 (b), where the mark "54" indicates the earphone worn by the user (as shown by the bold line), and the mark "55" indicates the touch area of the first sensor of the earphone, it can be seen by comparing fig. 5 (a) with fig. 5 (b) that the touch area corresponding to the first sensor of the earphone is located between the antitragus and the tragus.

In the embodiment of the application, when the earphone is a left ear earphone and worn on the left ear, the N second sensors are disposed on one side of the first sensor close to the antitragus of the left ear, when the earphone is small or the ear is deformed due to pressure, so that the first sensor is touched by mistake in a corresponding touch area, the N second sensors close to one side of the antitragus of the left ear are touched more easily, and a capacitance value detected by at least one second sensor is greater than or equal to a capacitance value detected by the first sensor, so that the processor cannot execute a control function corresponding to the capacitance value detected by the first sensor. Therefore, the problem that the control function of the earphone is triggered by mistake due to the fact that the earphone is small or the ears deform under pressure can be solved better.

In the embodiment of the application, when the earphone is a right-ear earphone and worn on the right ear, the N second sensors are disposed on one side of the first sensor close to the antitragus of the right ear, when the earphone is small or the ear is deformed due to pressure, so that the first sensor is touched by mistake in a corresponding touch area, the N second sensors close to one side of the antitragus of the right ear are touched more easily, and a capacitance value detected by at least one second sensor is greater than or equal to a capacitance value detected by the first sensor, so that the processor cannot execute a control function corresponding to the capacitance value detected by the first sensor. Therefore, the problem that the control function of the earphone is triggered by mistake due to the fact that the earphone is small or the ears deform under pressure can be solved better.

Optionally, the N second sensors are respectively disposed at two sides of the first sensor; wherein, these both sides are: when the earphone is in a wearing state, the first sensor is close to one side of the antitragus of the ear and one side of the tragus of the ear, and N is larger than 1.

It will be appreciated that the antitragus and tragus of the ear are opposed and therefore the two sides are opposed and the second sensors of the two sides are opposed.

In this application embodiment, when this earphone is in wearing the state, this N second sensor sets up respectively in one side that first sensor is close to the ear antitragus to and be close to one side of ear tragus. On one hand, the two sides of the earphone are areas which are more easily touched due to smaller earphone or ear pressed deformation relative to the touch area corresponding to the first sensor, therefore, when the touch area corresponding to the first sensor is touched by mistake due to smaller earphone or ear pressed deformation, the touch area corresponding to the at least one second sensor is more easily touched, and the capacitance value detected by the at least one second sensor is larger than or equal to the capacitance value detected by the first sensor, therefore, the processor does not execute the control function corresponding to the capacitance value detected by the first sensor. Therefore, the problem that the control function of the earphone is triggered by mistake due to the fact that the earphone is small or the ears deform under pressure can be solved better. On the other hand, the second sensors are arranged on the two sides of the earphone, so that the problem that the control function of the earphone is triggered by mistake due to the fact that the earphone is small or the ears are pressed to deform can be well solved no matter a user wears the earphone by the left ear or wears the earphone by the right ear, and moreover, when the user holds the earphone by hand, the problem that the control function of the earphone is triggered by mistake by fingers can be well solved.

An execution main body of the control method of the earphone provided in the embodiment of the present application may be the earphone described above, or may also be a functional module and/or a functional entity capable of implementing the control method of the earphone in the earphone, which may be specifically determined according to actual use requirements, and the embodiment of the present application is not limited.

As shown in fig. 6, an embodiment of the present application provides a control method for an earphone, which is applied to. The following describes an exemplary method for controlling an earphone according to an embodiment of the present application, taking an execution subject as the earphone as an example. The headset comprises a first sensor and N second sensors as described above in relation to the headset embodiment, where N is a positive integer. The method may include steps 600 through 602 described below.

600. The earphone judges whether at least one second sensor detects a capacitance value which is larger than or equal to the capacitance value detected by the first sensor.

It will be appreciated that prior to step 600, the headset first detects its own capacitance value via each of the second sensors. It is then determined whether there is at least one second sensor that detects a capacitance value that is greater than or equal to the capacitance value detected by the first sensor. If there is at least one second sensor that detects a capacitance value greater than or equal to the capacitance value detected by the first sensor, step 601 described below is performed, and if the capacitance value detected by each second sensor is less than the capacitance value detected by the first sensor, step 602 described below is performed.

601. The earphone disables execution of the control function corresponding to the capacitance value detected by the first sensor.

602. The earphone performs a control function corresponding to the capacitance value detected by the first sensor.

For the description of the first sensor, reference may be made to the description of the first sensor in the above embodiment of the headset, and details are not repeated here. The description of the second sensor may refer to the description of the second sensor in the above embodiment of the earphone, and is not repeated here. For the description of the false touch prevention principle in the embodiment of the present application, reference may be made to the description of the false touch prevention principle in the above earphone embodiment, and details are not repeated here. For the description of the control function, reference may be made to the description of the control function in the above embodiment of the headset, and details are not described here.

Optionally, the method for controlling the headset according to the embodiment of the present application may further include the following steps 603 to 604.

603. And if the earphone is detected not to be in a wearing state, forbidding to detect the capacitance values of the N second sensors.

604. And if the earphone is detected to be in a wearing state, the capacitance values of the N second sensors are allowed to be detected.

For example, whether the earphone is in the wearing state may be determined by at least one proximity sensor (which may be a distance sensor, a light sensor, or the like, and embodiments of the present application are not limited), and specifically, reference may be made to the related art, and embodiments of the present application are not limited.

For example, whether the earphone is in a wearing state may be determined through in-ear detection, and reference may be made to related technologies, which is not limited in the embodiments of the present application.

In the embodiment of the application, when the earphone is in a wearing state, the capacitance values of the N second sensors are allowed to be detected, the problem that the control function of the earphone is easily triggered by mistake can be effectively solved, when the earphone is not in the wearing state, the capacitance values of the N second sensors are forbidden to be detected, and power consumption can be saved.

Alternatively, the step 604 can be realized by the following step 604 a.

604a, if the earphone is detected to be in a wearing state, allowing to detect the capacitance value of a target sensor in the N second sensors;

if the earphone is worn on the left ear, the target sensor is a second sensor arranged on one side, close to the antitragus of the left ear, of the first sensor.

If the earphone is worn on the right ear, the target sensor is a second sensor arranged on one side of the first sensor, which is close to the antitragus of the right ear.

The earphone can be detected by at least one sensor to be worn on the left ear or the right ear, which may refer to related technologies, and the embodiments of the present application are not limited thereto.

For example, pressure sensors may be provided at positions where the earphone is in contact with the antitragus and tragus of the right ear, respectively, and at positions where the earphone is in contact with the antitragus and tragus of the left ear, respectively. When the earphone is detected to be in a wearing state, if the pressure value detected by the pressure sensor arranged at the position where the antitragus and the tragus of the right ear are detected to be in contact with is larger than the pressure value detected by the pressure sensor arranged at the position where the antitragus and the tragus of the left ear are in contact with, the pressure sensor is respectively arranged, and the earphone is worn by the right ear; if the pressure values detected by the pressure sensors arranged at the positions where the antitragus and the tragus of the left ear are contacted are larger than the pressure values detected by the pressure sensors arranged at the positions where the antitragus and the tragus of the right ear are contacted, the left ear is worn.

For example, a micro camera may be disposed inside the headset, and when the distance from the headset to the ear is detected to be within a preset range according to the distance sensor, a picture of the ear is taken through the micro camera, and then whether the left ear or the right ear is determined by identifying the picture of the ear, and then whether the left ear or the right ear is worn is determined.

In the embodiment of the application, the target second sensors of the N second sensors are determined according to whether the left ear or the right ear is worn, and then the capacitance value of the target second sensors is allowed to be detected, so that power consumption can be saved to a certain extent.

Optionally, after step 601, the method for controlling an earphone provided in the embodiment of the present application may further include step 605 described below.

605. The earphone outputs prompt information.

The prompt information is used for prompting the touch area corresponding to the first sensor to be touched by mistake.

For the description of the touch area corresponding to the first sensor, reference may be made to the description of the touch area corresponding to the first sensor in the above embodiment of the headset, and details are not repeated here.

In the embodiment of the present application, the prompt message includes at least one of the following forms:

(1) the voice prompt information, for example, outputs voice information similar to "you touch the touch area corresponding to the first sensor by mistake", "your ear is pressed and deformed, touch the touch area corresponding to the first sensor by mistake, please adjust the gesture", "you touch the touch area corresponding to the first sensor by mistake, please re-operate", and the like, and prompts the user to touch the touch area corresponding to the first sensor by mistake.

(2) The prompt information is output in a vibration mode, for example, the earphone is started to vibrate through a motor in the earphone, so that a user is prompted to touch the touch area corresponding to the first sensor by mistake.

Because the output voice information can interrupt the previous music playing or interrupt the telephone and the like in the use process of the earphone, the user can well perceive the output prompt information in a vibration mode, and the earphone has a better prompt effect when being applied to a scene in which the earphone is used.

(3) For example, the earphone may send the prompt message to an electronic device connected to the earphone, and then the prompt message is displayed through a display screen of the electronic device to prompt the user to touch the touch area corresponding to the first sensor by mistake.

Optionally, the headset may further send first position information of a current touch position and second position information of a position of the touch area corresponding to the first sensor to the electronic device, and then display the first position information and the second position information through a display screen of the electronic device. Or the earphone can also send position adjustment information to the electronic device, and then the position adjustment information is displayed through a display screen of the electronic device, wherein the position adjustment information is used for indicating displacement information from the current touch position to the position of the touch area corresponding to the first sensor.

In the embodiment of the application, the display screen of the electronic equipment connected with the earphone displays the prompt information, so that a user can be prompted more intuitively, the user can understand conveniently, and the electronic equipment is especially suitable for old users and children.

In the embodiment of the application, the user can be well prompted to touch the touch area corresponding to the first sensor by mistake through the prompt message, and then the user can adjust according to the actual situation so as to avoid touching the touch area corresponding to the first sensor by mistake again.

Fig. 7 is a block diagram illustrating a control apparatus of a headset according to an embodiment of the present application, the headset including a first sensor and N second sensors according to the embodiment of the headset, as shown in fig. 7, the apparatus includes: a control module 701; the control module 701 is configured to prohibit execution of a control function corresponding to the capacitance value detected by the first sensor if the capacitance value detected by the at least one second sensor is greater than or equal to the capacitance value detected by the first sensor; if the capacitance value detected by each second sensor is smaller than the capacitance value detected by the first sensor, executing a control function corresponding to the capacitance value detected by the first sensor; wherein N is a positive integer.

Optionally, the control module 701 is further configured to prohibit detecting the capacitance values of the N second sensors if it is detected that the earphone is not in the wearing state; and if the earphone is detected to be in a wearing state, the capacitance values of the N second sensors are allowed to be detected.

Optionally, the control module 701 is specifically configured to allow detection of capacitance values of target sensors in the N second sensors if it is detected that the earphone is in a wearing state; if the earphone is worn on the left ear, the target sensor is a second sensor arranged on one side, close to the antitragus of the left ear, of the first sensor; if the earphone is worn on the right ear, the target sensor is a second sensor arranged on one side of the first sensor, which is close to the antitragus of the right ear.

Optionally, the earphone further includes an output module, configured to output prompt information after the control module 701 prohibits execution of the control function corresponding to the first capacitance value, where the prompt information is used to prompt a touch area corresponding to the first sensor to be touched by mistake.

In the embodiment of the present application, each module may implement the method for controlling an earphone provided in the above method embodiment, and may achieve the same technical effect, and for avoiding repetition, the details are not repeated here.

Fig. 8 is a schematic diagram of a hardware structure of a headset implementing various embodiments of the present application, as shown in fig. 8, the headset includes, but is not limited to: processor 801, memory 802, sensor 803, audio circuit 804, and the like. Those skilled in the art will appreciate that the earphone configuration shown in fig. 8 does not constitute a limitation of the earphone and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.

The processor 801 is a control center of the headset, connects various parts of the whole headset by using various interfaces and lines, and performs various functions of the headset and processes data by running or executing software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring of the headset. Alternatively, the processor 801 may be a single processor or may be a combination of multiple processing elements. For example, the processor 801 may be a central processing unit, a specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present application, such as: one or more microprocessors (digital signal processors, DSPs), or one or more Field Programmable Gate Arrays (FPGAs).

The memory 802 may be used to store software programs and modules, and the processor 801 executes various functional applications of the headset and data processing by operating the software programs and modules stored in the memory 802. The memory 802 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a music playing function, a volume adjusting function, etc.), and the like; the storage data area may store data (such as audio data, etc.) created according to the use of the headset, etc. Further, the memory 802 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

The sensors 803 include at least a first sensor and N second sensors. The first sensor is used for detecting the operation of the user on the control function of the earphone, and may be composed of at least one sensor, and the first sensor may be a light sensor, a motion sensor, a capacitance sensor, a pressure sensor, or other sensors. The N second sensors are used for carrying out the false touch prevention detection provided by the embodiment of the application, and each second sensor can be a light sensation sensor, a motion sensor, a capacitance sensor, a pressure sensor or other sensors. For specific description of the first sensor and the N second sensors, reference may be made to the description of the first sensor and the N second sensors in the above embodiment of the headset, and details are not repeated here. The sensor 803 may further include a sensor for wear detection, an acceleration sensor for acceleration detection, and the like, which is not limited in the embodiment of the present application.

The audio circuitry 804, including a speaker 8041 and a microphone 8042, may provide an audio interface between a user and headphones. The audio circuit 804 can transmit the electrical signal converted from the received audio data to the speaker 8041, and the electrical signal is converted into a sound signal by the speaker 8041 and output; on the other hand, the microphone 8042 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 804, and outputs the audio data to the memory 802 for further processing after being processed by the audio data output processor 801.

The headset may further include a bluetooth module, etc., which will not be described herein.

In this embodiment, the processor 801 is configured to prohibit execution of the control function corresponding to the capacitance value detected by the first sensor if the capacitance value detected by the at least one second sensor is greater than or equal to the capacitance value detected by the first sensor; if the capacitance value detected by each second sensor is smaller than the capacitance value detected by the first sensor, executing a control function corresponding to the capacitance value detected by the first sensor; wherein N is a positive integer.

Optionally, the processor 801 is further configured to prohibit detecting the capacitance values of the N second sensors if it is detected that the earphone is not in the wearing state; and if the earphone is detected to be in a wearing state, the capacitance values of the N second sensors are allowed to be detected.

Optionally, the processor 801 is specifically configured to allow detection of capacitance values of target sensors in the N second sensors if the headset is detected to be in the wearing state; if the earphone is worn on the left ear, the target sensor is a second sensor arranged on one side, close to the antitragus of the left ear, of the first sensor; if the earphone is worn on the right ear, the target sensor is a second sensor arranged on one side of the first sensor, which is close to the antitragus of the right ear.

Optionally, the processor 801 is further configured to output prompt information after prohibiting execution of the control function corresponding to the first capacitance value, where the prompt information is used to prompt a touch area corresponding to the first sensor to be touched by mistake.

The embodiment of the present application further provides an earphone, which may include: the processor, the memory, and the program or the instruction stored in the memory and executable on the processor, where the program or the instruction when executed by the processor can implement each process of the control method of the earphone provided in the above method embodiments, and can achieve the same technical effect, and are not described herein again to avoid repetition.

Embodiments of the present application provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the method for controlling an earphone provided in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.

An embodiment of the present application further provides a computer program product, where the computer program product includes a computer instruction, and when the computer program product runs on a processor, the processor executes the computer instruction, so as to implement each process of the method for controlling an earphone according to the foregoing method embodiment, and achieve the same technical effect, and in order to avoid repetition, details are not repeated here.

The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the control method embodiment of the above-mentioned headset, and can achieve the same technical effect, and is not described here again to avoid repetition.

It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.

In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, server and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种多功能发声器件

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!