CN111741396A - Control method, control device, electronic equipment and readable storage medium - Google Patents

Control method, control device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111741396A
CN111741396A CN202010605445.8A CN202010605445A CN111741396A CN 111741396 A CN111741396 A CN 111741396A CN 202010605445 A CN202010605445 A CN 202010605445A CN 111741396 A CN111741396 A CN 111741396A
Authority
CN
China
Prior art keywords
sound signal
noise reduction
reduction function
preset information
target
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.)
Pending
Application number
CN202010605445.8A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010605445.8A priority Critical patent/CN111741396A/en
Publication of CN111741396A publication Critical patent/CN111741396A/en
Pending legal-status Critical Current

Links

Images

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/1083Reduction of ambient noise
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

The application discloses a control method, a control device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: the method comprises the steps of obtaining a sound signal in a target environment, closing a noise reduction function under the condition that the sound signal comprises preset information, and enabling an earphone not to generate reverse sound waves to reduce external sound signals after the noise reduction function is closed, so that a user can listen to the sound of the surrounding environment of the position where the user is located. The problem that if a sound signal which is useful for a user exists in the surrounding environment of the earphone under the condition that the noise reduction function of the earphone is started, the useful sound signal in the surrounding environment is reduced, and the user cannot obtain the useful sound signal in the surrounding environment is solved.

Description

Control method, control device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a control method, a control device, electronic equipment and a readable storage medium.
Background
With the increasing number of users using earphones, in order to provide users with a quiet music experience and reduce the interference of external noise, many manufacturers add an active noise reduction function to the earphones.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: in the prior art, the active noise reduction of the earphone can completely filter out external sounds, so that a user cannot hear useful sounds for the user.
Content of application
An object of the embodiments of the present application is to provide a control method, an apparatus, an electronic device, and a readable storage medium, which can solve the problem in the prior art that active noise reduction of an earphone can completely filter external sounds, so that a user cannot hear sounds useful for the user.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a control method, which is applied to an earphone, and the method includes:
acquiring a sound signal in a target environment;
turning off the noise reduction function in case that the sound signal includes preset information;
the noise reduction function is used for reducing the sound signal, and the preset information comprises at least one of a keyword, a first audio frequency and a target voiceprint.
In a second aspect, an embodiment of the present application provides a noise reduction function control apparatus, which is disposed on an earphone, and includes;
the first acquisition module is used for acquiring a sound signal in a target environment;
the closing module is used for closing the noise reduction function under the condition that the sound signal comprises preset information;
the noise reduction function is used for reducing the sound signal, and the preset information comprises at least one of a keyword, a first audio frequency and a target voiceprint.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the sound signal in the target environment is acquired, the noise reduction function is turned off under the condition that the sound signal comprises the preset information, and after the noise reduction function is turned off, the earphone does not generate reverse sound waves to reduce the external sound signal, so that the user can listen to the sound of the surrounding environment at the position where the user is located. The problem that if a sound signal which is useful for a user exists in the surrounding environment of the earphone under the condition that the noise reduction function of the earphone is started, the useful sound signal in the surrounding environment is reduced, and the user cannot obtain the useful sound signal in the surrounding environment is solved.
Drawings
FIG. 1 is a flow chart of the steps of a control method provided in an embodiment of the present application;
FIG. 2 is a flow chart illustrating steps of another control method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a noise reduction function control apparatus provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another noise reduction function control apparatus provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of another noise reduction function control apparatus provided in the embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the control method provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a control method provided in an embodiment of the present application, where the method is applied to a headset, and the method may include the following steps:
step 101, acquiring a sound signal in a target environment.
The earphone may be a bluetooth earphone, wherein the earphone acquiring the sound signal in the target environment may be acquiring the sound signal in the target environment when the earphone starts the noise reduction function. The target environment is the surrounding environment where the user using the headset is located. The sound signal is, for example, an alarm clock ring, a fire alarm sound, an air defense alarm sound, or other sound signals.
And 102, under the condition that the sound signal comprises preset information, closing the noise reduction function.
The noise reduction function is used for reducing the sound signals, and the preset information comprises at least one item of keywords, first audio and target voiceprints. The keyword included in the preset information may be one keyword or multiple keywords, for example, the preset information includes multiple keywords such as a name, a nickname, a subway station, a bus station, and the like set by the user. The first audio included in the preset information may be one kind of first audio or multiple kinds of first audio, for example, the first audio included in the preset information is at least one of audio corresponding to an alarm clock ring preset in the earphone, audio corresponding to a fire alarm sound, audio corresponding to an air defense alarm sound, and the like, and the first audio is not specifically limited in the present application. The target voiceprint included in the preset information may be one type of target voiceprint or multiple types of target voiceprints, for example, the target voiceprint included in the preset information is at least one type of voiceprint of a colleague of the user, a voiceprint of a relative, a voiceprint of a child of the user, and the like.
Here, the example is given by the following keywords included in the preset information in the sound signal: when someone calls the user's name or nickname, the headset turns off the noise reduction function if it is determined that the user's name or nickname is included in the sound signal of the calling user's name or nickname (i.e., the sound signal in the target environment), in which case the user can respond to the call of another person in time by turning off the noise reduction function. Or, when a subway arrives at a station or a bus arrives at a station, if the earphone determines that the sound signal (i.e. the sound signal in the target environment) for station announcement includes the name of the subway station or the name of the bus station, the noise reduction function of the earphone used by the user is turned off, and the user can hear the information of the station in time, so as to prevent the user from passing the station due to negligence.
The first audio frequency in the sound signal including the preset information is exemplified here: the first audio included in the preset information includes a first audio 1 corresponding to the alarm clock ring tone and a first audio 2 corresponding to the fire alarm sound, the user is listening to music by using the earphone at present, and the noise reduction function of the earphone is turned on at the moment. If the alarm clock ring sound is sounded, the user can hear the alarm clock ring sound, namely, the sound signal of the target environment acquired by the earphone is the alarm clock ring sound, the audio corresponding to the alarm clock ring sound is consistent with the first audio 1 in the earphone, namely, the sound signal comprises the first audio 1, under the condition, the noise reduction function is closed, and the user can hear the alarm clock ring sound. Or,
if the fire alarm sound sounds, the user can hear the fire alarm sound, namely, the sound signal in the target environment is the fire alarm sound, the audio frequency corresponding to the fire alarm sound is consistent with the first audio frequency 2 in the earphone, namely, the sound signal comprises the first audio frequency 2, in this case, the noise reduction function is closed, and the user can hear the fire alarm sound. Or,
if alarm clock ringtone and fire alarm sound ring simultaneously, the user just can hear alarm clock ringtone and fire alarm sound, and the sound signal of the target environment that the earphone acquireed promptly includes alarm clock ringtone and fire alarm sound, and the audio frequency that the alarm clock ringtone corresponds is 1 unanimous with first audio frequency in the earphone, and the audio frequency that the fire alarm sound corresponds is 2 unanimous with first audio frequency in the earphone, closes under this kind of condition and falls the function of making an uproar, makes the user can hear alarm clock ringtone and fire alarm sound.
The example here is that the sound signal includes a target voiceprint in the preset information: the voiceprint of the colleague set by the user can be recorded in the earphone (the voiceprint information is used as the target voiceprint 1), when the colleague speaks, the earphone acquires the voiceprint in the sound signal, the voiceprint in the sound signal is consistent with the target voiceprint 1, namely, the sound signal in the target environment comprises the target voiceprint 1, and then the noise reduction function is closed. Therefore, when the colleague speaks, active noise reduction is closed, so that the user can hear the speaking voice of the colleague, but when the colleague does not speak, due to the fact that the noise reduction function is not closed, other noises in an office are filtered by the earphone with the noise reduction function, and the user is prevented from hearing other noises. Or, for example, a voiceprint of a crying of an infant (the voiceprint is used as the target voiceprint 2) can be recorded in the electronic device, and when the infant crys, the voiceprint in the sound signal is consistent with the target voiceprint 2, in this case, the noise reduction function is turned off. Therefore, when the baby cries, the noise is actively reduced and the noise is closed, so that the user can listen to the crying of the baby in time.
In the prior art, for example, when a user listens to music using an earphone, the earphone may generate an inverse sound wave to cancel an external sound signal to achieve a noise reduction effect when a noise reduction function of the earphone is turned on, that is, the user cannot hear the external sound signal (the external sound signal includes a sound signal useful for the user and noise).
In this embodiment, the sound signal in the target environment is acquired, the noise reduction function is turned off when the sound signal includes the preset information, and after the noise reduction function is turned off, the earphone does not generate reverse sound waves to reduce the external sound signal, so that the user can listen to the sound of the surrounding environment at the position where the user is located. The problem that if a sound signal which is useful for a user exists in the surrounding environment of the earphone under the condition that the noise reduction function of the earphone is started, the useful sound signal in the surrounding environment is reduced, and the user cannot obtain the useful sound signal in the surrounding environment is solved.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of another control method provided in an embodiment of the present application, where the method may include the following steps:
step 201, acquiring a sound signal in a target environment.
And 202, under the condition that the sound signal comprises preset information, closing the noise reduction function.
Wherein, under the condition that the sound signal includes the preset information, the function of turning off the noise reduction can be realized by the following mode:
the first method is as follows: converting the sound signal into text information;
and in the case that at least one keyword in the keywords is included in the text information, closing the noise reduction function.
The second method comprises the following steps: acquiring a target priority corresponding to preset information;
closing the noise reduction function under the condition that the target priority is smaller than a first threshold;
when the target priority is greater than or equal to the first threshold and smaller than the second threshold, the noise reduction function is closed, and the second audio is stopped to be played;
under the condition that the target priority is greater than or equal to the second threshold, the noise reduction function is closed, the second audio is stopped to be played, and the sound signal corresponding to the preset information is played;
the first threshold value is smaller than the second threshold value, and the second audio is the audio played by the earphone under the condition that the noise reduction function is started.
The user may set a target priority corresponding to each preset information, different preset information may correspond to different target priorities, and may also correspond to the same target priority, for example, if the preset information further includes the first audio 3 corresponding to the air defense warning sound, the target priority corresponding to the first audio 2 may be set to be the same as the target priority corresponding to the first audio 3, and may also be set to be different.
The following description will take the first threshold as the normal priority preset by the user and the second threshold as the high priority preset by the user as an example. For example, the user sets 3 types of first audio and 3 priorities in the headset, where the 3 types of first audio include first audio 1 (the first audio 1 is an audio corresponding to an alarm clock ring), first audio 2 (the first audio 2 is an audio corresponding to a fire alarm sound), and first audio 3 (the first audio 3 is an audio corresponding to an air defense alarm sound), the first audio 1 corresponds to priority 1, the second preset audio data 2 corresponds to priority 2, and the first audio 3 corresponds to priority 3. Wherein, priority 1 is lower than priority 2, priority 2 is lower than priority 3, priority 1 belongs to low priority, priority 2 belongs to normal priority, and priority 3 belongs to high priority. With reference to the foregoing embodiment, if the sound signal in the target environment includes the first audio 1 corresponding to the alarm ring tone (the first audio 1 is preset information included in the sound signal), the target priority corresponding to the preset information is a low priority (that is, the target priority corresponding to the first audio 1 is a low priority), and in this case, since the low priority is smaller than the normal priority, only the noise reduction function may be turned off.
If the sound signal in the target environment includes the first audio 2 corresponding to the fire alarm sound (the first audio 2 is the preset information included in the sound signal), the target priority corresponding to the preset information is the normal priority (that is, the target priority corresponding to the first audio 2 is the normal priority), and since the target priority is equal to the normal priority (that is, the target priority is equal to the first threshold), in this case, the noise reduction function may be turned off, and the playing of the second audio may be stopped at the same time.
If the sound signal in the target environment includes the first audio 3 corresponding to the air defense warning sound (the first audio 3 is preset information included in the sound signal), the target priority corresponding to the preset information is a normal priority (that is, the target priority corresponding to the first audio 3 is a high priority), and since the target priority is equal to the high priority (that is, the target priority is equal to the second threshold), in this case, the noise reduction function may be turned off, and the playing of the second audio is stopped at the same time, and the sound signal corresponding to the preset information is played, that is, the air defense warning sound is played.
It should be noted that, if the preset information included in the obtained sound signal is two preset information, for example, the preset information includes a first audio 2 and a first audio 3, the target priority corresponding to the obtained preset information includes a normal priority and a high priority, in this case, the highest priority included in the target priority is equal to the second threshold, the noise reduction function is turned off, the second audio is stopped to be played, and the fire alarm sound and the air defense alarm sound are played, where the air defense alarm sound may be played first, and then the fire alarm sound, that is, the sound of the first audio with the high priority is played first.
Step 203, in the case that the sound signal includes N preset information, where N is a positive integer, acquiring priorities corresponding to the N preset information.
And step 204, playing the sound signals corresponding to the N pieces of preset information according to the priority sequence.
It should be noted that, before the sound signals corresponding to the N pieces of preset information are played according to the priority order, the playing of the second audio, that is, the audio played by the earphone under the condition of starting the noise reduction function, is stopped.
According to the control method provided by the embodiment, after the noise reduction function is turned off, the sound signals corresponding to the N pieces of preset information are played according to the priority order under the condition that the sound signals include the N pieces of preset information, so that a user can hear the sound in the target environment more clearly, and response can be made more quickly.
Optionally, after the step 202, turning off the noise reduction function, the method may further include:
playing a target sound signal corresponding to the preset information;
wherein the sound signal comprises the target sound signal.
Optionally, in a case that the sound signal includes a keyword, playing a first sound signal corresponding to the keyword;
playing the first audio or a second audio signal corresponding to the first audio in case that the sound signal includes the first audio;
playing a third sound signal corresponding to the target voiceprint if the sound signal includes the target voiceprint;
wherein the sound signals include a first sound signal, a second sound signal, and a third sound signal.
In conjunction with the above example, for example, if the sound signal includes the name of the user, the first sound signal corresponding to the name is played, and if the sound signal includes the first audio 1, the alarm ring tone (i.e. the first audio or the second sound signal) is played. If the sound signal includes a voiceprint of the user's colleague, then the sound of the colleague is played (i.e., the third sound signal is played).
It should be noted that, before playing the first audio, the first sound signal, the second sound signal, or the third sound signal, the playing of the second audio is stopped.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a noise reduction function control apparatus provided in an embodiment of the present application, where the apparatus 300 is disposed on a headset, and the apparatus 300 includes:
a first obtaining module 310, configured to obtain a sound signal in a target environment;
a closing module 320, configured to close the noise reduction function if the sound signal includes preset information;
the noise reduction function is used for reducing the sound signal, and the preset information comprises at least one of a keyword, a first audio frequency and a target voiceprint.
The noise reduction function control device provided by this embodiment, by acquiring the sound signal in the target environment, when the sound signal includes the preset information, the noise reduction function is turned off, and after the noise reduction function is turned off, the earphone does not generate the reverse sound wave to reduce the external sound signal, so that the user can listen to the sound of the surrounding environment at the position where the user is located. The problem that if a sound signal which is useful for a user exists in the surrounding environment of the earphone under the condition that the noise reduction function of the earphone is started, the useful sound signal in the surrounding environment is reduced, and the user cannot obtain the useful sound signal in the surrounding environment is solved.
Optionally, referring to fig. 4, fig. 4 is a schematic structural diagram of another noise reduction function control apparatus provided in an embodiment of the present application, and the apparatus 400 may include:
a first playing module 410, configured to play a target sound signal corresponding to the preset information;
wherein the sound signal comprises the target sound signal.
Optionally, referring to fig. 5, fig. 5 is a schematic structural diagram of another noise reduction function control apparatus provided in an embodiment of the present application, and the apparatus 500 may include:
a second obtaining module 510, configured to, when the sound signal includes N pieces of preset information, where N is a positive integer, obtain priorities corresponding to the N pieces of preset information;
the second playing module 520 is configured to play the sound signals corresponding to the N preset information according to the priority order.
Optionally, the closing module 320 is specifically configured to convert the sound signal into text information; and closing the noise reduction function under the condition that at least one keyword in the keywords is included in the text information.
Optionally, the closing module 320 includes:
an obtaining unit 3201, configured to obtain a target priority corresponding to the preset information;
a shutdown unit 3202, configured to shut down the noise reduction function if the target priority is less than a first threshold;
the closing unit 3202 is further configured to close the noise reduction function and stop playing the second audio when the target priority is greater than or equal to the first threshold and is less than a second threshold;
the closing unit 3202 is further configured to close the noise reduction function, stop playing a second audio, and play a sound signal corresponding to the preset information when the target priority is greater than or equal to the second threshold;
the first threshold is smaller than the second threshold, and the second audio is the audio played by the earphone under the condition that the noise reduction function is started.
The noise reduction function control device provided in the embodiment of the present application can implement each process implemented by the noise reduction function control device in the method embodiments of fig. 1 and fig. 2, and is not described here again to avoid repetition.
Optionally, an electronic device is further provided in an embodiment of the present application, as shown in fig. 6, fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application. The electronic device 600 includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction implements the processes of the control method embodiment when executed by the processor 601, and can achieve the same technical effect, and the descriptions are omitted here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A control method applied to a headset is characterized by comprising the following steps:
acquiring a sound signal in a target environment;
turning off the noise reduction function in case that the sound signal includes preset information;
the noise reduction function is used for reducing the sound signal, and the preset information comprises at least one of a keyword, a first audio frequency and a target voiceprint.
2. The method of claim 1, further comprising, after said turning off the noise reduction function:
playing a target sound signal corresponding to the preset information;
wherein the sound signal comprises the target sound signal.
3. The method of claim 1, further comprising, after said turning off the noise reduction function:
under the condition that the sound signal comprises N pieces of preset information, wherein N is a positive integer, and priorities corresponding to the N pieces of preset information are obtained;
and playing the sound signals corresponding to the N preset information according to the priority order.
4. The method according to claim 1, wherein the turning off the noise reduction function in the case that the sound signal includes preset information comprises:
converting the sound signal into text information;
and closing the noise reduction function under the condition that at least one keyword in the keywords is included in the text information.
5. The method according to claim 1, wherein the turning off the noise reduction function in the case that the sound signal includes preset information comprises:
acquiring a target priority corresponding to the preset information;
turning off the noise reduction function if the target priority is less than a first threshold;
when the target priority is greater than or equal to the first threshold and smaller than a second threshold, closing the noise reduction function and stopping playing a second audio;
under the condition that the target priority is greater than or equal to the second threshold, the noise reduction function is closed, second audio is stopped to be played, and a sound signal corresponding to the preset information is played;
the first threshold is smaller than the second threshold, and the second audio is the audio played by the earphone under the condition that the noise reduction function is started.
6. A noise reduction function control device, characterized in that, set up in the earphone, the device includes:
the first acquisition module is used for acquiring a sound signal in a target environment;
the closing module is used for closing the noise reduction function under the condition that the sound signal comprises preset information;
the noise reduction function is used for reducing the sound signal, and the preset information comprises at least one of a keyword, a first audio frequency and a target voiceprint.
7. The apparatus of claim 6, further comprising:
the first playing module is used for playing a target sound signal corresponding to the preset information;
wherein the sound signal comprises the target sound signal.
8. The apparatus of claim 6, further comprising:
the second obtaining module is configured to obtain priorities corresponding to N pieces of preset information, where N is a positive integer, when the sound signal includes N pieces of preset information;
and the second playing module is used for playing the sound signals corresponding to the N pieces of preset information according to the priority order.
9. The apparatus of claim 6,
the closing module is specifically used for converting the sound signal into text information; and closing the noise reduction function under the condition that at least one keyword in the keywords is included in the text information.
10. The apparatus of claim 6, wherein the shutdown module comprises:
the acquisition unit is used for acquiring the target priority corresponding to the preset information;
a closing unit, configured to close the noise reduction function when the target priority is smaller than a first threshold;
the closing unit is further configured to close the noise reduction function and stop playing the second audio when the target priority is greater than or equal to the first threshold and smaller than a second threshold;
the closing unit is further configured to close the noise reduction function, stop playing a second audio, and play a sound signal corresponding to the preset information when the target priority is greater than or equal to the second threshold;
the first threshold is smaller than the second threshold, and the second audio is the audio played by the earphone under the condition that the noise reduction function is started.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the control method according to any one of claims 1 to 5.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the control method according to any one of claims 1-5.
CN202010605445.8A 2020-06-29 2020-06-29 Control method, control device, electronic equipment and readable storage medium Pending CN111741396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010605445.8A CN111741396A (en) 2020-06-29 2020-06-29 Control method, control device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010605445.8A CN111741396A (en) 2020-06-29 2020-06-29 Control method, control device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN111741396A true CN111741396A (en) 2020-10-02

Family

ID=72652193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010605445.8A Pending CN111741396A (en) 2020-06-29 2020-06-29 Control method, control device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111741396A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226144A1 (en) * 2022-05-26 2023-11-30 歌尔股份有限公司 Earphone mode control method, earphone device, head-mounted device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008164670A (en) * 2006-12-27 2008-07-17 Sony Corp Voice output device, voice output method, noise reducing device, noise reduction method, program for noise reduction processing, noise reduction voice output device and noise reduction voice output method
JP2014030254A (en) * 2013-10-07 2014-02-13 Pioneer Electronic Corp Headphone
CN107438209A (en) * 2016-05-27 2017-12-05 易音特电子株式会社 Active noise reduction ear speaker device with hearing aid feature
WO2018045536A1 (en) * 2016-09-08 2018-03-15 华为技术有限公司 Sound signal processing method, terminal, and headphones
WO2019074883A1 (en) * 2017-10-13 2019-04-18 Bose Corporation Automated awareness for anr systems
CN110326040A (en) * 2017-07-14 2019-10-11 惠普发展公司,有限责任合伙企业 Call user's attention event

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008164670A (en) * 2006-12-27 2008-07-17 Sony Corp Voice output device, voice output method, noise reducing device, noise reduction method, program for noise reduction processing, noise reduction voice output device and noise reduction voice output method
JP2014030254A (en) * 2013-10-07 2014-02-13 Pioneer Electronic Corp Headphone
CN107438209A (en) * 2016-05-27 2017-12-05 易音特电子株式会社 Active noise reduction ear speaker device with hearing aid feature
WO2018045536A1 (en) * 2016-09-08 2018-03-15 华为技术有限公司 Sound signal processing method, terminal, and headphones
CN110326040A (en) * 2017-07-14 2019-10-11 惠普发展公司,有限责任合伙企业 Call user's attention event
WO2019074883A1 (en) * 2017-10-13 2019-04-18 Bose Corporation Automated awareness for anr systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226144A1 (en) * 2022-05-26 2023-11-30 歌尔股份有限公司 Earphone mode control method, earphone device, head-mounted device, and storage medium

Similar Documents

Publication Publication Date Title
CN104954555B (en) A kind of volume adjusting method and system
CN105612576B (en) Limitation active noise eliminates output
CN104685563B (en) The audio signal shaping of playback in making an uproar for noisy environment
US7974422B1 (en) System and method of adjusting the sound of multiple audio objects directed toward an audio output device
CN107580113B (en) Reminding method, device, storage medium and terminal
US8972251B2 (en) Generating a masking signal on an electronic device
US20060210028A1 (en) System and method for personalized text-to-voice synthesis
US10475434B2 (en) Electronic device and control method of earphone device
GB2596953A (en) Headset on ear state detection
CN108476256A (en) A kind of volume adjusting method and terminal
US9286883B1 (en) Acoustic echo cancellation and automatic speech recognition with random noise
CN104427068B (en) A kind of audio communication method and device
US8488805B1 (en) Providing background audio during telephonic communication
CA2539649C (en) System and method for personalized text-to-voice synthesis
CN113038337B (en) Audio playing method, wireless earphone and computer readable storage medium
WO2019178809A1 (en) Method for adjusting volume, and electronic device
CN113542960B (en) Audio signal processing method, system, device, electronic equipment and storage medium
CN107886963B (en) Voice processing method and device and electronic equipment
KR102607120B1 (en) Sound data noise canceling method and apparatus, electronic device , computer readable storage medium and computer program
CN101488992A (en) Call processing method and mobile terminal
CN111741396A (en) Control method, control device, electronic equipment and readable storage medium
TWI753685B (en) Headphone noise reduction mode control method, system, equipment and storage medium
JP2012095047A (en) Speech processing unit
WO2014192235A1 (en) Controller, control method, and program
CN114710730A (en) Volume prompting method and device, earphone and 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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20201002

WD01 Invention patent application deemed withdrawn after publication