WO2019033987A1 - Prompting method and apparatus, storage medium, and terminal - Google Patents
Prompting method and apparatus, storage medium, and terminal Download PDFInfo
- Publication number
- WO2019033987A1 WO2019033987A1 PCT/CN2018/099662 CN2018099662W WO2019033987A1 WO 2019033987 A1 WO2019033987 A1 WO 2019033987A1 CN 2018099662 W CN2018099662 W CN 2018099662W WO 2019033987 A1 WO2019033987 A1 WO 2019033987A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sound
- preset
- user
- analysis result
- call
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Definitions
- the embodiments of the present application relate to the field of terminal technologies, for example, to a prompting method, device, storage medium, and terminal.
- call or recording functions such as mobile phones, tablets, music players, and voice recorders.
- the terminal implements a call or recording function through an integrated microphone (microphone, mic), also known as a microphone.
- a microphone is an energy conversion device that converts a sound signal into an electrical signal. When the vibration of the sound is transmitted to the diaphragm of the microphone, the magnet inside changes a current signal, and the current signal is processed by the sound processing circuit. Transfer to the opposite end of the call or store it for call or recording.
- the embodiment of the present application provides a prompting method, device, storage medium, and terminal, which can automatically prompt the user to adjust the call or recording state during a call or recording process.
- the embodiment of the present application provides a prompting method, including:
- the user is prompted to adjust the call state or the recording state.
- the embodiment of the present application provides a prompting apparatus, including:
- the audio signal collecting module is configured to control the microphone to collect the audio signal when the preset call event is detected or the preset recording event is triggered;
- An acoustic sound analysis module configured to analyze an acoustic sound level corresponding to the audio signal
- the prompt module is set to prompt the user to adjust the call state or the recording state according to the analysis result.
- the embodiment of the present application provides a computer readable storage medium, where the computer program stores a computer program, and when the program is executed by the processor, the prompting method as described in the embodiment of the present application is implemented.
- the embodiment of the present application provides a terminal, including a microphone, a memory, a processor, and a computer program stored in the memory and executable by the processor, and the processor executes the computer program to implement the embodiment of the present application. Prompt method.
- the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
- the computer is caused to perform any of the above methods.
- the prompting solution provided in the embodiment of the present application analyzes the sound and sound level corresponding to the audio signal collected by the microphone during the call or recording process, and prompts the user to adjust the call state or the recording state according to the analysis result.
- the user can promptly and accurately prompt the user to adjust the call state or the recording state, and can maintain a good call effect or recording effect.
- FIG. 1 is a schematic flow chart of a prompting method provided by an embodiment.
- FIG. 2 is a schematic structural diagram of an audio processing hardware system of a smart phone according to an embodiment.
- FIG. 3 is a block diagram of an audio system architecture provided by an embodiment.
- FIG. 4 is a schematic flow chart of another prompting method provided by an embodiment.
- FIG. 5 is a schematic flow chart of another prompting method provided by an embodiment.
- FIG. 6 is a schematic flow chart of another prompting method provided by an embodiment.
- FIG. 7 is a structural block diagram of a prompting apparatus according to an embodiment.
- FIG. 8 is a schematic structural diagram of a terminal according to an embodiment.
- FIG. 1 is a schematic flowchart diagram of a schematic diagram of a prompting method according to an embodiment of the present disclosure.
- the method may be performed by a prompting apparatus, where the apparatus may be implemented by software and/or hardware, and generally Integrated in the terminal.
- the method includes:
- Step 110 When detecting a preset call event or a preset recording event is triggered, the control microphone collects an audio signal.
- the terminal in the embodiment of the present application may include a device configured with a microphone, such as a mobile phone, a tablet computer, a music player, and a voice recorder.
- the microphone can be either built-in or external.
- a microphone (referred to as a microphone, also known as a microphone or a microphone) is an energy conversion device that converts a sound signal into an electrical signal. When the vibration of the sound is transmitted to the diaphragm of the microphone, the magnet inside changes a current signal. The current signal is processed by the sound processing circuit and transmitted to the opposite end of the call or stored, thereby implementing a call or recording.
- the embodiment of the present application does not limit the type, the number, and the location of the microphone. For example, for a mobile phone, it may be at least one electret microphone disposed on the lower side of the mobile phone.
- the preset call event may be a call event having the prompt function in the embodiment of the present application
- the preset recording event may be a recording event having the prompt function in the embodiment of the present application.
- a call event when a call event is detected when the prompt function is in an open state, it may be determined that a preset call event is detected or a recording event is detected when the prompt function is turned on, and it may be determined that the preset recording event is detected.
- the call event is, for example, a phone call or a voice chat call
- the recording event is, for example, to start recording.
- a smart phone is taken as an example to briefly introduce the audio processing hardware system and system architecture.
- the audio processing circuit is generally in the main control board.
- the location of the audio processing circuit may be different due to the different designs of different mobile phones.
- the audio processing circuit of the smartphone includes an audio signal processing circuit, a baseband signal processing circuit, an audio power amplifier, a headphone signal amplifier, an earpiece, a speaker, a microphone, and a headphone interface. Among them, the audio signal processing circuit is the core of the entire audio processing circuit.
- the audio processing circuit is composed of a receiving audio circuit, a sending circuit, a headphone talking circuit, and the like, including analog/digital (A/D) conversion, digital/analog (A/D) conversion, digital voice signal processing, and analog audio amplification of analog audio. Circuits, etc.
- the local microphone is first called to convert the sound acoustic signal of the sound into an analog audio signal, amplified by an analog audio amplifier circuit, and subjected to A/D conversion by an internal multimode converter to obtain a digital audio signal;
- the digital audio signal is sent to the baseband processor for speech encoding, channel encoding, etc.; a series of processing such as encryption and interleaving is performed again; finally, the digital narrowband modulation module sent to the baseband processor is modulated to generate the transmitted baseband signal.
- the RF circuit is modulated into a transmitting intermediate frequency and sent to the other party.
- the mechanical sound wave signal of the sound is first converted into an analog audio signal by a microphone, amplified by an analog audio amplifying circuit, and digital audio signal is obtained after A/D conversion, according to a preset audio format. Coding and storage.
- the audio signal collected by the microphone in the embodiment of the present application may be the above-mentioned analog audio signal converted from the mechanical sound wave signal, or may be an amplified analog audio signal, or may be an A/D converted digital audio signal.
- the embodiment of the present application is not limited.
- the audio system architecture provided in this embodiment includes a user space, a kernel space, and a hardware system.
- the user space includes an application layer, an application framework layer, and a hardware abstraction layer (HAL), and the kernel space includes a driver layer.
- the application layer is the top layer of the audio system. You can write an application to perform corresponding logical operations, such as detecting an application that triggers a recording event, presetting standard audio conditions, and issuing audio playback commands.
- the application framework layer includes an audio control interface and a standardized plug-in module to provide an audio playback form control interface, as well as a speaker volume control interface.
- the application framework layer provides two classes, AudioTrack and AudioRecorder, as well as the AudioManager, AudioService, and AudioSystem classes.
- a system runtime layer (Libraries) is also included between the application framework layer and the hardware abstraction layer.
- libraries Many classes in the framework layer are actually just “mediations” for applications that use Android library files.
- upper-level applications are generally written in Java, they require the most direct support of the Java interface, which is one of the meanings of the framework layer.
- intermediary they don't really implement specific functions, or only implement some of them, but focus on the library. For example, the above AudioTrack, AudioRecorder, MediaPlayer and MediaRecorder can find the corresponding class in the library. This part of the code is placed in the frameworks/av/media/libmedia of the project, mostly written in C++.
- the hardware abstraction layer of audio is mainly divided into two parts, namely AudioFlinger and AudioPolicyService. In fact, the latter is not a real device, just a virtual device to allow manufacturers to easily customize their own strategies. Depending on the product, audio devices vary widely. In the audio architecture of Android Android, these problems are solved by the audio.primary of the HAL layer, etc., without the need to modify the upper layer implementation on a large scale.
- the hardware abstraction layer is the transition from the application framework layer to the driver layer to achieve compatibility with the underlying hardware.
- the driver layer controls the audio codec according to the characteristics of the audio codec to ensure that the audio codec can work normally, and the audio data obtained by the audio codec is provided to the system layer. In the embodiment of the present application, when the audio signal is collected, the main class involved is the above-mentioned AudioRecorder class.
- Step 120 Analyze the acoustic sound level corresponding to the audio signal.
- the three main properties of the sound are volume, pitch, and tone.
- the volume is also called loudness or sound intensity, which refers to the subjective feeling of the human ear on the strength of the sound heard.
- the objective evaluation scale is the amplitude of the sound. Amplitude refers to the maximum distance from the original position during the vibration of the object.
- the loudness of the sound heard by the human ear is related to the amplitude of the sound source. Generally, the louder the louder the stronger the amplitude.
- the sound source as the user's mouth as an example
- the user can hear the sound of his own voice during the call, but cannot know whether the volume of the current speech is loud or small for the person at the opposite end of the call, if the sound is louder than Small, the other party may not be able to hear, if the sound is loud, it may make the other party feel deafening; the user can also hear the sound of his own voice when recording, but can not know the size of his own voice recorded by the terminal, if the sound is small It may not be audible when playing a recording. If the sound is loud, the listener may feel uncomfortable while playing the recording.
- the sound level corresponding to the audio signal is analyzed to know whether the sound level corresponding to the audio signal collected by the terminal is appropriate.
- the preset time period may be an analysis unit, and the sound sound level in each preset time period may be analyzed, and the sound sound level corresponding to the current preset time period may be recorded as the current sound sound level.
- the preset time period may be a preset time length that is timed forward from the current time. In order to ensure real-time performance, the preset time length corresponding to the preset time period may be set shorter, for example, within 0.5 seconds of the current time as the starting point.
- Step 130 prompt the user to adjust the call state or the recording state according to the analysis result.
- factors related to the call state or the recording state can generally be determined by the user.
- factors related to the state of the call or the state of the recording may include the size of the voice of the user's own voice or the intensity of the voice of other sound sources that the user wishes to record, and may also include a sound source (such as a user's mouth or other sound source) and a microphone.
- the relative distance may also include the orientation of the microphone and the like.
- the target sound level information of the audio signal that satisfies the requirement may be determined by the system by default or according to actual conditions, and the target sound level of the audio signal that satisfies the requirement may be determined by the user in advance according to the demand.
- the current sound level is compared with the target sound level, and then the user is prompted to make corresponding adjustments. For example, during the recording process, it is judged that the current sound level is smaller than the target sound level, and the user may be prompted to increase the intensity of the voice, or to bring the microphone to the mouth and the like.
- the user when the user is prompted according to the analysis result, the user may be reminded in the form of a text, a voice, or an indicator.
- the description text of the adjustment mode may be displayed on the display screen; the prompt voice of the adjustment mode may be played, and the prompt voice may be filtered out in the audio signal collected by the microphone; different adjustment modes may be represented by different colors of the indicator light, Or different flashing frequencies with different indicators to indicate different adjustment methods, and so on.
- the prompting method provided by the embodiment of the present invention analyzes the sound and sound degree corresponding to the audio signal collected by the microphone during the call or recording process, and prompts the user to adjust the call state or the recording state according to the analysis result.
- the user can promptly and accurately prompt the user to adjust the call state or the recording state, and can maintain a good call effect or recording effect.
- the prompting the user to adjust the call state or the recording state according to the analysis result comprises: prompting the user to adjust the relative distance between the microphone and the sound source and/or the sounding state of the sound source according to the analysis result.
- the analyzing the acoustic sound level corresponding to the audio signal may include: analyzing amplitude information of the audio signal to obtain an acoustic sound analysis result.
- the objective evaluation scale of the acoustic sound is the amplitude of the sound, and the audio signal is converted from the mechanical acoustic signal of the sound, so the amplitude information can be used to analyze the acoustic sound of the audio signal. The larger the amplitude, the louder the sound, that is, the higher the sound energy value.
- the preset time period may be an analysis unit, and the amplitude of the audio signal is collected at a preset sampling frequency within a preset time period to obtain a plurality of amplitude values, and the average value of the amplitude in the preset time period is used as the current sound level. Optimization here converts the analysis of acoustic sound into analysis of amplitude information, which simplifies the analysis process and speeds up the analysis.
- analyzing the amplitude information of the audio signal to obtain an acoustic sound analysis result further comprising: extracting amplitude information of the corresponding human voice in the audio signal; and performing amplitude information of the corresponding human voice Analyze to obtain the results of the acoustic sound analysis.
- the vocal is the subject in the audio signal, and other ambient sounds can be regarded as interference sounds; in addition, during recording, the user can select the vocal recording mode, in which case the vocal is also an audio signal. In the main body, other environmental sounds can be regarded as interference sounds.
- the sound source that is, the user's mouth
- the sound source after extracting the amplitude information corresponding to the human voice in the audio signal
- prompting the user to adjust the relative distance between the microphone and the sound source according to the analysis result may include: prompting the user when the current sound intensity analysis result includes the current sound sound level being less than the first preset loudness threshold.
- the relative distance between the microphone and the sound source is reduced; the method further includes: prompting the user to compare the relative distance between the microphone and the sound source when the current sound intensity analysis result includes the current sound sound level being greater than the second preset loudness threshold turn up.
- the first preset loudness threshold and the second preset loudness threshold may be the same or different, and the value may be a preset fixed value or a dynamically adjusted change value according to actual conditions.
- the current acoustic sound when the current acoustic sound is less than the first preset loudness threshold, it may be stated that the current sound level in the audio signal is small, the opposite end of the call may not be able to hear the words spoken by the local user, or the recorded file may be caused during subsequent playback. Others cannot hear the sound of the recording at this time. Therefore, the user can be prompted to reduce the relative distance between the microphone and the sound source to improve the sound level in the audio signal collected next.
- the prompt when the current sound level is greater than or equal to the first preset loudness threshold, the prompt may not be performed. The advantage of this setting is that it can be applied to an application scenario where the upper limit of the acoustic sound is not required, and the prompting efficiency is ensured.
- the current sound level in the audio signal may be large, and the call to the opposite end may cause the other party to feel deafening, or the recorded file may cause subsequent playback.
- Excessive sound affects listening, so the user can be prompted to increase the relative distance between the microphone and the sound source to reduce the sound level in the audio signal collected next.
- no prompt may be made. The advantage of this setting is that it can be applied to an application scenario where the lower limit of the acoustic sound is not required, and the prompting efficiency is ensured.
- the above two prompt modes may be combined, that is, when the current sound level is small and when the sound is large, the reminder is performed, and the current sound level is greater than or equal to the first preset loudness threshold and less than or equal to the second preset.
- the loudness threshold it indicates that the sound level in the audio signal is appropriate, and no prompt is given.
- prompting the user to adjust the sounding condition of the sound source according to the analysis result may include: prompting the user to sound source when the sound sound intensity analysis result includes the current sound sound level being less than the third preset loudness threshold.
- the vocal intensity is increased; the method further includes: prompting the user to reduce the vocal intensity of the sound source when the current sound intensity analysis result includes the current sound loudness being greater than the fourth preset loudness threshold.
- the third preset loudness threshold and the fourth preset loudness threshold may be the same or different.
- the third preset loudness threshold and the first preset loudness threshold may be the same or different.
- the fourth preset loudness threshold and the second preset loudness threshold may be the same or different.
- the value of the third preset loudness threshold and the fourth preset loudness threshold may be a preset fixed value, or may be a dynamically adjusted change value according to actual conditions.
- the current sound level is less than the third preset loudness threshold
- the opposite end of the call may not be able to hear the words spoken by the local user, or the recorded file may be caused during subsequent playback. Others cannot hear the sound of the recording at this time. Therefore, the user can be prompted to reduce the relative distance between the microphone and the sound source to improve the sound level in the audio signal collected next.
- the current sound level is greater than or equal to the third preset loudness threshold, no prompt may be made.
- the advantage of this setting is that it can be applied to an application scenario where the upper limit of the acoustic sound is not required, and the prompting efficiency is ensured.
- the current sound level when the current sound level is greater than the fourth preset loudness threshold, it may indicate that the current sound level in the audio signal is large, and the call to the opposite end may cause the other party to feel deafening, or the recording file may cause subsequent playback. Excessive sound affects listening, so the user can be prompted to increase the relative distance between the microphone and the sound source to reduce the sound level in the audio signal collected next.
- the current acoustic level is less than or equal to the fourth preset loudness threshold, no prompt may be made.
- the advantage of this setting is that it can be applied to an application scenario where the lower limit of the acoustic sound is not required, and the prompting efficiency is ensured.
- the above two adjustment modes may be combined, that is, when the current sound level is small and when the sound is large, the reminder is performed, and the current sound level is greater than or equal to the third preset loudness threshold and less than or equal to the fourth preset.
- the loudness threshold When the loudness threshold is used, it indicates that the sound level in the audio signal is appropriate, and no prompt is given.
- the advantage of this setting is that it can be applied to the application scenarios that require the upper and lower limits of the acoustic sound level to ensure the accuracy of the prompts.
- the user may also be prompted to adjust the relative distance between the microphone and the sound source and the sounding of the sound source.
- the current acoustic sound analysis result includes the current acoustic soundness being less than the fifth preset loudness threshold, prompting the user to reduce the relative distance between the microphone and the sound source and increase the sound intensity of the sound source; and/or And when the current acoustic sound analysis result includes the current sound loudness greater than the sixth preset loudness threshold, prompting the user to increase the relative distance between the microphone and the sound source and to reduce the sound intensity of the sound source.
- the user may be more specifically prompted based on the difference (eg, the difference) between the current acoustic level and the corresponding preset loudness threshold.
- different difference values correspond to different adjustment values, and the correspondence relationship may be determined in advance according to a simulation or the like.
- the difference between the current acoustic sound level and the first preset loudness threshold is a
- the corresponding relative distance adjustment value is 5 cm, prompting the user to reduce the relative distance between the microphone and the sound source by 5 cm.
- the advantage of this setting is that the prompts to the user are more clear, and the user can quickly adjust the call state or the recording state to the ideal state.
- the prompting the user to adjust the relative distance between the microphone and the sound source according to the analysis result may further include: acquiring an attribute of the call peer contact Information mode and/or profile mode information of the call end; determining a corresponding first preset loudness threshold and/or second preset loudness threshold according to the attribute information and/or the scene mode information.
- the advantage of this setting is that the first preset loudness threshold and/or the second preset loudness threshold can be determined more accurately according to actual conditions, thereby improving the call effect.
- the attribute information may include age (or age group), or include whether it is an elderly person or a child or the like.
- obtaining the attribute information of the call peer contact may include: obtaining the note information of the call peer contact in the address book, extracting the attribute information from the note information, and may also include contacting the call end.
- the human voice performs speech recognition, and the corresponding attribute information is determined according to the recognition result.
- the other party is an elderly person, the hearing may be poor, and the required sound level should be larger, so the first preset loudness threshold and/or the second preset loudness threshold may be set higher.
- the scene mode information of the call end may include mode information such as a silent mode, a conference mode, a normal mode, and an outdoor mode.
- mode information such as a silent mode, a conference mode, a normal mode, and an outdoor mode.
- Users usually set the corresponding scene according to their environment. For example, in a relatively quiet environment such as class or meeting, you may choose silent mode or conference mode. In a noisy environment outside, you may choose outdoor mode.
- the corresponding relationship between the different preset modes and the first preset loudness threshold and/or the second preset loudness threshold may be preset, and in the actual call, the acquired context mode information may be determined.
- the acquiring the scenario mode information of the call peer may include: sending a scenario mode information acquisition request to the call peer end, and receiving the scenario mode information that the call peer end requests the feedback according to the scenario mode information acquisition request.
- the prompting the user to adjust the utterance of the sound source according to the analysis result further comprising: obtaining attribute information and/or a call of the call peer contact The context mode information of the peer end; determining a corresponding third preset loudness threshold and/or fourth preset loudness threshold according to the attribute information and/or the scene mode information.
- the triggered event is a preset call event
- the prompting the user to adjust the utterance of the sound source according to the analysis result further comprising: obtaining attribute information and/or a call of the call peer contact The context mode information of the peer end; determining a corresponding third preset loudness threshold and/or fourth preset loudness threshold according to the attribute information and/or the scene mode information.
- FIG. 4 is a schematic flowchart of another prompting method according to an embodiment of the present application, where the method is applicable to a recording scenario, including:
- Step 401 When it is detected that the preset recording event is triggered, the control microphone collects the audio signal.
- Step 402 Perform real-time analysis on amplitude information of the collected audio signal to obtain an acoustic sound analysis result.
- Step 403 Determine whether the current sound level is less than the preset loudness threshold A. If the current sound level is less than the preset loudness threshold A, perform step 404; if the current sound level is greater than or equal to the preset loudness threshold A, perform step 405.
- the terminal analyzes the amplitude information of the audio signal collected by the microphone in real time, and the current acoustic sound level also changes continuously as the analysis progresses.
- Step 404 prompting the user to reduce the relative distance between the microphone and the sound source or prompting the user to increase the sound intensity of the sound source.
- step 405 it is determined whether the current sound level is greater than the preset loudness threshold B. If the current sound level is greater than the preset loudness threshold B, step 406 is performed; if the current sound level is less than or equal to the preset loudness threshold B, step 407 is performed.
- Step 406 prompting the user to increase the relative distance between the microphone and the sound source or prompting the user to reduce the sound intensity of the sound source.
- Step 407 Determine whether a recording pause or recording stop command is received, and if the recording pause or recording stop command is received, the process ends; if the recording pause or recording stop command is not received, the process returns to step 403.
- the prompting method provided by the embodiment of the present application can accurately prompt the user to adjust the relative distance between the microphone and the sound source or the sounding intensity of the sound source during the recording process, and can maintain a good recording effect.
- FIG. 5 is a schematic flowchart of another prompting method according to an embodiment of the present disclosure. The method is applicable to a call scenario, and includes:
- Step 501 When it is detected that the preset call event is triggered, the control microphone collects the audio signal.
- Step 502 Analyze amplitude information of the collected audio signal in real time to obtain an acoustic sound analysis result.
- step 503 it is determined whether the current sound level is less than the preset loudness threshold C. If the current sound level is less than the preset loudness threshold C, step 504 is performed; if the current sound level is greater than or equal to the preset loudness threshold C, step 505 is performed.
- the terminal analyzes the amplitude information of the audio signal collected by the microphone in real time, and the current acoustic sound level also changes continuously as the analysis progresses.
- Step 504 prompting the user to reduce the relative distance between the microphone and the sound source or prompting the user to increase the sound intensity of the sound source.
- the sound source during the call is the user's mouth
- the adjustment of the sound intensity of the sound source means that the user adjusts the size of his own voice.
- the user when the call is a call made through a mobile phone, the user can be prompted in a voice form, which can be more easily perceived by the user.
- the voice prompt is played through the earpiece to prompt the user to reduce the relative distance between the microphone and the sound source or to prompt the user to increase the sound intensity of the sound source. For example, play "Please be closer to the microphone" or "Please increase the volume of the voice" through the handset.
- Step 505 Determine whether the current sound level is greater than the preset loudness threshold D. If the current sound level is greater than the preset loudness threshold D, perform step 506; if the current sound level is less than or equal to the preset loudness threshold D, perform step 507.
- Step 506 prompting the user to increase the relative distance between the microphone and the sound source or prompting the user to reduce the sound intensity of the sound source.
- Step 507 Determine whether a call end command is received. If the call end command is received, the process ends. If the call end command is not received, the process returns to step 503.
- the prompting method provided by the embodiment of the present application can accurately prompt the user to adjust the relative distance of the microphone and the mouth or the size of the speaking voice during the call, and can maintain a good call effect.
- FIG. 6 is a schematic flowchart of another prompting method according to an embodiment of the present disclosure. The method is applicable to a call scenario, and includes:
- Step 601 When it is detected that the preset call event is triggered, the control microphone collects the audio signal.
- Step 602 Extract amplitude information of the corresponding human voice in the audio signal in real time, and analyze amplitude information of the corresponding human voice to obtain an acoustic sound analysis result.
- Step 603 Acquire context mode information of the opposite end of the call, and determine a corresponding preset loudness threshold E and a preset loudness threshold F according to the scene mode information.
- the attribute information of the opposite end of the call may also be determined. For example, when the scene mode is the outdoor mode, the attribute information is young, the preset loudness threshold is determined as E 1 ; when the scene mode is the outdoor mode, and the attribute information is the elderly, the preset loudness threshold is determined as E 2 ; 2 is greater than E 1 .
- step 604 it is determined whether the current sound level is less than the preset loudness threshold E. If the current sound level is less than the preset loudness threshold E, step 605 is performed; if the current sound level is greater than or equal to the preset loudness threshold E, step 606 is performed.
- the current sound level corresponds to the loudness of the user's speech sound.
- Step 605 prompting the user to reduce the relative distance between the microphone and the sound source or prompting the user to increase the sound intensity of the sound source.
- Step 606 Determine whether the current sound level is greater than the preset loudness threshold F. If the current sound level is greater than the preset loudness threshold F, perform step 607; if the current sound level is less than or equal to the preset loudness threshold F, perform step 608.
- Step 607 prompt the user to increase the relative distance between the microphone and the sound source or prompt the user to reduce the sound intensity of the sound source.
- Step 608 Determine whether a call end command is received. If the call end command is received, the process ends; if the call end command is not received, the process returns to step 604.
- the prompting method provided by the embodiment of the present invention can promptly prompt the user to adjust the relative distance between the microphone and the mouth or the size of the speaking voice according to the scene mode information of the calling party during the call, and can improve the call effect more specifically.
- FIG. 7 is a structural block diagram of a prompting apparatus according to an embodiment of the present disclosure.
- the apparatus may be implemented by software and/or hardware, and is generally integrated in a terminal, and may prompt the user by executing a prompting method.
- the device includes:
- the audio signal collection module 701 is configured to control the microphone to collect an audio signal when a preset call event is detected or a preset recording event is triggered;
- the acoustic sound analysis module 702 is configured to analyze the sound intensity corresponding to the audio signal
- the prompting module 703 is configured to prompt the user to adjust the call state or the recording state according to the analysis result.
- the prompting device provided by the embodiment of the present invention can promptly and promptly prompt the user to adjust the call state or the recording state during the call or recording process, and can maintain a good call effect or a recording effect.
- the prompting module 703 is configured to:
- the user is prompted to adjust the relative distance of the microphone and the sound source and/or the sounding of the sound source according to the analysis result.
- the acoustic sound analysis module 702 is configured to:
- the amplitude information of the audio signal is analyzed to obtain an acoustic sound analysis result.
- the acoustic sound analysis module 702 is configured to:
- the amplitude information of the corresponding human voice is analyzed to obtain an acoustic sound analysis result.
- the prompting module 703 is configured to include:
- the sound intensity analysis result includes that the current sound level is less than the first preset loudness threshold, prompting the user to reduce the relative distance between the microphone and the sound source; and/or,
- the user is prompted to increase the relative distance between the microphone and the sound source.
- the prompting module 703 further includes:
- the first obtaining submodule is configured to obtain attribute information of the call peer contact and/or context mode information of the call peer end;
- the first determining submodule is configured to determine a corresponding first preset loudness threshold and/or second preset loudness threshold according to the attribute information and/or the scene mode information.
- the prompting module 703 is configured to:
- the sound intensity analysis result includes that the current sound level is less than the third preset loudness threshold, prompting the user to increase the sound intensity of the sound source; and/or,
- the user is prompted to reduce the sound intensity of the sound source.
- the prompting module 703 further includes:
- the second obtaining submodule is configured to obtain attribute information of the call peer contact and/or context mode information of the call peer end;
- the second determining submodule is configured to determine a corresponding third preset loudness threshold and/or fourth preset loudness threshold according to the attribute information and/or the scene mode information.
- the embodiment of the present application further provides a storage medium including computer executable instructions for executing a prompting method when executed by a computer processor, the method comprising:
- the user is prompted to adjust the call state or the recording state.
- Storage media any different type of storage device or storage device.
- the term "storage medium” is intended to include: a mounting medium such as a CD-ROM, a floppy disk or a tape device; a computer system memory or a random access memory (RAM) such as a dynamic random access memory (dynamic random access memory). DRAM), display data random access memory (DDR RAM), static random access memory (SRAM), extended data output random access memory (EDO RAM) , Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory components, and the like.
- the storage medium may also include other types of memory or a combination thereof.
- the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system, the second computer system being coupled to the first computer system via a network, such as the Internet.
- the second computer system can provide program instructions to the first computer for execution.
- the term "storage medium" can include at least two storage mediums that can reside in different locations (eg, in different computer systems connected through a network).
- the storage medium may store program instructions (eg, implemented as a computer program) executable by the at least one processor.
- the storage medium containing the computer executable instructions provided by the embodiment of the present application is not limited to the prompt operation as described above, and may also be related to the prompting method provided by any embodiment of the present application. operating.
- FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
- the terminal may be, for example, a mobile terminal.
- the terminal may include a casing (not shown), a memory 801, and a central processing unit (CPU) 802 (also referred to as a processor, below).
- CPU central processing unit
- the terminal may include a casing (not shown), a memory 801, and a central processing unit (CPU) 802 (also referred to as a processor, below).
- CPU central processing unit
- circuit board not shown
- a power supply circuit not shown
- microphone 813 Referred to as a microphone 813.
- the circuit board is disposed inside a space enclosed by the casing; the CPU 802 and the memory 801 are disposed on the circuit board; and the power circuit is configured to supply power to a plurality of circuits or devices of the terminal
- the memory 801 is configured to store executable program code; the CPU 802 runs a computer program corresponding to the executable program code by reading executable program code stored in the memory 801 to implement the following steps:
- the user is prompted to adjust the call state or the recording state.
- the terminal further includes: a peripheral interface 803, a radio frequency (RF) circuit 805, an audio circuit 806, a speaker 811, a power management chip 808, other input/output (I/O) subsystem input/control devices, and a touch screen. 812, other input/control devices 810 and external port 804, these components communicate via at least one communication bus or signal line 807.
- RF radio frequency
- I/O input/output
- the illustrated terminal 800 is merely one example of a terminal, and that the terminal 800 may have more or fewer components than those shown in the figures, may combine at least two components, or may have different Component configuration.
- the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including at least one signal processing and/or application specific integrated circuit.
- the terminal uses a mobile phone as an example.
- the memory 801 can be accessed by the CPU 802, the peripheral interface 803, etc., and the memory 801 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
- a non-volatile memory such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
- Peripheral interface 803, which can connect the input and output peripherals of the device to CPU 802 and memory 801.
- the I/O subsystem 809 can connect input and output peripherals on the device, such as touch screen 812 and other input/control devices 810, to peripheral interface 803.
- the I/O subsystem 809 can include a display controller 8091 and at least one input controller 8092 configured to control other input/control devices 810.
- at least one input controller 8092 receives electrical signals from other input/control devices 810 or transmits electrical signals to other input/control devices 810, and other input/control devices 810 may include physical buttons (press buttons, rocker buttons, etc.), Dial, slide switch, joystick, click wheel.
- the input controller 8092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
- the touch screen 812 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user.
- the visual output may include graphics, text, icons, videos, and the like.
- Display controller 8091 in I/O subsystem 809 receives an electrical signal from touch screen 812 or an electrical signal to touch screen 812.
- the touch screen 812 detects the contact on the touch screen, and the display controller 8091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 812, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 812 may be running.
- the icon of the game, the icon of the network to the corresponding network, and the like.
- the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
- the RF circuit 805 is configured to establish communication between the mobile phone and the wireless network (ie, the network side) to implement data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like.
- the RF circuit 805 receives and transmits an RF signal, also referred to as an electromagnetic signal, and the RF circuit 805 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal and communicates with the communication network and other devices through the electromagnetic signal.
- the RF circuit 805 can include known circuitry configured to perform these functions including, but not limited to, an antenna system, an RF transceiver, at least one amplifier, a tuner, at least one oscillator, a digital signal processor, a codec (COder- DECoder, CODEC) Chipset, Subscriber Identity Module (SIM), etc.
- an antenna system an RF transceiver, at least one amplifier, a tuner, at least one oscillator, a digital signal processor, a codec (COder- DECoder, CODEC) Chipset, Subscriber Identity Module (SIM), etc.
- CODEC codec
- SIM Subscriber Identity Module
- the audio circuit 806 is arranged to receive audio data from the peripheral interface 803, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 811.
- the speaker 811 is arranged to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 805 to sound and play the sound to the user.
- the power management chip 808 is configured to provide power and power management for the hardware connected to the CPU 802, the I/O subsystem, and the peripheral interface.
- the terminal provided by the embodiment of the present invention can promptly and promptly prompt the user to adjust the call state or the recording state during the call or recording process, and can maintain a good call effect or a recording effect.
- the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
- the computer is caused to perform any of the above-described prompting methods.
- the prompting device, the storage medium and the terminal provided in the above embodiments can perform the prompting method provided by any embodiment of the present application, and have the corresponding functional modules and beneficial effects of executing the method.
- the prompting method provided by any embodiment of the present application can perform the prompting method provided by any embodiment of the present application, and have the corresponding functional modules and beneficial effects of executing the method.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
Abstract
A prompting method and apparatus, a storage medium, and a terminal. The method comprises: when it is detected that a pre-set call event or a pre-set voice recording event is triggered, controlling a microphone to acquire an audio signal; analyzing the sound loudness corresponding to the audio signal; and prompting, according to the analysis result, the user to adjust the call status or the voice recording status.
Description
本申请要求在2017年08月18日提交中国专利局、申请号为201710711506.7的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, filed on Jan.
本申请实施例涉及终端技术领域,例如涉及提示方法、装置、存储介质及终端。The embodiments of the present application relate to the field of terminal technologies, for example, to a prompting method, device, storage medium, and terminal.
为了满足用户在生活以及工作中的语音通话、视频通话以及录音等需求,多数终端都具备通话或录音功能,如手机、平板电脑、音乐播放器以及录音笔等。In order to meet the needs of users for voice calls, video calls, and recordings in their lives and work, most terminals have call or recording functions, such as mobile phones, tablets, music players, and voice recorders.
一般的,终端通过集成麦克风(microphone,mic),又称传声器来实现通话或录音功能。麦克风是一种将声音信号转换为电信号的能量转换器件,当声音的振动传到麦克风的振动膜上后,会导致里面的磁铁形成变化的电流信号,由声音处理电路对电流信号进行处理后传输到通话对端或进行存储,进而实现通话或录音。Generally, the terminal implements a call or recording function through an integrated microphone (microphone, mic), also known as a microphone. A microphone is an energy conversion device that converts a sound signal into an electrical signal. When the vibration of the sound is transmitted to the diaphragm of the microphone, the magnet inside changes a current signal, and the current signal is processed by the sound processing circuit. Transfer to the opposite end of the call or store it for call or recording.
发明内容Summary of the invention
本申请实施例提供提示方法、装置、存储介质及终端,可以在通话或录音过程中自动提示用户调整通话或录音状态。The embodiment of the present application provides a prompting method, device, storage medium, and terminal, which can automatically prompt the user to adjust the call or recording state during a call or recording process.
本申请实施例提供了一种提示方法,包括:The embodiment of the present application provides a prompting method, including:
检测到预设通话事件或预设录音事件被触发时,控制麦克风采集音频信号;Controlling the microphone to collect audio signals when a preset call event is detected or a preset recording event is triggered;
对所述音频信号对应的声音响度进行分析;以及Performing an analysis of the acoustic sound level corresponding to the audio signal;
根据分析结果提示用户对通话状态或录音状态进行调整。According to the analysis result, the user is prompted to adjust the call state or the recording state.
本申请实施例提供了一种提示装置,包括:The embodiment of the present application provides a prompting apparatus, including:
音频信号采集模块,设置为在检测到预设通话事件或预设录音事件被触发时,控制麦克风采集音频信号;The audio signal collecting module is configured to control the microphone to collect the audio signal when the preset call event is detected or the preset recording event is triggered;
声音响度分析模块,设置为对所述音频信号对应的声音响度进行分析;以及An acoustic sound analysis module configured to analyze an acoustic sound level corresponding to the audio signal;
提示模块,设置为根据分析结果提示用户对通话状态或录音状态进行调整。The prompt module is set to prompt the user to adjust the call state or the recording state according to the analysis result.
本申请实施例提供了一种计算机可读存储介质,所述存储介质中存储有计 算机程序,该程序被处理器执行时实现如本申请实施例所述的提示方法。The embodiment of the present application provides a computer readable storage medium, where the computer program stores a computer program, and when the program is executed by the processor, the prompting method as described in the embodiment of the present application is implemented.
本申请实施例提供了一种终端,包括麦克风,存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如本申请实施例所述的提示方法。The embodiment of the present application provides a terminal, including a microphone, a memory, a processor, and a computer program stored in the memory and executable by the processor, and the processor executes the computer program to implement the embodiment of the present application. Prompt method.
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意一种方法。The embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer The computer is caused to perform any of the above methods.
本申请实施例中提供的提示方案,在通话或录音过程中,根据对麦克风采集的音频信号对应的声音响度进行分析,并根据分析结果提示用户对通话状态或录音状态进行调整。通过采用上述技术方案,在通话或录音过程中,能够及时准确地提示用户调整通话状态或录音状态,可以保持良好的通话效果或录音效果。The prompting solution provided in the embodiment of the present application analyzes the sound and sound level corresponding to the audio signal collected by the microphone during the call or recording process, and prompts the user to adjust the call state or the recording state according to the analysis result. By adopting the above technical solution, during the call or recording process, the user can promptly and accurately prompt the user to adjust the call state or the recording state, and can maintain a good call effect or recording effect.
图1为一实施例提供的一种提示方法的流程示意图。FIG. 1 is a schematic flow chart of a prompting method provided by an embodiment.
图2为一实施例提供的一种智能手机的音频处理硬件系统结构示意图。FIG. 2 is a schematic structural diagram of an audio processing hardware system of a smart phone according to an embodiment.
图3为一实施例提供的一种音频系统架构框图。FIG. 3 is a block diagram of an audio system architecture provided by an embodiment.
图4为一实施例提供的另一种提示方法的流程示意图。FIG. 4 is a schematic flow chart of another prompting method provided by an embodiment.
图5为一实施例提供的另一种提示方法的流程示意图。FIG. 5 is a schematic flow chart of another prompting method provided by an embodiment.
图6为一实施例提供的另一种提示方法的流程示意图。FIG. 6 is a schematic flow chart of another prompting method provided by an embodiment.
图7为一实施例提供的一种提示装置的结构框图。FIG. 7 is a structural block diagram of a prompting apparatus according to an embodiment.
图8为一实施例提供的一种终端的结构示意图。FIG. 8 is a schematic structural diagram of a terminal according to an embodiment.
下面结合附图并通过具体实施方式来说明本申请的技术方案。可以理解的是,此处所描述的具体实施例仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The technical solutions of the present application will be described below with reference to the accompanying drawings and specific embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. In addition, it should be noted that, for the convenience of description, only some but not all of the structures related to the present application are shown in the drawings.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将多个步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,每个步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as a process or method depicted as a flowchart. Although the flowchart depicts multiple steps as a sequential process, many of the steps can be implemented in parallel, concurrently, or concurrently. In addition, the order of each step can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
图1为本申请实施例提供的图1为本申请实施例提供的一种提示方法的流程示意图的流程示意图,该方法可以由提示装置执行,其中该装置可由软件和/或硬件实现,一般可集成在终端中。如图1所示,该方法包括:FIG. 1 is a schematic flowchart diagram of a schematic diagram of a prompting method according to an embodiment of the present disclosure. The method may be performed by a prompting apparatus, where the apparatus may be implemented by software and/or hardware, and generally Integrated in the terminal. As shown in Figure 1, the method includes:
步骤110、检测到预设通话事件或预设录音事件被触发时,控制麦克风采集音频信号。Step 110: When detecting a preset call event or a preset recording event is triggered, the control microphone collects an audio signal.
示例性的,本申请实施例中的终端可包括手机、平板电脑、音乐播放器以及录音笔等配置有麦克风的设备。麦克风可以是内置的,也可以是外置的。麦克风(简称mic,又称传声器或话筒)是一种将声音信号转换为电信号的能量转换器件,当声音的振动传到麦克风的振动膜上后,会导致里面的磁铁形成变化的电流信号,由声音处理电路对电流信号进行处理后传输到通话对端或进行存储,进而实现通话或录音。本申请实施例对麦克风的类型、数量及所在位置不做限定,例如,对于手机来说,可以是设置在手机下侧面的至少一个驻极体式麦克风。For example, the terminal in the embodiment of the present application may include a device configured with a microphone, such as a mobile phone, a tablet computer, a music player, and a voice recorder. The microphone can be either built-in or external. A microphone (referred to as a microphone, also known as a microphone or a microphone) is an energy conversion device that converts a sound signal into an electrical signal. When the vibration of the sound is transmitted to the diaphragm of the microphone, the magnet inside changes a current signal. The current signal is processed by the sound processing circuit and transmitted to the opposite end of the call or stored, thereby implementing a call or recording. The embodiment of the present application does not limit the type, the number, and the location of the microphone. For example, for a mobile phone, it may be at least one electret microphone disposed on the lower side of the mobile phone.
示例性的,预设通话事件可以是具备本申请实施例中的提示功能的通话事件;预设录音事件可以是具备本申请实施例中的提示功能的录音事件。在一实施例中,在提示功能处于开启状态下检测到通话事件时,可确定检测到预设通话事件或在提示功能处于开启状态下检测到录音事件时,可确定检测到预设录音事件。通话事件例如是电话接通或是语音聊天接通等;录音事件例如是启动录音。For example, the preset call event may be a call event having the prompt function in the embodiment of the present application; the preset recording event may be a recording event having the prompt function in the embodiment of the present application. In an embodiment, when a call event is detected when the prompt function is in an open state, it may be determined that a preset call event is detected or a recording event is detected when the prompt function is turned on, and it may be determined that the preset recording event is detected. The call event is, for example, a phone call or a voice chat call; the recording event is, for example, to start recording.
为了便于理解本申请实施例,下面以智能手机为例对音频处理硬件系统及系统架构进行简单的介绍。In order to facilitate the understanding of the embodiments of the present application, a smart phone is taken as an example to briefly introduce the audio processing hardware system and system architecture.
图2为本申请实施例提供的一种智能手机的音频处理硬件系统结构示意图。音频处理电路一般处于主控电路板中,由于不同手机的设计不同,音频处理电路的位置也可能不同。智能手机的音频处理电路包括音频信号处理电路、基带信号处理电路、音频功率放大器、耳机信号放大器、听筒、扬声器、麦克风及耳机接口等。其中,音频信号处理电路是整个音频处理电路的核心。音频处理电路由接收音频电路、送话电路、耳机通话电路等组成,包括模拟音频的模拟/数字(A/D)转换、数字/模拟(A/D)转换、数字语音信号处理及模拟音频放大电路等。2 is a schematic structural diagram of an audio processing hardware system of a smart phone according to an embodiment of the present application. The audio processing circuit is generally in the main control board. The location of the audio processing circuit may be different due to the different designs of different mobile phones. The audio processing circuit of the smartphone includes an audio signal processing circuit, a baseband signal processing circuit, an audio power amplifier, a headphone signal amplifier, an earpiece, a speaker, a microphone, and a headphone interface. Among them, the audio signal processing circuit is the core of the entire audio processing circuit. The audio processing circuit is composed of a receiving audio circuit, a sending circuit, a headphone talking circuit, and the like, including analog/digital (A/D) conversion, digital/analog (A/D) conversion, digital voice signal processing, and analog audio amplification of analog audio. Circuits, etc.
在通话时,首先通话本地端麦克风把声音的机械声波信号转化为模拟音频信号,通过模拟音频放大电路进行放大,经内部的多模转换器进行A/D转换,得到数字音频信号;其次把此数字音频信号送到基带处理器,进行语音编码、信道编码等处理;再次进行加密、交织等一系列处理;最后送到基带处理器中 的数字窄带制调模块进行调制,产生发射基带信号送入射频电路调制成发射中频,发送给通话对方。During the call, the local microphone is first called to convert the sound acoustic signal of the sound into an analog audio signal, amplified by an analog audio amplifier circuit, and subjected to A/D conversion by an internal multimode converter to obtain a digital audio signal; The digital audio signal is sent to the baseband processor for speech encoding, channel encoding, etc.; a series of processing such as encryption and interleaving is performed again; finally, the digital narrowband modulation module sent to the baseband processor is modulated to generate the transmitted baseband signal. The RF circuit is modulated into a transmitting intermediate frequency and sent to the other party.
在录音时,与上述过程类似,首先由麦克风把声音的机械声波信号转化为模拟音频信号,通过模拟音频放大电路进行放大,经过A/D转换后得到数字音频信号,按照预设的音频格式进行编码及存储。When recording, similar to the above process, the mechanical sound wave signal of the sound is first converted into an analog audio signal by a microphone, amplified by an analog audio amplifying circuit, and digital audio signal is obtained after A/D conversion, according to a preset audio format. Coding and storage.
本申请实施例中麦克风采集的音频信号可以是上述的由机械声波信号转换而来的模拟音频信号,也可以是经过放大后的模拟音频信号,还可以是经过A/D转换后的数字音频信号等,本申请实施例不作限定。The audio signal collected by the microphone in the embodiment of the present application may be the above-mentioned analog audio signal converted from the mechanical sound wave signal, or may be an amplified analog audio signal, or may be an A/D converted digital audio signal. The embodiment of the present application is not limited.
如图3所示,本实施例提供的音频系统架构包括用户空间、内核空间和硬件系统。用户空间包括应用(Application)层、应用框架(Framework)层和硬件抽象层(Hardware Abstraction Layer,HAL),内核空间包括驱动(Driver)层。应用层是音频体系的最上层,可通过编写一个应用程序来执行对应的逻辑操作,例如检测触发录音事件的应用程序,预先设置标准音频条件,下发音频播放指令等。应用框架层包括音频控制接口和标准化插件模块负责提供音频播放形式控制接口,以及扬声器音量大小控制接口等。应用框架层提供了AudioTrack和AudioRecorder两个类,以及AudioManager、AudioService及AudioSystem类。在应用框架层和硬件抽象层之间还包括一个系统运行库(Libraries)层。我们知道,framework层的很多类,实际上只是应用程序使用Android库文件的“中介”而已。因为上层应用一般采用java语言编写,它们需要最直接的java接口的支持,这就是framework层存在的意义之一。而作为“中介”,它们并不会真正去实现具体的功能,或者只实现其中的一部分功能,而把主要重心放在库中来完成。比如上面的AudioTrack、AudioRecorder、MediaPlayer和MediaRecorder等等在库中都能找到相对应的类。这一部分代码集中放置在工程的frameworks/av/media/libmedia中,多数是C++语言编写的。音频方面的硬件抽象层主要分为两部分,即AudioFlinger和AudioPolicyService。实际上后者并不是一个真实的设备,只是采用虚拟设备的方式来让厂商可以方便地定制出自己的策略。根据产品的不同,音频设备存在很大差异,在安卓Android的音频架构中,这些问题都是由HAL层的audio.primary等来解决的,而不需要大规模地修改上层实现。硬件抽象层是应用框架层到驱动层的过渡,以实现底层硬件的兼容。驱动层按照音频编解码器的特性对其进行控制,确保音频编解码器可以正常工作,将音频编解码器获取到的音频数据提供给系统层。本申请实施例中在进行音频信号采集时,主要涉及的类为上述的AudioRecorder类。As shown in FIG. 3, the audio system architecture provided in this embodiment includes a user space, a kernel space, and a hardware system. The user space includes an application layer, an application framework layer, and a hardware abstraction layer (HAL), and the kernel space includes a driver layer. The application layer is the top layer of the audio system. You can write an application to perform corresponding logical operations, such as detecting an application that triggers a recording event, presetting standard audio conditions, and issuing audio playback commands. The application framework layer includes an audio control interface and a standardized plug-in module to provide an audio playback form control interface, as well as a speaker volume control interface. The application framework layer provides two classes, AudioTrack and AudioRecorder, as well as the AudioManager, AudioService, and AudioSystem classes. A system runtime layer (Libraries) is also included between the application framework layer and the hardware abstraction layer. We know that many classes in the framework layer are actually just "mediations" for applications that use Android library files. Because upper-level applications are generally written in Java, they require the most direct support of the Java interface, which is one of the meanings of the framework layer. As an "intermediary", they don't really implement specific functions, or only implement some of them, but focus on the library. For example, the above AudioTrack, AudioRecorder, MediaPlayer and MediaRecorder can find the corresponding class in the library. This part of the code is placed in the frameworks/av/media/libmedia of the project, mostly written in C++. The hardware abstraction layer of audio is mainly divided into two parts, namely AudioFlinger and AudioPolicyService. In fact, the latter is not a real device, just a virtual device to allow manufacturers to easily customize their own strategies. Depending on the product, audio devices vary widely. In the audio architecture of Android Android, these problems are solved by the audio.primary of the HAL layer, etc., without the need to modify the upper layer implementation on a large scale. The hardware abstraction layer is the transition from the application framework layer to the driver layer to achieve compatibility with the underlying hardware. The driver layer controls the audio codec according to the characteristics of the audio codec to ensure that the audio codec can work normally, and the audio data obtained by the audio codec is provided to the system layer. In the embodiment of the present application, when the audio signal is collected, the main class involved is the above-mentioned AudioRecorder class.
步骤120、对所述音频信号对应的声音响度进行分析。Step 120: Analyze the acoustic sound level corresponding to the audio signal.
声音的三个主要属性为音量、音调和音色。其中,音量又称响度或音强,是指人耳对所听到的声音大小强弱的主观感受,其客观评价尺度是声音的振幅大小。振幅指物体震动过程中偏离原来位置的最大距离,人耳听到的声音的响度与音源的振幅相关,一般振幅越大响度越强。The three main properties of the sound are volume, pitch, and tone. Among them, the volume is also called loudness or sound intensity, which refers to the subjective feeling of the human ear on the strength of the sound heard. The objective evaluation scale is the amplitude of the sound. Amplitude refers to the maximum distance from the original position during the vibration of the object. The loudness of the sound heard by the human ear is related to the amplitude of the sound source. Generally, the louder the louder the stronger the amplitude.
示例性的,以声源为用户嘴巴为例,用户在通话时虽然能够听到自己说话的声音大小,但是无法知道当前说话的音量对于通话对端的人来说声音是大还是小,若声音较小,对方可能听不清,若声音较大,可能让对方感到震耳;用户在录音时也能够听到自己说话的声音大小,但是无法知道终端记录的自己的声音的大小,若声音较小,播放录音时可能听不清,若声音较大,播放录音时可能让收听者感到不适。本申请实施例中,对音频信号对应的声音响度进行分析,以获知终端采集的音频信号对应的声音响度是否合适。Exemplarily, taking the sound source as the user's mouth as an example, although the user can hear the sound of his own voice during the call, but cannot know whether the volume of the current speech is loud or small for the person at the opposite end of the call, if the sound is louder than Small, the other party may not be able to hear, if the sound is loud, it may make the other party feel deafening; the user can also hear the sound of his own voice when recording, but can not know the size of his own voice recorded by the terminal, if the sound is small It may not be audible when playing a recording. If the sound is loud, the listener may feel uncomfortable while playing the recording. In the embodiment of the present application, the sound level corresponding to the audio signal is analyzed to know whether the sound level corresponding to the audio signal collected by the terminal is appropriate.
示例性的,可以预设时段为分析单位,分析每个预设时段内的声音响度的大小,可将当前预设时段对应的声音响度记为当前声音响度。预设时段可以是以当前时刻为起点向前计时的预设时间长度。为了保证实时性,可以将预设时段对应的预设时间长度设置的短一些,例如是以当前时刻为起点向前计时的0.5秒内。For example, the preset time period may be an analysis unit, and the sound sound level in each preset time period may be analyzed, and the sound sound level corresponding to the current preset time period may be recorded as the current sound sound level. The preset time period may be a preset time length that is timed forward from the current time. In order to ensure real-time performance, the preset time length corresponding to the preset time period may be set shorter, for example, within 0.5 seconds of the current time as the starting point.
步骤130、根据分析结果提示用户对通话状态或录音状态进行调整。Step 130: prompt the user to adjust the call state or the recording state according to the analysis result.
示例性的,影响终端麦克风采集的音频信号对应的声音响度的因素有很多,其中,与通话状态或录音状态相关的因素一般可以由用户来决定。例如,与通话状态或录音状态相关的因素可包括用户自身说话声音的大小或者用户希望记录的其他声源的发声强度的大小,还可包括声源(如用户嘴巴或其他声源)与麦克风的相对距离,还可包括麦克风的朝向等等。Exemplarily, there are many factors affecting the sound level corresponding to the audio signal collected by the terminal microphone, wherein the factors related to the call state or the recording state can generally be determined by the user. For example, factors related to the state of the call or the state of the recording may include the size of the voice of the user's own voice or the intensity of the voice of other sound sources that the user wishes to record, and may also include a sound source (such as a user's mouth or other sound source) and a microphone. The relative distance may also include the orientation of the microphone and the like.
示例性的,可由系统默认确定或根据实际情况确定满足要求的音频信号的目标声音响度信息,也可由用户提前根据需求确定满足要求的音频信号的目标声音响度。在对当前采集的音频信号进行声音响度的分析后,将当前声音响度与目标声音响度进行比对,然后提示用户进行相应的调整。例如,在录音过程中,判断出当前声音响度比目标声音响度小,则可提示用户提高说话声音的强度,或者将麦克风靠近嘴边等等。Exemplarily, the target sound level information of the audio signal that satisfies the requirement may be determined by the system by default or according to actual conditions, and the target sound level of the audio signal that satisfies the requirement may be determined by the user in advance according to the demand. After analyzing the sound intensity of the currently collected audio signal, the current sound level is compared with the target sound level, and then the user is prompted to make corresponding adjustments. For example, during the recording process, it is judged that the current sound level is smaller than the target sound level, and the user may be prompted to increase the intensity of the voice, or to bring the microphone to the mouth and the like.
在一实施例中,根据上述分析结果提示用户时,可以文字形式、语音形式或指示灯形式对用户进行提醒。例如,可以在显示屏上显示调整方式的描述文字;可以播放调整方式的提示语音,并可在麦克风采集的音频信号中滤除该提示语音;可以以指示灯的不同颜色代表不同的调整方式,或以指示灯不同的闪 烁频率代表不同的调整方式等等。In an embodiment, when the user is prompted according to the analysis result, the user may be reminded in the form of a text, a voice, or an indicator. For example, the description text of the adjustment mode may be displayed on the display screen; the prompt voice of the adjustment mode may be played, and the prompt voice may be filtered out in the audio signal collected by the microphone; different adjustment modes may be represented by different colors of the indicator light, Or different flashing frequencies with different indicators to indicate different adjustment methods, and so on.
本申请实施例提供的提示方法,在通话或录音过程中,根据对麦克风采集的音频信号对应的声音响度进行分析,并根据分析结果提示用户对通话状态或录音状态进行调整。通过采用上述技术方案,在通话或录音过程中,能够及时准确地提示用户调整通话状态或录音状态,可以保持良好的通话效果或录音效果。The prompting method provided by the embodiment of the present invention analyzes the sound and sound degree corresponding to the audio signal collected by the microphone during the call or recording process, and prompts the user to adjust the call state or the recording state according to the analysis result. By adopting the above technical solution, during the call or recording process, the user can promptly and accurately prompt the user to adjust the call state or the recording state, and can maintain a good call effect or recording effect.
在一些实施例中,所述根据分析结果提示用户对通话状态或录音状态进行调整,包括:根据分析结果提示用户对所述麦克风和声源的相对距离和/或声源的发声情况进行调整。这样设置的好处在于,调整方式简单快捷,用户能够根据提示快速做出反应,从而能够在需要调整时快速调整至所需状态,满足通话及录音对实时性的较高要求。In some embodiments, the prompting the user to adjust the call state or the recording state according to the analysis result comprises: prompting the user to adjust the relative distance between the microphone and the sound source and/or the sounding state of the sound source according to the analysis result. The advantage of this setting is that the adjustment method is simple and fast, and the user can quickly respond according to the prompts, so that the adjustment can be quickly adjusted to the required state when the adjustment is needed, and the high requirements for the real-time performance of the call and the recording are satisfied.
在一些实施例中,所述对所述音频信号对应的声音响度进行分析,可包括:对所述音频信号的振幅信息进行分析,以得到声音响度分析结果。如前所述,声音响度的客观评价尺度是声音的振幅大小,而音频信号由声音的机械声波信号转换而来,因此可采用振幅信息对音频信号的声音响度进行分析。振幅越大,声音响度越大,也即声音能量值越高。示例性的,可以预设时段为分析单位,在预设时段内以预设采样频率对音频信号的振幅进行采集,获取多个振幅值,将预设时段内的振幅平均值作为当前声音响度。此处优化将对声音响度的分析转化为对振幅信息的分析,可简化分析过程,提高分析速度。In some embodiments, the analyzing the acoustic sound level corresponding to the audio signal may include: analyzing amplitude information of the audio signal to obtain an acoustic sound analysis result. As mentioned above, the objective evaluation scale of the acoustic sound is the amplitude of the sound, and the audio signal is converted from the mechanical acoustic signal of the sound, so the amplitude information can be used to analyze the acoustic sound of the audio signal. The larger the amplitude, the louder the sound, that is, the higher the sound energy value. For example, the preset time period may be an analysis unit, and the amplitude of the audio signal is collected at a preset sampling frequency within a preset time period to obtain a plurality of amplitude values, and the average value of the amplitude in the preset time period is used as the current sound level. Optimization here converts the analysis of acoustic sound into analysis of amplitude information, which simplifies the analysis process and speeds up the analysis.
在一些实施例中,对所述音频信号的振幅信息进行分析,以得到声音响度分析结果,还包括:提取所述音频信号中对应人声的振幅信息;对所述对应人声的振幅信息进行分析,以得到声音响度分析结果。示例性的,在通话过程中,人声是音频信号中的主体,其他环境声音可视为是干扰声音;此外,在录音时,用户可以选择人声录音模式,这时,人声也是音频信号中的主体,其他环境声音可视为是干扰声音。在这些情况下,声源即用户的嘴巴,在提取音频信号中对应人声的振幅信息后,可大幅减少需要分析的数据,进而提高分析速度,也能够更及时地对用户进行提示,有助于提高针对通话状态或录音状态的调整时效性。In some embodiments, analyzing the amplitude information of the audio signal to obtain an acoustic sound analysis result, further comprising: extracting amplitude information of the corresponding human voice in the audio signal; and performing amplitude information of the corresponding human voice Analyze to obtain the results of the acoustic sound analysis. Illustratively, during a call, the vocal is the subject in the audio signal, and other ambient sounds can be regarded as interference sounds; in addition, during recording, the user can select the vocal recording mode, in which case the vocal is also an audio signal. In the main body, other environmental sounds can be regarded as interference sounds. In these cases, the sound source, that is, the user's mouth, after extracting the amplitude information corresponding to the human voice in the audio signal, can greatly reduce the data to be analyzed, thereby improving the analysis speed, and also prompting the user in a more timely manner, which is helpful. Improve the timeliness of adjustments for call status or recording status.
在一些实施例中,根据分析结果提示用户对所述麦克风和声源的相对距离进行调整,可包括:当所述声音响度分析结果中包括当前声音响度小于第一预设响度阈值时,提示用户将所述麦克风和声源的相对距离调小;也可包括:当所述声音响度分析结果中包括当前声音响度大于第二预设响度阈值时,提示用户将所述麦克风和声源的相对距离调大。当然,也可同时包括上述两种方式。 其中,第一预设响度阈值和第二预设响度阈值可以相同,也可以不同,数值可以是预先设置的固定值,也可以是根据实际情况进行动态调整的变化值。In some embodiments, prompting the user to adjust the relative distance between the microphone and the sound source according to the analysis result may include: prompting the user when the current sound intensity analysis result includes the current sound sound level being less than the first preset loudness threshold. The relative distance between the microphone and the sound source is reduced; the method further includes: prompting the user to compare the relative distance between the microphone and the sound source when the current sound intensity analysis result includes the current sound sound level being greater than the second preset loudness threshold turn up. Of course, the above two methods can also be included at the same time. The first preset loudness threshold and the second preset loudness threshold may be the same or different, and the value may be a preset fixed value or a dynamically adjusted change value according to actual conditions.
示例性的,在当前声音响度小于第一预设响度阈值时,可说明音频信号中当前声音响度较小,通话对端可能无法听清本端用户说的话,或者录音文件在后续播放时可能导致他人听不清此时录取的声音,因此,可提示用户将麦克风和声源的相对距离调小,以使接下来采集的音频信号中的声音响度有所提高。示例性的,在当前声音响度大于或等于第一预设响度阈值时,可不进行提示。这样设置的好处在于,可适用于对声音响度上限没有要求的应用场景,保证提示效率。Exemplarily, when the current acoustic sound is less than the first preset loudness threshold, it may be stated that the current sound level in the audio signal is small, the opposite end of the call may not be able to hear the words spoken by the local user, or the recorded file may be caused during subsequent playback. Others cannot hear the sound of the recording at this time. Therefore, the user can be prompted to reduce the relative distance between the microphone and the sound source to improve the sound level in the audio signal collected next. Exemplarily, when the current sound level is greater than or equal to the first preset loudness threshold, the prompt may not be performed. The advantage of this setting is that it can be applied to an application scenario where the upper limit of the acoustic sound is not required, and the prompting efficiency is ensured.
示例性的,在当前声音响度大于第二预设响度阈值时,可说明音频信号中当前声音响度较大,传到通话对端可能会使对方感到震耳,或者录音文件在后续播放时可能导致声音过大影响收听,因此,可提示用户将麦克风和声源的相对距离调大,以使接下来采集的音频信号中的声音响度有所降低。示例性的,在当前声音响度小于或等于第二预设响度阈值时,可不进行提示。这样设置的好处在于,可适用于对声音响度下限没有要求的应用场景,保证提示效率。Exemplarily, when the current sound level is greater than the second preset loudness threshold, the current sound level in the audio signal may be large, and the call to the opposite end may cause the other party to feel deafening, or the recorded file may cause subsequent playback. Excessive sound affects listening, so the user can be prompted to increase the relative distance between the microphone and the sound source to reduce the sound level in the audio signal collected next. Illustratively, when the current acoustic level is less than or equal to the second preset loudness threshold, no prompt may be made. The advantage of this setting is that it can be applied to an application scenario where the lower limit of the acoustic sound is not required, and the prompting efficiency is ensured.
示例性的,可将上述两种提示方式进行结合,即当前声音响度较小时和较大时均会进行提醒,而当前声音响度大于或等于第一预设响度阈值且小于或等于第二预设响度阈值时,说明此时音频信号中的声音响度比较合适,可不进行提示。这样设置的好处在于,可适用于对声音响度上限和下限均有要求的应用场景,保证提示的准确度。For example, the above two prompt modes may be combined, that is, when the current sound level is small and when the sound is large, the reminder is performed, and the current sound level is greater than or equal to the first preset loudness threshold and less than or equal to the second preset. When the loudness threshold is used, it indicates that the sound level in the audio signal is appropriate, and no prompt is given. The advantage of this setting is that it can be applied to the application scenarios that require the upper and lower limits of the acoustic sound level to ensure the accuracy of the prompts.
在一些实施例中,根据分析结果提示用户对声源的发声情况进行调整,可包括:当所述声音响度分析结果中包括当前声音响度小于第三预设响度阈值时,提示用户将声源的发声强度调大;还可包括:当所述声音响度分析结果中包括当前声音响度大于第四预设响度阈值时,提示用户将声源的发声强度调小。其中,第三预设响度阈值和第四预设响度阈值可以相同,也可以不同。第三预设响度阈值和上述第一预设响度阈值可以相同,也可以不同。第四预设响度阈值和上述第二预设响度阈值可以相同,也可以不同。第三预设响度阈值和第四预设响度阈值的数值可以是预先设置的固定值,也可以是根据实际情况进行动态调整的变化值。In some embodiments, prompting the user to adjust the sounding condition of the sound source according to the analysis result may include: prompting the user to sound source when the sound sound intensity analysis result includes the current sound sound level being less than the third preset loudness threshold. The vocal intensity is increased; the method further includes: prompting the user to reduce the vocal intensity of the sound source when the current sound intensity analysis result includes the current sound loudness being greater than the fourth preset loudness threshold. The third preset loudness threshold and the fourth preset loudness threshold may be the same or different. The third preset loudness threshold and the first preset loudness threshold may be the same or different. The fourth preset loudness threshold and the second preset loudness threshold may be the same or different. The value of the third preset loudness threshold and the fourth preset loudness threshold may be a preset fixed value, or may be a dynamically adjusted change value according to actual conditions.
示例性的,在当前声音响度小于第三预设响度阈值时,可说明音频信号中当前声音响度较小,通话对端可能无法听清本端用户说的话,或者录音文件在后续播放时可能导致他人听不清此时录取的声音,因此,可提示用户将麦克风和声源的相对距离调小,以使接下来采集的音频信号中的声音响度有所提高。 示例性的,在当前声音响度大于或等于第三预设响度阈值时,可不进行提示。这样设置的好处在于,可适用于对声音响度上限没有要求的应用场景,保证提示效率。Exemplarily, when the current sound level is less than the third preset loudness threshold, it may be stated that the current sound level in the audio signal is small, the opposite end of the call may not be able to hear the words spoken by the local user, or the recorded file may be caused during subsequent playback. Others cannot hear the sound of the recording at this time. Therefore, the user can be prompted to reduce the relative distance between the microphone and the sound source to improve the sound level in the audio signal collected next. Exemplarily, when the current sound level is greater than or equal to the third preset loudness threshold, no prompt may be made. The advantage of this setting is that it can be applied to an application scenario where the upper limit of the acoustic sound is not required, and the prompting efficiency is ensured.
示例性的,在当前声音响度大于第四预设响度阈值时,可说明音频信号中当前声音响度较大,传到通话对端可能会使对方感到震耳,或者录音文件在后续播放时可能导致声音过大影响收听,因此,可提示用户将麦克风和声源的相对距离调大,以使接下来采集的音频信号中的声音响度有所降低。示例性的,在当前声音响度小于或等于第四预设响度阈值时,可不进行提示。这样设置的好处在于,可适用于对声音响度下限没有要求的应用场景,保证提示效率。Exemplarily, when the current sound level is greater than the fourth preset loudness threshold, it may indicate that the current sound level in the audio signal is large, and the call to the opposite end may cause the other party to feel deafening, or the recording file may cause subsequent playback. Excessive sound affects listening, so the user can be prompted to increase the relative distance between the microphone and the sound source to reduce the sound level in the audio signal collected next. Illustratively, when the current acoustic level is less than or equal to the fourth preset loudness threshold, no prompt may be made. The advantage of this setting is that it can be applied to an application scenario where the lower limit of the acoustic sound is not required, and the prompting efficiency is ensured.
示例性的,可将上述两种调整方式进行结合,即当前声音响度较小时和较大时均会进行提醒,而当前声音响度大于或等于第三预设响度阈值且小于或等于第四预设响度阈值时,说明此时音频信号中的声音响度比较合适,可不进行提示。这样设置的好处在于,可适用于对声音响度上限和下限均有要求的应用场景,保证提示的准确度。For example, the above two adjustment modes may be combined, that is, when the current sound level is small and when the sound is large, the reminder is performed, and the current sound level is greater than or equal to the third preset loudness threshold and less than or equal to the fourth preset. When the loudness threshold is used, it indicates that the sound level in the audio signal is appropriate, and no prompt is given. The advantage of this setting is that it can be applied to the application scenarios that require the upper and lower limits of the acoustic sound level to ensure the accuracy of the prompts.
在一实施例中,还可提示用户同时对麦克风和声源的相对距离和声源的发声情况进行调整。示例性的,当所述声音响度分析结果中包括当前声音响度小于第五预设响度阈值时,提示用户将麦克风和声源的相对距离调小并将声源的发声强度调大;和/或,当所述声音响度分析结果中包括当前声音响度大于第六预设响度阈值时,提示用户将所述麦克风和声源的相对距离调大并将声源的发声强度调小。这样设置的好处在于,能够快速将通话状态或录音状态调整到理想状态。In an embodiment, the user may also be prompted to adjust the relative distance between the microphone and the sound source and the sounding of the sound source. Illustratively, when the current acoustic sound analysis result includes the current acoustic soundness being less than the fifth preset loudness threshold, prompting the user to reduce the relative distance between the microphone and the sound source and increase the sound intensity of the sound source; and/or And when the current acoustic sound analysis result includes the current sound loudness greater than the sixth preset loudness threshold, prompting the user to increase the relative distance between the microphone and the sound source and to reduce the sound intensity of the sound source. The advantage of this setting is that it can quickly adjust the call state or recording state to the ideal state.
在一些实施例中,还可根据当前声音响度与对应的预设响度阈值之间的差距(如差值)来对用户进行更具体的提示。示例性的,不同的差值对应不同的调整值,对应关系可预先根据仿真等方式确定。例如,当前声音响度与第一预设响度阈值之间的差值为a,对应的相对距离调整值为5厘米,则提示用户将所述麦克风和声源的相对距离调小5厘米。这样设置的好处在于,对用户的提示更加明确,方便用户快速将通话状态或录音状态调整到理想状态。In some embodiments, the user may be more specifically prompted based on the difference (eg, the difference) between the current acoustic level and the corresponding preset loudness threshold. Exemplarily, different difference values correspond to different adjustment values, and the correspondence relationship may be determined in advance according to a simulation or the like. For example, the difference between the current acoustic sound level and the first preset loudness threshold is a, and the corresponding relative distance adjustment value is 5 cm, prompting the user to reduce the relative distance between the microphone and the sound source by 5 cm. The advantage of this setting is that the prompts to the user are more clear, and the user can quickly adjust the call state or the recording state to the ideal state.
在一些实施例中,当被触发的事件为预设通话事件时,所述根据分析结果提示用户对所述麦克风和声源的相对距离进行调整,还可包括:获取通话对端联系人的属性信息和/或通话对端的情景模式信息;根据所述属性信息和/或所述情景模式信息确定相应的第一预设响度阈值和/或第二预设响度阈值。这样设置的好处在于,能够根据实际情况更加准确地确定第一预设响度阈值和/或第二预设响度阈值,提升通话效果。In some embodiments, when the triggered event is a preset call event, the prompting the user to adjust the relative distance between the microphone and the sound source according to the analysis result may further include: acquiring an attribute of the call peer contact Information mode and/or profile mode information of the call end; determining a corresponding first preset loudness threshold and/or second preset loudness threshold according to the attribute information and/or the scene mode information. The advantage of this setting is that the first preset loudness threshold and/or the second preset loudness threshold can be determined more accurately according to actual conditions, thereby improving the call effect.
示例性的,属性信息可以包括年龄(或年龄段),或者包括是否为老人或是否为孩子等。在一实施例中,获取通话对端联系人的属性信息可包括:获取通话对端联系人在通讯录中的备注信息,从所述备注信息中提取属性信息;也可包括对通话对端联系人的声音进行语音识别,根据识别结果确定相应的属性信息。当对方为老人时,可能听力较差,所需的声音响度应大一些,因此可将第一预设响度阈值和/或第二预设响度阈值设置得高一些。Illustratively, the attribute information may include age (or age group), or include whether it is an elderly person or a child or the like. In an embodiment, obtaining the attribute information of the call peer contact may include: obtaining the note information of the call peer contact in the address book, extracting the attribute information from the note information, and may also include contacting the call end. The human voice performs speech recognition, and the corresponding attribute information is determined according to the recognition result. When the other party is an elderly person, the hearing may be poor, and the required sound level should be larger, so the first preset loudness threshold and/or the second preset loudness threshold may be set higher.
示例性的,通话对端的情景模式信息可包括静音模式、会议模式、正常模式和户外模式等等模式信息。用户通常会根据自己所处环境设置对应的情景模式,例如在上课或者开会等相对比较安静的环境中,可能会选择静音模式或会议模式,在外面比较吵的环境中可能会选择户外模式,在这些环境中接听电话时,可能对声音响度有不同的需求。例如,会议模式时,由于环境比较安静,声音响度不必很大即可听清对方声音;而户外模式时,由于环境比较吵闹,需要比较大的声音响度才能听清对方声音。基于以上原因,可预先设定好不同的情景模式与第一预设响度阈值和/或第二预设响度阈值的对应关系,在实际的通话过程中,能够根据获取到的情景模式信息来确定相应的第一预设响度阈值和/或第二预设响度阈值。在一实施例中,获取通话对端的情景模式信息可包括:向通话对端发送情景模式信息获取请求,接收通话对端根据所述情景模式信息获取请求反馈的情景模式信息。Exemplarily, the scene mode information of the call end may include mode information such as a silent mode, a conference mode, a normal mode, and an outdoor mode. Users usually set the corresponding scene according to their environment. For example, in a relatively quiet environment such as class or meeting, you may choose silent mode or conference mode. In a noisy environment outside, you may choose outdoor mode. When answering calls in these environments, there may be different demands on the sound level. For example, in the conference mode, since the environment is relatively quiet, the sound level does not have to be large enough to hear the other party's voice; while in the outdoor mode, because the environment is noisy, a relatively large sound level is required to hear the other party's voice. Based on the above reasons, the corresponding relationship between the different preset modes and the first preset loudness threshold and/or the second preset loudness threshold may be preset, and in the actual call, the acquired context mode information may be determined. A corresponding first preset loudness threshold and/or second preset loudness threshold. In an embodiment, the acquiring the scenario mode information of the call peer may include: sending a scenario mode information acquisition request to the call peer end, and receiving the scenario mode information that the call peer end requests the feedback according to the scenario mode information acquisition request.
在一些实施例中,当被触发的事件为预设通话事件时,所述根据分析结果提示用户对声源的发声情况进行调整,还包括:获取通话对端联系人的属性信息和/或通话对端的情景模式信息;根据所述属性信息和/或所述情景模式信息确定相应的第三预设响度阈值和/或第四预设响度阈值。实现细节可参见上文中对根据所述属性信息和/或所述情景模式信息确定相应的第一预设响度阈值和/或第二预设响度阈值进行说明的相关内容。这样设置的好处在于,能够根据实际情况更加准确地确定第三预设响度阈值和/或第四预设响度阈值,提升通话效果。In some embodiments, when the triggered event is a preset call event, the prompting the user to adjust the utterance of the sound source according to the analysis result, further comprising: obtaining attribute information and/or a call of the call peer contact The context mode information of the peer end; determining a corresponding third preset loudness threshold and/or fourth preset loudness threshold according to the attribute information and/or the scene mode information. For details of implementation, reference may be made to the above for determining relevant content of the corresponding first preset loudness threshold and/or second preset loudness threshold according to the attribute information and/or the scene mode information. The advantage of this setting is that the third preset loudness threshold and/or the fourth preset loudness threshold can be determined more accurately according to actual conditions, thereby improving the call effect.
图4为本申请实施例提供的另一种提示方法的流程示意图,该方法适用于录音场景,包括:FIG. 4 is a schematic flowchart of another prompting method according to an embodiment of the present application, where the method is applicable to a recording scenario, including:
步骤401、检测到预设录音事件被触发时,控制麦克风采集音频信号。Step 401: When it is detected that the preset recording event is triggered, the control microphone collects the audio signal.
步骤402、实时对所采集的音频信号的振幅信息进行分析,以得到声音响度分析结果。Step 402: Perform real-time analysis on amplitude information of the collected audio signal to obtain an acoustic sound analysis result.
步骤403、判断当前声音响度是否小于预设响度阈值A,若当前声音响度小于预设响度阈值A,则执行步骤404;若当前声音响度大于等于预设响度阈值A, 执行步骤405。Step 403: Determine whether the current sound level is less than the preset loudness threshold A. If the current sound level is less than the preset loudness threshold A, perform step 404; if the current sound level is greater than or equal to the preset loudness threshold A, perform step 405.
可以理解的是,随着录音的进行,终端会实时地对麦克风采集的音频信号的振幅信息进行分析,而当前声音响度也是随着分析的进行而不断发生变化的。It can be understood that as the recording progresses, the terminal analyzes the amplitude information of the audio signal collected by the microphone in real time, and the current acoustic sound level also changes continuously as the analysis progresses.
步骤404、提示用户将麦克风和声源的相对距离调小或提示用户将声源的发声强度调大。 Step 404, prompting the user to reduce the relative distance between the microphone and the sound source or prompting the user to increase the sound intensity of the sound source.
步骤405、判断当前声音响度是否大于预设响度阈值B,若当前声音响度大于预设响度阈值B,则执行步骤406;若当前声音响度小于等于预设响度阈值B,执行步骤407。In step 405, it is determined whether the current sound level is greater than the preset loudness threshold B. If the current sound level is greater than the preset loudness threshold B, step 406 is performed; if the current sound level is less than or equal to the preset loudness threshold B, step 407 is performed.
步骤406、提示用户将麦克风和声源的相对距离调大或提示用户将声源的发声强度调小。 Step 406, prompting the user to increase the relative distance between the microphone and the sound source or prompting the user to reduce the sound intensity of the sound source.
步骤407、判断是否接收到录音暂停或录音停止指令,若接收到录音暂停或录音停止指令,则结束流程;若没接收到录音暂停或录音停止指令,返回执行步骤403。Step 407: Determine whether a recording pause or recording stop command is received, and if the recording pause or recording stop command is received, the process ends; if the recording pause or recording stop command is not received, the process returns to step 403.
本申请实施例提供的提示方法,能够在录音过程中准确地提示用户调整麦克风和声源的相对距离或声源的发声强度,可以保持良好的录音效果。The prompting method provided by the embodiment of the present application can accurately prompt the user to adjust the relative distance between the microphone and the sound source or the sounding intensity of the sound source during the recording process, and can maintain a good recording effect.
图5为本申请实施例提供的另一种提示方法的流程示意图,该方法适用于通话场景,包括:FIG. 5 is a schematic flowchart of another prompting method according to an embodiment of the present disclosure. The method is applicable to a call scenario, and includes:
步骤501、检测到预设通话事件被触发时,控制麦克风采集音频信号。Step 501: When it is detected that the preset call event is triggered, the control microphone collects the audio signal.
步骤502、实时对所采集的音频信号的振幅信息进行分析,以得到声音响度分析结果。Step 502: Analyze amplitude information of the collected audio signal in real time to obtain an acoustic sound analysis result.
步骤503、判断当前声音响度是否小于预设响度阈值C,若当前声音响度小于预设响度阈值C,则执行步骤504;若当前声音响度大于等于预设响度阈值C,执行步骤505。In step 503, it is determined whether the current sound level is less than the preset loudness threshold C. If the current sound level is less than the preset loudness threshold C, step 504 is performed; if the current sound level is greater than or equal to the preset loudness threshold C, step 505 is performed.
可以理解的是,随着通话的进行,终端会实时地对麦克风采集的音频信号的振幅信息进行分析,而当前声音响度也是随着分析的进行而不断发生变化的。It can be understood that as the call progresses, the terminal analyzes the amplitude information of the audio signal collected by the microphone in real time, and the current acoustic sound level also changes continuously as the analysis progresses.
步骤504、提示用户将麦克风和声源的相对距离调小或提示用户将声源的发声强度调大。 Step 504, prompting the user to reduce the relative distance between the microphone and the sound source or prompting the user to increase the sound intensity of the sound source.
一般的,通话过程中的声源就是用户的嘴巴,对声源的发声强度的调整即用户调整自己说话声音的大小。Generally, the sound source during the call is the user's mouth, and the adjustment of the sound intensity of the sound source means that the user adjusts the size of his own voice.
在一实施例中,该通话为通过手机拨打的电话时,可以语音形式对用户进行提示,能够更容易被用户察觉到。在一实施例中,通过听筒播放语音提示以提示用户将麦克风和声源的相对距离调小或提示用户将声源的发声强度调大。例如,通过听筒播放“请离麦克风更近一些”或“请提高说话音量”等等。In an embodiment, when the call is a call made through a mobile phone, the user can be prompted in a voice form, which can be more easily perceived by the user. In an embodiment, the voice prompt is played through the earpiece to prompt the user to reduce the relative distance between the microphone and the sound source or to prompt the user to increase the sound intensity of the sound source. For example, play "Please be closer to the microphone" or "Please increase the volume of the voice" through the handset.
步骤505、判断当前声音响度是否大于预设响度阈值D,若当前声音响度大于预设响度阈值D,则执行步骤506;若当前声音响度小于等于预设响度阈值D,执行步骤507。Step 505: Determine whether the current sound level is greater than the preset loudness threshold D. If the current sound level is greater than the preset loudness threshold D, perform step 506; if the current sound level is less than or equal to the preset loudness threshold D, perform step 507.
步骤506、提示用户将麦克风和声源的相对距离调大或提示用户将声源的发声强度调小。 Step 506, prompting the user to increase the relative distance between the microphone and the sound source or prompting the user to reduce the sound intensity of the sound source.
步骤507、判断是否接收到通话结束指令,若接收到通话结束指令,则结束流程;若没有接收到通话结束指令,返回执行步骤503。Step 507: Determine whether a call end command is received. If the call end command is received, the process ends. If the call end command is not received, the process returns to step 503.
本申请实施例提供的提示方法,能够在通话过程中准确地提示用户调整麦克风和嘴巴的相对距离或说话声音的大小,可以保持良好的通话效果。The prompting method provided by the embodiment of the present application can accurately prompt the user to adjust the relative distance of the microphone and the mouth or the size of the speaking voice during the call, and can maintain a good call effect.
图6为本申请实施例提供的另一种提示方法的流程示意图,该方法适用于通话场景,包括:FIG. 6 is a schematic flowchart of another prompting method according to an embodiment of the present disclosure. The method is applicable to a call scenario, and includes:
步骤601、检测到预设通话事件被触发时,控制麦克风采集音频信号。Step 601: When it is detected that the preset call event is triggered, the control microphone collects the audio signal.
步骤602、实时提取所述音频信号中对应人声的振幅信息,对所述对应人声的振幅信息进行分析,以得到声音响度分析结果。Step 602: Extract amplitude information of the corresponding human voice in the audio signal in real time, and analyze amplitude information of the corresponding human voice to obtain an acoustic sound analysis result.
步骤603、获取通话对端的情景模式信息,根据所述情景模式信息确定相应的预设响度阈值E和预设响度阈值F。Step 603: Acquire context mode information of the opposite end of the call, and determine a corresponding preset loudness threshold E and a preset loudness threshold F according to the scene mode information.
在一实施例中,为了实现准确的确定预设响度阈值E和预设响度阈值F,还可以结合通话对端的属性信息进行确定。例如,当情景模式为户外模式,属性信息为年轻人时,确定预设响度阈值为E
1;当情景模式为户外模式,属性信息为老人时,确定预设响度阈值为E
2;其中,E
2大于E
1。
In an embodiment, in order to accurately determine the preset loudness threshold E and the preset loudness threshold F, the attribute information of the opposite end of the call may also be determined. For example, when the scene mode is the outdoor mode, the attribute information is young, the preset loudness threshold is determined as E 1 ; when the scene mode is the outdoor mode, and the attribute information is the elderly, the preset loudness threshold is determined as E 2 ; 2 is greater than E 1 .
步骤604、判断当前声音响度是否小于预设响度阈值E,若当前声音响度小于预设响度阈值E,则执行步骤605;若当前声音响度大于等于预设响度阈值E,执行步骤606。In step 604, it is determined whether the current sound level is less than the preset loudness threshold E. If the current sound level is less than the preset loudness threshold E, step 605 is performed; if the current sound level is greater than or equal to the preset loudness threshold E, step 606 is performed.
可以理解的是,当前声音响度对应用户讲话声音的响度。It can be understood that the current sound level corresponds to the loudness of the user's speech sound.
步骤605、提示用户将麦克风和声源的相对距离调小或提示用户将声源的发声强度调大。 Step 605, prompting the user to reduce the relative distance between the microphone and the sound source or prompting the user to increase the sound intensity of the sound source.
步骤606、判断当前声音响度是否大于预设响度阈值F,若当前声音响度大于预设响度阈值F,则执行步骤607;若当前声音响度小于等于预设响度阈值F,执行步骤608。Step 606: Determine whether the current sound level is greater than the preset loudness threshold F. If the current sound level is greater than the preset loudness threshold F, perform step 607; if the current sound level is less than or equal to the preset loudness threshold F, perform step 608.
步骤607、提示用户将麦克风和声源的相对距离调大或提示用户将声源的发声强度调小。Step 607: prompt the user to increase the relative distance between the microphone and the sound source or prompt the user to reduce the sound intensity of the sound source.
步骤608、判断是否接收到通话结束指令,若接收到通话结束指令,则结束流程;若没接收到通话结束指令,返回执行步骤604。Step 608: Determine whether a call end command is received. If the call end command is received, the process ends; if the call end command is not received, the process returns to step 604.
本申请实施例提供的提示方法,能够在通话过程中根据通话对方的情景模式信息更加准确地提示用户调整麦克风和嘴巴的相对距离或说话声音的大小,可以更有针对性的提升通话效果。The prompting method provided by the embodiment of the present invention can promptly prompt the user to adjust the relative distance between the microphone and the mouth or the size of the speaking voice according to the scene mode information of the calling party during the call, and can improve the call effect more specifically.
图7为本申请实施例提供的一种提示装置的结构框图,该装置可由软件和/或硬件实现,一般集成在终端中,可通过执行提示方法来对用户进行提示。如图7所示,该装置包括:FIG. 7 is a structural block diagram of a prompting apparatus according to an embodiment of the present disclosure. The apparatus may be implemented by software and/or hardware, and is generally integrated in a terminal, and may prompt the user by executing a prompting method. As shown in Figure 7, the device includes:
音频信号采集模块701,设置为在检测到预设通话事件或预设录音事件被触发时,控制麦克风采集音频信号;The audio signal collection module 701 is configured to control the microphone to collect an audio signal when a preset call event is detected or a preset recording event is triggered;
声音响度分析模块702,设置为对所述音频信号对应的声音响度进行分析;The acoustic sound analysis module 702 is configured to analyze the sound intensity corresponding to the audio signal;
提示模块703,设置为根据分析结果提示用户对通话状态或录音状态进行调整。The prompting module 703 is configured to prompt the user to adjust the call state or the recording state according to the analysis result.
本申请实施例提供的提示装置,在通话或录音过程中,能够及时准确地提示用户调整通话状态或录音状态,可以保持良好的通话效果或录音效果。The prompting device provided by the embodiment of the present invention can promptly and promptly prompt the user to adjust the call state or the recording state during the call or recording process, and can maintain a good call effect or a recording effect.
在一实施例中,上述提示模块703是设置为:In an embodiment, the prompting module 703 is configured to:
当被触发的事件为预设通话事件或预设录音事件时,根据分析结果提示用户对所述麦克风和声源的相对距离和/或声源的发声情况进行调整。When the triggered event is a preset call event or a preset recording event, the user is prompted to adjust the relative distance of the microphone and the sound source and/or the sounding of the sound source according to the analysis result.
在一实施例中,上述声音响度分析模块702是设置为:In an embodiment, the acoustic sound analysis module 702 is configured to:
对所述音频信号的振幅信息进行分析,以得到声音响度分析结果。The amplitude information of the audio signal is analyzed to obtain an acoustic sound analysis result.
在一实施例中,上述声音响度分析模块702是设置为:In an embodiment, the acoustic sound analysis module 702 is configured to:
提取所述音频信号中对应人声的振幅信息;Extracting amplitude information of the corresponding human voice in the audio signal;
对所述对应人声的振幅信息进行分析,以得到声音响度分析结果。The amplitude information of the corresponding human voice is analyzed to obtain an acoustic sound analysis result.
在一实施例中,上述提示模块703是设置为,包括:In an embodiment, the prompting module 703 is configured to include:
当所述声音响度分析结果中包括当前声音响度小于第一预设响度阈值时,提示用户将所述麦克风和声源的相对距离调小;和/或,When the sound intensity analysis result includes that the current sound level is less than the first preset loudness threshold, prompting the user to reduce the relative distance between the microphone and the sound source; and/or,
当所述声音响度分析结果中包括当前声音响度大于第二预设响度阈值时,提示用户将所述麦克风和声源的相对距离调大。When the sound sound analysis result includes the current sound loudness greater than the second preset loudness threshold, the user is prompted to increase the relative distance between the microphone and the sound source.
在一实施例中,上述提示模块703,还包括:In an embodiment, the prompting module 703 further includes:
第一获取子模块,设置为获取通话对端联系人的属性信息和/或通话对端的情景模式信息;The first obtaining submodule is configured to obtain attribute information of the call peer contact and/or context mode information of the call peer end;
第一确定子模块,设置为根据所述属性信息和/或所述情景模式信息确定相应的第一预设响度阈值和/或第二预设响度阈值。The first determining submodule is configured to determine a corresponding first preset loudness threshold and/or second preset loudness threshold according to the attribute information and/or the scene mode information.
在一实施例中,上述提示模块703是设置为:In an embodiment, the prompting module 703 is configured to:
当所述声音响度分析结果中包括当前声音响度小于第三预设响度阈值时, 提示用户将声源的发声强度调大;和/或,When the sound intensity analysis result includes that the current sound level is less than the third preset loudness threshold, prompting the user to increase the sound intensity of the sound source; and/or,
当所述声音响度分析结果中包括当前声音响度大于第四预设响度阈值时,提示用户将声源的发声强度调小。When the sound sound analysis result includes the current sound loudness greater than the fourth preset loudness threshold, the user is prompted to reduce the sound intensity of the sound source.
在一实施例中,上述提示模块703,还包括:In an embodiment, the prompting module 703 further includes:
第二获取子模块,设置为获取通话对端联系人的属性信息和/或通话对端的情景模式信息;The second obtaining submodule is configured to obtain attribute information of the call peer contact and/or context mode information of the call peer end;
第二确定子模块,设置为根据所述属性信息和/或所述情景模式信息确定相应的第三预设响度阈值和/或第四预设响度阈值。The second determining submodule is configured to determine a corresponding third preset loudness threshold and/or fourth preset loudness threshold according to the attribute information and/or the scene mode information.
本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种提示方法,该方法包括:The embodiment of the present application further provides a storage medium including computer executable instructions for executing a prompting method when executed by a computer processor, the method comprising:
检测到预设通话事件或预设录音事件被触发时,控制麦克风采集音频信号;Controlling the microphone to collect audio signals when a preset call event is detected or a preset recording event is triggered;
对所述音频信号对应的声音响度进行分析;And analyzing an acoustic sound level corresponding to the audio signal;
根据分析结果提示用户对通话状态或录音状态进行调整。According to the analysis result, the user is prompted to adjust the call state or the recording state.
存储介质——任何的不同类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器(random access memory,RAM),诸如动态随机存取存储器(dynamic random access memory,DRAM)、显示数据随机存储器(display data random access memory,DDR RAM)、静态随机存取存储器(static random access memory,SRAM)、扩展数据输出随机存取存储器(extended data output random access memory,EDO RAM),兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的至少两个存储介质。存储介质可以存储可由至少一个处理器执行的程序指令(例如实现为计算机程序)。Storage media - any different type of storage device or storage device. The term "storage medium" is intended to include: a mounting medium such as a CD-ROM, a floppy disk or a tape device; a computer system memory or a random access memory (RAM) such as a dynamic random access memory (dynamic random access memory). DRAM), display data random access memory (DDR RAM), static random access memory (SRAM), extended data output random access memory (EDO RAM) , Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory components, and the like. The storage medium may also include other types of memory or a combination thereof. Additionally, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system, the second computer system being coupled to the first computer system via a network, such as the Internet. The second computer system can provide program instructions to the first computer for execution. The term "storage medium" can include at least two storage mediums that can reside in different locations (eg, in different computer systems connected through a network). The storage medium may store program instructions (eg, implemented as a computer program) executable by the at least one processor.
当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的提示操作,还可以执行本申请任意实施例所提供的提示方法中的相关操作。Of course, the storage medium containing the computer executable instructions provided by the embodiment of the present application is not limited to the prompt operation as described above, and may also be related to the prompting method provided by any embodiment of the present application. operating.
本实施例提供了一种终端,该终端中可集成本实施例提供的提示装置。图8为本实施例提供的一种终端的结构示意图。该终端例如可以是移动终端,如图8 所示,该终端可以包括:壳体(图中未示出)、存储器801、中央处理器(Central Processing Unit,CPU)802(又称处理器,以下简称CPU)、电路板(图中未示出)、电源电路(图中未示出)和麦克风813。所述电路板安置在所述壳体围成的空间内部;所述CPU802和所述存储器801设置在所述电路板上;所述电源电路,设置为为所述终端的多个电路或器件供电;所述存储器801,设置为存储可执行程序代码;所述CPU802通过读取所述存储器801中存储的可执行程序代码来运行与所述可执行程序代码对应的计算机程序,以实现以下步骤:The embodiment provides a terminal in which the prompting device provided in this embodiment can be integrated. FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure. The terminal may be, for example, a mobile terminal. As shown in FIG. 8, the terminal may include a casing (not shown), a memory 801, and a central processing unit (CPU) 802 (also referred to as a processor, below). Referred to as CPU), a circuit board (not shown), a power supply circuit (not shown), and a microphone 813. The circuit board is disposed inside a space enclosed by the casing; the CPU 802 and the memory 801 are disposed on the circuit board; and the power circuit is configured to supply power to a plurality of circuits or devices of the terminal The memory 801 is configured to store executable program code; the CPU 802 runs a computer program corresponding to the executable program code by reading executable program code stored in the memory 801 to implement the following steps:
检测到预设通话事件或预设录音事件被触发时,控制麦克风采集音频信号;Controlling the microphone to collect audio signals when a preset call event is detected or a preset recording event is triggered;
对所述音频信号对应的声音响度进行分析;And analyzing an acoustic sound level corresponding to the audio signal;
根据分析结果提示用户对通话状态或录音状态进行调整。According to the analysis result, the user is prompted to adjust the call state or the recording state.
所述终端还包括:外设接口803、射频(Radio Frequency,RF)电路805、音频电路806、扬声器811、电源管理芯片808、输入/输出(I/O)子系统其他输入/控制设备、触摸屏812、其他输入/控制设备810以及外部端口804,这些部件通过至少一个通信总线或信号线807来通信。The terminal further includes: a peripheral interface 803, a radio frequency (RF) circuit 805, an audio circuit 806, a speaker 811, a power management chip 808, other input/output (I/O) subsystem input/control devices, and a touch screen. 812, other input/control devices 810 and external port 804, these components communicate via at least one communication bus or signal line 807.
应该理解的是,图示终端800仅仅是终端的一个范例,并且终端800可以具有比图中所示出的更多的或者更少的部件,可以组合至少两个的部件,或者可以具有不同的部件配置。图中所示出的多种部件可以在包括至少一个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated terminal 800 is merely one example of a terminal, and that the terminal 800 may have more or fewer components than those shown in the figures, may combine at least two components, or may have different Component configuration. The various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including at least one signal processing and/or application specific integrated circuit.
下面就本实施例提供的用于提示用户的终端进行详细的描述,该终端以手机为例。The following is a detailed description of the terminal for prompting the user provided in this embodiment. The terminal uses a mobile phone as an example.
存储器801,所述存储器801可以被CPU802、外设接口803等访问,所述存储器801可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 801 can be accessed by the CPU 802, the peripheral interface 803, etc., and the memory 801 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
外设接口803,所述外设接口803可以将设备的输入和输出外设连接到CPU802和存储器801。 Peripheral interface 803, which can connect the input and output peripherals of the device to CPU 802 and memory 801.
I/O子系统809,所述I/O子系统809可以将设备上的输入输出外设,例如触摸屏812和其他输入/控制设备810,连接到外设接口803。I/O子系统809可以包括显示控制器8091和设置为控制其他输入/控制设备810的至少一个输入控制器8092。其中,至少一个输入控制器8092从其他输入/控制设备810接收电信号或者向其他输入/控制设备810发送电信号,其他输入/控制设备810可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器8092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。I/O subsystem 809, which can connect input and output peripherals on the device, such as touch screen 812 and other input/control devices 810, to peripheral interface 803. The I/O subsystem 809 can include a display controller 8091 and at least one input controller 8092 configured to control other input/control devices 810. Wherein, at least one input controller 8092 receives electrical signals from other input/control devices 810 or transmits electrical signals to other input/control devices 810, and other input/control devices 810 may include physical buttons (press buttons, rocker buttons, etc.), Dial, slide switch, joystick, click wheel. It is worth noting that the input controller 8092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
触摸屏812,所述触摸屏812是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。The touch screen 812 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user. The visual output may include graphics, text, icons, videos, and the like.
I/O子系统809中的显示控制器8091从触摸屏812接收电信号或者向触摸屏812发送电信号。触摸屏812检测触摸屏上的接触,显示控制器8091将检测到的接触转换为与显示在触摸屏812上的用户界面对象的交互,即实现人机交互,显示在触摸屏812上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。 Display controller 8091 in I/O subsystem 809 receives an electrical signal from touch screen 812 or an electrical signal to touch screen 812. The touch screen 812 detects the contact on the touch screen, and the display controller 8091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 812, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 812 may be running. The icon of the game, the icon of the network to the corresponding network, and the like. It is worth noting that the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
RF电路805,设置为建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。RF电路805接收并发送RF信号,RF信号也称为电磁信号,RF电路805将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路805可以包括设置为执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、至少一个放大器、调谐器、至少一个振荡器、数字信号处理器、编译码器(COder-DECoder,CODEC)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 805 is configured to establish communication between the mobile phone and the wireless network (ie, the network side) to implement data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. The RF circuit 805 receives and transmits an RF signal, also referred to as an electromagnetic signal, and the RF circuit 805 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal and communicates with the communication network and other devices through the electromagnetic signal. The RF circuit 805 can include known circuitry configured to perform these functions including, but not limited to, an antenna system, an RF transceiver, at least one amplifier, a tuner, at least one oscillator, a digital signal processor, a codec (COder- DECoder, CODEC) Chipset, Subscriber Identity Module (SIM), etc.
音频电路806,设置为从外设接口803接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器811。The audio circuit 806 is arranged to receive audio data from the peripheral interface 803, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 811.
扬声器811,设置为将手机通过RF电路805从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 811 is arranged to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 805 to sound and play the sound to the user.
电源管理芯片808,设置为为CPU802、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 808 is configured to provide power and power management for the hardware connected to the CPU 802, the I/O subsystem, and the peripheral interface.
本申请实施例提供的终端,在通话或录音过程中,能够及时准确地提示用户调整通话状态或录音状态,可以保持良好的通话效果或录音效果。The terminal provided by the embodiment of the present invention can promptly and promptly prompt the user to adjust the call state or the recording state during the call or recording process, and can maintain a good call effect or a recording effect.
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意一种提示方法。The embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer The computer is caused to perform any of the above-described prompting methods.
上述实施例中提供的提示装置、存储介质及终端可执行本申请任意实施例所提供的提示方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的提示方法。The prompting device, the storage medium and the terminal provided in the above embodiments can perform the prompting method provided by any embodiment of the present application, and have the corresponding functional modules and beneficial effects of executing the method. For the technical details that are not described in detail in the above embodiments, reference may be made to the prompting method provided by any embodiment of the present application.
Claims (20)
- 一种提示方法,包括:A prompting method, including:检测到预设通话事件或预设录音事件被触发时,控制麦克风采集音频信号;Controlling the microphone to collect audio signals when a preset call event is detected or a preset recording event is triggered;对所述音频信号对应的声音响度进行分析;以及Performing an analysis of the acoustic sound level corresponding to the audio signal;根据分析结果提示用户对通话状态或录音状态进行调整。According to the analysis result, the user is prompted to adjust the call state or the recording state.
- 根据权利要求1所述的方法,其中,所述根据分析结果提示用户对通话状态或录音状态进行调整,包括:The method according to claim 1, wherein the prompting the user to adjust the call state or the recording state according to the analysis result comprises:根据分析结果提示用户对下述至少一种:所述麦克风和声源的相对距离和声源的发声情况进行调整。According to the analysis result, the user is prompted to adjust at least one of the following: the relative distance between the microphone and the sound source and the sounding of the sound source.
- 根据权利要求2所述的方法,其中,所述对所述音频信号对应的声音响度进行分析,包括:The method of claim 2, wherein the analyzing the acoustic sound level corresponding to the audio signal comprises:对所述音频信号的振幅信息进行分析,以得到声音响度分析结果。The amplitude information of the audio signal is analyzed to obtain an acoustic sound analysis result.
- 根据权利要求3所述的方法,其中,对所述音频信号的振幅信息进行分析,以得到声音响度分析结果,包括:The method according to claim 3, wherein analyzing the amplitude information of the audio signal to obtain an acoustic sound analysis result comprises:提取所述音频信号中对应人声的振幅信息;Extracting amplitude information of the corresponding human voice in the audio signal;对所述对应人声的振幅信息进行分析,以得到声音响度分析结果。The amplitude information of the corresponding human voice is analyzed to obtain an acoustic sound analysis result.
- 根据权利要求3或4所述的方法,其中,根据分析结果提示用户对所述麦克风和声源的相对距离进行调整,包括下述至少一种:The method according to claim 3 or 4, wherein the user is prompted to adjust the relative distance between the microphone and the sound source according to the analysis result, including at least one of the following:当所述声音响度分析结果包括当前声音响度小于第一预设响度阈值时,提示用户将所述麦克风和声源的相对距离调小;和When the acoustic sound analysis result includes that the current sound sensitivity is less than the first preset loudness threshold, prompting the user to reduce the relative distance between the microphone and the sound source; and当所述声音响度分析结果包括当前声音响度大于第二预设响度阈值时,提示用户将所述麦克风和声源的相对距离调大。When the acoustic sound analysis result includes the current sound loudness being greater than the second preset loudness threshold, the user is prompted to increase the relative distance between the microphone and the sound source.
- 根据权利要求5所述的方法,其中,当被触发的事件为预设通话事件时,所述根据分析结果提示用户对所述麦克风和声源的相对距离进行调整,还包括:The method of claim 5, wherein when the triggered event is a preset call event, the prompting the user to adjust the relative distance between the microphone and the sound source according to the analysis result further includes:获取下述信息中的至少一种:通话对端联系人的属性信息和通话对端的情景模式信息;Obtaining at least one of the following information: attribute information of the call peer contact and profile mode information of the call peer;根据获取的信息确定下述至少一种阈值:第一预设响度阈值和第二预设响度阈值。Determining at least one of the following thresholds based on the acquired information: a first preset loudness threshold and a second preset loudness threshold.
- 根据权利要求3或4所述的方法,其中,根据分析结果提示用户对声源的发声情况进行调整,包括下述至少一种:The method according to claim 3 or 4, wherein the user is prompted to adjust the utterance of the sound source according to the analysis result, including at least one of the following:当所述声音响度分析结果包括当前声音响度小于第三预设响度阈值时,提示用户将声源的发声强度调大;和When the sound intensity analysis result includes that the current sound level is less than the third preset loudness threshold, prompting the user to increase the sound intensity of the sound source; and当所述声音响度分析结果包括当前声音响度大于第四预设响度阈值时,提示用户将声源的发声强度调小。When the sound intensity analysis result includes that the current sound level is greater than the fourth preset loudness threshold, the user is prompted to reduce the sound intensity of the sound source.
- 根据权利要求7所述的方法,其中,当被触发的事件为预设通话事件时,所述根据分析结果提示用户对声源的发声情况进行调整,还包括:The method of claim 7, wherein when the triggered event is a preset call event, the prompting the user to adjust the sounding of the sound source according to the analysis result further includes:获取下述信中息的至少一种:通话对端联系人的属性信息和通话对端的情景模式信息;Obtaining at least one of the following information: attribute information of the call peer contact and profile mode information of the call peer;根据获取的信息确定下述至少一种阈值:第三预设响度阈值和第四预设响度阈值。Determining at least one of the following thresholds based on the acquired information: a third preset loudness threshold and a fourth preset loudness threshold.
- 根据权利要求1所述的方法,其中,当被触发的事件为预设通话事件时,根据分析结果提示用户对通话状态进行调整,包括:The method according to claim 1, wherein when the triggered event is a preset call event, the user is prompted to adjust the call state according to the analysis result, including:当被触发的事件为预设通话事件时,根据分析结果以文字形式、语音形式或指示灯形式提示用户对通话状态进行调整。When the triggered event is a preset call event, the user is prompted to adjust the call state according to the analysis result in the form of text, voice, or indicator light.
- 根据权利要求1所述的方法,其中,当被触发的事件为预设录音事件时,根据分析结果提示用户对录音状态进行调整,包括:The method according to claim 1, wherein when the triggered event is a preset recording event, the user is prompted to adjust the recording state according to the analysis result, including:当被触发的事件为预设录音事件时,根据分析结果以文字形式、语音形式或指示灯形式提示用户对录音状态进行调整。When the triggered event is a preset recording event, the user is prompted to adjust the recording state according to the analysis result in the form of text, voice, or indicator light.
- 一种提示装置,包括:A prompting device comprising:音频信号采集模块,设置为在检测到预设通话事件或预设录音事件被触发时,控制麦克风采集音频信号;The audio signal collecting module is configured to control the microphone to collect the audio signal when the preset call event is detected or the preset recording event is triggered;声音响度分析模块,设置为对所述音频信号对应的声音响度进行分析;以及An acoustic sound analysis module configured to analyze an acoustic sound level corresponding to the audio signal;提示模块,设置为根据分析结果提示用户对通话状态或录音状态进行调整。The prompt module is set to prompt the user to adjust the call state or the recording state according to the analysis result.
- 根据权利要求11所述的装置,其中,所述提示模块是设置为:The apparatus of claim 11 wherein said prompting module is configured to:当被触发的事件为预设通话事件或预设录音事件时,根据分析结果提示用户对下述至少一种:所述麦克风和声源的相对距离和声源的发声情况进行调整。When the triggered event is a preset call event or a preset recording event, the user is prompted according to the analysis result to adjust at least one of the following: the relative distance between the microphone and the sound source and the sounding condition of the sound source.
- 根据权利要求12所述的装置,其中,所述声音响度分析模块是设置为:The apparatus of claim 12 wherein said acoustical sound analysis module is configured to:对所述音频信号的振幅信息进行分析,以得到声音响度分析结果。The amplitude information of the audio signal is analyzed to obtain an acoustic sound analysis result.
- 根据权利要求13所述的装置,其中,所述声音响度分析模块是设置为:The apparatus of claim 13 wherein said acoustical sound analysis module is configured to:提取所述音频信号中对应人声的振幅信息;Extracting amplitude information of the corresponding human voice in the audio signal;对所述对应人声的振幅信息进行分析,以得到声音响度分析结果。The amplitude information of the corresponding human voice is analyzed to obtain an acoustic sound analysis result.
- 根据权利要求13或14所述的装置,其中,所述提示模块是设置为执行下述至少一种:The apparatus according to claim 13 or 14, wherein said prompting module is arranged to perform at least one of the following:当所述声音响度分析结果包括当前声音响度小于第一预设响度阈值时,提示用户将所述麦克风和声源的相对距离调小;和When the acoustic sound analysis result includes that the current sound sensitivity is less than the first preset loudness threshold, prompting the user to reduce the relative distance between the microphone and the sound source; and当所述声音响度分析结果包括当前声音响度大于第二预设响度阈值时,提 示用户将所述麦克风和声源的相对距离调大。When the acoustic sound analysis result includes the current sound loudness being greater than the second preset loudness threshold, the user is prompted to increase the relative distance between the microphone and the sound source.
- 根据权利要求15所述的装置,其中,所述提示模块还包括:The apparatus according to claim 15, wherein the prompting module further comprises:第一获取子模块,设置为获取下述信息中的至少一种:通话对端联系人的属性信息和通话对端的情景模式信息;The first obtaining submodule is configured to obtain at least one of the following information: attribute information of the call peer contact and context mode information of the call peer end;第一确定子模块,设置为根据获取的信息确定下述至少一种阈值:第一预设响度阈值和第二预设响度阈值。The first determining submodule is configured to determine at least one of the following thresholds according to the acquired information: a first preset loudness threshold and a second preset loudness threshold.
- 根据权利要求13或14所述的装置,其中,所述提示模块是设置为执行下述至少一种:The apparatus according to claim 13 or 14, wherein said prompting module is arranged to perform at least one of the following:当所述声音响度分析结果包括当前声音响度小于第三预设响度阈值时,提示用户将声源的发声强度调大;和When the sound intensity analysis result includes that the current sound level is less than the third preset loudness threshold, prompting the user to increase the sound intensity of the sound source; and当所述声音响度分析结果包括当前声音响度大于第四预设响度阈值时,提示用户将声源的发声强度调小。When the sound intensity analysis result includes that the current sound level is greater than the fourth preset loudness threshold, the user is prompted to reduce the sound intensity of the sound source.
- 根据权利要求17所述的装置,其中,所述提示模块还包括:The apparatus according to claim 17, wherein the prompting module further comprises:第二获取子模块,设置为获取下述信息中的至少一种:通话对端联系人的属性信息和通话对端的情景模式信息;The second obtaining submodule is configured to obtain at least one of the following information: attribute information of the call peer contact and context mode information of the call peer end;第二确定子模块,设置为根据获取的信息确定下述至少一种:第三预设响度阈值和第四预设响度阈值。The second determining submodule is configured to determine at least one of the following according to the acquired information: a third preset loudness threshold and a fourth preset loudness threshold.
- 一种计算机可读存储介质,所述存储介质中存储有计算机程序,该程序被处理器执行时实现如权利要求1-10中任一所述的提示方法。A computer readable storage medium storing a computer program, the program being executed by a processor to implement the prompting method according to any one of claims 1-10.
- 一种终端,包括麦克风,存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-10任一所述的提示方法。A terminal comprising a microphone, a memory, a processor, and a computer program stored on the memory and operable by the processor, the processor executing the computer program to implement the prompting method according to any one of claims 1-10 .
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710711506.7 | 2017-08-18 | ||
CN201710711506.7A CN107580113B (en) | 2017-08-18 | 2017-08-18 | Reminding method, device, storage medium and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019033987A1 true WO2019033987A1 (en) | 2019-02-21 |
Family
ID=61033820
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/099662 WO2019033987A1 (en) | 2017-08-18 | 2018-08-09 | Prompting method and apparatus, storage medium, and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107580113B (en) |
WO (1) | WO2019033987A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111479193A (en) * | 2020-03-18 | 2020-07-31 | 深圳传音制造有限公司 | Vibration sounding device and method |
CN112000411A (en) * | 2020-08-18 | 2020-11-27 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and display method of recording channel occupation information thereof |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107580113B (en) * | 2017-08-18 | 2019-09-24 | Oppo广东移动通信有限公司 | Reminding method, device, storage medium and terminal |
CN108391206A (en) | 2018-03-30 | 2018-08-10 | 广东欧珀移动通信有限公司 | Signal processing method, device, terminal, earphone and readable storage medium storing program for executing |
CN108668017A (en) * | 2018-04-19 | 2018-10-16 | Oppo广东移动通信有限公司 | Volume reminding method, mode switching method, device, terminal and storage medium |
CN109005281A (en) * | 2018-06-27 | 2018-12-14 | 努比亚技术有限公司 | A kind of In Call adjusting method, mobile terminal and computer readable storage medium |
CN108882094B (en) * | 2018-07-27 | 2020-03-13 | 歌尔科技有限公司 | Feedback noise reduction earphone and feedback circuit thereof |
CN110365852B (en) * | 2019-08-13 | 2021-08-27 | 上饶市中科院云计算中心大数据研究院 | Voice-guided recording method and device |
CN112533081B (en) * | 2019-09-19 | 2023-04-18 | 成都鼎桥通信技术有限公司 | Recording processing method, recording processing equipment and recording medium |
CN110931047A (en) * | 2019-12-06 | 2020-03-27 | 广州国音智能科技有限公司 | Voice data acquisition method and device, acquisition terminal and readable storage medium |
CN111210839A (en) * | 2019-12-31 | 2020-05-29 | 秒针信息技术有限公司 | Method and device for detecting recording equipment |
CN111641794B (en) * | 2020-05-25 | 2023-03-28 | 维沃移动通信有限公司 | Sound signal acquisition method and electronic equipment |
CN111863001A (en) * | 2020-06-17 | 2020-10-30 | 广州华燎电气科技有限公司 | Method for inhibiting background noise in multi-party call system |
CN113014844A (en) * | 2021-02-08 | 2021-06-22 | Oppo广东移动通信有限公司 | Audio processing method and device, storage medium and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1815555A (en) * | 2005-02-04 | 2006-08-09 | 光宝科技股份有限公司 | Electronic radio device and its volume prompting method |
CN101197871A (en) * | 2006-12-07 | 2008-06-11 | 乐金电子(中国)研究开发中心有限公司 | Automatic voice measuring and reminding device |
CN101419795A (en) * | 2008-12-03 | 2009-04-29 | 李伟 | Audio signal detection method and device, and auxiliary oral language examination system |
CN103685673A (en) * | 2012-09-20 | 2014-03-26 | 索尼公司 | Signal processing apparatus and storage medium |
CN104954579A (en) * | 2015-06-30 | 2015-09-30 | 深圳市鸿宇顺科技有限公司 | Communication device with conversation decibel reminding function |
CN105120063A (en) * | 2015-07-13 | 2015-12-02 | 联想(北京)有限公司 | Volume prompting method of input voice and electronic device |
CN107580113A (en) * | 2017-08-18 | 2018-01-12 | 广东欧珀移动通信有限公司 | Reminding method, device, storage medium and terminal |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201234828A (en) * | 2011-02-15 | 2012-08-16 | Wistron Corp | Mobile communication device and mehtod for adjusting volume thereof |
JP6071054B2 (en) * | 2013-03-12 | 2017-02-01 | 株式会社リコー | Communication device and method for controlling voice input / output unit |
CN104424073A (en) * | 2013-08-21 | 2015-03-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
KR102287943B1 (en) * | 2014-10-14 | 2021-08-09 | 삼성전자주식회사 | Electronic device, method of controlling volume in the electronic device, and method of controlling the electronic device |
CN105405441B (en) * | 2015-10-20 | 2019-06-18 | 北京云知声信息技术有限公司 | A kind of feedback method and device of voice messaging |
CN107040661A (en) * | 2017-04-18 | 2017-08-11 | 广东欧珀移动通信有限公司 | Control method, device and the mobile terminal of mobile terminal playing volume |
-
2017
- 2017-08-18 CN CN201710711506.7A patent/CN107580113B/en active Active
-
2018
- 2018-08-09 WO PCT/CN2018/099662 patent/WO2019033987A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1815555A (en) * | 2005-02-04 | 2006-08-09 | 光宝科技股份有限公司 | Electronic radio device and its volume prompting method |
CN101197871A (en) * | 2006-12-07 | 2008-06-11 | 乐金电子(中国)研究开发中心有限公司 | Automatic voice measuring and reminding device |
CN101419795A (en) * | 2008-12-03 | 2009-04-29 | 李伟 | Audio signal detection method and device, and auxiliary oral language examination system |
CN103685673A (en) * | 2012-09-20 | 2014-03-26 | 索尼公司 | Signal processing apparatus and storage medium |
CN104954579A (en) * | 2015-06-30 | 2015-09-30 | 深圳市鸿宇顺科技有限公司 | Communication device with conversation decibel reminding function |
CN105120063A (en) * | 2015-07-13 | 2015-12-02 | 联想(北京)有限公司 | Volume prompting method of input voice and electronic device |
CN107580113A (en) * | 2017-08-18 | 2018-01-12 | 广东欧珀移动通信有限公司 | Reminding method, device, storage medium and terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111479193A (en) * | 2020-03-18 | 2020-07-31 | 深圳传音制造有限公司 | Vibration sounding device and method |
CN112000411A (en) * | 2020-08-18 | 2020-11-27 | 青岛海信移动通信技术股份有限公司 | Mobile terminal and display method of recording channel occupation information thereof |
CN112000411B (en) * | 2020-08-18 | 2023-07-07 | 青岛海信移动通信技术有限公司 | Mobile terminal and display method of recording channel occupation information thereof |
Also Published As
Publication number | Publication date |
---|---|
CN107580113A (en) | 2018-01-12 |
CN107580113B (en) | 2019-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11251763B2 (en) | Audio signal adjustment method, storage medium, and terminal | |
WO2019033987A1 (en) | Prompting method and apparatus, storage medium, and terminal | |
CN107509153B (en) | Detection method and device of sound playing device, storage medium and terminal | |
JP2019117623A (en) | Voice dialogue method, apparatus, device and storage medium | |
US20170126192A1 (en) | Method, device, and computer-readable medium for adjusting volume | |
WO2018059030A1 (en) | Volume adjustment method and terminal | |
US20180152163A1 (en) | Noise control method and device | |
US11201598B2 (en) | Volume adjusting method and mobile terminal | |
CN107371102B (en) | Audio playing volume control method and device, storage medium and mobile terminal | |
WO2019174492A1 (en) | Voice call data detection method, device, storage medium and mobile terminal | |
US12069451B2 (en) | User hearing protection method, apparatus, and electronic device | |
CN109067965B (en) | Translation method, translation device, wearable device and storage medium | |
WO2019033921A1 (en) | Method and apparatus for adjusting volume, terminal device and storage medium | |
EP4203447A1 (en) | Sound processing method and apparatus thereof | |
WO2019033940A1 (en) | Volume adjustment method and apparatus, terminal device, and storage medium | |
CN107707721B (en) | Recording method and device of mobile terminal, storage medium and mobile terminal | |
WO2019061292A1 (en) | Noise reduction method for terminal and terminal | |
WO2019033442A1 (en) | Mobile terminal volume control method and apparatus, storage medium, and mobile terminal | |
WO2018058331A1 (en) | Method and apparatus for controlling volume | |
CN116132869A (en) | Earphone volume adjusting method, earphone and storage medium | |
WO2023245715A1 (en) | Method and apparatus for adjusting call volume, call device and medium | |
CN106293607B (en) | Method and system for automatically switching audio output modes | |
CN111556406B (en) | Audio processing method, audio processing device and earphone | |
CN107493376A (en) | A kind of ringing volume adjusting method and device | |
CN111930339A (en) | Device control method, device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18846349 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18846349 Country of ref document: EP Kind code of ref document: A1 |