Prompt tone setting method, device, mobile terminal and storage medium

By adjusting the prompt tone parameters according to the environmental noise and masking parameters when the mobile terminal switches to the conference mode, the problem that the vibration mode is not easy to detect in the noisy environment is solved, and the effect of effective reminding and not disturbing others in the conference mode is achieved.

CN116527808BActive Publication Date: 2025-03-04BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210067360.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-20
Publication Date
2025-03-04
Estimated Expiration
2042-01-20

AI Technical Summary

Technical Problem

In noisy environments, the sound pressure level of the vibration mode is small, which makes it difficult to detect in non-fitting situations, which may lead to missed information.

Method used

When the mobile terminal switches to conference mode, determines the threshold of ambient noise and masking parameters, adjusts the prompt tone parameters, and renders the input sound source to set the appropriate prompt tone.

Benefits of technology

In the conference mode, setting the prompt tone according to the environmental noise not only avoids disturbing others, but also effectively reminds the mobile terminal holder.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116527808B_ABST
    Figure CN116527808B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a prompt tone setting method, device, mobile terminal and storage medium, the method comprising: determining the ambient noise of the environment in which the mobile terminal is located when determining that the mobile terminal is switched to conference mode; determining the threshold of the masking parameter of the mobile terminal under the ambient noise, and determining the prompt tone parameter according to the threshold of the masking parameter; rendering the input sound source at least according to the prompt tone parameter, and setting the rendered input sound source as the prompt tone of the mobile terminal. By setting the prompt tone according to the ambient noise in conference mode, it is not only possible to avoid disturbing other people, but also to effectively serve as a reminder.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of prompt sounds of mobile terminals, and in particular to a prompt sound setting method, device, mobile terminal and storage medium. Background Art

[0002] Mobile phones, tablets and other terminal devices have a variety of traditional prompt modes, such as ringtone mode and vibration mode. Usually, different prompt modes need to be selected in different occasions. For example, in a noisy environment, the ringtone mode is usually selected to remind users through the ringtone to avoid missing information, while during a meeting, the vibration mode is usually selected to avoid the ringtone interfering with the meeting. However, the vibration mode produces a small sound pressure level and is not easy to detect in non-close situations. Although it will not interfere with the meeting, it may cause the information to be missed. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a prompt tone setting method, device, mobile terminal and storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for setting a prompt tone is provided, including:

[0005] In the case of determining that the mobile terminal is switched to the conference mode, determining the ambient noise of the environment in which the mobile terminal is located;

[0006] Determining a threshold of a masking parameter when the mobile terminal is in the ambient noise, and determining a prompt tone parameter according to the threshold of the masking parameter;

[0007] The input sound source is rendered at least according to the prompt sound parameter, and the rendered input sound source is set as the prompt sound of the mobile terminal.

[0008] Optionally, the masking parameters include a masking volume and a masking frequency, and determining the prompt sound parameters according to a threshold of the masking parameters includes:

[0009] Determining the volume sound pressure level according to the threshold of the masking volume, and determining the prompt audio frequency according to the threshold of the masking frequency;

[0010] The step of rendering the input sound source at least according to the prompt sound parameter comprises:

[0011] The input sound source is adjusted according to the prompt audio frequency and the speaker performance of the mobile terminal, and the adjusted input sound source is adjusted with the volume sound pressure level as the target sound pressure level.

[0012] Optionally, determining the volume sound pressure level according to the threshold of the masking volume includes:

[0013] Determining posture information of the mobile terminal, and determining a first distance between the mobile terminal and a holder of the mobile terminal according to the posture information;

[0014] A first sound pressure level is determined according to the first distance, and the volume sound pressure level is determined according to the first sound pressure level and a threshold value of the masking volume.

[0015] Optionally, the threshold of the masking volume is determined by:

[0016] determining a second distance between the mobile terminal holder and a neighbor;

[0017] A threshold of the masking volume when the mobile terminal is exposed to the ambient noise is determined according to the second distance and the volume of the ambient noise.

[0018] Optionally, adjusting the input sound source according to the prompt audio frequency and speaker performance of the mobile terminal includes:

[0019] Transposing the sound range of the input sound source according to the prompt audio frequency, and selecting the dynamic range of the input sound source according to the speaker performance of the mobile terminal to obtain a backup sound source;

[0020] According to the preset timbre characteristic parameters, the main waveform and the proportion of each waveform are determined;

[0021] The backup sound source is modulated according to the main waveform and the proportion of each waveform.

[0022] Optionally, before determining the environmental noise of the environment in which the mobile terminal is located when determining that the mobile terminal is switched to the conference mode, the method includes:

[0023] In response to a user's operation of switching the mobile terminal to the conference mode, and / or in response to a time reaching a preset designated time, the mobile terminal is switched to the conference mode.

[0024] Optionally, the method further comprises:

[0025] Recording the prompt tone information of the mobile terminal before switching to the conference mode;

[0026] In a case where it is determined that the mobile terminal exits the conference mode, a prompt tone of the mobile terminal is set according to the prompt tone information.

[0027] According to a second aspect of an embodiment of the present disclosure, there is provided a device for setting a prompt tone, including:

[0028] A first determining module is configured to determine the ambient noise of the environment in which the mobile terminal is located when it is determined that the mobile terminal is switched to the conference mode;

[0029] A second determination module is configured to determine a threshold of a masking parameter when the mobile terminal is in the ambient noise, and determine a prompt tone parameter according to the threshold of the masking parameter;

[0030] The setting module is configured to render the input sound source at least according to the prompt sound parameter, and set the rendered input sound source as the prompt sound of the mobile terminal.

[0031] Optionally, the masking parameters include a masking volume and a masking frequency, and the second determining module includes:

[0032] A first determination submodule is configured to determine the volume sound pressure level according to the threshold of the masking volume, and to determine the prompt audio frequency according to the threshold of the masking frequency;

[0033] The setting module includes: an adjustment submodule configured to adjust the input sound source according to the prompt audio frequency and the speaker performance of the mobile terminal, and adjust the adjusted input sound source with the volume sound pressure level as the target sound pressure level.

[0034] Optionally, the first determination submodule includes: a first determination unit configured to determine posture information of the mobile terminal, and determine a first distance between the mobile terminal and the mobile terminal holder according to the posture information;

[0035] The second determining unit is configured to determine a first sound pressure level according to the first distance, and determine the volume sound pressure level according to the first sound pressure level and a threshold value of the masking volume.

[0036] Optionally, the second determination module is configured to determine the threshold of the masking volume in the following manner:

[0037] determining a second distance between the mobile terminal holder and a neighbor;

[0038] A threshold of the masking volume when the mobile terminal is exposed to the ambient noise is determined according to the second distance and the volume of the ambient noise.

[0039] Optionally, the adjustment submodule is configured as follows:

[0040] Transposing the sound range of the input sound source according to the prompt audio frequency, and selecting the dynamic range of the input sound source according to the speaker performance of the mobile terminal to obtain a backup sound source;

[0041] According to the preset timbre characteristic parameters, the main waveform and the proportion of each waveform are determined;

[0042] The backup sound source is modulated according to the main waveform and the proportion of each waveform.

[0043] Optionally, the device also includes a switching module, which is configured to switch the mobile terminal to the conference mode in response to the user's operation of switching the mobile terminal to the conference mode, and / or in response to the time reaching a preset specified time, before determining the ambient noise of the environment in which the mobile terminal is located when determining that the mobile terminal is switched to the conference mode.

[0044] Optionally, the device further comprises: a recording module configured to record the prompt tone information of the mobile terminal before switching to the conference mode;

[0045] The second setting module is configured to set a prompt tone of the mobile terminal according to the prompt tone information when it is determined that the mobile terminal exits the conference mode.

[0046] According to a third aspect of an embodiment of the present disclosure, there is provided a mobile terminal, including:

[0047] processor;

[0048] a memory for storing processor-executable instructions;

[0049] Wherein, the processor is configured to:

[0050] In the case of determining that the mobile terminal is switched to the conference mode, determining the ambient noise of the environment in which the mobile terminal is located;

[0051] Determining a threshold of a masking parameter when the mobile terminal is in the environmental noise, and determining a prompt tone parameter according to the threshold of the masking parameter;

[0052] The input sound source is rendered at least according to the prompt sound parameter, and the rendered input sound source is set as the prompt sound of the mobile terminal.

[0053] According to a fourth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of any one of the methods described in the first aspect are implemented.

[0054] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0055] By determining that the mobile terminal is switched to the conference mode, determining the environmental noise of the environment in which the mobile terminal is located; determining the threshold of the masking parameter of the mobile terminal under the environmental noise, and determining the prompt sound parameter according to the threshold of the masking parameter; rendering the input sound source at least according to the prompt sound parameter, and setting the rendered input sound source as the prompt sound of the mobile terminal. By setting the prompt sound according to the environmental noise in the conference mode, it is not only possible to avoid disturbing others, but also to effectively serve as a reminder.

[0056] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0058] Figure 1 The figure is a flow chart of a method for setting a prompt tone according to an exemplary embodiment.

[0059] Figure 2 The figure is a flow chart of another method for setting a prompt tone according to an exemplary embodiment.

[0060] Figure 3 An implementation according to an exemplary embodiment is shown Figure 2 Flowchart of step S121 in FIG.

[0061] Figure 4 is a schematic diagram showing sound pressure levels at different distances according to an exemplary embodiment.

[0062] Figure 5 The figure is a schematic diagram showing a sound range of an input audio after adjustment according to an exemplary embodiment.

[0063] Figure 6 The figure is a schematic diagram showing a dynamic range of an input audio after adjustment according to an exemplary embodiment.

[0064] Figure 7 is a diagram showing a timbre characteristic of a sine wave according to an exemplary embodiment.

[0065] Figure 8 is a diagram showing a timbre characteristic of a square wave according to an exemplary embodiment.

[0066] Fig. 9 The figure is a diagram showing a timbre characteristic of a human voice according to an exemplary embodiment.

[0067] Fig.10is a frequency distribution diagram of an input audio according to an exemplary embodiment.

[0068] Fig.11 The figure is a frequency distribution diagram of input audio after rendering according to an exemplary embodiment.

[0069] Fig.12 The figure is a frequency comparison diagram of a prompt sound and environmental noise according to an exemplary embodiment.

[0070] Fig.13 The figure is a block diagram of a device for setting a prompt tone according to an exemplary embodiment.

[0071] Fig.14 The invention is a block diagram showing a device for setting a prompt tone according to an exemplary embodiment. DETAILED DESCRIPTION

[0072] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0073] Figure 1 1 is a flowchart of a method for setting a prompt tone according to an exemplary embodiment, which is applied to a mobile terminal, such as a mobile phone, a tablet computer, etc. Figure 1 As shown, the following steps are included.

[0074] In step S11 , when it is determined that the mobile terminal is switched to the conference mode, the ambient noise of the environment where the mobile terminal is located is determined.

[0075] The prompt tone may refer to an incoming call prompt tone of a mobile terminal, or may be, for example, an alarm prompt tone, or may be, for example, a notification message prompt tone of a social software.

[0076] Optionally, the ambient noise of the environment in which the mobile terminal is located may refer to the ambient noise of a conference room during a meeting, may refer to the ambient noise in an office in a working environment, or may refer to the ambient noise in a bedroom when sleeping at night.

[0077] In one implementation, when it is determined that the mobile terminal is switched to the conference mode, before determining the ambient noise of the environment where the mobile terminal is located, the method includes:

[0078] In response to a user's operation of switching the mobile terminal to the conference mode, and / or in response to the time reaching a preset designated time, the mobile terminal is switched to the conference mode.

[0079] For example, a physical start button can be set on the mobile terminal, and the user can use the start button to turn on the conference mode switch and switch the mobile terminal to the conference mode. Alternatively, a virtual button of the conference mode can be displayed on the display interface of the display screen by adding a corresponding application interface, and the user can use the virtual button to turn on the conference mode switch and switch the mobile terminal to the conference mode.

[0080] For another example, the user can set a specified time for starting the conference mode on the display interface of the display screen, and when the current time reaches the specified time, the mobile terminal automatically switches to the conference mode.

[0081] Optionally, the mobile terminal can collect environmental noise by configuring a sound sensor or a sound level meter, or can preset environmental noise in various scenarios in a preset manner. For example, different environmental noises can be preset according to the size of the conference room and the configuration of the projector, television, air conditioner and other equipment in the conference room.

[0082] In step S12, a threshold of a masking parameter when the mobile terminal is in ambient noise is determined, and a prompt tone parameter is determined according to the threshold of the masking parameter.

[0083] In step S13, the input sound source is rendered at least according to the prompt sound parameter, and the rendered input sound source is set as the prompt sound of the mobile terminal.

[0084] Among them, the input audio can be processed through melody recognition, and then the input sound source can be rendered according to the prompt sound parameters.

[0085] The rendered input sound source is set as the prompt tone of the mobile terminal, so that the mobile terminal holder can hear the prompt tone when the mobile terminal issues a prompt tone, such as hearing the incoming call prompt tone, to avoid missing messages, while other people will not hear the prompt tone, to avoid disturbing others.

[0086] The above technical solution determines the environmental noise of the environment in which the mobile terminal is located when determining that the mobile terminal has switched to conference mode; determines the threshold of the masking parameter of the mobile terminal under the environmental noise, and determines the prompt sound parameter according to the threshold of the masking parameter; renders the input sound source at least according to the prompt sound parameter, and sets the rendered input sound source as the prompt sound of the mobile terminal. By setting the prompt sound according to the environmental noise in conference mode, for example, setting the prompt sound according to the environmental noise in the conference room during the meeting, or setting the prompt sound according to the environmental noise in the office under the working environment, it can not only avoid disturbing others, but also effectively serve as a reminder.

[0087] Based on the above embodiment, the masking parameters include masking volume and masking frequency. Figure 2is a flowchart of another method for setting a prompt tone according to an exemplary embodiment. Figure 2 As shown, in step S12, determining the prompt tone parameter according to the threshold of the masking parameter includes:

[0088] In step S121, the volume sound pressure level is determined according to the threshold of the masking volume, and the prompt audio frequency is determined according to the threshold of the masking frequency.

[0089] For example, determining a threshold of a masking parameter when the mobile terminal is in ambient noise includes: determining a threshold of a masking volume and a threshold of a masking frequency when the mobile terminal is in ambient noise.

[0090] Among them, the sound pressure level of the smallest sound that the human ear can perceive ranges from 0.4 to 0.6 dB. In the conference mode, the threshold of the hidden volume of the prompt sound can be preset to 49.8 to 51.7 dB.

[0091] Based on the above embodiments, Figure 3 An implementation according to an exemplary embodiment is shown Figure 2 In the flowchart of step S121 in step S121, the volume sound pressure level is determined according to the threshold of the masking volume, including:

[0092] In step S1211, the posture information of the mobile terminal is determined, and a first distance between the mobile terminal and the mobile terminal holder is determined according to the posture information.

[0093] The first distance is the distance between the mobile terminal and the mobile terminal holder.

[0094] Among them, a collection device such as a gyroscope can be configured in the mobile terminal, and by detecting the current posture information of the mobile terminal, for example, the first distance between the mobile terminal and the ear of the mobile terminal holder can be determined by the gyroscope being in a horizontal balance state, a left-right flipped state, or an upside-down flipped state.

[0095] For example, the gyroscope being in a horizontal balance state can be used to determine that the mobile terminal is placed on a desktop, and usually the first distance between the desktop and the ear of the mobile terminal holder is 20-30 cm; the gyroscope being in a left-right flip state can be used to determine that the mobile terminal is placed in a trouser pocket, and then the first distance between the trouser pocket and the ear of the mobile terminal holder can be determined based on the height of the mobile terminal holder, for example, the first distance between the trouser pocket and the ear of the mobile terminal holder can be determined to be 60 cm; the gyroscope being in an upside-down flip state can be used to determine that the mobile terminal is placed in a clothes pocket, and then the first distance between the clothes pocket and the ear of the mobile terminal holder can be determined based on the height of the mobile terminal holder, for example, the first distance between the clothes pocket and the ear of the mobile terminal holder can be determined to be 50 cm.

[0096] In one implementation, the first distance between the mobile terminal and the ear of the mobile terminal holder may be preset according to different scenarios. For example, in a conference room scenario, the first distance between the mobile terminal and the ear of the mobile terminal holder may be preset to be 20 cm.

[0097] In step S1212, a first sound pressure level is determined according to the first distance, and the volume sound pressure level is determined according to the first sound pressure level and a threshold value of the masking volume.

[0098] The first sound pressure level is greater than a threshold of the masking volume.

[0099] For example, a one-to-one correspondence between the first distance and the first sound pressure level may be preset. For example, the first distance is 20-30 cm, and the corresponding first sound pressure level is 55 dB.

[0100] Based on the above embodiment, the threshold of the masking volume is determined in the following manner:

[0101] determining a second distance between the mobile terminal holder and a neighbor;

[0102] In one implementation, the second distance between the mobile terminal holder and the neighbor can be preset according to different scenarios. For example, in a conference room scenario, the second distance between the mobile terminal holder and the neighbor is preset to be 50 cm.

[0103] In another implementation, for example, an infrared sensor may be configured in the mobile terminal to detect the second distance between the mobile terminal holder and the neighbor.

[0104] A threshold of the masking volume when the mobile terminal is exposed to the ambient noise is determined according to the second distance and the volume of the ambient noise.

[0105] The threshold of the masking volume is greater than the second sound pressure level determined by the second distance, that is, there is a first sound pressure level greater than the threshold of the masking volume, and the threshold of the masking volume is greater than the second sound pressure level determined by the second distance.

[0106] After experimentation, see Figure 4 In the conference room scenario, when the first distance is 20-30cm and the second distance is 50cm, the sound pressure level of the prompt sound is set at 60dB at the sound emission position, the sound pressure level that can be received at the ear position of the mobile terminal holder is 55dB, and the sound pressure level that can be received at the neighbor position is 49dB. The third person position with a seat interval from the mobile terminal holder (that is, there is an adjacent person between the mobile terminal holder and the third person) is approximately 120cm away from the mobile terminal holder, and the received sound pressure level is 40dB. Since the threshold of the masking volume is 49.8-51.7dB, the mobile terminal holder can hear the prompt sound, while the adjacent and third persons will not hear the prompt sound. The above technical solution can not only avoid disturbing other people, but also effectively serve as a reminder to the mobile terminal holder.

[0107] In step S13, rendering the input sound source at least according to the prompt sound parameter includes:

[0108] In step S131, the input sound source is adjusted according to the prompt audio frequency and the speaker performance of the mobile terminal, and the adjusted input sound source is adjusted with the volume sound pressure level as the target sound pressure level to obtain a rendered input sound source.

[0109] For example, when the sound pressure level of the volume is determined to be 60 dB, the sound pressure level of the adjusted input audio is set to 60 dB, and is set as the prompt tone of the mobile terminal by calling an application program interface.

[0110] The step of adjusting the input audio source according to the prompt audio frequency and the speaker performance of the mobile terminal includes:

[0111] The sound range of the input sound source is transposed according to the prompt audio frequency, and the dynamic range of the input sound source is selected according to the speaker performance of the mobile terminal to obtain a backup sound source.

[0112] In a possible implementation, the original input sound source is converted into a melody to obtain a MIDI (Musical Instrument Digital Interface) signal, and the MIDI signal is used as the input sound source.

[0113] It is understandable that the pitch of a sound is determined by the fundamental frequency. In daily human speech, the fundamental frequency range of male voices is 100Hz to 300Hz, and the fundamental frequency range of female voices is 200Hz to 400Hz. After experiments, see Figure 5 , the sound range of the input sound source can be transposed to G2~G4. The sound range of the transposed input sound source is 97.999Hz~392Hz to improve the masking effect of the prompt sound and the human voice.

[0114] Among them, since the performance of speakers in mobile phones, tablets, etc. is not perfect, in order to improve the auditory experience and masking effect, the dynamic range of the input sound source can be selected. Figure 6 As shown, select Figure 6 The fast attack and short release dynamic envelopes shown enable better listening experience when played on the speakers of a mobile terminal.

[0115] Furthermore, the main waveform and the proportion of each waveform are determined according to preset timbre characteristic parameters.

[0116] contrast Figure 7 The timbre characteristics of the sine wave shown in the figure, Figure 8 The timbre characteristics of the square wave shown in the figure and Fig. 9 As shown in the figure of the timbre characteristics of human voice, the timbre characteristics of sine wave are closer to human voice than square wave, and it is found through implementation that the timbre characteristics of sine wave are closer to human voice than square wave, triangle wave and sawtooth wave, combined with the frequency of the transposed input sound source and the dynamic range after the dynamic range selection. The sine wave can be determined as the main waveform, which can improve the coincidence of the prompt sound and the human voice in the environmental noise. Then determine the proportion of sine wave, square wave, triangle wave and sawtooth wave in the prompt sound.

[0117] Furthermore, the backup sound source is modulated according to the main waveform and the proportion of each waveform.

[0118] See also Fig.10 The input audio shown in the figure has frequencies concentrated at 1.5KHz, 4KHz, and 9.6KHz, while the audio range needs to be 97.999Hz to 392Hz. After extraction, transposition, and other rendering, see Fig.11 The rendered input audio shown can control the frequency of the prompt sound to 150Hz to 300Hz, where 271Hz is the highest frequency, see Fig.12 As shown, the rendered input audio is output at the volume sound pressure level. The ambient noise and the prompt sound have a small difference in volume and are relatively close in frequency, which produces a good masking effect, can avoid disturbing other people, and can also effectively improve the prompt effect on the mobile terminal holder.

[0119] Optionally, adding natural percussion sampling and other waveforms based on the modulated input sound source can enhance the fullness and listenability of the prompt sound.

[0120] In one embodiment, the method further comprises:

[0121] Recording the prompt tone information of the mobile terminal before switching to the conference mode;

[0122] In a case where it is determined that the mobile terminal exits the conference mode, a prompt tone of the mobile terminal is set according to the prompt tone information.

[0123] The prompt tone information includes the prompt tone volume and the prompt tone type. For example, the prompt tone volume and the prompt tone type of the mobile terminal before the mobile terminal switches to the conference mode are recorded. In response to the user's operation of exiting the conference mode of the mobile terminal, and / or in response to the time reaching the preset conference mode exit time, the conference mode of the mobile terminal is turned off. In the case of determining that the mobile terminal exits the conference mode, the prompt tone type of the mobile terminal is set to the prompt tone type before switching to the conference mode, and the volume of the prompt tone is set to the prompt tone volume before switching to the conference mode.

[0124] By adopting the above technical solution, when exiting the conference mode, the prompt tone of the mobile terminal can be set to the prompt tone type and prompt tone volume before switching to the conference mode, which can improve the convenience of setting the prompt tone of the mobile terminal.

[0125] Based on the same concept, the present disclosure also provides a prompt tone setting device 1300, which is used to execute the steps of the prompt tone setting method provided in the above method embodiment. The device 1300 can implement the prompt tone setting method in the form of software, hardware or a combination of both. Fig.13 13 is a block diagram of a device 1300 for setting a prompt tone according to an exemplary embodiment. As shown in FIG. 13 , the device 1300 includes: a first determining module 1310 , a second determining module 1320 and a setting module 1330 .

[0126] The first determining module 1310 is configured to determine the ambient noise of the environment in which the mobile terminal is located when it is determined that the mobile terminal is switched to the conference mode;

[0127] The second determination module 1320 is configured to determine a threshold of a masking parameter when the mobile terminal is in the ambient noise, and determine a prompt tone parameter according to the threshold of the masking parameter;

[0128] The setting module 1330 is configured to render the input sound source at least according to the prompt sound parameter, and set the rendered input sound source as the prompt sound of the mobile terminal.

[0129] Optionally, the masking parameters include a masking volume and a masking frequency, and the second determining module 1320 includes:

[0130] A first determination submodule is configured to determine the volume sound pressure level according to the threshold of the masking volume, and to determine the prompt audio frequency according to the threshold of the masking frequency;

[0131] The setting module includes: an adjustment submodule configured to adjust the input sound source according to the prompt audio frequency and the speaker performance of the mobile terminal, and adjust the adjusted input sound source with the volume sound pressure level as the target sound pressure level.

[0132] Optionally, the first determination submodule includes: a first determination unit configured to determine posture information of the mobile terminal, and determine a first distance between the mobile terminal and the mobile terminal holder according to the posture information;

[0133] The second determining unit is configured to determine a first sound pressure level according to the first distance, and determine the volume sound pressure level according to the first sound pressure level and a threshold value of the masking volume.

[0134] Optionally, the second determination module 1320 is configured to determine the threshold of the masking volume in the following manner:

[0135] determining a second distance between the mobile terminal holder and a neighbor;

[0136] A threshold of the masking volume when the mobile terminal is exposed to the ambient noise is determined according to the second distance and the volume of the ambient noise.

[0137] Optionally, the adjustment submodule is configured as follows:

[0138] Transposing the sound range of the input sound source according to the prompt audio frequency, and selecting the dynamic range of the input sound source according to the speaker performance of the mobile terminal to obtain a backup sound source;

[0139] According to the preset timbre characteristic parameters, the main waveform and the proportion of each waveform are determined;

[0140] The backup sound source is modulated according to the main waveform and the proportion of each waveform.

[0141] Optionally, the device 1300 also includes a switching module, which is configured to switch the mobile terminal to the conference mode in response to the user's operation of switching the mobile terminal to the conference mode, and / or in response to the time reaching a preset specified time, before determining the ambient noise of the environment in which the mobile terminal is located when determining that the mobile terminal is switched to the conference mode.

[0142] Optionally, the device 1300 further includes: a recording module configured to record the prompt tone information of the mobile terminal before switching to the conference mode;

[0143] The second setting module is configured to set a prompt tone of the mobile terminal according to the prompt tone information when it is determined that the mobile terminal exits the conference mode.

[0144] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0145] In addition, it is worth noting that for the convenience and simplicity of description, the embodiments described in the specification are all preferred embodiments, and the parts involved are not necessarily necessary for the present invention. For example, the second determination module 1320 and the setting module 1330 can be independent devices or the same device in specific implementation, and the present disclosure does not limit this.

[0146] According to an embodiment of the present disclosure, there is also provided a mobile terminal, including:

[0147] processor;

[0148] a memory for storing processor-executable instructions;

[0149] Wherein, the processor is configured to:

[0150] In the case of determining that the mobile terminal is switched to the conference mode, determining the ambient noise of the environment in which the mobile terminal is located;

[0151] Determining a threshold of a masking parameter when the mobile terminal is in the ambient noise, and determining a prompt tone parameter according to the threshold of the masking parameter;

[0152] The input sound source is rendered at least according to the prompt sound parameter, and the rendered input sound source is set as the prompt sound of the mobile terminal.

[0153] According to an embodiment of the present disclosure, a computer-readable storage medium is further provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of any of the above-mentioned prompt tone setting methods are implemented.

[0154] Fig.14 1 is a block diagram of a device 1400 for setting a prompt tone according to an exemplary embodiment. For example, the device 1400 may be a mobile phone, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0155] Reference Fig.14 , the device 1400 may include one or more of the following components: a processing component 1402 , a memory 1404 , a power component 1406 , a multimedia component 1408 , an audio component 1410 , an input / output (I / O) interface 1412 , a sensor component 1414 , and a communication component 1416 .

[0156] The processing component 1402 generally controls the overall operation of the device 1400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1402 may include one or more processors 1420 to execute instructions to complete all or part of the steps of the above-mentioned prompt tone setting method. In addition, the processing component 1402 may include one or more modules to facilitate the interaction between the processing component 1402 and other components. For example, the processing component 1402 may include a multimedia module to facilitate the interaction between the multimedia component 1408 and the processing component 1402.

[0157] The memory 1404 is configured to store various types of data to support operations on the device 1400. Examples of such data include instructions for any application or method operating on the device 1400, contact data, phone book data, messages, pictures, videos, etc. The memory 1404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0158] The power component 1406 provides power to the various components of the device 1400. The power component 1406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 1400.

[0159] The multimedia component 1408 includes a screen that provides an output interface between the device 1400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1408 includes a front camera and / or a rear camera. When the device 1400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0160] The audio component 1410 is configured to output and / or input audio signals. For example, the audio component 1410 includes a microphone (MIC), and when the device 1400 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1404 or sent via the communication component 1416. In some embodiments, the audio component 1410 also includes a speaker for outputting audio signals.

[0161] I / O interface 1412 provides an interface between processing component 1402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0162] The sensor assembly 1414 includes one or more sensors for providing various aspects of the status assessment of the device 1400. For example, the sensor assembly 1414 can detect the open / closed state of the device 1400, the relative positioning of components, such as the display and keypad of the device 1400, the sensor assembly 1414 can also detect the position change of the device 1400 or a component of the device 1400, the presence or absence of user contact with the device 1400, the orientation or acceleration / deceleration of the device 1400, and the temperature change of the device 1400. The sensor assembly 1414 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1414 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1414 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0163] The communication component 1416 is configured to facilitate wired or wireless communication between the device 1400 and other devices. The device 1400 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 1416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0164] In an exemplary embodiment, the device 1400 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned prompt tone setting method.

[0165] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1404 including instructions, and the instructions can be executed by the processor 1420 of the device 1400 to complete the above-mentioned prompt tone setting method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0166] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above-mentioned prompt tone setting method when executed by the programmable device.

[0167] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0168] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for setting a prompt tone, characterized in that: include: When it is determined that the mobile terminal is switched to the conference mode, determining the environmental noise of the environment in which the mobile terminal is located from the environmental noises in various preset scenarios; Determining a threshold of a masking parameter when the mobile terminal is in the environmental noise, and determining a prompt tone parameter according to the threshold of the masking parameter; Rendering the input sound source at least according to the prompt sound parameter, and setting the rendered input sound source as the prompt sound of the mobile terminal; The masking parameters include a masking volume and a masking frequency, and the step of determining the prompt sound parameters according to the threshold of the masking parameters includes: Determining the volume sound pressure level according to the threshold of the masking volume, and determining the prompt audio frequency according to the threshold of the masking frequency; The step of rendering the input sound source at least according to the prompt sound parameter comprises: The input sound source is adjusted according to the prompt audio frequency and the speaker performance of the mobile terminal, and the adjusted input sound source is adjusted with the volume sound pressure level as the target sound pressure level.

2. The method according to claim 1, characterized in that The step of determining the volume sound pressure level according to the threshold of the masking volume comprises: Determining posture information of the mobile terminal, and determining a first distance between the mobile terminal and a holder of the mobile terminal according to the posture information; A first sound pressure level is determined according to the first distance, and the volume sound pressure level is determined according to the first sound pressure level and a threshold value of the masking volume.

3. The method according to claim 1, characterized in that The threshold of the masking volume is determined by: determining a second distance between the mobile terminal holder and a neighbor; A threshold of the masking volume when the mobile terminal is exposed to the ambient noise is determined according to the second distance and the volume of the ambient noise.

4. The method according to claim 1, characterized in that: The adjusting the input sound source according to the prompt audio frequency and the speaker performance of the mobile terminal includes: Transposing the sound range of the input sound source according to the prompt audio frequency, and selecting the dynamic range of the input sound source according to the speaker performance of the mobile terminal to obtain a backup sound source; According to the preset timbre characteristic parameters, the main waveform and the proportion of each waveform are determined; The backup sound source is modulated according to the main waveform and the proportion of each waveform.

5. The method according to any one of claims 1 to 4, characterized in that Before determining the environmental noise of the environment where the mobile terminal is located when it is determined that the mobile terminal is switched to the conference mode, the method includes: In response to a user's operation of switching the mobile terminal to the conference mode, and / or in response to a time reaching a preset designated time, the mobile terminal is switched to the conference mode.

6. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Recording the prompt tone information of the mobile terminal before switching to the conference mode; In a case where it is determined that the mobile terminal exits the conference mode, a prompt tone of the mobile terminal is set according to the prompt tone information.

7. A device for setting a prompt tone, characterized in that: include: A first determination module is configured to determine the environmental noise of the environment in which the mobile terminal is located from the environmental noises in various preset scenarios when it is determined that the mobile terminal is switched to the conference mode; A second determination module is configured to determine a threshold of a masking parameter when the mobile terminal is in the ambient noise, and determine a prompt tone parameter according to the threshold of the masking parameter; A setting module, configured to render the input sound source at least according to the prompt sound parameter, and set the rendered input sound source as the prompt sound of the mobile terminal; The masking parameters include a masking volume and a masking frequency, and the second determination module includes: a first determination submodule configured to determine a volume sound pressure level according to a threshold of the masking volume, and to determine a prompt audio frequency according to a threshold of the masking frequency; The setting module includes: an adjustment submodule configured to adjust the input sound source according to the prompt audio frequency and the speaker performance of the mobile terminal, and adjust the adjusted input sound source with the volume sound pressure level as the target sound pressure level.

8. A mobile terminal, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: When it is determined that the mobile terminal is switched to the conference mode, determining the environmental noise of the environment in which the mobile terminal is located from the environmental noises in various preset scenarios; Determining a threshold of a masking parameter when the mobile terminal is in the environmental noise, and determining a prompt tone parameter according to the threshold of the masking parameter; Rendering the input sound source at least according to the prompt sound parameter, and setting the rendered input sound source as the prompt sound of the mobile terminal; The masking parameters include a masking volume and a masking frequency, and the step of determining the prompt sound parameters according to the threshold of the masking parameters includes: Determining the volume sound pressure level according to the threshold of the masking volume, and determining the prompt audio frequency according to the threshold of the masking frequency; The step of rendering the input sound source at least according to the prompt sound parameter comprises: The input sound source is adjusted according to the prompt audio frequency and the speaker performance of the mobile terminal, and the adjusted input sound source is adjusted with the volume sound pressure level as the target sound pressure level.

9. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Volume compensation method and mobile terminal

    CN108632466A

  • Telephone and method of controller for incoming ring tone

    JP2002051108A

  • Volume adjusting method

    KR1020120081424A