CN108200493B - Earphone assembly, and function control method and device of earphone - Google Patents

Earphone assembly, and function control method and device of earphone Download PDF

Info

Publication number
CN108200493B
CN108200493B CN201711483732.0A CN201711483732A CN108200493B CN 108200493 B CN108200493 B CN 108200493B CN 201711483732 A CN201711483732 A CN 201711483732A CN 108200493 B CN108200493 B CN 108200493B
Authority
CN
China
Prior art keywords
earphone
distance
function
preset
preset condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711483732.0A
Other languages
Chinese (zh)
Other versions
CN108200493A (en
Inventor
罗艾亮
黄裕佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201711483732.0A priority Critical patent/CN108200493B/en
Publication of CN108200493A publication Critical patent/CN108200493A/en
Application granted granted Critical
Publication of CN108200493B publication Critical patent/CN108200493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • H04R2201/105Manufacture of mono- or stereophonic headphone components

Abstract

The embodiment of the invention relates to the technical field of electronics, and discloses an earphone assembly, and a function control method and device of an earphone. In the embodiment of the invention, the earphone comprises a first earphone and a second earphone; the function control method comprises the following steps: transmitting a transmission signal to a second near field communication module installed in the second headset through a first near field communication module installed in the first headset; identifying a distance between the first earphone and the second earphone according to the signal strength of the transmission signal; judging whether the distance meets a preset condition or not; and if the distance meets the preset condition, controlling the earphone to execute a preset function. The embodiment of the invention also provides an earphone component and a function control device of the earphone. The embodiment of the invention realizes the automatic control of the earphone function, frees both hands and provides convenience for users.

Description

Earphone assembly, and function control method and device of earphone
Technical Field
The embodiment of the invention relates to the technical field of electronics, in particular to an earphone assembly, and a function control method and device of an earphone.
Background
Electronic equipment such as mobile phones and tablet computers are generally applied to daily life of people, and accessories of the electronic equipment such as earphones are also used in various occasions along with the electronic equipment, so that the function of the existing earphones is difficult to meet the increasing requirements of people.
The functions of the existing earphones, such as the turning on and off of the playing function of the earphones, are controlled by physical keys on the earphones, for example, when a user needs to turn off the playing function of the earphones, the user needs to find the physical keys and then manually operate the physical keys. However, the inventors found that at least the following problems exist in the prior art: the existing control mode of the functions of the earphones needs manual operation, and is troublesome (for example, when two hands hold objects); in addition, the manual operation requires a large extension space, which cannot be provided in some occasions (for example, in a crowded public transportation), so that the user has a very inconvenient control of the headset.
Disclosure of Invention
The embodiment of the invention aims to provide an earphone assembly, and a function control method and device of an earphone, which realize automatic control of earphone functions, liberate both hands and provide convenience for users.
In order to solve the above technical problem, an embodiment of the present invention provides a function control method for an earphone, which is applied to an earphone assembly including a near field communication module, where the earphone assembly includes a first earphone and a second earphone, the first earphone is provided with a first near field communication module, and the second earphone is provided with a second near field communication module; the function control method comprises the following steps: transmitting a transmission signal through the first near-field communication module; detecting, by the second near field communication module, a signal strength of the transmission signal; identifying a distance between the first and second earpieces according to the signal strength; and under the condition that the distance meets the preset condition, controlling the earphone to execute a preset function corresponding to the preset condition.
An embodiment of the present invention further provides a function control apparatus for an earphone, including: the signal transmitting module is used for transmitting a transmission signal through a first near-field communication module arranged in the first earphone; the intensity detection module detects the signal intensity of the transmission signal through a second near field communication module arranged in the second earphone; the distance identification module is used for identifying the distance between the first earphone and the second earphone according to the signal intensity; and the function control module is used for controlling the earphone to execute a preset function corresponding to the preset condition under the condition that the distance meets the preset condition.
Embodiments of the present invention also provide an earphone assembly, including: the earphone comprises a first earphone, a second earphone, a first near field communication chip installed in the first earphone, a second near field communication chip installed in the second earphone and at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the above-described method of controlling a function of a headset.
Embodiments of the present invention also provide a computer-readable storage medium, and a computer program is executed by a processor to implement the function control method of the headset.
Compared with the prior art, the embodiment of the invention has the advantages that the first near field communication module installed in the first earphone sends the transmission signal, the second near field communication module detects the signal intensity of the transmission signal, and the distance between the first earphone and the second earphone is identified according to the signal intensity, namely in the function control method of the earphone provided by the embodiment of the invention, when the distance between the first earphone and the second earphone meets the preset condition, the earphone is controlled to execute the preset function corresponding to the preset condition; the automatic control of the preset function of the earphone is realized, the hands of a user are liberated, the manual control mode in the prior art is replaced, and convenience is provided for the user.
In addition, detecting the noise intensity between the first earphone and the second earphone, and generating a distance compensation value according to the noise intensity; the identifying the distance between the first earphone and the second earphone according to the signal strength further comprises: and compensating the distance by using the distance compensation value, and obtaining the compensated distance. In this embodiment, the influence of the interference factor between the first earphone and the second earphone on the signal strength is considered, that is, when it is determined that there is interference between the first earphone and the second earphone, the distance is compensated according to the interference strength, so that the accuracy of the identified distance between the first earphone and the second earphone is improved, and the accuracy of the function control of the earphones is further improved.
In addition, the preset function is the opening of the play function; the preset condition is that the distance is larger than an estimated upper threshold of a head distance range of the corresponding human body. In the embodiment, the distance is greater than the maximum distance of the head of the human body, the change of the distance between the first earphone and the second earphone in the wearing process of the earphones is considered, and the accuracy of controlling the playing function (opening) is improved.
In addition, the preset function is the closing of the playing function; the preset condition is that the distance is smaller than an estimated lower threshold of a head distance range of the corresponding human body. In this embodiment, when the distance is smaller than the minimum value of the distance to the head of the human body, it indicates that the probability that the user does not use the earphone any more temporarily is high, and at this time, the playing function of the earphone is controlled to be turned off, so that the accuracy of controlling (turning off) the playing function is improved.
In addition, the preset function is an abnormal reminding function; the preset condition is that the distance is greater than the early warning distance; the early warning distance is greater than or equal to 1 meter. . In this embodiment, the earphone has an abnormal reminding function, and when the distance between the first earphone and the second earphone is detected to be greater than the early warning distance, the abnormal reminding function is turned on to prevent the earphone from scattering (for example, scattering is easily treaded down).
In addition, after controlling the playing function of the earphone to be turned on, the method further comprises the following steps: monitoring whether an electric signal is received from a paired terminal; if not, generating prompt information. In this embodiment, in the use process of the headset, if it is detected that no electric signal is received from the terminal, it indicates that the headset is likely to be disconnected from the terminal (i.e., the headset is pulled out of the terminal), and at this time, prompt information is generated to remind a user, so that the terminal is prevented from being stolen as much as possible.
In addition, after controlling the playing function of the earphone to be closed, the method further comprises the following steps: identifying whether a first preset voice representing and searching the earphone exists in an external environment; if yes, generating a second preset voice. In this embodiment, after the playing function of the earphone is turned off, the earphone and the terminal may be placed at a certain position by the user, and when the user forgets the placing position of the earphone (or the terminal), the earphone (or the terminal) may be found through the first preset voice, and the earphone may be found through the second preset voice generated by the earphone, thereby providing convenience for the user to use.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a detailed flowchart of a function control method of a headset according to a first embodiment;
fig. 2 is a detailed flowchart for controlling the play function to be turned on in the function control method of the earphone according to the first embodiment;
fig. 3 is a detailed flowchart of controlling the play function to be turned off in the function control method of the earphone according to the first embodiment;
fig. 4 is a detailed flowchart of a function control method of the earphone according to the second embodiment;
fig. 5 is a detailed flowchart of a function control method of the earphone according to the third embodiment;
fig. 6 is a detailed flowchart of a function control method of the earphone according to the fourth embodiment;
fig. 7 is a detailed schematic view of a function control method of a headset according to a fifth embodiment;
fig. 8 is a schematic diagram of a function control apparatus of a headset according to a sixth embodiment;
fig. 9 is a schematic diagram of a function control apparatus of a headset according to a seventh embodiment;
fig. 10 is a schematic diagram of a function control apparatus of a headphone according to an eighth embodiment;
fig. 11 is a schematic diagram of a function control apparatus of a headphone according to a ninth embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a method for controlling functions of a headset, which is applied to a headset assembly including a first headset and a second headset, wherein a first near field communication module is disposed in the first headset, and a second near field communication module is disposed in the second headset, as shown in fig. 1, the method for controlling functions of a headset includes:
step 101, transmitting a transmission signal through a first near field communication module.
In this embodiment, the first earphone is one of the left earphone and the right earphone, and the other earphone is the second earphone. Specifically, a first near field communication module and a second near field communication module may be respectively installed in the first earphone and the second earphone in advance, where the first near field communication module is used to implement a signal transmitting function, and the second near field communication module is used to implement a signal receiving function, that is, the first earphone and the second earphone are communicatively connected.
In an example, the first nfc module may be controlled to transmit the transmission signal in real time, but is not limited thereto in practice, and the transmission method of the transmission signal is not limited in this embodiment, for example, a transmission cycle may also be set, and the first nfc module may be controlled to transmit the transmission signal to the second nfc module according to the transmission cycle.
And 102, detecting the signal strength of the transmission signal through the second near field communication module.
In this embodiment, the second nfc module receives the transmission signal, and then the processor may process the transmission signal, so as to detect the signal strength of the transmission signal.
And 103, identifying the distance between the first earphone and the second earphone according to the signal intensity.
In one example, since the signal strength and the distance are regularly attenuated, a preset corresponding relationship between the signal strength and the distance can be obtained by testing in advance, the preset corresponding relationship between the signal strength and the distance is stored in the earphone, and then the distance corresponding to the signal strength is searched according to the signal strength; however, the present embodiment is not limited to this, and the specific method for identifying the distance according to the signal strength is not limited in any way.
Step 104, judging whether the distance meets a preset condition; if yes, go to step 105, otherwise, end directly.
In this embodiment, the preset condition can be defined by itself according to the function that needs to be implemented, and the specific content of the preset condition is not limited in any way in this embodiment.
And 105, controlling the earphone to execute a preset function corresponding to a preset condition.
In one example, as shown in fig. 2, the preset function is to turn on the play function, and the preset condition is that the distance is greater than or equal to the maximum value of the head distance range of the human body; when the distance is larger than or equal to the maximum value of the head distance range, the playing function of the earphone is controlled to be opened; in this embodiment, the distance is greater than the maximum distance of the head of the human body, and the change of the distance between the first earphone and the second earphone (for example, if the first earphone is taken down by the user and the second earphone is still worn on the head, the distance between the first earphone and the second earphone is greater than the maximum distance of the head) is considered in the wearing process of the earphones, so that the accuracy of the control of the playing function is improved; however, this is merely an example and is not limited thereto.
In another example, as shown in fig. 3, the preset function is to turn off the play function, and the preset condition is that the distance is less than or equal to the minimum value of the head distance range of the human body; when the distance is less than or equal to the minimum value of the head distance range, the playing function of the earphone is controlled to be closed; when the distance is smaller than the minimum value of the distance of the head of the human body, the probability that the user does not use the earphone any more temporarily is high, the playing function of the earphone is controlled to be closed, and the accuracy of controlling the playing function (closing) is improved; however, this is merely an example and is not limited thereto.
In another example, after controlling the earphones to execute the preset function, when detecting that the distance between the first earphone and the second earphone is greater than the minimum value of the head distance range and less than the maximum value of the head distance range, no processing is performed, that is, the current state of the earphones is maintained (for example, in the play function on state, the play function on state is maintained); however, this is merely an example and is not limited thereto.
Compared with the prior art, the embodiment of the invention has the advantages that the first near field communication module arranged in the first earphone sends the transmission signal, the second near field communication module detects the signal intensity of the transmission signal, and the distance between the first earphone and the second earphone is identified according to the signal intensity, namely in the function control method of the earphone provided by the embodiment of the invention, when the distance between the first earphone and the second earphone meets the preset condition, the earphone is controlled to execute the preset function corresponding to the preset condition; the automatic control of the preset function of the earphone is realized, the hands of a user are liberated, the manual control mode in the prior art is replaced, and convenience is provided for the user.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A second embodiment of the present invention relates to a function control method of an earphone. The second embodiment is improved on the basis of the first embodiment, and the main improvement lies in that: in a second embodiment of the invention, the distance between the first and second earphones is compensated.
As shown in fig. 4, steps 201 to 203, step 206 to step 207 of the present embodiment are the same as steps 101 to 103, and step 104 to step 105 of the first embodiment, and are not described again, and the following steps are added to the present embodiment:
step 204, detecting the noise intensity between the first earphone and the second earphone, and generating a distance compensation value according to the noise intensity.
In the present embodiment, the noise mainly includes an obstacle, signal interference, and the like between the first headphone and the second headphone. In one example, an infrared transmitter may be installed in the first earphone, an infrared receiver may be installed in the second earphone, and the infrared transmitter may be controlled to transmit an infrared signal to the infrared receiver, and the noise intensity may be detected by the infrared signal received by the infrared receiver.
In this embodiment, a preset relationship between the noise intensity and the distance compensation value may be stored in advance, and then the distance compensation value corresponding to the noise intensity may be searched according to the noise intensity.
And step 205, compensating the distance by using the distance compensation value, and obtaining the compensated distance.
In one example, the sum of the distance compensation value and the distance identified in step 203 may be used as the compensated distance; however, the present embodiment is not limited to this, and the generation manner of the compensated distance is not limited in any way.
In this embodiment, it is determined whether the distance satisfies a preset condition, specifically, it is determined whether the compensated distance satisfies the preset condition.
Compared with the first embodiment, the embodiment of the invention considers the influence of interference factors between the first earphone and the second earphone on the signal intensity on the basis of the distance between the first earphone and the second earphone which is identified according to the signal intensity of the transmission signal, namely when the noise intensity between the first earphone and the second earphone is detected, the distance is compensated according to the noise intensity, so that the accuracy of the identified distance between the first earphone and the second earphone is improved, and the accuracy of the control of the function of the earphone is further improved.
A third embodiment of the present invention relates to a function control method of an earphone. The third embodiment is improved on the basis of the second embodiment, and the main improvement lies in that: in the third embodiment of the present invention, after the playing function of the earphone is turned on, if it is detected that no electric signal is received from the terminal, the user is reminded.
Fig. 5 shows a function control method of this embodiment, steps 301 to 307 of this embodiment are the same as steps 201 to 207 of the second embodiment, and are not described herein again, and the following steps are added to this embodiment:
step 308, monitoring whether an electrical signal is received from the paired terminal.
In this embodiment, the electrical signal may be marked as a high level, and no signal is a low level, when the electrical signal in the earphone is monitored as a high level, it indicates that the earphone receives the electrical signal from the terminal, otherwise, it indicates that the electrical signal is not received. However, this embodiment is only an exemplary embodiment, and the present embodiment does not limit the monitoring method for detecting whether an electrical signal is received.
In step 309, a prompt is generated.
In this embodiment, the voice prompt message may be generated through a speaker, but is not limited thereto in practice, and the generation manner of the prompt message is not limited in this embodiment.
In fact, this embodiment may also be a modification of the first embodiment.
Compared with the second implementation mode, in the embodiment of the invention, after the playing function of the earphone is turned on, if no electric signal is received from the terminal in the using process of the earphone, the earphone is likely to be disconnected with the terminal (namely, the earphone is pulled out of the terminal), and at the moment, prompt information is generated to remind a user, so that the situation that the terminal is stolen is prevented as much as possible.
A fourth embodiment of the present invention relates to a function control method of an earphone. The fourth embodiment is improved on the basis of the second embodiment, and the main improvement lies in that: in the fourth embodiment of the present invention, it is possible to respond to a voice-by-voice call of a user after the play function of the headset is turned off.
Fig. 6 shows a function control method of this embodiment, steps 401 to 407 of this embodiment are the same as steps 201 to 207 of the second embodiment, and are not described herein again, and the following steps are added to this embodiment:
step 408, identifying whether a first preset voice representing and searching for the earphone exists in the external environment; if yes, go to step 409, otherwise end directly.
In this embodiment, the first preset voice may be stored in the headset in advance, so that the headset can recognize the first preset voice.
In step 409, a second predetermined voice is generated.
In this embodiment, when the first preset voice is recognized, a second preset voice is automatically generated (the second preset voice may be set by a user or may be set by a factory).
In fact, this embodiment may also be a modification of the first embodiment.
Compared with the second embodiment, the embodiment of the invention has the advantages that after the playing function of the earphone is closed, the earphone and the terminal can be placed at a certain position by a user, if the user forgets the placing position of the earphone (or the terminal), the user can search for the earphone (or the terminal) through the first preset voice, and the user can find the earphone through the second preset voice generated by the earphone, so that convenience is provided for the user.
A fifth embodiment of the present invention relates to a function control method for an earphone. The fourth embodiment is substantially the same as the second embodiment, and mainly differs therefrom in that: in the fifth embodiment of the present invention, as shown in fig. 7, the preset function is to turn on the abnormality notification function; the preset condition is that the distance is greater than the early warning distance.
The early warning distance can be preset, and is greater than or equal to 1 meter, but is not limited to this in practice, and this embodiment does not set any limit to the specific numerical value of the early warning distance.
In this embodiment, the specific expression form of the abnormality notification function may be: the reminding voice, the vibration and the like are generated, and the embodiment does not limit the concrete expression form at all.
In fact, this embodiment may be the same as the first embodiment.
Compared with the second embodiment, the embodiment of the invention enables the earphone to have the abnormal reminding function, and in the using process of the earphone, the earphone may slide off the ear (or fall out of the pocket and hang in the air to the outside), so when the fact that the distance between the first earphone and the second earphone is larger than the early warning distance is detected, the abnormal reminding function is turned on, and the earphone is prevented from scattering (for example, scattering is easy to be treaded down) as far as possible.
A sixth embodiment of the present invention relates to a function control device for a headphone, as shown in fig. 8, the function control device including:
and the signal transmitting module 1 is used for transmitting a transmission signal through a first near-field communication module arranged in the first earphone.
And the strength detection module 2 is used for detecting the signal strength of the transmission signal through a second near field communication module arranged in the second earphone.
And the distance identification module 3 is used for identifying the distance between the first earphone and the second earphone according to the signal intensity.
And the function control module 4 is used for controlling the earphone to execute a preset function corresponding to the preset condition under the condition that the distance meets the preset condition.
In one example, the preset function corresponding to the preset condition is the playing function is turned on; the preset condition is that the distance is greater than or equal to an estimated upper threshold of the head distance range of the corresponding human body.
In another example, the preset function corresponding to the preset condition is that the play function is turned off; the preset condition is that the distance is less than or equal to an estimated lower threshold of the head distance range of the corresponding human body.
In another example, the preset function is the opening of an abnormality reminding function; the preset condition is that the distance is greater than the early warning distance. The early warning distance can be preset, and is greater than or equal to 1 meter, but is not limited to this in practice, and this embodiment does not set any limit to the specific numerical value of the early warning distance. In addition, the specific expression form of the abnormality reminding function may be: the reminding voice, the vibration and the like are generated, and the embodiment does not limit the concrete expression form at all.
Compared with the prior art, in the embodiment of the invention, the signal transmitting module is installed in the first near field communication module in the first earphone to transmit the transmission signal, the strength detecting module detects the signal strength of the transmission signal through the second near field communication module, and the distance identifying module identifies the distance between the first earphone and the second earphone according to the signal strength, that is, in the function control device of the earphone provided by the embodiment of the invention, when the distance between the first earphone and the second earphone meets the preset condition, the function control module controls the earphone to execute the preset function corresponding to the preset condition; the automatic control of the preset function of the earphone is realized, the hands of a user are liberated, the manual control mode in the prior art is replaced, and convenience is provided for the user.
It should be understood that this embodiment is an example of the apparatus corresponding to the first embodiment, and may be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A seventh embodiment of the present invention relates to a function control device for an earphone. The seventh embodiment is improved on the basis of the sixth embodiment, and the main improvement lies in that: in the seventh embodiment of the present invention, as shown in fig. 9, the function control device further includes a compensation value generation module 5 and a distance compensation module 6.
The compensation value generating module 5 is used for detecting the noise intensity between the first earphone and the second earphone and generating a distance compensation value according to the noise intensity;
and the distance compensation module 6 is used for compensating the distance by using the distance compensation value and obtaining the compensated distance.
Compared with the sixth embodiment, the embodiment of the invention considers the influence of interference factors between the first earphone and the second earphone on the signal intensity on the basis of the distance between the first earphone and the second earphone which is identified by the distance identification module according to the signal intensity of the transmission signal, namely when the compensation value generation module detects the noise intensity between the first earphone and the second earphone, the distance compensation module compensates the distance according to the noise intensity, thereby improving the accuracy of the identified distance between the first earphone and the second earphone and further improving the accuracy of controlling the function of the earphones.
An eighth embodiment of the present invention relates to a function control device for an earphone. The eighth embodiment is an improvement of the seventh embodiment, and the main improvement is that: in the seventh embodiment of the present invention, as shown in fig. 10, the function control apparatus further includes an information presentation module 7.
And the information prompt module 7 is used for monitoring whether an electric signal is received from the paired terminal or not after the function control module controls the playing function of the earphone to be opened, and generating prompt information if the electric signal is not received from the paired terminal.
In fact, this embodiment may also be a modification of the sixth embodiment.
Compared with the seventh implementation mode, in the embodiment of the invention, after the function control module controls the playing function of the earphone to be turned on, in the using process of the earphone, if the information prompting module monitors that no electric signal is received from the terminal, it indicates that the earphone is likely to be disconnected from the terminal (i.e. the earphone is pulled out of the terminal), and at this time, the information prompting module generates prompting information to remind a user, so that the situation that the terminal is stolen is prevented as much as possible.
A ninth embodiment of the present invention relates to a function control device for an earphone. The eighth embodiment is an improvement of the seventh embodiment, and the main improvement is that: in the ninth embodiment of the present invention, as shown in fig. 11, the function control apparatus further includes a voice generation module 8.
And the voice generation module 8 is used for recognizing whether a first preset voice representing and searching the earphone exists in the external environment or not after the playing function of the earphone is controlled to be closed by the function control module, and if so, generating a second preset voice.
In fact, this embodiment may also be a modification of the sixth embodiment.
Compared with the seventh embodiment, after the playing function of the function control module port paper supply earphone is closed, the earphone and the terminal may be placed at a certain position by the user, if the user encounters the situation of forgetting the placing position of the earphone (or the terminal), the user can search for the earphone (or the terminal) through the first preset voice, and the user finds the earphone through the second preset voice generated by the voice generation module, so that convenience is provided for the user to use.
A tenth embodiment of the present invention relates to an earphone assembly including: the earphone comprises a first earphone, a second earphone, a first near field communication chip arranged in the first earphone, a second near field communication chip arranged in the second earphone and at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the method of controlling a function of the headset of any one of the first to fifth embodiments.
Where the memory and processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting together one or more of the various circuits of the processor and the memory. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory may be used to store data used by the processor in performing operations.
Compared with the prior art, the embodiment of the invention has the advantages that the first near field communication module arranged in the first earphone sends a transmission signal, the second near field communication module detects the signal intensity of the transmission signal, and the distance between the first earphone and the second earphone is identified according to the signal intensity, namely, in the earphone assembly provided by the embodiment of the invention, when the distance between the first earphone and the second earphone meets the preset condition, the earphone is controlled to execute the preset function corresponding to the preset condition; the automatic control of the preset function of the earphone is realized, the hands of a user are liberated, the manual control mode in the prior art is replaced, and convenience is provided for the user.
An eleventh embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the function control method according to any one of the first to fifth embodiments when executed by a processor.
Compared with the prior art, the implementation mode of the invention is that a first near field communication module installed in a first earphone sends a transmission signal, a second near field communication module detects the signal intensity of the transmission signal, and identifies the distance between the first earphone and a second earphone according to the signal intensity, namely, in the function control method of the earphone provided by the embodiment of the invention, when the distance between the first earphone and the second earphone meets a preset condition, the earphone is controlled to execute a preset function corresponding to the preset condition; the automatic control of the preset function of the earphone is realized, the hands of a user are liberated, the manual control mode in the prior art is replaced, and convenience is provided for the user.
That is, as can be understood by those skilled in the art, all or part of the steps in the method according to the above embodiments may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps in 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.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. The function control method of the earphone is characterized in that the function control method is applied to an earphone assembly comprising a first earphone and a second earphone, wherein a first near-field communication module is arranged in the first earphone, and a second near-field communication module is arranged in the second earphone; the function control method comprises the following steps:
transmitting a transmission signal through the first near-field communication module;
detecting, by the second near field communication module, a signal strength of the transmission signal;
identifying a distance between the first and second earpieces according to the signal strength;
detecting the noise intensity between the first earphone and the second earphone, and generating a distance compensation value according to the noise intensity; compensating the distance by using the distance compensation value to obtain a compensated compensation distance;
and under the condition that the compensation distance meets a preset condition, controlling the earphone to execute a preset function corresponding to the preset condition:
if the preset condition is that the compensation distance is greater than or equal to an estimated upper limit threshold of a head distance range of a corresponding human body, the preset function is to open a playing function;
if the preset condition is that the compensation distance is smaller than or equal to the estimated lower limit threshold of the head distance range of the corresponding human body, the preset function corresponding to the preset condition is that the playing function is closed;
and if the preset condition is that the compensation distance is greater than the early warning distance, a preset function corresponding to the preset condition is an abnormal reminding function.
2. The method of controlling the function of an earphone according to claim 1,
the early warning distance is greater than or equal to 1 meter.
3. The method for controlling functions of a headset according to claim 1, wherein after controlling the play function of the headset to be turned on, the method further comprises:
monitoring whether an electrical signal is received from a paired terminal;
if not, generating prompt information.
4. The method for controlling the function of an earphone according to claim 1, wherein after controlling the play function of the earphone to be turned off, the method further comprises:
identifying whether a first preset voice representing and searching the earphone exists in an external environment;
if yes, generating a second preset voice.
5. A function control apparatus of an earphone, comprising:
the signal transmitting module is used for transmitting a transmission signal through a first near-field communication module arranged in the first earphone;
the intensity detection module detects the signal intensity of the transmission signal through a second near field communication module arranged in the second earphone;
the distance identification module is used for identifying the distance between the first earphone and the second earphone according to the signal intensity;
the compensation value generating module is used for detecting the noise intensity between the first earphone and the second earphone and generating a distance compensation value according to the noise intensity;
the distance compensation module is used for compensating the distance by using the distance compensation value and obtaining a compensated compensation distance;
a function control module, configured to control the earphone to execute a preset function corresponding to a preset condition when the compensation distance satisfies the preset condition:
when the preset condition is that the compensation distance is larger than or equal to an estimated upper limit threshold of the head distance range of the corresponding human body, a preset function corresponding to the preset condition is that a playing function is turned on;
when the preset condition is that the compensation distance is smaller than or equal to an estimated lower limit threshold of the head distance range corresponding to the human body, a preset function corresponding to the preset condition is that a playing function is closed;
and when the preset condition is that the compensation distance is greater than the early warning distance, a preset function corresponding to the preset condition is an abnormal reminding function.
6. The device for controlling the function of an earphone according to claim 5, wherein the warning distance is greater than or equal to 1 m.
7. The apparatus for controlling functions of an earphone according to claim 5, further comprising:
and the information prompt module is used for monitoring whether an electric signal is received from a matched terminal or not after the function control module controls the playing function of the earphone to be opened, and generating prompt information if the electric signal is not received from the matched terminal.
8. The apparatus for controlling functions of an earphone according to claim 5, further comprising:
and the voice generation module is used for identifying whether the external environment has a first preset voice representing and searching the earphone after the function control module controls the playing function of the earphone to be closed, and if so, generating a second preset voice.
9. An earphone assembly, comprising: a first earphone, a second earphone, a first near field communication chip installed in the first earphone, a second near field communication chip installed in the second earphone,
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of controlling a function of a headset according to any one of claims 1 to 4.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the function control method of the headset of any one of claims 1 to 4.
CN201711483732.0A 2017-12-29 2017-12-29 Earphone assembly, and function control method and device of earphone Active CN108200493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711483732.0A CN108200493B (en) 2017-12-29 2017-12-29 Earphone assembly, and function control method and device of earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711483732.0A CN108200493B (en) 2017-12-29 2017-12-29 Earphone assembly, and function control method and device of earphone

Publications (2)

Publication Number Publication Date
CN108200493A CN108200493A (en) 2018-06-22
CN108200493B true CN108200493B (en) 2020-09-29

Family

ID=62586682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711483732.0A Active CN108200493B (en) 2017-12-29 2017-12-29 Earphone assembly, and function control method and device of earphone

Country Status (1)

Country Link
CN (1) CN108200493B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677758B (en) * 2019-09-09 2021-07-02 广东思派康电子科技有限公司 Head-wearing earphone
CN110972010A (en) * 2019-11-26 2020-04-07 歌尔股份有限公司 Earphone control method, earphone and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702783A (en) * 2015-02-05 2015-06-10 惠州Tcl移动通信有限公司 Article seeking method based on voice signal and automatic answer system
CN205510346U (en) * 2016-03-29 2016-08-24 广州视源电子科技股份有限公司 Split type bluetooth headset
CN106850943A (en) * 2016-12-07 2017-06-13 努比亚技术有限公司 A kind of apparatus and method for detecting terminal and the distance of shelter
CN106982402A (en) * 2017-05-19 2017-07-25 北京小米移动软件有限公司 Control method, device and earphone that earphone is played

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101246990B1 (en) * 2012-03-29 2013-03-25 신두식 Headset for preventing loss of mobile terminal and headset system for preventing loss of mobile terminal and headset
KR102052153B1 (en) * 2013-02-15 2019-12-17 삼성전자주식회사 Mobile terminal for controlling a hearing aid and method therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702783A (en) * 2015-02-05 2015-06-10 惠州Tcl移动通信有限公司 Article seeking method based on voice signal and automatic answer system
CN205510346U (en) * 2016-03-29 2016-08-24 广州视源电子科技股份有限公司 Split type bluetooth headset
CN106850943A (en) * 2016-12-07 2017-06-13 努比亚技术有限公司 A kind of apparatus and method for detecting terminal and the distance of shelter
CN106982402A (en) * 2017-05-19 2017-07-25 北京小米移动软件有限公司 Control method, device and earphone that earphone is played

Also Published As

Publication number Publication date
CN108200493A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
US10015836B2 (en) Master device for using connection attribute of electronic accessories connections to facilitate locating an accessory
AU2017228576B2 (en) Mobile computing device and wearable computing device having automatic access mode control
KR102295402B1 (en) Wireless audio output devices
EP2905949B1 (en) Notification volume adjustment based on distance from paired device
JP6571341B2 (en) Power supply method, device and program for audio use
RU2016100440A (en) Determination of remote devices interacting with media devices
US20060110157A1 (en) Transceiver with interrupt unit
US9904812B2 (en) Method of protecting power receiver and related wireless charging device
EP3002933B1 (en) User terminal light control method and corresponding apparatus
CN108200493B (en) Earphone assembly, and function control method and device of earphone
CN102723971B (en) Bluetooth device and Bluetooth pairing method thereof
US20120189134A1 (en) Earphone and electronic device using the same
US20130325480A1 (en) Remote controller and control method thereof
US20110092161A1 (en) Wireless communication apparatus for monitoring proximity of a subject
US20130187617A1 (en) Theft protection
CN106532876B (en) Power supply control method and device and computer equipment
US20200143788A1 (en) Interference generation
US11138041B2 (en) Method for automatically releasing resource occupied by process in background of terminal, storage medium and terminal
KR101855326B1 (en) Apparatus and method of preventing portable electronic device to be lost
US10805708B2 (en) Headset sound channel control method and system, and related device
US10069322B2 (en) Methods and systems of managing power in a portable electronic device
CN104284273A (en) Handheld electronic device and corresponding anti-noise earphone
KR20210116118A (en) Electronic device for audio, and method for managing power in electronic device for audio
KR20140115414A (en) Remote sensing apparatus for call and anti-missing of mobile device
CN110958345A (en) Method and device for detecting rear cover of mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant