Control Method, Device, Headphone and Medium of Headphone

By using a feedforward microphone and motion sensor in noise-cancelling headphones, the headphones can automatically switch to transparent mode, which solves the problem that headphones in the prior art cannot respond to external requests in real time in noise-cancelling mode, and improves the wearer's hearing perception and response capabilities.

CN115379332BActive Publication Date: 2025-06-24GEER TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210899051.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-28
Publication Date
2025-06-24
Estimated Expiration
2042-07-28

AI Technical Summary

Technical Problem

Existing noise-cancelling headphones cannot respond to external requests in real time in noise reduction mode, and the wearer needs to manually switch to transparent mode, which will affect the wearer's experience and concentration in specific occasions.

Method used

When the headphones enter the noise reduction mode, they obtain the ambient sound signal picked up by the feedforward microphone, determine the orientation information of the sound object relative to the wearer, and obtain the wearer's motion information. If the orientation information and the motion information are the same, the headphones will be automatically switched to the transparent mode.

Benefits of technology

It realizes that when it is determined that the wearer is responding to external demands, it automatically switches the headphones from noise reduction mode to transparent mode, which improves the wearer's auditory perception of the external environment and ensures that the wearer can respond to external demands in a timely manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115379332B_ABST
    Figure CN115379332B_ABST
Patent Text Reader

Abstract

The present disclosure provides a control method, device, earphone and medium for an earphone. The method includes: when the earphone enters the noise reduction mode, obtaining a first environmental sound signal picked up by a feedforward microphone; wherein, the first environmental sound signal includes a first voice signal of a sound-emitting object; determining orientation information of the sound-emitting object relative to the wearer of the earphone according to the first voice signal; obtaining movement information of the wearer; and when the orientation information and the movement information are the same, controlling the earphone to switch to the transparent mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the technical field of intelligent electronic devices, and more particularly, to a control method for an earphone, a control device for an earphone, an earphone, and a computer-readable storage medium. Background Art

[0002] Noise-canceling earphones can reduce the impact of external ambient sounds on users. Most of the current noise-canceling earphones on the market support a transparency mode and a noise-canceling mode. Moreover, once the noise-canceling mode is turned on, the wearer's auditory perception ability of the external environment is reduced and they cannot respond to external requests for the wearer in real time. Here, it is necessary to switch the noise-canceling mode to the transparency mode to improve the wearer's perception of the external environment. However, when switching the noise-canceling mode to the transparency mode, it often requires the wearer to manually switch through a button on the earphone, and in certain specific situations, human intervention will affect the wearer's experience or reduce the concentration on the current task. Summary of the Invention

[0003] An object of embodiments of the present disclosure is to provide a new technical solution for controlling an earphone.

[0004] According to a first aspect of embodiments of the present disclosure, there is provided a control method for an earphone, the method comprising:

[0005] When the earphone enters the noise-canceling mode, obtaining a first environmental sound signal picked up by a feedforward microphone; wherein, the first environmental sound signal includes a first voice signal of a sound-emitting object;

[0006] Determining orientation information of the sound-emitting object relative to the wearer of the earphone according to the first voice signal;

[0007] Obtaining motion information of the wearer;

[0008] When the orientation information and the motion information are the same, controlling the earphone to switch to the transparency mode.

[0009] Optionally, the determining orientation information of the sound-emitting object relative to the wearer of the earphone according to the first voice signal includes:

[0010] Determining whether the first voice signal is a set voice signal;

[0011] When the first voice signal is a set voice signal, controlling the earphone to switch to the normal mode;

[0012] When the earphone enters the normal mode, determining orientation information of the sound-emitting object relative to the wearer of the earphone.

[0013] Optionally, determining whether the first voice signal is a preset voice signal includes:

[0014] Identifying the first voice signal to obtain keywords in the first voice signal;

[0015] Matching the keywords with a preset keyword library; wherein, the keyword library includes multiple keywords;

[0016] When the keywords are matched, determining that the first voice signal is a preset voice signal.

[0017] Optionally, determining whether the first voice signal is a preset voice signal further includes:

[0018] Matching the first voice signal with a preset voice signal library; wherein, the voice signal library includes multiple voice signals;

[0019] When the voice signal is matched, determining that the first voice signal is a preset voice signal.

[0020] Optionally, when the earphone enters the normal mode, determining the orientation information of the sound source relative to the wearer of the earphone includes:

[0021] When the earphone enters the normal mode, acquiring second environmental sound signals picked up by a left microphone and a right microphone; wherein, the second environmental sound signals include a second voice signal of the sound source;

[0022] Identifying the second voice signal to obtain the orientation information of the sound source relative to the wearer of the earphone.

[0023] Optionally, the method further includes:

[0024] When the earphone enters the normal mode, controlling a timer to start counting down;

[0025] After executing and controlling the earphone to switch to the transparent mode when the orientation information and the motion information are the same, stopping the countdown.

[0026] Optionally, the method further includes:

[0027] When the orientation information and the motion information are different, keeping the earphone in the normal mode;

[0028] When the countdown ends, switching the earphone to the noise reduction mode.

[0029] According to a second aspect of the embodiments of the present disclosure, there is provided a control device for an earphone, the device includes:

[0030] An acquisition module, configured to acquire a first environmental sound signal picked up by a feedforward microphone when the earphone enters a noise reduction mode; wherein, the first environmental sound signal includes a first voice signal of a sound-emitting object.

[0031] A determination module, configured to determine orientation information of the sound-emitting object relative to the wearer of the earphone according to the first voice signal.

[0032] The acquisition module is further configured to acquire motion information of the wearer.

[0033] A control module, configured to control the earphone to switch to a transparent mode when the orientation information and the motion information are the same.

[0034] According to a third aspect of the embodiments of the present disclosure, there is provided an earphone, including:

[0035] A memory, configured to store executable computer instructions.

[0036] A processor, configured to execute the control method of the earphone according to the first aspect above under the control of the executable computer instructions.

[0037] According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium, on which computer instructions are stored, and when the computer instructions are run by a processor, the control method of the earphone according to the first aspect above is executed.

[0038] One beneficial effect of the embodiments of the present disclosure is that when the earphone enters the noise reduction mode, it will acquire the environmental sound information picked up by the feedforward microphone, and determine the orientation information of the sound-emitting object relative to the wearer of the earphone according to the voice signal of the sound-emitting object in the environmental sound signal. At the same time, it acquires the motion information of the wearer, and controls the earphone to switch to the transparent mode when the orientation information and the motion information are the same. That is, it can combine the motion information of the wearer and the orientation information of the sound-emitting object relative to the wearer of the earphone, and automatically switch the earphone from the noise reduction mode to the transparent mode when it is determined that the wearer has a need to respond to the outside world, improving the wearer's auditory perception of the external environment and enabling the wearer to respond to the outside world in a timely manner.

[0039] Through the following detailed description of the exemplary embodiments of the present specification with reference to the accompanying drawings, other features and advantages of the present specification will become clear. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The drawings incorporated in the specification and constituting a part of the specification illustrate the embodiments of the present specification, and together with the description are used to explain the principles of the present specification.

[0041] Figure 1 It is a schematic diagram of the hardware configuration of the earphone according to an embodiment of the present disclosure;

[0042] Figure 2 It is a schematic flowchart of the control method of the earphone according to an embodiment of the present disclosure;

[0043] Figure 3 It is a schematic flowchart of the control method of the earphone according to an example of the present disclosure;

[0044] Figure 4 It is a schematic block diagram of the control device of the earphone according to an embodiment of the present disclosure;

[0045] Figure 5 It is a schematic block diagram of the earphone according to an embodiment of the present disclosure. Detailed implementation manners

[0046] Now, various exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. It should be noted that: unless otherwise specifically stated, the relative arrangements of components and steps, numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the embodiments of the present disclosure.

[0047] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or its use.

[0048] Technologies, methods, and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such technologies, methods, and devices should be regarded as part of the specification.

[0049] In all examples shown and discussed herein, any specific values should be construed as merely exemplary and not as limitations. Thus, other examples of exemplary embodiments may have different values.

[0050] It should be noted that: like reference numerals and letters denote like items in the following drawings, and thus, once an item is defined in one drawing, further discussion thereof in subsequent drawings is not required.

[0051] <Hardware configuration>

[0052] Figure 1 It is a block diagram of the hardware configuration of the earphone 1000 according to an embodiment of the present disclosure.

[0053] As Figure 1 shown, the earphone 1000 may be, for example, a Bluetooth earphone or the like, and the embodiments of the present disclosure do not limit this.

[0054] In one embodiment, as Figure 1As shown, the earphone 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and so on.

[0055] Among them, the processor 1100 may include, but is not limited to, a central processing unit CPU, a microprocessor MCU, etc. The memory 1200 includes, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1300 includes, for example, various bus interfaces, such as a serial bus interface (including a USB interface), a parallel bus interface, etc. The communication device 1400 can perform wired or wireless communication, for example. The display device 1500 is, for example, a liquid crystal display screen, an LED display screen, a touch display screen, etc. The input device 1600 includes, for example, a touch screen, a keyboard, a handle, etc. The earphone 1000 can output audio information through the speaker 1700 and can collect audio information through the microphone 1800.

[0056] Those skilled in the art should understand that although multiple devices of the earphone 1000 are shown in Figure 1 , the earphone 1000 in the embodiments of this specification may only relate to some of the devices, or may also include other devices, which are not limited herein.

[0057] In this embodiment, the memory 1200 of the earphone 1000 is used to store instructions for controlling the processor 1100 to operate to implement or support the implementation of the control method of the earphone according to any embodiment. Those skilled in the art can design the instructions according to the solutions disclosed in this specification. How the instructions control the processor to operate is well known in the art, so it will not be described in detail herein.

[0058] In the above description, those skilled in the art can design the instructions according to the solutions provided by this disclosure. How the instructions control the processor to operate is well known in the art, so it will not be described in detail herein.

[0059] <Method Embodiment>

[0060] Figure 2 shows a control method of an earphone according to an embodiment of the present disclosure. This control method of the earphone can be implemented, for example, by the earphone 1000 as shown in Figure 1 , and the earphone 1000 can be a Bluetooth earphone.

[0061] As Figure 2 shown, the control method of the earphone provided in this embodiment may include the following steps S2100 to S2400.

[0062] Step S2100: When the earphone enters the noise reduction mode, obtain the first environmental sound signal picked up by the feedforward microphone.

[0063] Specifically, when the earphone enters the noise reduction mode, the earphone turns on the feedforward microphone and picks up the first environmental sound signal through the feedforward microphone. The first environmental sound signal includes the first voice signal and the first noise signal of the sound source. It can be understood that when the earphone enters the noise reduction mode, the wearer's perception of the external environment is very small, and it is basically impossible to hear the voice signal of the sound source in the external environment.

[0064] Step S2200: Determine the orientation information of the sound source relative to the wearer of the earphone according to the first voice signal.

[0065] In this embodiment, step S2200 of determining the orientation information of the sound source relative to the wearer of the earphone according to the first voice signal may further include the following steps S2210 to S2230:

[0066] Step S2210: Determine whether the first voice signal is a preset voice signal.

[0067] The preset voice signal is a voice signal that the wearer needs to respond to. When the first voice signal is a preset voice signal, it usually indicates that the wearer needs to respond to the sound source of the first voice signal. Here, it is necessary to improve the wearer's auditory perception of the external environment, that is, the wearer has a need to switch the earphone from the noise reduction mode to the transparent mode.

[0068] In one example, step S2210 of determining whether the first voice signal is a preset voice signal may further include: identifying the first voice signal to obtain the keyword in the first voice signal; matching the keyword with a preset keyword library; where the keyword library includes multiple keywords; when the keyword is matched, determine that the voice signal is a preset voice signal.

[0069] Among them, the keyword can most comprehensively summarize the information content of the first voice signal of the sound emitted by the sound source. The keyword can be time, address, name, etc.

[0070] In this example, when the wearer wears the earphone for the first time, the earphone outputs a first prompt message, which prompts the wearer to write multiple keywords to form a keyword library. Here, the wearer can write multiple keywords into the earphone according to the first prompt message to form a keyword library. For example, the wearer can write multiple keywords into the earphone through the application corresponding to the earphone to form a keyword library. When the wearer wears the earphone subsequently and the earphone enters the noise reduction mode, the earphone turns on the feedforward microphone, picks up the first environmental sound signal through the feedforward microphone, and extracts the first voice signal of the speaker from the first environmental sound signal. At the same time, semantic recognition is performed on the first voice signal to extract the keyword in the first voice signal. If the keyword is in the preset keyword library, it is determined that the first voice signal is a set voice signal.

[0071] In one example, the step S2210 of determining whether the first voice signal is a set voice signal may further include: matching the first voice signal with a preset voice signal library; wherein, the voice signal library includes multiple voice signals; when the voice signal is matched, it is determined that the first voice signal is a set voice signal.

[0072] In this example, when the wearer wears the earphone for the first time, the earphone outputs a second prompt message, which prompts the wearer to record multiple voice signals to form a voice signal library. Here, the wearer can record multiple voice signals into the earphone according to the second prompt message to form a voice signal library. When the wearer wears the earphone subsequently and the earphone enters the noise reduction mode, the earphone turns on the feedforward microphone, picks up the first environmental sound signal through the feedforward microphone, and extracts the first voice signal of the speaker from the first environmental sound signal. At the same time, if the first voice signal is in the preset voice signal library, it is determined that the first voice signal is a set voice signal.

[0073] Step S2220, when the first voice signal is a set voice signal, control the earphone to switch to the normal mode.

[0074] Specifically, when the first voice signal is a set voice signal, the earphone is switched to the normal mode. When the earphone is in the normal mode, the earphone has a certain playback volume and can also perceive the external environment to a certain extent.

[0075] Step S2230, when the earphone enters the normal mode, determine the orientation information of the speaker relative to the wearer of the earphone.

[0076] In this embodiment, when the earphone enters the normal mode in step S2230, determining the orientation information of the sound source relative to the wearer of the earphone may further include the following steps S2231 to S2232:

[0077] Step S2231, when the earphone enters the normal mode, obtain the second ambient sound signals picked up by the left microphone and the right microphone.

[0078] Specifically, when the earphone enters the normal mode, the earphone turns on the left microphone and the right microphone, and picks up the second ambient sound signals through the left microphone and the right microphone. The second ambient sound signals include the second voice signal and the second noise signal of the sound source.

[0079] Step S2232, identify the second voice signal to obtain the orientation information of the sound source relative to the wearer of the earphone.

[0080] The orientation information of the sound source relative to the wearer of the earphone includes, for example but not limited to, the sound source is located in front of the left side of the earphone, the sound source is located in front of the right side of the earphone, the sound source is located behind the left side of the earphone, and the sound source is located behind the right side of the earphone.

[0081] Specifically, after the earphone obtains the second ambient sound signals picked up by the left microphone and the right microphone, it extracts the second voice signal of the sound source speaking from the first ambient sound signals, and identifies the second voice signal to obtain the orientation information of the sound source relative to the earphone.

[0082] Exemplarily, the left microphone and the right microphone of the earphone may pick up the second voice signal of the sound source at different times. For example, before the second voice signal of the sound source is picked up by the left microphone, the second voice signal of the sound source is likely to be picked up by the right microphone. Based on the time difference between the second voice signals picked up at the left microphone and the right microphone, the orientation information of the sound source relative to the earphone can be determined.

[0083] Step S2300, obtain the motion information of the wearer.

[0084] The motion information of the wearer may be the head motion information of the wearer. The head motion information of the wearer includes, for example but not limited to, the wearer turns the head to the left, turns the head to the right, turns around, raises the head, and lowers the head.

[0085] In this embodiment, when the wearer's head moves, the head motion information of the wearer can be detected according to the motion sensor on the earphone. The motion sensor may be a gyroscope. For example, when the wearer's head moves, the head motion information of the wearer can be determined according to the gyroscope signal.

[0086] Step S2400: When the orientation information and the motion information are the same, control the earphone to switch to the transparent mode.

[0087] In this embodiment, when the orientation information of the earphone relative to the wearer is consistent with the head motion information of the wearer, it indicates that the wearer turns towards the sound emitter. Here, the earphone automatically switches from the normal mode to the transparent mode. When the earphone enters the transparent mode, the wearer has the strongest perception ability of the external environment, thereby improving the wearer's auditory perception of the external environment and enabling the wearer to respond to external requests in a timely manner.

[0088] According to an embodiment of the present disclosure, when the earphone enters the noise reduction mode, it will obtain the environmental sound information picked up by the feedforward microphone, and determine the orientation information of the sound emitter relative to the wearer of the earphone according to the voice signal of the sound emitter in the environmental sound signal. At the same time, it obtains the motion information of the wearer, and when the orientation information and the motion information are the same, controls the earphone to switch to the transparent mode. That is, it can combine the motion information of the wearer and the orientation information of the sound emitter relative to the wearer of the earphone, and automatically switch the earphone from the noise reduction mode to the transparent mode when it is determined that the wearer has a need to respond to external requests, improving the wearer's auditory perception of the external environment and enabling the wearer to respond to external requests in a timely manner.

[0089] In one embodiment, the control method of the earphone according to the embodiment of the present disclosure further includes the following steps S3100 to S3200:

[0090] Step S3100: When the earphone enters the normal mode, control the timer to start counting down.

[0091] In this embodiment, when the first voice signal is the set voice signal according to the above step S2220, the earphone will be controlled to switch to the normal mode. When the earphone enters the normal mode, the earphone will control the timer to start counting down and execute the above step S2230 to determine the orientation information of the sound emitter relative to the wearer of the earphone.

[0092] Step S3200: After executing the above step S2400 to control the earphone to switch to the transparent mode when the orientation information and the motion information are the same, stop the countdown.

[0093] Step S3300: When the orientation information and the motion information are different, keep the earphone in the normal mode and switch the earphone to the noise reduction mode.

[0094] <Example>

[0095] Next, a control method of an example earphone is shown. In this example, combined with Figure 3, the control method of the earphone may further include:

[0096] Step S301, when the earphone is powered on for the first time, output a second prompt message; wherein, the second prompt message is used to prompt the wearer to input multiple voice signals to form a voice signal library.

[0097] Step S302, when the earphone enters the noise reduction mode, the earphone activates the feedforward microphone and picks up the first environmental sound signal through the feedforward microphone.

[0098] Step S303, extract the first voice signal of the sound-producing object from the first environmental sound signal.

[0099] Step S304, determine whether the first voice signal is in the voice signal library. If so, execute Step S305; otherwise, execute Step S314.

[0100] Step S305, when the first voice signal is in the voice signal library, control the earphone to switch to the normal mode.

[0101] Step S306, control the timer to start counting down.

[0102] Step S307, pick up the second environmental sound signal through the left and right microphones of the earphone, and extract the second voice signal of the sound-producing object from the second environmental sound signal to obtain the azimuth information of the sound-producing object relative to the wearer of the earphone.

[0103] Step S308, determine the head movement information of the wearer according to the gyroscope signal of the earphone.

[0104] Step S309, determine whether the head movement information and the azimuth information are consistent. If so, execute Step S310; otherwise, execute Step S311.

[0105] Step S310, control the earphone to switch to the transparent mode and stop counting down, and the process ends.

[0106] Step S311, keep the earphone in the normal mode.

[0107] Step S312, determine whether the timer has ended. If so, execute Step S313; otherwise, execute Step S308.

[0108] Step S313, switch the earphone to the noise reduction mode, and the process ends.

[0109] Step S314, keep the earphone in the noise reduction mode.

[0110] <Device Embodiment>

[0111] Figure 4It is a schematic structural diagram of a control method for an earphone according to an embodiment. As Figure 4 shown, the control device 400 of the earphone includes an acquisition module 410, a determination module 420, and an adjustment module 430.

[0112] The acquisition module 410 is configured to, when the earphone enters the noise reduction mode, acquire a first ambient sound signal picked up by a feedforward microphone; wherein, the first ambient sound signal includes a first voice signal of a sound-emitting object.

[0113] The determination module 420 is configured to determine orientation information of the sound-emitting object relative to the wearer of the earphone according to the first voice signal.

[0114] The acquisition module 410 is further configured to acquire motion information of the wearer.

[0115] The control module 430 is configured to control the earphone to switch to the transparent mode when the orientation information and the motion information are the same.

[0116] In one embodiment, the determination module 420 is specifically configured to determine whether the first voice signal is a set voice signal; when the first voice signal is a set voice signal, control the earphone to switch to the normal mode; when the earphone enters the normal mode, determine orientation information of the sound-emitting object relative to the wearer of the earphone.

[0117] In one embodiment, the determination module 420 is specifically configured to identify the first voice signal, obtain keywords in the first voice signal; match the keywords with a preset keyword library; wherein, the keyword library includes multiple keywords; when the keywords are matched, determine that the first voice signal is a set voice signal.

[0118] In one embodiment, the determination module 420 is specifically configured to match the first voice signal with a preset voice signal library; wherein, the voice signal library includes multiple voice signals; when the voice signal is matched, determine that the first voice signal is a set voice signal.

[0119] In one embodiment, the determination module 420 is specifically configured to, when the earphone enters the normal mode, acquire a second ambient sound signal picked up by a left microphone and a right microphone; wherein, the second ambient sound signal includes a second voice signal of the sound-emitting object; identify the second voice signal, and obtain orientation information of the sound-emitting object relative to the wearer of the earphone.

[0120] In one embodiment, the control module 430 is further configured to control a timer to start counting down when the earphone enters the normal mode; and stop the counting down after controlling the earphone to switch to the transparent mode when the orientation information and the motion information are the same.

[0121] In one embodiment, the control module 430 is further configured to keep the earphone in the normal mode when the orientation information and the motion information are different; and switch the earphone to the noise reduction mode when the counting down ends.

[0122] According to an embodiment of the present disclosure, when the earphone enters the noise reduction mode, it will obtain the environmental sound information picked up by the feedforward microphone, and determine the orientation information of the sound source object relative to the wearer of the earphone according to the voice signal of the sound source object in the environmental sound signal. At the same time, it will obtain the motion information of the wearer, and control the earphone to switch to the transparent mode when the orientation information and the motion information are the same. That is, it can combine the motion information of the wearer and the orientation information of the sound source object relative to the wearer of the earphone, and automatically switch the earphone from the noise reduction mode to the transparent mode when it is determined that the wearer has a need to respond to the outside world, improving the wearer's auditory perception of the external environment and enabling the wearer to respond to the outside world in a timely manner.

[0123] <Device Embodiment>

[0124] Figure 5 is a schematic hardware structure diagram of an earphone according to an embodiment. As Figure 5 shown, the earphone 500 includes a processor 510 and a memory 520.

[0125] The memory 520 can be used to store executable computer instructions.

[0126] The processor 510 can be used to execute the control method of the earphone according to the embodiments of the method of the present disclosure under the control of the executable computer instructions.

[0127] The earphone 500 can be the earphone 1000 as Figure 1 shown, or can be a device with other hardware structures, which is not limited herein. The earphone 500 can be, for example, a Bluetooth earphone, and the embodiments of the present disclosure do not limit this.

[0128] In another embodiment, the earphone 500 can include the above-mentioned earphone control device 400.

[0129] In one embodiment, each module of the above-mentioned earphone control device 400 can be implemented by the processor 510 running the computer instructions stored in the memory 520.

[0130] According to an embodiment of the present disclosure, when the earphone enters the noise reduction mode, it will obtain the environmental sound information picked up by the feedforward microphone, and determine the azimuth information of the sound source relative to the wearer of the earphone based on the voice signal of the sound source in the environmental sound signal. At the same time, it will obtain the movement information of the wearer, and when the azimuth information and the movement information are the same, it will control the earphone to switch to the transparent mode. That is, it can combine the movement information of the wearer and the azimuth information of the sound source relative to the wearer of the earphone, and when it is determined that the wearer has a need to respond to the external request, it will automatically switch the earphone from the noise reduction mode to the transparent mode, improving the wearer's auditory perception of the external environment, so that the wearer can respond to the external request in a timely manner.

[0131] <Computer-readable storage medium>

[0132] An embodiment of the present disclosure also provides a computer-readable storage medium, on which computer instructions are stored, and when the computer instructions are run by a processor, they execute the control method of the earphone provided by the embodiment of the present disclosure.

[0133] The present disclosure may be a system, a method, and / or a computer program product. The computer program product may include a computer-readable storage medium, on which computer-readable program instructions for causing a processor to implement various aspects of the present disclosure are uploaded.

[0134] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically encoded device, such as a punched card or raised structures in grooves storing instructions thereon, and any suitable combination of the above. The computer-readable storage medium used herein is not construed as an instantaneous signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagated through a waveguide or other transmission medium (e.g., optical pulses through an optical fiber cable), or electrical signals transmitted through wires.

[0135] The computer-readable program instructions described herein can be downloaded to various computing / processing devices from a computer-readable storage medium or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing / processing device.

[0136] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state-setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, by using the state information of the computer-readable program instructions to customize an electronic circuit, such as a programmable logic circuit, a field-programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute the computer-readable program instructions to implement various aspects of the present disclosure.

[0137] Aspects of the present disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0138] These computer-readable program instructions may be provided to a processor of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus to produce a machine such that the instructions, when executed by the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in one or more boxes of the flowchart and / or block diagram. These computer-readable program instructions may also be stored in a computer-readable storage medium that causes a computer, a programmable data processing apparatus, and / or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises a manufacture including instructions for implementing various aspects of the functions / acts specified in one or more boxes of the flowchart and / or block diagram.

[0139] The computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process such that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in one or more boxes of the flowchart and / or block diagram.

[0140] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a segment of code, or a portion of an instruction, which comprises one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the boxes may occur out of the order noted in the figures. For example, two consecutive boxes may in fact be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each box of the block diagrams and / or flowcharts, and combinations of boxes in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or acts, or by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.

[0141] The embodiments of the present disclosure have been described above. The above description is exemplary and not exhaustive, and is also not limited to the disclosed embodiments. Many modifications and variations are obvious to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to technologies in the market, or to enable other ordinary skilled persons in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.

Claims

1. A control method for an earphone, characterized in that, The method includes: When the earphone enters the noise reduction mode, obtaining a first ambient sound signal picked up by a feedforward microphone; wherein, the first ambient sound signal includes a first voice signal of a sound-emitting object; Determining, according to the first voice signal, orientation information of the sound-emitting object relative to the wearer of the earphone; Obtaining motion information of the wearer, where the motion information is head motion information of the wearer; When the orientation information and the motion information are the same, controlling the earphone to switch to the transparent mode; The determining, according to the first voice signal, orientation information of the sound-emitting object relative to the wearer of the earphone includes: Determining whether the first voice signal is a set voice signal, where the set voice signal is a voice signal that the wearer needs to respond to; When the first voice signal is the set voice signal, controlling the earphone to switch to the normal mode; When the earphone enters the normal mode, determining the orientation information of the sound-emitting object relative to the wearer of the earphone.

2. The method according to claim 1, wherein The determining whether the first voice signal is the set voice signal includes: Identifying the first voice signal to obtain keywords in the first voice signal; Matching the keywords with a preset keyword library; wherein, the keyword library includes multiple keywords; When the keywords are matched, determining that the first voice signal is the set voice signal.

3. The method according to claim 1, characterized in that, The determining whether the first voice signal is the set voice signal further includes: Matching the first voice signal with a preset voice signal library; wherein, the voice signal library includes multiple voice signals; When the voice signal is matched, determining that the first voice signal is the set voice signal.

4. The method according to claim 1, characterized in that The determining, when the earphone enters the normal mode, the orientation information of the sound-emitting object relative to the wearer of the earphone includes: When the earphone enters the normal mode, obtaining a second ambient sound signal picked up by a left microphone and a right microphone; wherein, the second ambient sound signal includes a second voice signal of the sound-emitting object; Identifying the second voice signal to obtain orientation information of the sound-emitting object relative to the wearer of the earphone.

5. The method according to claim 1, characterized in that The method further includes: When the earphone enters the normal mode, controlling a timer to start counting down; After performing the control of switching the earphone to the transparent mode when the orientation information and the motion information are the same, stopping the countdown.

6. The method according to claim 5, characterized in that, The method further includes: When the orientation information and the motion information are different, keeping the earphone in the normal mode; When the countdown ends, switching the earphone to the noise reduction mode.

7. A control device for an earphone, characterized in that, The device includes: An obtaining module, configured to obtain a first ambient sound signal picked up by a feedforward microphone when the earphone enters the noise reduction mode; wherein, the first ambient sound signal includes a first voice signal of a sound-emitting object; A determining module, configured to determine, according to the first voice signal, orientation information of the sound-emitting object relative to the wearer of the earphone; The obtaining module is further configured to obtain the movement information of the wearer, where the movement information is the head movement information of the wearer; The control module is configured to control the earphone to switch to the transparent mode when the orientation information and the movement information are the same; The determining module is further configured to determine whether the first voice signal is a set voice signal, where the set voice signal is a voice signal that the wearer needs to respond to; when the first voice signal is the set voice signal, control the earphone to switch to the normal mode; when the earphone enters the normal mode, determine the orientation information of the sound source object relative to the wearer of the earphone.

8. A headset, characterized in that, The earphone includes: A memory for storing executable computer instructions; A processor for executing the control method of the earphone according to any one of claims 1-6 under the control of the executable computer instructions.

9. A computer-readable storage medium having computer instructions stored thereon, where the computer instructions, when run by a processor, execute the control method of the earphone according to any one of claims 1-6.

Citation Information

Patent Citations

  • Earphone and earphone control method and control device thereof, and readable storage medium

    CN111698602A

  • Wireless earphone, and unvarnished transmission method, device and system thereof

    CN113207056A

  • Earphone, earphone noise reduction mode switching method and device, and storage medium

    CN113596670A