CN103870166B - A kind of method and apparatus of pattern switching - Google Patents
A kind of method and apparatus of pattern switching Download PDFInfo
- Publication number
- CN103870166B CN103870166B CN201210525421.7A CN201210525421A CN103870166B CN 103870166 B CN103870166 B CN 103870166B CN 201210525421 A CN201210525421 A CN 201210525421A CN 103870166 B CN103870166 B CN 103870166B
- Authority
- CN
- China
- Prior art keywords
- noise reduction
- mode
- communication terminal
- audio signal
- audio
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004891 communication Methods 0.000 claims abstract description 168
- 230000005236 sound signal Effects 0.000 claims abstract description 144
- 230000001960 triggered effect Effects 0.000 claims abstract description 12
- 238000006243 chemical reaction Methods 0.000 claims description 43
- 238000001514 detection method Methods 0.000 claims description 16
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 239000000463 material Substances 0.000 description 4
- 230000007613 environmental effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a kind of method and apparatus of pattern switching, the method provided includes:Detect the working condition of the first communication terminal;When the working condition of the first communication terminal is preset state, the operation of collection first;First communication terminal is triggered according to the first operation and is switched to second mode from first mode, the first mode is any one in noise reduction mode or non-noise reduction mode, and the second mode is another in noise reduction mode or non-noise reduction mode;Second mode audio signal is obtained according to second mode, additionally provide the device being adapted with method, only need the operation of collection first, the first communication terminal can be achieved according to the first operation between non-noise reduction mode and noise reduction mode to switch, to meet different demands of the different occasions to non-noise reduction mode or noise reduction mode.
Description
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method and an apparatus for mode switching.
Background
In recent years, noise reduction technology is receiving close attention from a wide range of users, and since most sound collection scenes need to eliminate noise (i.e., environmental sound), terminal devices with noise reduction technology become mainstream.
However, in many scenes, ambient environmental sounds are still needed, for example, ambient sounds of the ambient environment need to be collected to show the environment, for example, public places need to collect some public broadcasting sounds, and since the collection purpose of the places is ambient sounds, the terminal device with the noise reduction technology cannot be sufficient on the contrary.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for switching modes, in which a user only needs one-key operation to switch a first communication terminal from a first mode to a second mode.
A mode switching method is applied to a first communication terminal, and comprises the following steps:
detecting the working state of a first communication terminal;
when the working state of the first communication terminal is a preset state, acquiring a first operation;
triggering the first communication terminal to switch from a first mode to a second mode according to a first operation, wherein the first mode is any one of a noise reduction mode and a non-noise reduction mode, and the second mode is the other one of the noise reduction mode and the non-noise reduction mode;
and acquiring a second mode audio signal according to the second mode.
Preferably, the triggering, according to the first operation, the first communication terminal to switch from the first mode to the second mode specifically includes:
detecting a first operation;
when the first operation is a preset operation, sending a trigger signal according to the first operation;
and triggering the first communication terminal to switch from the first mode to the second mode according to the trigger signal.
Preferably, the first and second liquid crystal materials are,
when the first mode is the noise reduction mode and the second mode is the non-noise reduction mode, the triggering the first communication terminal to switch from the first mode to the second mode according to the first operation specifically includes:
triggering the first communication terminal to switch from a noise reduction mode to a non-noise reduction mode according to a first operation;
the non-noise reduction mode audio signal is obtained according to the non-noise reduction mode.
Preferably, the triggering of the first communication terminal to switch from the noise reduction mode to the non-noise reduction mode according to the first operation specifically includes:
detecting a first operation;
when the first operation is a preset operation, sending a first non-noise reduction trigger signal according to the first operation;
and triggering the first acquisition unit to close according to the first non-noise reduction trigger signal.
Preferably, the obtaining the non-noise reduction mode audio signal according to the non-noise reduction mode specifically includes:
and acquiring a second audio signal acquired by the second acquisition unit according to the non-noise reduction mode, and taking the second audio signal as the non-noise reduction mode audio signal.
Preferably, the triggering of the first communication terminal to switch from the noise reduction mode to the non-noise reduction mode according to the first operation specifically includes:
detecting a first operation;
when the first operation is a preset operation, sending a second non-noise reduction trigger signal according to the first operation;
and triggering the non-noise reduction processing unit to be started and the noise reduction processing unit to be closed according to the second non-noise reduction trigger signal.
Preferably, the obtaining the non-noise reduction mode audio signal according to the non-noise reduction mode specifically includes:
acquiring a first audio signal acquired by a first acquisition unit and/or a second audio signal acquired by a second acquisition unit according to a non-noise reduction mode;
sending the first audio signal and/or the second audio signal to a non-noise reduction processing unit for non-noise reduction processing;
and acquiring the non-noise reduction mode audio signal output by the non-noise reduction processing unit.
Preferably, the first and second liquid crystal materials are,
when the first mode is the non-noise reduction mode and the second mode is the noise reduction mode, the triggering the first communication terminal to switch from the first mode to the second mode according to the first operation specifically includes:
triggering the first communication terminal to switch from a non-noise reduction mode to a noise reduction mode according to a first operation;
a noise reduction mode audio signal is acquired according to the noise reduction mode.
Preferably, the triggering, according to the first operation, the first communication terminal to switch from the non-noise reduction mode to the noise reduction mode specifically includes:
detecting a first operation;
when the first operation is a preset operation, sending a first noise reduction trigger signal according to the trigger operation of the noise reduction conversion key displayed on the call interface;
and triggering the first acquisition unit or the noise reduction processing unit to be started according to the first noise reduction trigger signal.
Preferably, the acquiring the noise reduction mode audio signal according to the noise reduction mode specifically includes:
acquiring a first audio signal acquired by a first acquisition unit and a second audio signal acquired by a second acquisition unit according to a noise reduction mode;
sending the first audio signal and the second audio signal to a noise reduction processing unit for noise reduction processing;
and acquiring the noise reduction mode audio signal output by the noise reduction processing unit.
Preferably, the preset state is:
the method comprises the following steps that a first communication terminal and a second communication terminal establish a call connection state, the first communication terminal sends a call connection request to the second communication terminal, or the second communication terminal sends the call connection request to the first communication terminal.
Preferably, the first operation of acquiring specifically is:
the method comprises the steps of collecting triggering operation of a mode conversion key displayed on a call interface, wherein the call interface comprises an interface for ending the call key.
Preferably, the operating state of the first communication terminal after being in the preset state further includes:
collecting a second operation;
calling a background audio selection interface according to the second operation, wherein the background audio selection interface displays at least one background audio;
collecting the selected background audio as a noise audio;
and sending the noise audio to an audio playing unit for playing.
Preferably, the second operation of acquiring specifically is:
the method comprises the steps of collecting triggering operation of a selection button displayed on a call interface, wherein the call interface comprises an interface for ending a call button.
Preferably, the obtaining of the second mode audio signal according to the second mode further includes:
the second mode audio signal is stored or transmitted to the second communication terminal.
An apparatus for switching modes, provided in a first communication terminal, the apparatus comprising:
the state detection module is used for detecting the working state of the first communication terminal;
the operation acquisition module is used for acquiring a first operation when the working state of the first communication terminal is a preset state;
the first communication terminal comprises a mode switching module, a first processing module and a second processing module, wherein the mode switching module is used for triggering the first communication terminal to be switched from a first mode to a second mode according to a first operation, the first mode is any one of a noise reduction mode and a non-noise reduction mode, and the second mode is the other one of the noise reduction mode and the non-noise reduction mode;
and the signal acquisition module is used for acquiring the second mode audio signal according to the second mode.
Preferably, the mode switching module includes:
an operation detection unit for detecting a first operation;
the signal sending unit is used for sending a trigger signal according to the first operation when the first operation is a preset operation;
and the switching execution unit is used for triggering the first communication terminal to switch from the first mode to the second mode according to the trigger signal.
Preferably, the first and second liquid crystal materials are,
when the first mode is a noise reduction mode and the second mode is a non-noise reduction mode, the mode switching module specifically comprises:
the first mode switching module is used for triggering the first communication terminal to be switched from the noise reduction mode to the non-noise reduction mode according to a first operation;
the signal obtaining module specifically includes:
and the first signal acquisition module is used for acquiring the non-noise reduction mode audio signal according to the non-noise reduction mode.
Preferably, the first mode switching module specifically includes:
a first operation detection unit for detecting a first operation;
a first signal transmitting unit, configured to transmit a first non-noise reduction trigger signal according to a first operation when the first operation is a preset operation;
and the first switching execution unit is used for triggering the first acquisition unit to be closed according to the first non-noise reduction trigger signal.
Preferably, the first signal acquiring module specifically includes:
and the first acquisition unit is used for acquiring the second audio signal acquired by the second acquisition unit according to the non-noise reduction mode and taking the second audio signal as the non-noise reduction mode audio signal.
Preferably, the first mode switching module specifically includes:
a second operation detection unit for detecting the first operation;
a second signal transmitting unit, configured to transmit a second non-noise reduction trigger signal according to the first operation when the first operation is a preset operation;
and the second switching execution unit is used for triggering the non-noise reduction processing unit to be started and the noise reduction processing unit to be closed according to the second non-noise reduction trigger signal.
Preferably, the first signal acquiring module specifically includes:
the second acquisition unit is used for acquiring the first audio signal acquired by the first acquisition unit and/or the second audio signal acquired by the second acquisition unit according to a non-noise reduction mode;
the first sending unit is used for sending the first audio signal and/or the second audio signal to the non-noise reduction processing unit for non-noise reduction processing;
and the third acquisition unit is used for acquiring the non-noise reduction mode audio signal output by the non-noise reduction processing unit.
Preferably, the first and second liquid crystal materials are,
when the first mode is a non-noise reduction mode and the second mode is a noise reduction mode, the mode switching module specifically comprises:
the second mode switching module is used for triggering the first communication terminal to switch from the non-noise reduction mode to the noise reduction mode according to the first operation;
the signal acquisition module specifically comprises:
and the second signal acquisition module is used for acquiring the noise reduction mode audio signal according to the noise reduction mode.
Preferably, the second mode switching module specifically includes:
a third operation detection unit for detecting the first operation;
a third signal transmitting unit, configured to transmit a first noise reduction trigger signal according to the first operation when the first operation is a preset operation;
and the third switching execution unit is used for triggering the first acquisition unit or the noise reduction processing unit to be started according to the first noise reduction trigger signal.
Preferably, the second signal acquiring module specifically includes:
the fourth acquisition unit is used for acquiring the first audio signal acquired by the first acquisition unit and the second audio signal acquired by the second acquisition unit according to the noise reduction mode;
the second sending unit is used for sending the first audio signal and the second audio signal to the noise reduction processing unit for noise reduction processing;
and the fifth acquisition unit is used for acquiring the noise reduction mode audio signal output by the noise reduction processing unit.
Preferably, the operation acquisition module specifically comprises:
and the key operation acquisition module is used for acquiring the trigger operation of the mode conversion key displayed on the call interface, and the call interface comprises an interface for ending the call key.
Preferably, the apparatus further comprises:
the second operation acquisition unit is used for acquiring second operation;
the background audio selection unit is used for calling a background audio selection interface according to a second operation, and the background audio selection interface displays at least one background audio;
the background audio acquisition unit is used for acquiring the selected background audio as a noise audio;
and the background audio playing unit is used for sending the noise audio to the audio playing unit for playing.
Preferably, the second operation acquisition unit specifically is:
and the selection key acquisition unit is used for acquiring the trigger operation of the selection key displayed on the call interface, and the call interface comprises an interface for ending the call key.
Preferably, the apparatus further comprises:
a storage unit for storing the second mode audio signal;
and a communication unit for transmitting the second mode audio signal to the second communication terminal.
From the above, the present invention has the following advantages:
the method provided by the invention comprises the steps of detecting the working state of a first communication terminal; when the working state of the first communication terminal is a preset state, acquiring a first operation; triggering the first communication terminal to switch from a first mode to a second mode according to a first operation, wherein the first mode is any one of a noise reduction mode and a non-noise reduction mode, and the second mode is the other one of the noise reduction mode and the non-noise reduction mode; and acquiring a second mode audio signal according to the second mode, and switching the first communication terminal between the non-noise reduction mode and the noise reduction mode according to the first operation only by acquiring the first operation so as to meet different requirements of different occasions on the non-noise reduction mode or the noise reduction mode.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of an embodiment of a mode switching method of the present invention;
FIG. 2 is a flowchart of an embodiment of a mode switching method according to the present invention;
FIG. 3 is a flowchart illustrating an embodiment of a mode switching method according to the present invention;
FIG. 4 is a diagram illustrating a fourth exemplary embodiment of a mode switching device according to the present invention;
FIG. 5 is a schematic structural diagram of a mode switching device according to a fifth embodiment of the present invention;
fig. 6 is a schematic diagram of a sixth structure of a mode switching device according to an embodiment of the present invention.
Detailed Description
The invention discloses a mode switching method and a mode switching device, wherein a user can realize that a first communication terminal is switched from a first mode to a second mode only by executing a first operation, and the operation is simple and convenient.
The method provided by the invention comprises the following steps: detecting the working state of a first communication terminal; when the working state of the first communication terminal is a preset state, acquiring a first operation; triggering the first communication terminal to switch from a first mode to a second mode according to a first operation, wherein the first mode is any one of a noise reduction mode and a non-noise reduction mode, and the second mode is the other one of the noise reduction mode and the non-noise reduction mode; and acquiring a second mode audio signal according to the second mode.
The device provided by the invention comprises: the state detection module is used for detecting the working state of the first communication terminal; the operation acquisition module is used for acquiring a first operation when the working state of the first communication terminal is a preset state; the first communication terminal comprises a mode switching module, a first processing module and a second processing module, wherein the mode switching module is used for triggering the first communication terminal to be switched from a first mode to a second mode according to a first operation, the first mode is any one of a noise reduction mode and a non-noise reduction mode, and the second mode is the other one of the noise reduction mode and the non-noise reduction mode; and the signal acquisition module is used for acquiring the second mode audio signal according to the second mode.
The following detailed description of specific embodiments refers to the accompanying drawings.
Example one
FIG. 1 is a flowchart of an embodiment of a mode switching method according to the present invention, including:
step 101: the operating state of the first communication terminal is detected.
Step 102: and when the working state of the first communication terminal is a preset state, acquiring a first operation.
The preset state is a state of acquiring an audio signal, and may be any one of a state in which a call connection has been established between the first communication terminal and the second communication terminal, a state in which the first communication terminal sends a call connection request to the second communication terminal, a state in which the second communication terminal sends a call connection request to the first communication terminal, or a recording state.
Preferably, in the specific embodiment of the present invention, the preset state is a state in which the first communication terminal and the second communication terminal have established a call connection, a state in which the first communication terminal sends a call connection request to the second communication terminal, or a state in which the second communication terminal sends a call connection request to the first communication terminal.
The first operation may be triggered by the user according to actual needs, or may be triggered by the first communication terminal according to default settings, which is not specifically limited herein. The specific form of the first operation may be a preset trigger gesture, such as: drawing a horizontal line on a screen of the first communication terminal, and pairing hooks and other specific shapes; the virtual key operation displayed on the first communication terminal may be triggered.
Preferably, in the present invention, the first collecting operation specifically includes:
the method comprises the steps of collecting triggering operation of a mode conversion key displayed on a call interface, wherein the call interface comprises an interface for ending the call key.
The mode conversion key displayed on the call interface is a virtual key.
The mode conversion key includes: the non-noise reduction conversion key and the noise reduction conversion key have two modes:
the first mode is as follows: when the first communication terminal is in the noise reduction mode, displaying a non-noise reduction conversion key and not displaying a noise reduction conversion key; when the first communication terminal is in a non-noise reduction mode, displaying a noise reduction conversion key, not displaying the non-noise reduction conversion key, displaying the non-noise reduction conversion key and the noise reduction conversion key at the same position of a call interface, and only displaying one mode conversion key each time;
the second mode is as follows: the noise reduction mode conversion key and the non-noise reduction mode conversion key are simultaneously displayed at different positions of the call interface.
The call interface comprises one or more of a mute key, a keyboard display switching key, a hands-free key and the like besides the call ending key.
Step 103: and triggering the first communication terminal to switch from a first mode to a second mode according to the first operation, wherein the first mode is any one of a noise reduction mode and a non-noise reduction mode, and the second mode is the other one of the noise reduction mode and the non-noise reduction mode.
Preferably, triggering the first communication terminal to switch from the first mode to the second mode according to the first operation specifically includes:
detecting a first operation;
when the first operation is a preset operation, sending a trigger signal according to the first operation;
and triggering the first communication terminal to switch from the first mode to the second mode according to the trigger signal.
Preferably, in an embodiment of the present invention, the preset operation includes: and triggering operation of a non-noise reduction conversion key and a noise reduction conversion key displayed on the call interface.
When the first mode is a noise reduction mode, the second mode is a non-noise reduction mode, the first operation is the trigger operation of a non-noise reduction conversion key displayed on a communication interface, and the first communication terminal is triggered to be switched from the noise reduction mode to the non-noise reduction mode according to the first operation;
and when the first mode is a non-noise reduction mode, the second mode is a noise reduction mode, the first operation is the trigger operation of a noise reduction conversion key displayed on the communication interface, and the first communication terminal is triggered to be switched from the non-noise reduction mode to the noise reduction mode according to the first operation.
Step 104: and acquiring a second mode audio signal according to the second mode.
And when the second mode is the non-noise reduction mode, acquiring the non-noise reduction mode audio signal according to the non-noise reduction mode.
And when the second mode is the noise reduction mode, acquiring the audio signal of the noise reduction mode according to the noise reduction mode.
From the above, the present invention has the following advantages:
the method provided by the invention comprises the steps of detecting the working state of a first communication terminal; when the working state of the first communication terminal is a preset state, acquiring a first operation; triggering the first communication terminal to switch from a first mode to a second mode according to a first operation, wherein the first mode is any one of a noise reduction mode and a non-noise reduction mode, and the second mode is the other one of the noise reduction mode and the non-noise reduction mode; and acquiring a second mode audio signal according to the second mode, and switching the first communication terminal between the non-noise reduction mode and the noise reduction mode according to the first operation only by acquiring the first operation so as to meet different requirements of different occasions on the non-noise reduction mode or the noise reduction mode.
Example two
Fig. 2 is a flowchart of an embodiment of a mode switching method according to the present invention, in the second embodiment, a first communication terminal switches from a noise reduction mode to a non-noise reduction mode, which specifically includes:
step 201: the operating state of the first communication terminal is detected.
Step 202: and when the working state of the first communication terminal is a preset state, acquiring a first operation.
Preferably, in this embodiment, the preset state is a state in which the first communication terminal and the second communication terminal have established a call connection, a state in which the first communication terminal sends a call connection request to the second communication terminal, or a state in which the second communication terminal sends a call connection request to the first communication terminal.
The collecting the first operation is specifically collecting the trigger operation of the non-noise reduction conversion key displayed on the call interface. The triggering operation of the non-noise reduction conversion key displayed on the call interface is triggered by a user according to actual needs or according to default settings of the first communication terminal system.
Step 203: and triggering the first communication terminal to switch from the noise reduction mode to the non-noise reduction mode according to the first operation.
Specifically, in this embodiment, the first operation is a triggering operation of a non-noise reduction conversion key displayed on the call interface, and there are two specific implementation manners for triggering the first communication terminal to switch from the noise reduction mode to the non-noise reduction mode according to the first operation:
the first mode is as follows:
and detecting the triggering operation of the non-noise reduction conversion key displayed on the call interface.
When the triggering operation of the non-noise reduction conversion key displayed on the call interface is a preset operation, sending a first non-noise reduction triggering signal according to the triggering operation of the non-noise reduction conversion key displayed on the call interface;
and triggering the first acquisition unit to close according to the first non-noise reduction trigger signal.
The first communication terminal is provided with two acquisition units, wherein the first acquisition unit is positioned at the top of the terminal, is a noise reduction microphone and is used for receiving noise audio signals; the second acquisition unit is positioned at the bottom of the terminal, is a main microphone and is used for receiving the original sound audio signal. When the first acquisition unit is closed, the noise audio signal cannot be received, and the noise reduction processing cannot be performed on the original audio signal acquired by the second acquisition unit, namely, the mode is switched to a non-noise reduction mode.
The second mode is as follows:
detecting the triggering operation of a non-noise reduction conversion key displayed on a call interface;
the triggering operation of the non-noise reduction conversion key displayed on the call interface is preset operation, and a second non-noise reduction triggering signal is sent according to the triggering operation of the non-noise reduction conversion key displayed on the call interface;
and triggering the non-noise reduction processing unit to be started and the noise reduction processing unit to be closed according to the second non-noise reduction trigger signal.
The non-noise reduction processing unit is started, the noise reduction processing unit is closed, and noise reduction processing can be not carried out on the noise audio signal acquired from the first acquisition unit or the original audio signal acquired from the second acquisition unit; the noise audio signal collected from the first collecting unit and the original audio signal collected from the second collecting unit may be subjected to non-noise reduction processing such as simple superposition, that is, switched to a non-noise reduction mode.
Step 204: and acquiring a non-noise reduction mode signal according to the non-noise reduction mode.
There are two specific implementation manners for acquiring the non-noise reduction mode signal according to the non-noise reduction mode, which correspond to two implementation manners for triggering the first communication terminal to switch from the noise reduction mode to the non-noise reduction mode according to the first operation:
when the first communication terminal is triggered to switch from the noise reduction mode to the non-noise reduction mode according to the first operation and a first mode is adopted, the first mode of acquiring a non-noise reduction mode signal according to the non-noise reduction mode is adopted:
and acquiring a second audio signal acquired by the second acquisition unit according to the non-noise reduction mode, and taking the second audio signal as the non-noise reduction mode audio signal.
And only the original audio signal acquired by the second acquisition unit is acquired, the noise reduction processing is not carried out on the original audio signal, and the original audio signal is taken as a non-noise reduction mode audio signal.
When the first communication terminal is triggered to switch from the noise reduction mode to the non-noise reduction mode according to the first operation and adopt a second mode, adopting the second mode of acquiring a non-noise reduction mode signal according to the non-noise reduction mode:
acquiring a first audio signal acquired by a first acquisition unit and/or a second audio signal acquired by a second acquisition unit according to a non-noise reduction mode;
sending the first audio signal and/or the second audio signal to a non-noise reduction processing unit for non-noise reduction processing;
and acquiring the non-noise reduction mode audio signal output by the non-noise reduction processing unit.
The noise audio signal acquired by the first acquisition unit and/or the original audio signal acquired by the second acquisition unit are acquired, and the non-noise reduction processing unit performs non-noise reduction processing on the noise audio signal acquired by the first acquisition unit and/or the original audio signal acquired by the second acquisition unit and can output the noise audio signal as a non-noise reduction mode audio signal; or outputting the original audio signal as a non-noise reduction mode audio signal; and outputting the audio signal obtained by superposing the noise audio signal and the original audio signal as the non-noise reduction mode audio signal.
Step 205: the non-noise reduction mode audio signal is transmitted to the second communication terminal.
Preferably, the present invention may also store the non-noise mode audio signal.
Preferably, when the working state of the first communication terminal is the preset state, the method further comprises the steps of:
collecting a second operation;
calling a background audio selection interface according to the second operation, wherein the background audio selection interface displays at least one background audio;
collecting the selected background audio as a noise audio;
and sending the noise audio to an audio playing unit for playing.
The background audio selection interface displays at least one background audio according to a specific setting, and the background audio can be edited by a user as required. The noise audio is played through the audio playing unit on the first communication terminal, and the second acquisition unit can acquire the played noise audio and store or send the noise audio to the second communication terminal.
Preferably, the above steps may be performed before the first communication terminal switches from the noise reduction mode to the non-noise reduction mode, or may be performed after the first communication terminal switches from the noise reduction mode to the non-noise reduction mode, which is not particularly limited herein.
EXAMPLE III
Fig. 3 is a flowchart of an embodiment of a mode switching method according to the present invention, in the third embodiment, a first communication terminal switches from a non-noise reduction mode to a noise reduction mode, which specifically includes:
step 301: the operating state of the first communication terminal is detected.
Step 302: and when the working state of the first communication terminal is a preset state, acquiring a first operation.
Preferably, in this embodiment, the preset state is a state in which the first communication terminal and the second communication terminal have established a call connection, a state in which the first communication terminal sends a call connection request to the second communication terminal, or a state in which the second communication terminal sends a call connection request to the first communication terminal.
In this embodiment, the acquiring the first operation is specifically acquiring a trigger operation of a noise reduction conversion key displayed on the call interface. The triggering operation of the noise reduction conversion key displayed on the call interface is triggered by a user according to actual needs or according to default settings of the first communication terminal system.
Step 303: and triggering the first communication terminal to switch from the noise reduction mode to the non-noise reduction mode according to the first operation.
Specifically, in this embodiment, the triggering operation of the noise reduction conversion key displayed on the call interface as the first operation, and triggering the first communication terminal to switch from the noise reduction mode to the non-noise reduction mode according to the first operation specifically includes:
detecting the triggering operation of a noise reduction conversion key displayed on a call interface;
the triggering operation of the noise reduction conversion key displayed on the call interface is preset operation, and a first noise reduction triggering signal is sent according to the triggering operation of the noise reduction conversion key displayed on the call interface;
and triggering the first acquisition unit or the noise reduction processing unit to be started according to the first noise reduction trigger signal.
When the first communication terminal is in the non-noise reduction mode, two situations exist, namely the first acquisition unit is closed or the noise reduction processing unit is closed. When the first acquisition unit is closed, the first communication terminal is switched from a non-noise reduction mode to a noise reduction mode, and a first noise reduction trigger signal triggers the first acquisition unit to be opened; when the noise reduction processing unit is started, the first communication terminal is switched from a non-noise reduction mode to a noise reduction mode, and the first noise reduction trigger signal triggers the noise reduction processing unit to be started. And when the first acquisition unit is started and the noise reduction processing unit is started, switching from the non-noise reduction mode to the noise reduction mode.
Step 304: and acquiring a noise reduction mode audio signal according to the noise reduction mode.
Acquiring a first audio signal acquired by a first acquisition unit and a second audio signal acquired by a second acquisition unit according to a noise reduction mode;
sending the first audio signal and the second audio signal to a noise reduction processing unit for noise reduction processing;
and acquiring the noise reduction mode audio signal output by the noise reduction processing unit.
The first acquisition unit acquires noise audio signals, the second acquisition unit acquires original audio signals, and the noise audio signals and the original audio signals are sent to the noise reduction processing unit for noise reduction processing.
Step 305: the noise mode audio signal is transmitted to the second communication terminal.
Preferably, the invention can also store the noise reduction mode audio signal.
Preferably, when the working state of the first communication terminal is the preset state, the method further includes the steps of:
collecting a second operation;
calling a background audio selection interface according to the second operation, wherein the background audio selection interface displays at least one background audio;
collecting the selected background audio as a noise audio;
and sending the noise audio to an audio playing unit for playing.
The background audio selection interface displays at least one background audio according to a specific setting, and the background audio can be edited by a user as required. The noise audio is played through the audio playing unit on the first communication terminal, and the second acquisition unit can acquire the played noise audio and store or send the noise audio to the second communication terminal.
Preferably, the above steps may be performed before the first communication terminal switches from the non-noise reduction mode to the noise reduction mode, or may be performed after the first communication terminal switches from the non-noise reduction mode to the noise reduction mode, which is not specifically limited herein.
Example four
Fig. 4 is a schematic structural diagram of a fourth embodiment of a mode switching apparatus according to the present invention, which is an apparatus corresponding to the first embodiment of the method, and specifically includes:
a state detection module 401, configured to detect a working state of the first communication terminal.
An operation collecting module 402, configured to collect a first operation when the working state of the first communication terminal is a preset state.
Preferably, the preset state is a state in which the first communication terminal and the second communication terminal have established a call connection, a state in which the first communication terminal sends a call connection request to the second communication terminal, and a state in which the first communication terminal sends a call connection request to the second communication terminal or a recording state.
Preferably, the operation acquisition module 402 specifically includes:
and the key operation acquisition module is used for acquiring the trigger operation of the mode conversion key displayed on the call interface, and the call interface comprises an interface for ending the call key.
A mode switching module 403, configured to trigger the first communication terminal to switch from a first mode to a second mode according to a first operation, where the first mode is any one of a noise reduction mode and a non-noise reduction mode, and the second mode is another one of the noise reduction mode and the non-noise reduction mode.
Preferably, the mode switching module 403 specifically includes:
an operation detection unit 405 for detecting a first operation.
An information sending unit 406, configured to send a trigger signal according to the first operation when the first operation is a preset operation.
The switching execution unit 407 is configured to trigger the first communication terminal to switch from the first mode to the second mode according to the trigger signal.
A signal obtaining module 404, configured to obtain the second mode audio signal according to the second mode.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a fifth embodiment of a mode switching apparatus according to the present invention, where the fifth embodiment is an embodiment of an apparatus corresponding to the second embodiment, and specifically includes:
a state detection module 401, configured to detect a working state of the first communication terminal.
An operation collecting module 402, configured to collect a first operation when the working state of the first communication terminal is a preset state.
In this embodiment, the first operation is a trigger operation of a non-noise reduction conversion key displayed on the call interface.
The mode switching module 403 is specifically:
a first mode switching module 501, configured to trigger the first communication terminal to switch from the noise reduction mode to the non-noise reduction mode according to a first operation.
In this embodiment, the first mode switching module 501 is specifically configured to trigger the first communication terminal to switch from the noise reduction mode to the non-noise reduction mode according to a triggering operation of a non-noise reduction conversion key displayed on the call interface.
The signal obtaining module 404 is specifically:
the first signal obtaining module 502 is configured to obtain a non-noise reduction mode audio signal according to the non-noise reduction mode.
Preferably, the first mode switching module 501 specifically includes:
a first operation detection unit for detecting a first operation.
And the first signal sending unit is used for sending a first non-noise reduction trigger signal according to the first operation when the first operation is a preset operation.
And the first switching execution unit is used for triggering the first acquisition unit to be closed according to the first non-noise reduction trigger signal.
Then, the first signal obtaining module 502 specifically includes:
and the first acquisition unit is used for acquiring the second audio signal acquired by the second acquisition unit according to the non-noise reduction mode and taking the second audio signal as the non-noise reduction mode audio signal.
Preferably, the first mode switching module 501 specifically includes:
a second operation detection unit for detecting the first operation.
And the second signal sending unit is used for sending a second non-noise reduction trigger signal according to the first operation when the first operation is a preset operation.
And the second switching execution unit is used for triggering the non-noise reduction processing unit to be started and the noise reduction processing unit to be closed according to the second non-noise reduction trigger signal.
Then, the first signal obtaining module 502 specifically includes:
and the second acquisition unit is used for acquiring the first audio signal acquired by the first acquisition unit and/or the second audio signal acquired by the second acquisition unit according to the non-noise reduction mode.
And the first sending unit is used for sending the first audio signal and/or the second audio signal to the non-noise reduction processing unit for non-noise reduction processing.
And the third acquisition unit is used for acquiring the non-noise reduction mode audio signal output by the non-noise reduction processing unit.
Preferably, the apparatus further comprises:
the second operation acquisition unit is used for acquiring second operation;
the background audio selection unit is used for calling a background audio selection interface according to a second operation, and the background audio selection interface displays at least one background audio;
the background audio acquisition unit is used for acquiring the selected background audio as a noise audio;
and the background audio playing unit is used for sending the noise audio to the audio playing unit for playing.
Preferably, the apparatus further comprises:
and a storage unit for storing the second mode audio signal.
And a communication unit for transmitting the second mode audio signal to the second communication terminal.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a sixth embodiment of a mode switching apparatus according to the present invention, where the sixth embodiment is an embodiment of an apparatus corresponding to the third embodiment, and specifically includes:
a state detection module 401, configured to detect a working state of the first communication terminal.
An operation collecting module 402, configured to collect a first operation when the working state of the first communication terminal is a preset state.
Preferably, in this embodiment, the first operation is a trigger operation of a noise reduction conversion key displayed on the call interface.
The mode switching module 403 is specifically:
the second mode switching module 601 is configured to trigger the first communication terminal to switch from the non-noise reduction mode to the noise reduction mode according to the first operation.
Preferably, in this embodiment, the second mode switching module 601 is specifically configured to trigger the first communication terminal to switch from the non-noise reduction mode to the noise reduction mode according to a trigger operation of a noise reduction conversion key displayed on the call interface.
The signal obtaining module 404 is specifically:
a second signal obtaining module 602, configured to obtain the noise reduction mode audio signal according to the noise reduction mode.
Preferably, the second mode switching module 601 specifically includes:
a third operation detection unit for detecting the first operation.
And a third signal transmitting unit for transmitting the first noise reduction trigger signal according to the first operation when the first operation is a preset operation.
And the third switching execution unit is used for triggering the first acquisition unit or the noise reduction processing unit to be started according to the first noise reduction trigger signal.
The second signal obtaining module 602 specifically includes:
and the fourth acquisition unit is used for acquiring the first audio signal acquired by the first acquisition unit and the second audio signal acquired by the second acquisition unit according to the noise reduction mode.
And the second sending unit is used for sending the first audio signal and the second audio signal to the noise reduction processing unit for noise reduction processing.
And the fifth acquisition unit is used for acquiring the noise reduction mode audio signal output by the noise reduction processing unit.
Preferably, the apparatus further comprises:
and the second operation acquisition unit is used for acquiring a second operation.
And the background audio selection unit is used for calling a background audio selection interface according to the second operation, and the background audio selection interface displays at least one background audio.
And the background audio acquisition unit is used for acquiring the selected background audio as the noise audio.
And the background audio playing unit is used for sending the noise audio to the audio playing unit for playing.
Preferably, the apparatus further comprises:
and a storage unit for storing the second mode audio signal.
And a communication unit for transmitting the second mode audio signal to the second communication terminal.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (12)
1. A method of mode switching, applied to a first communication terminal, the method comprising:
detecting the working state of a first communication terminal;
when the working state of the first communication terminal is a preset state, acquiring first operation, wherein the preset state is a state that the first communication terminal and the second communication terminal establish call connection, a state that the first communication terminal sends a call connection request to the second communication terminal or a state that the second communication terminal sends the call connection request to the first communication terminal;
triggering the first communication terminal to switch from the noise reduction mode to the non-noise reduction mode according to the first operation, and acquiring the non-noise reduction mode audio signal according to the non-noise reduction mode comprises the following steps:
detecting a first operation, when the first operation is a preset operation, sending a first non-noise reduction trigger signal according to the first operation, and triggering a first acquisition unit to close according to the first non-noise reduction trigger signal, wherein the first acquisition unit is a noise reduction microphone and is used for receiving a noise audio signal; acquiring a non-noise reduction mode audio signal according to the non-noise reduction mode;
or,
the method comprises the steps of detecting a first operation, when the first operation is a preset operation, sending a second non-noise reduction trigger signal according to the first operation, triggering a non-noise reduction processing unit to be started according to the second non-noise reduction trigger signal, closing a noise reduction processing unit, obtaining a first audio signal collected by a first collecting unit and a second audio signal collected by the second collecting unit according to a non-noise reduction mode, sending the first audio signal and the second audio signal to the non-noise reduction processing unit to be subjected to non-noise reduction processing, and obtaining a non-noise reduction mode audio signal output by the non-noise reduction processing unit, wherein the first collecting unit is a noise reduction microphone and is used for receiving a noise audio signal.
2. The method according to claim 1, wherein when the first acquisition unit is triggered to turn off according to the first non-noise reduction trigger signal, the acquiring the non-noise reduction mode audio signal according to the non-noise reduction mode specifically includes:
and acquiring a second audio signal acquired by a second acquisition unit according to the non-noise reduction mode, and taking the second audio signal as the non-noise reduction mode audio signal, wherein the second acquisition unit is a main microphone and is used for receiving the original audio signal.
3. The method according to claim 1, wherein the acquiring a first operation is specifically:
the method comprises the steps of collecting triggering operation of a mode conversion key displayed on a call interface, wherein the call interface comprises an interface for ending the call key.
4. The method according to any one of claims 1 to 3, wherein the operating state of the first communication terminal after being the preset state further comprises:
collecting a second operation;
calling a background audio selection interface according to the second operation, wherein the background audio selection interface displays at least one background audio;
collecting the selected background audio as a noise audio;
and sending the noise audio to an audio playing unit for playing.
5. The method according to claim 4, wherein the second operation of acquiring is specifically:
the method comprises the steps of collecting triggering operation of a selection button displayed on a call interface, wherein the call interface comprises an interface for ending a call button.
6. The method of claim 5, wherein obtaining the non-noise reduction mode audio signal according to the non-noise reduction mode further comprises:
the non-noise reduction mode audio signal is stored or transmitted to the second communication terminal.
7. An apparatus for switching modes, provided in a first communication terminal, the apparatus comprising:
the state detection module is used for detecting the working state of the first communication terminal;
the operation acquisition module is used for acquiring a first operation when the working state of the first communication terminal is a preset state, wherein the preset state is a state that the first communication terminal and the second communication terminal establish call connection, a state that the first communication terminal sends a call connection request to the second communication terminal or a state that the second communication terminal sends the call connection request to the first communication terminal;
the mode switching module is used for triggering the first communication terminal to switch from the noise reduction mode to the non-noise reduction mode according to the first operation, and acquiring the audio signal of the non-noise reduction mode according to the non-noise reduction mode, and comprises:
a first operation detection unit for detecting a first operation; a first signal transmitting unit, configured to transmit a first non-noise reduction trigger signal according to a first operation when the first operation is a preset operation; the first switching execution unit is used for triggering the first acquisition unit to be closed according to a first non-noise reduction trigger signal, and the first acquisition unit is a noise reduction microphone and is used for receiving a noise audio signal; the first signal acquisition unit is used for acquiring a non-noise reduction mode audio signal according to the non-noise reduction mode;
or,
a second operation detection unit for detecting the first operation; a second signal transmitting unit, configured to transmit a second non-noise reduction trigger signal according to the first operation when the first operation is a preset operation; the second switching execution unit is used for triggering the non-noise reduction processing unit to be started and the noise reduction processing unit to be closed according to the second non-noise reduction trigger signal; the second signal acquisition unit is used for acquiring the first audio signal acquired by the first acquisition unit and the second audio signal acquired by the second acquisition unit according to a non-noise reduction mode; the second signal sending unit is used for sending the first audio signal and the second audio signal to the non-noise reduction processing unit for non-noise reduction processing; the first acquisition unit is a noise reduction microphone and is used for receiving noise audio signals.
8. The apparatus according to claim 7, wherein when the first acquisition unit is triggered to turn off according to the first non-noise reduction trigger signal, the first signal acquisition unit specifically is:
the first acquisition unit is used for acquiring a second audio signal acquired by the second acquisition unit according to a non-noise reduction mode and taking the second audio signal as the audio signal of the non-noise reduction mode, and the second acquisition unit is a main microphone and is used for receiving the original audio signal.
9. The device according to claim 8, wherein the operation acquisition module is specifically:
and the key operation acquisition module is used for acquiring the trigger operation of the mode conversion key displayed on the call interface, and the call interface comprises an interface for ending the call key.
10. The apparatus of any one of claims 7-9, further comprising:
the second operation acquisition unit is used for acquiring second operation;
the background audio selection unit is used for calling a background audio selection interface according to a second operation, and the background audio selection interface displays at least one background audio;
the background audio acquisition unit is used for acquiring the selected background audio as a noise audio;
and the background audio playing unit is used for sending the noise audio to the audio playing unit for playing.
11. The device according to claim 10, wherein the second operation acquisition unit is specifically:
and the selection key acquisition unit is used for acquiring the trigger operation of the selection key displayed on the call interface, and the call interface comprises an interface for ending the call key.
12. The apparatus of claim 11, further comprising:
a storage unit for storing the second mode audio signal;
and a communication unit for transmitting the second mode audio signal to the second communication terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210525421.7A CN103870166B (en) | 2012-12-07 | 2012-12-07 | A kind of method and apparatus of pattern switching |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210525421.7A CN103870166B (en) | 2012-12-07 | 2012-12-07 | A kind of method and apparatus of pattern switching |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103870166A CN103870166A (en) | 2014-06-18 |
CN103870166B true CN103870166B (en) | 2018-02-27 |
Family
ID=50908754
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210525421.7A Active CN103870166B (en) | 2012-12-07 | 2012-12-07 | A kind of method and apparatus of pattern switching |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103870166B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126183B (en) * | 2016-06-30 | 2019-07-26 | 联想(北京)有限公司 | Electronic equipment and audio-frequency processing method |
CN106211008A (en) * | 2016-08-28 | 2016-12-07 | 吴浩 | A kind of multi-functional deafener that amplifies |
CN106506803B (en) * | 2016-09-28 | 2019-02-15 | 广东小天才科技有限公司 | Control method of mobile equipment and mobile equipment |
CN106488045A (en) * | 2016-12-28 | 2017-03-08 | 广东欧珀移动通信有限公司 | Control method and control device |
CN110265053B (en) * | 2019-06-29 | 2022-04-19 | 联想(北京)有限公司 | Signal noise reduction control method and device and electronic equipment |
CN112015505A (en) * | 2020-08-13 | 2020-12-01 | 北京字节跳动网络技术有限公司 | Mode switching method and device and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1750115A (en) * | 2004-09-13 | 2006-03-22 | 日本电气株式会社 | Conversation sound generating apparatus and method |
CN201662988U (en) * | 2009-12-29 | 2010-12-01 | 深圳市羚先科技开发有限公司 | Recording equipment with noise removal function |
CN101951422A (en) * | 2010-09-28 | 2011-01-19 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal noise processing method and mobile terminal |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101252609A (en) * | 2008-03-27 | 2008-08-27 | 宇龙计算机通信科技(深圳)有限公司 | Audio collecting device, method and mobile terminal |
CN101437094A (en) * | 2008-12-04 | 2009-05-20 | 中兴通讯股份有限公司 | Method and apparatus for suppression of stereo background noise of mobile terminal |
CN102088521A (en) * | 2009-12-07 | 2011-06-08 | 宏达国际电子股份有限公司 | Communication quality improvement method and electronic device based on environmental noise sensing |
CN102395080A (en) * | 2011-09-09 | 2012-03-28 | 深圳桑菲消费通信有限公司 | Portable electronic device and voice playing method and device thereof |
CN102611965A (en) * | 2012-03-01 | 2012-07-25 | 广东步步高电子工业有限公司 | A method to solve the problem that the loudness sent by the dual-microphone noise-canceling mobile phone is affected by the distance between the mobile phone and the mouth |
-
2012
- 2012-12-07 CN CN201210525421.7A patent/CN103870166B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1750115A (en) * | 2004-09-13 | 2006-03-22 | 日本电气株式会社 | Conversation sound generating apparatus and method |
CN201662988U (en) * | 2009-12-29 | 2010-12-01 | 深圳市羚先科技开发有限公司 | Recording equipment with noise removal function |
CN101951422A (en) * | 2010-09-28 | 2011-01-19 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal noise processing method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103870166A (en) | 2014-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103870166B (en) | A kind of method and apparatus of pattern switching | |
CN109597556B (en) | Screen capture method and terminal | |
CN104571498B (en) | A kind of application program launching method | |
WO2019201271A1 (en) | Call processing method and mobile terminal | |
CN1925652B (en) | Device and method for performing multitasking in portable terminal | |
CN109714485B (en) | A display method and mobile terminal | |
WO2014086218A1 (en) | Interface adjustment method, device and terminal | |
CN107743178B (en) | Message playing method and mobile terminal | |
CN109889757B (en) | A video call method and terminal device | |
CN108391007A (en) | A kind of the volume setting method and mobile terminal of application program | |
CN109194899A (en) | A kind of method and terminal of audio-visual synchronization | |
CN109994111A (en) | An interaction method, device and mobile terminal | |
CN108551534A (en) | Method and device for multi-terminal voice call | |
CN104636110A (en) | Method and device for controlling volume | |
CN108881617A (en) | A display switching method and mobile terminal | |
CN109739429A (en) | Screen switching processing method and mobile terminal device | |
US20110050578A1 (en) | Electronic device with switchable input modes and method thereof | |
CN105554266A (en) | Message reminding processing method, device and equipment | |
CN110995921A (en) | Call processing method, electronic device and computer readable storage medium | |
WO2015078349A1 (en) | Microphone sound-reception status switching method and apparatus | |
CN111246104A (en) | Video recording method and electronic device | |
CN108319440B (en) | Audio output method and mobile terminal | |
CN110545351A (en) | An incoming call processing method and electronic device | |
CN111556196B (en) | Call method, device and electronic device | |
CN109348035A (en) | A kind of recognition methods of telephone number and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |