WO2019100371A1 - Method and apparatus for adjusting call volume - Google Patents

Method and apparatus for adjusting call volume Download PDF

Info

Publication number
WO2019100371A1
WO2019100371A1 PCT/CN2017/113073 CN2017113073W WO2019100371A1 WO 2019100371 A1 WO2019100371 A1 WO 2019100371A1 CN 2017113073 W CN2017113073 W CN 2017113073W WO 2019100371 A1 WO2019100371 A1 WO 2019100371A1
Authority
WO
WIPO (PCT)
Prior art keywords
call
volume
terminal
environment
volume range
Prior art date
Application number
PCT/CN2017/113073
Other languages
French (fr)
Chinese (zh)
Inventor
梁少勃
Original Assignee
深圳传音通讯有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/113073 priority Critical patent/WO2019100371A1/en
Publication of WO2019100371A1 publication Critical patent/WO2019100371A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current 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
    • H04M19/045Call privacy arrangements, e.g. timely inhibiting the ring signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a call volume adjustment method and apparatus.
  • the embodiment of the present invention provides a method and a device for adjusting a call volume, which can adjust a call volume according to different environment scenarios and call contact information, and improve a call information receiving rate.
  • a first aspect of the embodiments of the present invention provides a method for adjusting a call volume, where the method includes:
  • the terminal detects the call environment in which the terminal is located, and acquires a volume range that matches the call environment in which the terminal is located;
  • the calling environment in which the detecting terminal is located includes:
  • the obtaining a volume range that matches the call environment of the terminal includes:
  • a volume range corresponding to the number of voiceprints currently included in the call environment is obtained as a volume range that matches the call environment of the terminal.
  • the detecting terminal call environment includes:
  • the obtaining a volume range that matches the call environment of the terminal includes:
  • a volume range corresponding to the ambient volume of the current call environment is obtained as a volume range that matches the call environment of the terminal.
  • the detecting the currently received call volume value includes:
  • the volume value of the valid call data is determined as the current call volume value.
  • the method further includes:
  • the obtaining a volume range that matches a call environment in which the terminal is located includes:
  • the method further includes:
  • the volume range matched with the communication environment in which the terminal is located is updated according to the volume adjustment operation.
  • the second aspect of the embodiments of the present invention further provides a call volume adjustment apparatus, where the apparatus includes:
  • the environment volume range setting unit is configured to detect a call environment in which the terminal is located during a call, and obtain a volume range that matches a call environment in which the terminal is located;
  • a call volume value detecting unit configured to detect a call volume value of the currently received call audio data
  • a call volume value adjustment unit configured to compare the call volume value with a volume range that matches a call environment in which the terminal is located, and if the call volume value is outside the volume range, adjust the current volume value Up to the volume range.
  • the ambient volume range setting unit is further configured to:
  • a volume range corresponding to the number of voiceprints currently included in the call environment is obtained as a volume range that matches the call environment of the terminal.
  • the ambient volume range setting unit is further configured to:
  • a volume range corresponding to the ambient volume of the current call environment is obtained as a volume range that matches the call environment of the terminal.
  • the call volume value detecting unit is further configured to:
  • the volume value of the valid call data is determined as the current call volume value.
  • the ambient volume range setting unit is further configured to:
  • the call volume adjustment device is further configured to:
  • the volume range matched with the communication environment in which the terminal is located is updated according to the volume adjustment operation.
  • the third aspect of the embodiment of the present invention further provides a call volume adjustment device, where the call volume adjustment device includes:
  • a storage medium for storing a plurality of instructions adapted to be loaded by the processor and to perform a call volume adjustment method in any of the cases provided by the first aspect of the embodiments of the present invention.
  • the fourth aspect of the embodiments of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, where the instructions are adapted to be loaded by a processor and executed according to the first aspect of the embodiments of the present invention.
  • the method of adjusting the volume of the call in either case.
  • the terminal matches the volume range according to the current environment during the call, and then detects whether the currently received call volume value is within the previously matched range, and if not, the current call volume value. Adjust to the range of the previous match; in addition, you can get the volume range that matches both based on the current call contact information and the current call environment.
  • the volume of the call received by the user can be automatically adjusted according to the preset volume range, without the need for manual adjustment by the user, and the volume of the call does not cause multiple unstable changes with the user's subjective feelings.
  • the call information receiving rate is a configurabled volume range, a preset volume range, without the need for manual adjustment by the user, and the volume of the call does not cause multiple unstable changes with the user's subjective feelings.
  • FIG. 1 is a schematic flow chart of a method for adjusting a call volume according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of obtaining a volume range according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another method for acquiring a volume range according to an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of another method for adjusting a call volume according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a method for setting a volume range of a contact in the embodiment of the present invention, where (a) is a contact in FIG. 5 Classification, (b) in Figure 5 is the volume range setting corresponding to the contact category;
  • FIG. 6 is a schematic flow chart of a specific method for adjusting a call volume according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a call volume adjustment apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for adjusting a call volume according to an embodiment of the present invention. As shown in the figure, the method for adjusting a call volume in this embodiment may include the following processes:
  • the terminal detects a call environment in which the terminal is located, and acquires a volume range that matches a call environment in which the terminal is located.
  • the terminal includes various mobile communication devices capable of conversation, such as mobile phones, PHS, landline telephones, walkie-talkies, pagers, and wireless telephones, as well as devices capable of network communication, such as personal computers, handheld computers, and various types of devices. Wear the device.
  • the calling environment in which the terminal is located is the calling environment in which the terminal user is currently located, and obtains the volume range that matches the calling environment in which the terminal is located, that is, the volume range is obtained according to the quiet or noisy current environment of the user.
  • each person's subjective feelings on the volume will be different, some are dull and a bit sensitive.
  • the user's hearing can also be authenticated individually, through the corresponding hardware of the terminal. Or software, test the user's hearing, and obtain the user's corresponding auditory feeling table.
  • the volume value of the received call When the user is in a different environment, the volume value of the received call will be different. For example, if the user is currently walking in the market, he will require a higher volume value for the currently received call; and if the user is currently sleeping at night, he will require a lower volume value for the received call; or the user Walking in the mall, the surrounding environment may be noisy for a while, and it is quiet at the moment, so the user's request for the volume value of the call will also change. If the environment changes every time, the user has to adjust the volume of the mobile phone, which will cause great inconvenience and also make the user have a bad calling experience.
  • the volume range of the terminal can be set, so that the terminal call volume can be better adapted to the user's auditory needs.
  • the calling environment in which the terminal is located can be determined by the number of voiceprints included in the environment. The more the voiceprints, the more noisy the current environment, and the terminal needs to provide a call with a higher volume value to make the user Listen to the call content.
  • the calling environment in which the terminal is located can also be determined by the volume of the environment. The greater the volume of the environment, the more noisy the current environment, and the terminal needs to match the call with a higher volume value for the user.
  • the calling environment in which the terminal is located may also be judged by the tone and tone received by the terminal, or may be determined by a keyword in the environment received by the terminal, for example, the terminal receives an indication of volume adjustment, or receives a judgment user. Keywords in real-time scenarios such as class or meeting can determine the calling environment in which the terminal is located, and then match the corresponding volume range for the calling environment.
  • the volume range is used as an interval range, including the maximum value and the minimum value. It can also be called the start value and the end point value.
  • the volume range is between 70 decibels and 100 decibels.
  • the maximum value is 100 decibels and the minimum value is 70 decibels. It is also possible to describe 70 decibels as the starting point value and 100 decibels as the end point value.
  • the interval range is [70,100], or (70,100), or [70,100), or (70,100], where [70,100] indicates that the endpoint values 70 and 100 are included, and (70,100) indicates that the endpoint is not included.
  • Values 70 and 100, [70, 100) indicate that endpoint 70 is included but endpoint 100 is not included, and (70, 100) indicates that endpoint 70 is not included but endpoint 100 is included.
  • the terminal volume range is set according to the calling environment in which the terminal is located, and the human hearing range needs to be considered. For example, when the volume is less than 20 decibels, the human ear is difficult to hear, and when the volume is greater than 100 decibels, it will be given. The ear brings a lot of damage, so the value is adjusted between 20 decibels and 100 decibels when the volume range matching the calling environment in which the terminal is located is obtained.
  • the sound frequency ie the Hertz value, should also be used as a reference parameter for the volume.
  • the call audio data currently received by the terminal is a frequency and amplitude change information carrier of regular sound waves with voice, music and sound effects.
  • Audio information can be classified into regular audio and irregular sound according to the characteristics of sound waves in the audio data.
  • the regular audio can be divided into voice, music and sound effects, and the irregular audio is a kind of noise that disturbs the hearing of the human ear.
  • the volume of the received audio data is directly determined as the current call volume, there is a possibility that the user cannot listen to the set volume value because there is a large amount of noise in the currently received audio data.
  • valid call data and noise data can be extracted from the call audio data currently received by the terminal, and then the volume value of the valid call data therein is determined as the current call volume value.
  • the noise in the received audio data may also be removed, and only the valid call data is retained, and then the volume value of the valid call data is used as the current call volume value.
  • the volume range matching the call environment in which the terminal is located refers to the terminal call environment detected in S101, and the set volume range matched with the terminal call environment. Being within the volume range means that the detected volume value is not less than the minimum value of the range and is not greater than the maximum value of the range.
  • the terminal setting matches the volume range of 25 decibels to 35 decibels, which prevents the received volume from being too small and is covered by the ambient volume. At the same time, to prevent the received volume from being too large, causing a hearing burden to the user. Detect the volume value received by the terminal and determine if it is between 25 decibels and 35 decibels.
  • the call volume value is within the volume range that matches the call environment in which the terminal is located, and if so, the current call volume value is kept unchanged.
  • the volume in the current call environment is 20 decibels
  • the volume range matched by the terminal is 25 decibels to 35 decibels
  • the current call volume value is 27 Decibel, within 25 decibels to 35 decibels, keeps the current call volume value constant.
  • the comparison call volume value is within a volume range that matches the communication environment in which the terminal is located, and if not, the current volume value is adjusted to be within a volume range that matches the communication environment in which the terminal is located.
  • the current volume in the current call environment is 20 decibels
  • the volume range matched by the terminal is 25 decibels to 35 decibels
  • the current call volume value is 20 decibels.
  • Decibel not within 25 decibels to 35 decibels, need to adjust the current volume value between 25 decibels and 35 decibels.
  • the current volume can be adjusted to a minimum satisfaction value, which is 25 decibels in this embodiment; the current volume can also be adjusted to a maximum satisfaction value, which is 35 decibels in this embodiment; the current volume can also be The minimum value adjustment can reach the preset range.
  • the current call volume value is 20 decibels, and the minimum adjustment range is increased by 5 decibels to 25 decibels; the current volume value can also be adjusted to the middle value of the preset range, because the intermediate value is generally used as an average value. Meet the needs of all types of hearing users.
  • the current volume value may also be adjusted to other optimal values within a preset range according to the user's personal situation.
  • the process automatically detects the current call to the most appropriate volume value by detecting the environment in which the terminal user is located and simultaneously detecting the noise situation at the sound source. The volume instability during the manual adjustment of the voice volume value is reduced, the user's multiple volume adjustment operations are avoided, and the call information reception rate is improved.
  • FIG. 2 is a schematic diagram of a process for obtaining a volume range according to an embodiment of the present invention. As shown in the figure, the method for obtaining a volume range in the embodiment may include the following processes:
  • the digitized sound data is audio data.
  • the audio data is displayed by an electrical instrument, and a waveform and a spectrogram of the sound can be obtained.
  • the noise in the environment is very complicated, but at the same time it has certain rules.
  • the noise is generally irregular audio
  • the sound of the human voice and the sound of the instrument are generally regular spectrum.
  • the display can be performed by an electrical instrument, and different wavelengths, frequencies, intensities, and rhythms of different sounds can be obtained, and the audio features are analyzed, and valid data is obtained therefrom to determine the current call environment.
  • S202 Determine, according to the audio data, a quantity of voiceprints included in a call environment in which the terminal is currently located.
  • the sound wave corresponding to the audio data can be obtained, and the language map converts the change of the sound wave into the intensity, the wavelength, the frequency, and the rhythm of the electrical signal, and the instrument draws the changes of the electrical signals.
  • the spectrum of the spectrum becomes a voiceprint.
  • S203 After determining the number of voiceprints included in the call environment in which the terminal is currently located, S203 is performed.
  • the correspondence between the number of voiceprints and the volume range is a selectable correspondence, that is, the terminal may match the number of voiceprints and the volume range according to a normal situation, or may be a user. Match the number of voiceprints and the volume range according to your personal situation.
  • the current environment volume is determined to be about 50 decibels, and the volume range matching the current environment is determined. It can be set to 50 decibels to 65 decibels, that is, when the volume of the call received is between 50 decibels and 65 decibels, the user can make a normal call.
  • the correspondence between the number of voiceprints and the volume range can be set as follows:
  • the terminal When the terminal receives the call, it detects the number of voiceprints in the current environment and acquires a volume range corresponding to the number of voiceprints.
  • the correspondence between the number of voiceprints and the volume range is preset, and then the number of voiceprints in the call environment is detected, and the volume range corresponding to the number of voiceprints in the call environment is obtained as the volume matching the terminal call environment. range.
  • the call environment in which the terminal is located is quantized by the number of voiceprints, and the volume range is matched according to the number of voiceprints, thereby improving the matching accuracy of the call environment and the volume range.
  • FIG. 3 is a schematic flowchart of another method for obtaining a volume range according to an embodiment of the present invention. As shown in the figure, the method for obtaining a volume range in the embodiment may include the following processes:
  • the audio data of the call environment in which the terminal is currently located is the same as the process in S201, and details are not described herein again.
  • a waveform diagram of the corresponding audio data may be obtained, where the waveform diagram includes amplitude information, that is, a distance of the particle from the equilibrium position, reflecting a pressure change from the waveform peak to the trough, and the wave carrying How much energy.
  • amplitude information that is, a distance of the particle from the equilibrium position, reflecting a pressure change from the waveform peak to the trough, and the wave carrying How much energy.
  • the sound of the high amplitude waveform is large; the sound of the low amplitude waveform is quieter.
  • the correspondence between the ambient volume and the volume range is a selectable correspondence, that is, the ambient volume and the volume range may be the same, or may have a certain difference, and the difference may be according to a normal situation. Uniform settings can also be made individually depending on the individual's personal circumstances. When the volume in the environment is large, the user's listening to the call sound will be greatly affected. If the call sound is to be distinguished from the scene affected by the ambient volume, then The volume of the voice can be the same as the volume of the environment, because the call terminal can be placed close to the human ear, so the user can distinguish the call volume in the same decibel size.
  • the call volume can be greater than the ambient volume, which makes it easier for the user to distinguish the call sound from various types of sounds.
  • the minimum value of the call volume is set to be greater than the ambient volume, so that the user can distinguish the call tone from various types of sounds.
  • the correspondence between the volume of the environment and the volume range can be set as follows:
  • the volume range corresponding to the ambient volume of the current call environment is obtained as the volume range matched with the terminal call environment according to the corresponding relationship.
  • the correspondence between the volume of the environment and the volume range is set; by detecting the audio data of the current environment of the terminal, determining the volume of the environment in which the terminal is currently located; and obtaining the current call.
  • the volume range corresponding to the ambient volume level of the environment serves as a volume range that matches the call environment of the terminal.
  • the terminal call environment is quantized into the environment volume of the call environment in which the terminal is located, and then the volume range corresponding thereto is set according to the size of the environment volume, and finally the volume range matched with the current environment volume is obtained according to the detected current environment volume.
  • FIG. 4 is a schematic flowchart of another method for adjusting the volume of a call in the embodiment of the present invention. As shown in the figure, the method for adjusting the volume of a call may include the following processes:
  • S401 During a call in the terminal, detecting a call environment in which the terminal is located.
  • the call made by the terminal may be a telecommunication mobile phone call, or an IP phone call, or a data network call, or a walkie-talkie call or a pager call.
  • the call environment in which the terminal is located that is, the call environment in which the terminal user is located, may include volume information, voiceprint quantity, tone color information, or keyword information in the environment.
  • the terminal includes a camera, when detecting the communication environment in which the terminal is located, it is also possible to detect picture information in the environment, including weather, time, face or scene information, and the like.
  • the individual may include some specific habits, obtain the contact information of the current call, and set the call volume range to the contact in a targeted manner.
  • the information of the current call contact may include the contact's name, nickname or ID number, and also includes the contact's gender, age or common call volume.
  • Some contacts have a softer voice during the call, so the terminal needs to set a higher volume range start value for him; similarly, if the contact sound is high, the terminal needs to set a lower volume range end point for him. Value; in addition, if it is a more important contact, such as a parent, child, teacher, boss or important customer, the user pays more attention to the content of the call with such people, so it needs a higher call volume, then the setting of the call range is also It will be different.
  • (a) is a contact classification
  • the end user classifies the contacts as "important" and “regular”
  • the important category contains 5 contacts
  • the general category contains 30 contacts
  • the five contacts in the important category are “A1”, “B2”, “C3”, “Ding 4”, “Ping 5”, and the user sets them.
  • the corresponding volume range is 50 decibels to 90 decibels. If you need to change the contact classification information or the corresponding volume range information, select the “Edit” in the list to modify the current settings. After obtaining the contact information of the current call, execute S403.
  • a volume range that satisfies both of the conditions is obtained.
  • the calling environment of the terminal is determined by the number of voiceprints included in the call environment and the volume of the environment volume, and the number of voiceprints is detected to be 2, and the volume of the environment is 50 decibels;
  • the call contact belongs to the category of "important" in Figure 5, then the volume range of the contact is 50 decibels to 90 decibels; according to these three conditions, the intersection of them is obtained, and referring to Table 2, the number of voiceprints is 2
  • the volume range is 50 decibels to 65 decibels. Referring to Table 3, when the ambient volume is 50, the corresponding volume range is 55 decibels to 65 decibels. Therefore, the intersection can be seen to match the current call environment with a volume range of 55 decibels to 65 decibels.
  • the call range is determined according to the intersection of the two factors, and if there are two disjoint intersections, the user is prompted to select one of the call ranges.
  • the user may also set the reference priority of the two information of the call environment and the call contact in advance, so when the call range of the two does not have an intersection, the call corresponding to the higher priority factor is selected.
  • the range is the call range of the current terminal.
  • the valid call data refers to the regular sound data of the person in the call audio data
  • the noise data is an irregular data of a group of call voices that do not belong to the person.
  • the noise data includes ambient noise during the call audio data pickup process, device noise during transmission, or hardware failure during playback.
  • the noise data can be directly removed to retain only valid call data, or the valid call data and the noise data can be separated. Methods that can be employed include low pass filtering, band pass filtering and high pass filtering, Kalman filtering, and wavelet denoising.
  • the call volume value may be matched with the volume range matched by the call environment in which the terminal is located, and the user's hearing is generated. Large deviation.
  • the volume of the valid call data in the currently received call audio data is 40 decibels
  • the volume value of the noise data is 50 decibels.
  • the superimposed volume values of the two are obtained by calculation or from the decibel superposition table, and the decibels of the superposition are known. The value is 50.4 decibels. If the volume range matching the call environment in which the terminal is located is obtained according to the decibel value superimposed on the two, it is likely that the user cannot hear the voice of the valid call. Therefore, the volume value of the valid call data is determined as the current call volume value, and then S406 is performed.
  • the call volume value refers to the volume value of the processed valid call data, and is within the volume range that matches the call environment in which the terminal is located, and the call volume value is not less than the minimum value of the volume range, and is not greater than The maximum value of the volume range.
  • the current call data volume value in the current call data is 40 dB
  • the terminal information is obtained according to the contact information and the call environment in which the terminal is located.
  • the calling environment matches the volume range of 55 decibels to 65 decibels, and the call volume value is not within the volume range matching the calling environment in which the terminal is located, and S407 is executed.
  • the terminal automatically adjusts the current call volume value to a volume range that matches the call environment in which the terminal is located.
  • the adjustment method comprises: a minimum adjustment method, that is, adjusting a minimum volume difference to a volume range, such as a call volume value of 40 decibels in S406, and a volume range of 55 decibels matching a call environment in which the terminal is located.
  • the call volume value is increased by a minimum of 15 decibels to 55 decibels;
  • the average adjustment method is to adjust the minimum volume difference to the average value in the volume range, such as the value of the call volume in S406 40 decibels adjusted to an average of 60 decibels from 55 decibels to 65 decibels in the volume range; other adjustment methods, such as the maximum adjustment method (adjusting the maximum difference to the volume range), the best adaptation method (according to the user's historical volume) The value usage is adjusted to within the volume range) and so on.
  • the call volume value is already within the volume range that matches the call environment in which the terminal is located, it is not necessary to adjust the call volume value to maintain the current call volume value.
  • the call environment in which the terminal is located is detected during the terminal call, and the contact information of the current call is detected, and then the call environment in which the terminal is located is matched according to the two factors.
  • Volume range extract valid call data and noise data from the currently received call audio data and confirm the volume value of the active call data as the current call volume value. Comparing the volume range in which the call volume value matches the call environment in which the terminal is located, and adjusting the call volume value not within the volume range to within the volume range. In this process, combined with the contact information and the call environment in which the terminal is located, a more personalized volume range can be obtained, which improves the user's needs.
  • the matching degree the current call data volume value in the current call audio is used as the current call volume value, which can improve the probability that the user extracts valid call data from the call audio, and improve the call information receiving rate.
  • FIG. 6 is a schematic flowchart of a specific voice volume adjustment method according to an embodiment of the present invention, including a complete process of a call volume adjustment method, and the specific call volume adjustment method in this embodiment may include the following processes:
  • the terminal is the mobile phone
  • the audio data of the call environment in which the terminal is located that is, the ambient audio data around when the user uses the mobile phone to make a call.
  • the corresponding sonogram and spectrogram are obtained, and the number of voiceprints and the volume of the voiceprint are included in the analysis. Assume that the user is currently in the evening rest state. When the user does not sound himself, the number of voiceprints in the room is 0, and the volume in the surrounding environment is about 40 decibels.
  • S602 is performed.
  • the contact information of the current call is obtained, that is, the information of the other party that the user is in the mobile phone call is obtained.
  • the user Before the call is made, the user has classified the volume range according to the importance of the contact. As shown in FIG. 5, it is assumed that the user currently receives a call from D4, and the packet is "important", and the corresponding volume range is 50 decibels to 90 decibels. After obtaining the volume range information corresponding to D4, S603 is executed.
  • the number of voiceprints included in the call environment in which the user is located is 0, and the corresponding volume range A is [25, 40) decibels according to Table 2;
  • the volume of the call environment in which the user is located is 40 decibels.
  • the corresponding volume range B is [45, 65) decibels;
  • the volume range C corresponding to the current call contact D is set to 50 decibels to 90 decibels, then this
  • the volume range that matches the call environment in which the terminal is located is the intersection of the three ranges A, B, and C.
  • B ⁇ C [50, 65), determine that the final volume range is [50, 65) decibels, and execute S604.
  • the user's mobile phone extracts the environmental noise and the valid data, obtains the noise data X and the valid call data Y, and executes S605.
  • the noise data X obtained in step S604 is 50 decibels and the effective call data Y is 40 decibels.
  • the current call volume value may be determined to be 40 decibels.
  • the current call volume value is determined to be 40 decibels, and the volume range matched by the call environment in which the terminal is located is determined to be 50 decibels to 65 decibels in step S603. It is obvious that the call volume value is not in the call environment where the terminal is located. Within the matched volume range, execute S607.
  • the current call volume value is 40 decibels
  • the range of the call environment in which the terminal is located is 50 decibels to 65 decibels
  • the current call volume value is increased by 10 decibels, and is determined to be 50 decibels.
  • volume of the call is adjusted again after receiving the volume adjustment operation.
  • the current mobile phone call has been adjusted to 50 decibels according to the matching range of the call environment in which the terminal is located, and the volume up operation is monitored 5 times, the current call volume of the mobile phone becomes 55 decibels, and S609 is executed.
  • Adjusting the volume range that matches the call environment in which the terminal is located including three adjustment methods: adjusting the volume range corresponding to the number of voiceprints; adjusting the volume range corresponding to the volume of the environment; and adjusting the volume range corresponding to the contact.
  • the final determined voice volume range is [50, 65) decibels, wherein the minimum value of 50 decibels is determined according to the volume range corresponding to the contact, then the volume adjustment operation should correspond to the pair.
  • the volume adjustment operation is not monitored in S608, the current call volume is maintained, and the previous volume range setting that matches the call environment in which the terminal is located is also maintained.
  • the process of the call volume adjustment method in this embodiment is only one of the embodiments of the present invention.
  • the call environment detection method in Embodiment 2 may be separately combined with the contact information, or
  • the call environment detecting method in Embodiment 3 is separately combined with the contact information as a condition for acquiring a volume range that matches the call environment of the terminal, and these embodiments may be respectively associated with the currently received call audio data.
  • the process of combining the volume value of valid call data may be combined with any of the foregoing method processes to form a new volume range adjustment method.
  • the number of voiceprints and the volume of the environment included in the call environment in which the mobile phone is currently located are obtained, and the contact information of the current call is obtained, and then according to the number of voiceprints, the volume of the environment, and the contact information.
  • the factor acquires a volume range that matches the call environment in which the terminal is located; extracts the volume value of the valid call data from the currently received call audio data as the current call volume; and determines whether the current call volume is in a match with the call environment in which the terminal is located.
  • the volume range if not, adjusts the current call volume to the volume range; whether the volume is adjusted while the call is being monitored, and if so, the volume range that matches the call environment in which the terminal is located is adjusted.
  • the call environment and contact information are fully considered as the evaluation factors of the volume range matching the call environment in which the terminal is located, and the volume of the valid call data is excluded from the noise interference in the received call volume.
  • the value is used as the current call volume value.
  • FIG. 7 is a schematic structural diagram of a call volume adjustment apparatus according to an embodiment of the present invention.
  • the call volume adjustment apparatus in this embodiment includes a processor 701, a storage medium 702, and a communication interface 703.
  • the processor 701 The storage medium 702 and the communication interface 703 are connected by a bus 704.
  • the storage medium 702 may be a storage medium built in the call volume adjustment device or a separately set storage medium.
  • the processor 701 for data processing may use a microprocessor, a central processing unit (CPU), a digital signal processor (DSP), or a programmable logic array (FPGA, Field-Programmable Gate). Array).
  • a plurality of instructions may be stored in the storage medium 702, and the instructions are adapted to be loaded by the processor 701 and execute a partial flow corresponding to the call volume adjustment method shown in FIG. 1 to FIG. 4 and FIG. 6 in the foregoing embodiment, wherein At least include:
  • the terminal detects the call environment in which the terminal is located, and acquires a volume range that matches the call environment in which the terminal is located;
  • the instructions are loaded by the processor 701 to perform the following operations to detect the call environment in which the terminal is located:
  • a volume range corresponding to the number of voiceprints currently included in the call environment is obtained as a volume range that matches the call environment of the terminal.
  • the instructions are loaded by the processor 701 to perform the following operations to detect the call environment in which the terminal is located:
  • a volume range corresponding to the ambient volume of the current call environment is obtained as a volume range that matches the call environment of the terminal.
  • the instructions are loaded by the processor 701 to perform the following operations to detect the currently received call volume value:
  • the volume value of the valid call data is determined as the current call volume value.
  • the instructions are loaded by the processor 701 to perform the following operations:
  • the following operations are performed to obtain a volume range that matches the communication environment in which the terminal is located:
  • the instructions are loaded by the processor 701 to perform the following operations:
  • the volume range matched with the communication environment in which the terminal is located is updated according to the volume adjustment operation.
  • the plurality of instructions stored in the storage medium 702 of the volume adjustment device may be formed by the processor 701 to form the following units:
  • the environment volume range setting unit 721 is configured to detect a call environment in which the terminal is located during a call, and acquire a volume range that matches a call environment in which the terminal is located;
  • the call volume value detecting unit 722 is configured to detect a call volume value of the currently received call audio data
  • the call volume value adjustment unit 723 is configured to compare the call volume value with a volume range that matches the call environment in which the terminal is located, and if the call volume value is outside the volume range, adjust the current volume. The value is within the volume range.
  • the environment volume range setting unit 721 is further configured to detect a call environment in which the terminal is located and perform: acquiring audio data of a call environment in which the terminal is currently located; determining, according to the audio data, a current location of the terminal The number of voiceprints included in the call environment; the ambient volume range setting unit 721 is further configured to acquire a volume range that matches the call environment of the terminal and execute: according to a preset correspondence between the preset number of voiceprints and the volume range And obtaining a volume range corresponding to the number of voiceprints currently included in the call environment as a volume range matching the call environment of the terminal.
  • the environment volume range setting unit 721 is further configured to detect a call environment in which the terminal is located and perform: acquiring audio data of a call environment in which the terminal is currently located; determining, according to the audio data, a current location of the terminal An environment volume level of the call environment; the ambient volume range setting unit 721 is further configured to acquire a volume range that matches the call environment of the terminal, and perform: according to a correspondence between a preset environment volume size and a volume range, Obtaining a volume range corresponding to the volume level of the environment in which the current call environment is located as a volume range that matches the call environment of the terminal.
  • the call volume value detecting unit 722 is further configured to detect a terminal call environment and perform: extracting valid call data and noise data from the currently received call audio data; and setting the volume of the valid call data The value is determined as the current call volume value.
  • the environment volume range setting unit 721 is further configured to: acquire contact information of a current call, and obtain, according to the contact information and a call environment in which the terminal is located, The volume range at which the call environment matches.
  • the call volume adjustment device is further configured to:
  • the volume range matched with the communication environment in which the terminal is located is updated according to the volume adjustment operation.
  • the call volume adjustment device in this embodiment acquires an environment volume range that matches the call environment in which the terminal is located by detecting the call environment in which the terminal is located; detects the call volume value received by the terminal, and matches the call environment in which the terminal is located.
  • the volume of the call outside the ambient volume range is adjusted to within the volume range. In this process, it is necessary to detect the number of voiceprints in the environment, the volume of the environment, and process the received call audio, and finally monitor the volume adjustment operation during the call and match the environment in which the terminal is located.
  • the volume range is adjusted accordingly. Since the influence of various factors on the volume of the call is considered, and the volume range is adjusted in real time according to the operation of the user, the hearing acceptance capability of the user can be matched to the greatest extent, and the call information receiving rate is improved.
  • the above-mentioned call volume adjustment method and the above-mentioned storage medium carrying specific instructions should not be understood as being only present or implemented in the call volume adjustment device in this embodiment, but can be implemented in any terminal or storage device. Or in a network device.
  • each function module in the call volume adjustment device refers to the related description of the steps of the corresponding voice volume adjustment method in the embodiment shown in FIG. 1 to FIG. 4 and FIG. 6 , and details are not described herein again.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division.
  • there may be another division manner for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, and may be electrical, mechanical or otherwise.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, eg, the computing Machine instructions can be routed from one website site, computer, server or data center to another via wired (eg coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) Transfer from a website site, computer, server, or data center.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium such as a Solid State Disk (SSD)
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Embodiments of the present invention disclose a method for adjusting call volume, characterized by and comprising: during a call on a terminal, detecting the call environment in which the terminal is located, and acquiring a volume range matching the call environment in which the terminal is located; detecting a call volume value of currently received call audio data; comparing the call volume value with the volume range matching the call environment in which the terminal is located, and adjusting the current volume value to a value within the volume range if the call volume value is beyond the volume range. By adopting the present invention, personalized matching of terminal call volume ranges can be realized, and call information receiving rates can be increased.

Description

一种通话音量调节方法和装置Call volume adjustment method and device 技术领域Technical field
本发明涉及通讯技术领域,尤其涉及一种通话音量调节方法和装置。The present invention relates to the field of communications technologies, and in particular, to a call volume adjustment method and apparatus.
背景技术Background technique
通信技术和通信产业是20世纪80年代以来发展最快的领域之一。在通信技术越来越发达的今天,人们每天的生活都离不开远程通信。包括运用固定电话、移动电话进行电信通话,运用个人电脑、移动电脑、掌上电脑、移动电话或可穿戴设备进行数据流量通话,人与人之间的交流方式进行了革命性地改变。The communications technology and communications industries are among the fastest growing areas since the 1980s. Today, with the development of communication technology, people's daily life is inseparable from remote communication. Including the use of fixed telephones, mobile phones for telecommunications calls, the use of personal computers, mobile computers, handheld computers, mobile phones or wearable devices for data traffic calls, the way people communicate with each other has revolutionized.
在进行远程通信的过程中,存在一些普遍的问题,包括通话时的音量问题。由于每个人的听觉能力有所不同,对信息的接收能力也不同,通话过程中难免遇到无法听清对方声音、难以从嘈杂的环境中提取有效通话音的情况。如何提升通话质量,是远程通信中的一个重要问题。There are some common problems in the process of remote communication, including the volume of the call. Since each person's hearing ability is different, the ability to receive information is also different. During the conversation, it is inevitable that the user cannot hear the other party's voice and it is difficult to extract an effective call tone from a noisy environment. How to improve call quality is an important issue in remote communication.
发明内容Summary of the invention
有鉴于此,本发明实施例提供一种通话音量调节方法和装置,可根据不同环境场景及通话联系人信息调节通话音量,提升通话信息接收率。In view of this, the embodiment of the present invention provides a method and a device for adjusting a call volume, which can adjust a call volume according to different environment scenarios and call contact information, and improve a call information receiving rate.
为了解决上述技术问题,本发明实施例第一方面提供了一种通话音量调节方法,所述方法包括:In order to solve the above technical problem, a first aspect of the embodiments of the present invention provides a method for adjusting a call volume, where the method includes:
在终端进行通话过程中,检测终端所处的通话环境,并获取与所述终端所处的通话环境匹配的音量范围;During the call process, the terminal detects the call environment in which the terminal is located, and acquires a volume range that matches the call environment in which the terminal is located;
检测当前接收到的通话音频数据的通话音量值;Detecting a call volume value of the currently received call audio data;
将所述通话音量值与所述终端所处的通话环境匹配的音量范围对比,若所述通话音量值处于所述音量范围之外,则调节所述当前音量值至所述音量范围之内。Comparing the call volume value with a volume range that matches the call environment in which the terminal is located, and if the call volume value is outside the volume range, adjusting the current volume value to within the volume range.
可选情况下,所述检测终端所处的通话环境包括:Optionally, the calling environment in which the detecting terminal is located includes:
获取终端当前所处的通话环境的声波频谱;Obtaining the sound wave spectrum of the call environment in which the terminal is currently located;
根据所述声波频谱确定终端当前所处的通话环境包含的声纹数量;Determining, according to the sound wave spectrum, a number of voiceprints included in a call environment in which the terminal is currently located;
所述获取与所述终端通话环境匹配的音量范围包括:The obtaining a volume range that matches the call environment of the terminal includes:
根据预设的声纹数量与音量范围之间的对应关系,获取与当前所处通话环境包含的声纹数量对应的音量范围作为与所述终端通话环境匹配的音量范围。According to the correspondence between the preset number of voiceprints and the volume range, a volume range corresponding to the number of voiceprints currently included in the call environment is obtained as a volume range that matches the call environment of the terminal.
可选情况下,所述检测终端通话环境包括:Optionally, the detecting terminal call environment includes:
获取终端当前所处的通话环境的音频数据; Obtaining audio data of a call environment in which the terminal is currently located;
根据所述音频数据确定终端当前所处的通话环境的环境音量大小;Determining, according to the audio data, an ambient volume of a call environment in which the terminal is currently located;
所述获取与所述终端通话环境匹配的音量范围包括:The obtaining a volume range that matches the call environment of the terminal includes:
根据预设的环境音量大小与音量范围之间的对应关系,获取与当前所处通话环境的环境音量大小对应的音量范围作为与所述终端通话环境匹配的音量范围。According to a preset relationship between the preset volume level and the volume range, a volume range corresponding to the ambient volume of the current call environment is obtained as a volume range that matches the call environment of the terminal.
可选情况下,所述检测当前接收到的通话音量值包括:Optionally, the detecting the currently received call volume value includes:
从当前接收到的通话音频数据提取有效通话数据和噪声数据;Extracting valid call data and noise data from currently received call audio data;
将所述有效通话数据的音量值确定为当前通话音量值。The volume value of the valid call data is determined as the current call volume value.
可选情况下,所述方法还包括:Optionally, the method further includes:
获取当前通话的联系人信息;Get the contact information of the current call;
所述获取与所述终端所处的通话环境匹配的音量范围包括:The obtaining a volume range that matches a call environment in which the terminal is located includes:
根据所述联系人信息和所述终端所处的通话环境,获取与所述终端所处的通话环境匹配的音量范围。And obtaining, according to the contact information and the call environment in which the terminal is located, a volume range that matches a call environment in which the terminal is located.
可选情况下,所述方法还包括:Optionally, the method further includes:
若在终端进行通话过程中接收到音量调节操作,则根据所述音量调节操作更新与所述终端所处的通话环境匹配的音量范围。If the volume adjustment operation is received during the session of the terminal, the volume range matched with the communication environment in which the terminal is located is updated according to the volume adjustment operation.
相应地,本发明实施例第二方面还提供了一种通话音量调节装置,所述装置包括:Correspondingly, the second aspect of the embodiments of the present invention further provides a call volume adjustment apparatus, where the apparatus includes:
环境音量范围设置单元,用于在终端进行通话过程中,检测终端所处的通话环境,并获取与所述终端所处的通话环境匹配的音量范围;The environment volume range setting unit is configured to detect a call environment in which the terminal is located during a call, and obtain a volume range that matches a call environment in which the terminal is located;
通话音量值检测单元,用于检测当前接收到的通话音频数据的通话音量值;a call volume value detecting unit, configured to detect a call volume value of the currently received call audio data;
通话音量值调节单元,用于将所述通话音量值与所述终端所处的通话环境匹配的音量范围对比,若所述通话音量值处于所述音量范围之外,则调节所述当前音量值至所述音量范围之内。a call volume value adjustment unit, configured to compare the call volume value with a volume range that matches a call environment in which the terminal is located, and if the call volume value is outside the volume range, adjust the current volume value Up to the volume range.
可选情况下,所述环境音量范围设置单元还用于:Optionally, the ambient volume range setting unit is further configured to:
获取终端当前所处的通话环境的音频数据;Obtaining audio data of a call environment in which the terminal is currently located;
根据所述音频数据确定终端当前所处的通话环境包含的声纹数量;Determining, according to the audio data, a quantity of voiceprints included in a call environment in which the terminal is currently located;
根据预设的声纹数量与音量范围之间的对应关系,获取与当前所处通话环境包含的声纹数量对应的音量范围作为与所述终端通话环境匹配的音量范围。According to the correspondence between the preset number of voiceprints and the volume range, a volume range corresponding to the number of voiceprints currently included in the call environment is obtained as a volume range that matches the call environment of the terminal.
可选情况下,所述环境音量范围设置单元还用于:Optionally, the ambient volume range setting unit is further configured to:
获取终端当前所处的通话环境的音频数据;Obtaining audio data of a call environment in which the terminal is currently located;
根据所述音频数据确定终端当前所处的通话环境的环境音量大小;Determining, according to the audio data, an ambient volume of a call environment in which the terminal is currently located;
根据预设的环境音量大小与音量范围之间的对应关系,获取与当前所处通话环境的环境音量大小对应的音量范围作为与所述终端通话环境匹配的音量范围。According to a preset relationship between the preset volume level and the volume range, a volume range corresponding to the ambient volume of the current call environment is obtained as a volume range that matches the call environment of the terminal.
可选情况下,所述通话音量值检测单元还用于: Optionally, the call volume value detecting unit is further configured to:
从当前接收到的通话音频数据提取有效通话数据和噪声数据;Extracting valid call data and noise data from currently received call audio data;
将所述有效通话数据的音量值确定为当前通话音量值。The volume value of the valid call data is determined as the current call volume value.
可选的,所述环境音量范围设置单元还用于:Optionally, the ambient volume range setting unit is further configured to:
获取当前通话的联系人信息,根据所述联系人信息和所述终端所处的通话环境,获取与所述终端所处的通话环境匹配的音量范围。Obtaining the contact information of the current call, and acquiring a volume range that matches the call environment in which the terminal is located according to the contact information and the call environment in which the terminal is located.
可选情况下,所述通话音量调节装置还用于:Optionally, the call volume adjustment device is further configured to:
若在终端进行通话过程中接收到音量调节操作,则根据所述音量调节操作更新与所述终端所处的通话环境匹配的音量范围。If the volume adjustment operation is received during the session of the terminal, the volume range matched with the communication environment in which the terminal is located is updated according to the volume adjustment operation.
相应的,本发明实施例第三方面还提供了一种通话音量调节装置,所述通话音量调节装置包括:Correspondingly, the third aspect of the embodiment of the present invention further provides a call volume adjustment device, where the call volume adjustment device includes:
处理器,用于执行各指令;a processor for executing each instruction;
存储介质,用于存储多条指令,所述指令适于由所述处理器加载并执行如本发明实施例第一方面提供的任一情况下的通话音量调节方法。A storage medium for storing a plurality of instructions adapted to be loaded by the processor and to perform a call volume adjustment method in any of the cases provided by the first aspect of the embodiments of the present invention.
相应的,本发明实施例第四方面还提供了一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载并执行如本发明实施例第一方面提供的任一情况下的通话音量调节方法。Correspondingly, the fourth aspect of the embodiments of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, where the instructions are adapted to be loaded by a processor and executed according to the first aspect of the embodiments of the present invention. The method of adjusting the volume of the call in either case.
本实施例中的技术方案中,终端在通话过程中根据当前所处的环境匹配音量范围,然后检测当前接收到的通话音量值是否在之前匹配的范围内,如果不在,就将当前通话音量值调节到之前匹配的范围内;另外,还可以根据当前通话联系人信息和当前通话环境,获取与两者都匹配的音量范围。在这个过程中,用户接收到的通话音量可以根据预设音量范围自动进行调节,而不需要用户手动调节,且通话音量不会随着用户一时主观感受任意变化而导致多次不稳定变化,提升了通话信息接收率。In the technical solution in this embodiment, the terminal matches the volume range according to the current environment during the call, and then detects whether the currently received call volume value is within the previously matched range, and if not, the current call volume value. Adjust to the range of the previous match; in addition, you can get the volume range that matches both based on the current call contact information and the current call environment. In this process, the volume of the call received by the user can be automatically adjusted according to the preset volume range, without the need for manual adjustment by the user, and the volume of the call does not cause multiple unstable changes with the user's subjective feelings. The call information receiving rate.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明实施例中的一种通话音量调节方法的流程示意图;1 is a schematic flow chart of a method for adjusting a call volume according to an embodiment of the present invention;
图2是本发明实施例中的一种获取音量范围的流程示意图;2 is a schematic flow chart of obtaining a volume range according to an embodiment of the present invention;
图3是本发明实施例中的另一种获取音量范围的流程示意图;FIG. 3 is a schematic flowchart of another method for acquiring a volume range according to an embodiment of the present invention; FIG.
图4是本发明实施例中的另一种通话音量调节方法的流程示意图;4 is a schematic flow chart of another method for adjusting a call volume according to an embodiment of the present invention;
图5是本发明实施例中的一种联系人音量范围设置方法示意图,图5中(a)为联系人 分类,图5中(b)为联系人类别对应的音量范围设置;FIG. 5 is a schematic diagram of a method for setting a volume range of a contact in the embodiment of the present invention, where (a) is a contact in FIG. 5 Classification, (b) in Figure 5 is the volume range setting corresponding to the contact category;
图6是本发明实施例中的一种具体的通话音量调节方法的流程示意图;6 is a schematic flow chart of a specific method for adjusting a call volume according to an embodiment of the present invention;
图7是本发明实施例中的一种通话音量调节装置结构示意图。FIG. 7 is a schematic structural diagram of a call volume adjustment apparatus according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图1是本发明实施例中的一种通话音量调节方法的流程示意图,如图所示本实施例中的通话音量调节方法可以包括以下流程:1 is a schematic flowchart of a method for adjusting a call volume according to an embodiment of the present invention. As shown in the figure, the method for adjusting a call volume in this embodiment may include the following processes:
S101、在终端进行通话过程中,检测终端所处的通话环境,并获取与所述终端所处的通话环境匹配的音量范围。S101. During a call, the terminal detects a call environment in which the terminal is located, and acquires a volume range that matches a call environment in which the terminal is located.
具体地,终端包括各种能进行对话的移动通信设备,例如手机、小灵通、固定电话、对讲机、寻呼机以及无线电话,也包括能进行网络通信的设备,例如个人电脑、掌上电脑及各种可穿戴设备。终端所处的通话环境即终端用户当前所处的通话环境,获取与终端所处的通话环境匹配的音量范围,即是根据用户当前通话环境的安静或嘈杂获取音量范围。Specifically, the terminal includes various mobile communication devices capable of conversation, such as mobile phones, PHS, landline telephones, walkie-talkies, pagers, and wireless telephones, as well as devices capable of network communication, such as personal computers, handheld computers, and various types of devices. Wear the device. The calling environment in which the terminal is located is the calling environment in which the terminal user is currently located, and obtains the volume range that matches the calling environment in which the terminal is located, that is, the volume range is obtained according to the quiet or noisy current environment of the user.
通常情况下,音量用分贝(decibel,dB)进行计量,人耳对于分贝的感受如表1所示:Normally, the volume is measured in decibel (dB), and the human ear feels like decibels as shown in Table 1:
表1Table 1
分贝值Decibel value 人耳感受Human ear experience
1分贝1 decibel 刚能听到的声音Just heard
15分贝以下Less than 15 decibels 感觉安静Feeling quiet
30分贝30 decibels 耳语的音量大小Whistle volume
40分贝40 decibels 冰箱的嗡嗡声The buzz of the refrigerator
60分贝60 decibels 正常交谈的声音Normal conversation
70分贝70 decibels 相当于走在闹市区Equivalent to walking in downtown
85分贝85 decibels 汽车穿梭的马路上Car shuttle on the road
95分贝95 decibels 摩托车启动声音Motorcycle start sound
100分贝100 decibels 装修电钻的声音Renovating the sound of an electric drill
110分贝110 decibels 卡拉OK、大声播放MP3的声音Karaoke, loudly playing MP3 sound
120分贝120 decibels 飞机起飞时的声音The sound of the plane taking off
150分贝150 decibels 燃放烟花爆竹的声音The sound of fireworks and firecrackers
可选的,每个人的对音量的主观感受会有所不同,有的迟钝,有点灵敏,除了根据一般情况对用户的听觉进行评估,也可以个性化地对用户听觉进行鉴定,通过终端相应硬件或软件,对用户的听力进行测试,获得用户对应的听觉感受表。Optionally, each person's subjective feelings on the volume will be different, some are dull and a bit sensitive. In addition to evaluating the user's hearing according to the general situation, the user's hearing can also be authenticated individually, through the corresponding hardware of the terminal. Or software, test the user's hearing, and obtain the user's corresponding auditory feeling table.
当用户处于不同环境时,对接收到的通话音量值要求也会有所不同。例如用户当前行走在菜市场,那么他对当前接收到的通话会要求较高的音量值;而如果用户当前处于夜间沉睡状态,他对接收到的通话会要求较低的音量值;再或者用户行走在商场里,那么周围的环境可能一时噪声较大,一时又较为安静,那么用户对通话音量值的要求也会随之变化。如果每次环境变化,用户都要对手机音量进行调节,这会造成很大的不便,也会使用户拥有不好的通话体验。When the user is in a different environment, the volume value of the received call will be different. For example, if the user is currently walking in the market, he will require a higher volume value for the currently received call; and if the user is currently sleeping at night, he will require a lower volume value for the received call; or the user Walking in the mall, the surrounding environment may be noisy for a while, and it is quiet at the moment, so the user's request for the volume value of the call will also change. If the environment changes every time, the user has to adjust the volume of the mobile phone, which will cause great inconvenience and also make the user have a bad calling experience.
因此根据终端用户所处的通话环境设置终端的音量范围,可以使终端通话音量更好地适应用户的听觉需求。在可选的实施例中,终端所处的通话环境可以通过环境中包含的声纹数量来判定,声纹数量越多,表示当前环境越嘈杂,终端需要提供更高音量值的通话来使用户听清通话内容。可选的,终端所处的通话环境也可以通过环境中的音量大小来判定,环境音量越大,表示当前环境越嘈杂,终端需要为用户匹配更高音量值的通话。这两种典型的通话环境判定方法将通过实施例2和实施例3进行详细描述。另外,终端所处的通话环境还可以通过终端接收到的音色、音调来判断,也可以通过终端接收到的环境中的关键字来判断,比如终端接收到音量调节的指示,或者接收到判断用户处于上课或开会等实时场景的关键字,都可以判定终端所处通话环境,然后为所处通话环境匹配相应的音量范围。Therefore, according to the call environment in which the terminal user is located, the volume range of the terminal can be set, so that the terminal call volume can be better adapted to the user's auditory needs. In an optional embodiment, the calling environment in which the terminal is located can be determined by the number of voiceprints included in the environment. The more the voiceprints, the more noisy the current environment, and the terminal needs to provide a call with a higher volume value to make the user Listen to the call content. Optionally, the calling environment in which the terminal is located can also be determined by the volume of the environment. The greater the volume of the environment, the more noisy the current environment, and the terminal needs to match the call with a higher volume value for the user. These two typical call environment determination methods will be described in detail through Embodiment 2 and Embodiment 3. In addition, the calling environment in which the terminal is located may also be judged by the tone and tone received by the terminal, or may be determined by a keyword in the environment received by the terminal, for example, the terminal receives an indication of volume adjustment, or receives a judgment user. Keywords in real-time scenarios such as class or meeting can determine the calling environment in which the terminal is located, and then match the corresponding volume range for the calling environment.
另外,音量范围作为一个区间范围,包含最大值和最小值,也可以称为起点值和终点值,比如音量范围在70分贝至100分贝之间,其最大值为100分贝,最小值为70分贝,也可以描述其中的70分贝为起点值,100分贝为终点值。或者用数学表达式来描述,该区间范围为[70,100],或(70,100),或[70,100),或(70,100],其中[70,100]表示包括端点值70和100,(70,100)表示不包括端点值70和100,[70,100)表示包括端点70但不包括端点100,(70,100]表示不包括端点70但包括端点100。In addition, the volume range is used as an interval range, including the maximum value and the minimum value. It can also be called the start value and the end point value. For example, the volume range is between 70 decibels and 100 decibels. The maximum value is 100 decibels and the minimum value is 70 decibels. It is also possible to describe 70 decibels as the starting point value and 100 decibels as the end point value. Or by mathematical expressions, the interval range is [70,100], or (70,100), or [70,100), or (70,100], where [70,100] indicates that the endpoint values 70 and 100 are included, and (70,100) indicates that the endpoint is not included. Values 70 and 100, [70, 100) indicate that endpoint 70 is included but endpoint 100 is not included, and (70, 100) indicates that endpoint 70 is not included but endpoint 100 is included.
可选的,终端音量范围除了根据终端所处的通话环境进行设置,还需要考虑人类的听觉范围,比如当音量小于20分贝时,人耳很难听到,当音量大于100分贝时,会给人耳带来很大损伤,因此,在获取与终端所处的通话环境匹配的音量范围时,取值在20分贝~100分贝之间调整。另外,声音频率即赫兹值也应该作为音量的一个参考参数。Optionally, the terminal volume range is set according to the calling environment in which the terminal is located, and the human hearing range needs to be considered. For example, when the volume is less than 20 decibels, the human ear is difficult to hear, and when the volume is greater than 100 decibels, it will be given. The ear brings a lot of damage, so the value is adjusted between 20 decibels and 100 decibels when the volume range matching the calling environment in which the terminal is located is obtained. In addition, the sound frequency, ie the Hertz value, should also be used as a reference parameter for the volume.
获取与终端所处的通话环境匹配的音量范围后,执行S102。After obtaining the volume range that matches the communication environment in which the terminal is located, S102 is performed.
S102、检测当前接收到的通话音频数据的通话音量值。 S102. Detect a call volume value of the currently received call audio data.
终端当前接收到的通话音频数据,即是终端当前接收到的通过信号传输的通话音频数据,是带有语音、音乐和音效的有规律的声波的频率、幅度变化信息载体。The call audio data currently received by the terminal, that is, the call audio data currently transmitted by the terminal through the signal, is a frequency and amplitude change information carrier of regular sound waves with voice, music and sound effects.
根据音频数据中声波的特征,可以将音频信息分类为规则音频和不规则声音。其中规则音频又可以分为语音、音乐和音效,而不规则音频则是一种对人耳听觉造成打扰的噪声。在可选的实施例中,如果直接将接收到的音频数据的音量确定为当前通话音量,则有可能因为当前接收到的音频数据中存在大量噪声而导致用户无法从设定的音量值中听到有效通话音频。因此,可以从终端当前接收到的通话音频数据中提取出有效通话数据和噪声数据,然后将其中的有效通话数据的音量值确定为当前通话音量值。在可选的实施例中,也可以将接收到的音频数据中的噪声去除,而只保留有效通话数据,然后将有效通话数据的音量值作为当前通话音量值。Audio information can be classified into regular audio and irregular sound according to the characteristics of sound waves in the audio data. The regular audio can be divided into voice, music and sound effects, and the irregular audio is a kind of noise that disturbs the hearing of the human ear. In an optional embodiment, if the volume of the received audio data is directly determined as the current call volume, there is a possibility that the user cannot listen to the set volume value because there is a large amount of noise in the currently received audio data. To valid call audio. Therefore, valid call data and noise data can be extracted from the call audio data currently received by the terminal, and then the volume value of the valid call data therein is determined as the current call volume value. In an alternative embodiment, the noise in the received audio data may also be removed, and only the valid call data is retained, and then the volume value of the valid call data is used as the current call volume value.
检测到当前通话音量值后,执行S103。After detecting the current call volume value, S103 is performed.
S103、对比通话音量值是否处于与所述终端所处的通话环境匹配的音量范围之内。S103. Check whether the voice volume value is within a range of a volume that matches a call environment in which the terminal is located.
与终端所处的通话环境匹配的音量范围,是指S101中所检测到的终端通话环境,以及设置的与终端通话环境匹配的音量范围。处于音量范围之内,是指检测到的音量值不小于范围的最小值,并且不大于范围的最大值。The volume range matching the call environment in which the terminal is located refers to the terminal call environment detected in S101, and the set volume range matched with the terminal call environment. Being within the volume range means that the detected volume value is not less than the minimum value of the range and is not greater than the maximum value of the range.
在可选的实施例中,例如检测到当前通话环境中的音量为20分贝,那么终端设置与它匹配的音量范围为25分贝~35分贝,可以防止接收到的音量过小,被环境音量遮盖,同时防止接收到的音量过大,给用户造成听力负担。检测终端接收到的音量值,并判定其是否处于25分贝~35分贝之间。In an optional embodiment, for example, it is detected that the volume in the current call environment is 20 decibels, and the terminal setting matches the volume range of 25 decibels to 35 decibels, which prevents the received volume from being too small and is covered by the ambient volume. At the same time, to prevent the received volume from being too large, causing a hearing burden to the user. Detect the volume value received by the terminal and determine if it is between 25 decibels and 35 decibels.
S104、保持当前通话音量值。S104. Maintain the current call volume value.
具体地,对比通话音量值是否处于与所述终端所处的通话环境匹配的音量范围之内,如果是,则保持当前通话音量值不变。Specifically, it is compared whether the call volume value is within the volume range that matches the call environment in which the terminal is located, and if so, the current call volume value is kept unchanged.
在可选的实施例中,如S103中描述的情况,检测到当前通话环境中的音量为20分贝,终端设置的与它匹配的音量范围为25分贝~35分贝,而当前通话音量值为27分贝,处于25分贝~35分贝之内,可保持当前通话音量值不变。In an optional embodiment, as in the case described in S103, it is detected that the volume in the current call environment is 20 decibels, and the volume range matched by the terminal is 25 decibels to 35 decibels, and the current call volume value is 27 Decibel, within 25 decibels to 35 decibels, keeps the current call volume value constant.
S105、调节当前音量值至与所述终端所处的通话环境匹配的音量范围之内。S105. Adjust the current volume value to a volume range that matches the communication environment in which the terminal is located.
具体地,对比通话音量值是否处于与所述终端所处的通话环境匹配的音量范围之内,如果不是,则调节当前音量值至与所述终端所处的通话环境匹配的音量范围之内。Specifically, the comparison call volume value is within a volume range that matches the communication environment in which the terminal is located, and if not, the current volume value is adjusted to be within a volume range that matches the communication environment in which the terminal is located.
在可选的实施例中,如S103中描述的情况,检测到当前通话环境中的音量为20分贝,终端设置的与它匹配的音量范围为25分贝~35分贝,而当前通话音量值为20分贝,未处于25分贝~35分贝之内,需要将当前音量值调节至25分贝~35分贝之间。可选的,可以将当前音量调节到最小满足值,在该实施例中即为25分贝;也可以将当前音量调节到最大满足值,在该实施例中即为35分贝;还可以将当前音量值调节最小幅度达到预设范围即可, 在该实施例中的当前通话音量值为20分贝,最小调节幅度即增大5分贝达到25分贝;也可以将当前音量值调节到预设范围的中间值,因为中间值作为平均值,通常能够满足各类听力用户的需求。在可选的实施例中,也可以将当前音量值根据用户的个人情况,调节到其他最适合的处于预设范围内的最佳值。In an optional embodiment, as in the case described in S103, it is detected that the volume in the current call environment is 20 decibels, and the volume range matched by the terminal is 25 decibels to 35 decibels, and the current call volume value is 20 decibels. Decibel, not within 25 decibels to 35 decibels, need to adjust the current volume value between 25 decibels and 35 decibels. Optionally, the current volume can be adjusted to a minimum satisfaction value, which is 25 decibels in this embodiment; the current volume can also be adjusted to a maximum satisfaction value, which is 35 decibels in this embodiment; the current volume can also be The minimum value adjustment can reach the preset range. In this embodiment, the current call volume value is 20 decibels, and the minimum adjustment range is increased by 5 decibels to 25 decibels; the current volume value can also be adjusted to the middle value of the preset range, because the intermediate value is generally used as an average value. Meet the needs of all types of hearing users. In an optional embodiment, the current volume value may also be adjusted to other optimal values within a preset range according to the user's personal situation.
在本实施例中,通过获取当前通话环境,设置与当前通话环境匹配的音量范围;检测当前接收到的通话音量值,提取其中的有效通话数据和噪声数据,并根据有效通话数据确定当前通话音量值;最后对比当前通话音量值是否处于设置的音量范围内,如果不是,则调节当前通话音量值至所述音量范围内。该过程通过检测终端用户所处的环境,同时检测声源处的噪声情况,为用户自动调节当前通话至最适合的音量值。降低了手动调节通话音量值过程中音量的不稳定性,避免了用户的多次音量调节操作,提升了通话信息接收率。In this embodiment, by acquiring the current call environment, setting a volume range that matches the current call environment; detecting the currently received call volume value, extracting valid call data and noise data therein, and determining the current call volume according to the valid call data. Value; finally compare whether the current call volume value is within the set volume range, and if not, adjust the current call volume value to the volume range. The process automatically detects the current call to the most appropriate volume value by detecting the environment in which the terminal user is located and simultaneously detecting the noise situation at the sound source. The volume instability during the manual adjustment of the voice volume value is reduced, the user's multiple volume adjustment operations are avoided, and the call information reception rate is improved.
图2是本发明实施例中的一种获取音量范围的流程示意图,如图所示本实施例的获取音量范围方法可以包括以下流程:FIG. 2 is a schematic diagram of a process for obtaining a volume range according to an embodiment of the present invention. As shown in the figure, the method for obtaining a volume range in the embodiment may include the following processes:
S201、获取终端当前所处通话环境的音频数据。S201. Acquire audio data of a call environment in which the terminal is currently located.
具体地,数字化的声音数据即为音频数据。将音频数据通过电学仪器进行显示,可以得到声音的波形图和频谱图。Specifically, the digitized sound data is audio data. The audio data is displayed by an electrical instrument, and a waveform and a spectrogram of the sound can be obtained.
环境中的声音十分复杂,但同时也具有一定的规律,比如噪声一般为不规则音频,而人说话的声音和乐器发出的声音一般为规则频谱。得到环境中的音频数据后,通过电学仪器进行显示,就可以获得不同声音的不同波长、频率、强度、节奏,分析这些音频特征,从中获取有效数据判断当前通话环境。The sound in the environment is very complicated, but at the same time it has certain rules. For example, the noise is generally irregular audio, and the sound of the human voice and the sound of the instrument are generally regular spectrum. After obtaining the audio data in the environment, the display can be performed by an electrical instrument, and different wavelengths, frequencies, intensities, and rhythms of different sounds can be obtained, and the audio features are analyzed, and valid data is obtained therefrom to determine the current call environment.
S202、根据所述音频数据确定终端当前所处的通话环境包含的声纹数量。S202. Determine, according to the audio data, a quantity of voiceprints included in a call environment in which the terminal is currently located.
具体地,根据获取的通话环境音频数据,可以得到对应音频数据的声波变化,语图仪把声波的变化转换成电讯号的强度、波长、频率、节奏变化,仪器又把这些电讯号的变化绘制成波谱图形,就成了声纹图。Specifically, according to the acquired audio data of the call environment, the sound wave corresponding to the audio data can be obtained, and the language map converts the change of the sound wave into the intensity, the wavelength, the frequency, and the rhythm of the electrical signal, and the instrument draws the changes of the electrical signals. The spectrum of the spectrum becomes a voiceprint.
现代科学研究表明,人的声纹具有特定性和相对稳定性的特点,通过声纹图可以提取不同人的不同声纹信息,相应地,也能分辨出其中包含的声纹数量。通常情况下,环境中包含的声纹数量越多,表明当前说话的人越多,那么当前环境越嘈杂;对应的,如果当前环境中包含的声纹数量越少,表明当前说话的人越少,那么当前环境越安静。Modern scientific research shows that human voiceprints have the characteristics of specificity and relative stability. Through the voiceprint map, different voiceprint information of different people can be extracted, and accordingly, the number of voiceprints contained therein can be distinguished. In general, the more the number of voiceprints included in the environment, the more people are currently speaking, the more noisy the current environment is; correspondingly, if the number of voiceprints contained in the current environment is less, the less people are currently speaking. , then the quieter the current environment.
确定终端当前所处的通话环境包含的声纹数量后,执行S203。After determining the number of voiceprints included in the call environment in which the terminal is currently located, S203 is performed.
S203、根据预设的声纹数量与音量范围之间的对应关系,获取与当前所处通话环境包含的声纹数量对应的音量范围作为与所述终端通话环境匹配的音量范围。S203. Acquire, according to a preset correspondence between the number of voiceprints and the volume range, a volume range corresponding to the number of voiceprints currently included in the call environment as a volume range that matches the call environment of the terminal.
在可选的实施例中,声纹数量与音量范围之间的对应关系,是一种可选择的对应关系,即可以是终端根据通常情况为声纹数量和音量范围进行匹配,也可以是用户根据个人情况为声纹数量和音量范围进行匹配。 In an optional embodiment, the correspondence between the number of voiceprints and the volume range is a selectable correspondence, that is, the terminal may match the number of voiceprints and the volume range according to a normal situation, or may be a user. Match the number of voiceprints and the volume range according to your personal situation.
可选的,如果检测到终端所处通话环境中包含声纹数量为2,那么可以推断当前环境中有人在进行对话,可判定当前环境音量约为50分贝左右,那么与当前环境匹配的音量范围可设置为50分贝~65分贝,即接听到的通话音量为50分贝~65分贝之间时,可保证用户能进行正常的通话。Optionally, if it is detected that the number of voiceprints included in the calling environment of the terminal is 2, it can be inferred that someone in the current environment is in a conversation, and the current environment volume is determined to be about 50 decibels, and the volume range matching the current environment is determined. It can be set to 50 decibels to 65 decibels, that is, when the volume of the call received is between 50 decibels and 65 decibels, the user can make a normal call.
在可选的实施例中,可以将声纹数量和音量范围的对应关系设置如下:In an alternative embodiment, the correspondence between the number of voiceprints and the volume range can be set as follows:
表2Table 2
声纹数量(个)Number of voiceprints 对应音量范围(分贝)Corresponding volume range (decibel)
00 [25,40)[25,40)
11 [40,50)[40,50)
2~32 to 3 [50,65)[50,65)
4~54~5 [65,80)[65,80)
>6>6 [80,90)[80,90)
当终端接收到通话时,检测当前环境中声纹数量,并获取与声纹数量对应的音量范围。When the terminal receives the call, it detects the number of voiceprints in the current environment and acquires a volume range corresponding to the number of voiceprints.
在本实施例中,预设声纹数量与音量范围之间的对应关系,然后检测通话环境中的声纹数量,获取通话环境中的声纹数量对应的音量范围作为与终端通话环境匹配的音量范围。在这个过程中,将终端所处通话环境用声纹数量进行量化,并根据声纹数量对音量范围进行匹配,提升了通话环境与音量范围的匹配精度。In this embodiment, the correspondence between the number of voiceprints and the volume range is preset, and then the number of voiceprints in the call environment is detected, and the volume range corresponding to the number of voiceprints in the call environment is obtained as the volume matching the terminal call environment. range. In this process, the call environment in which the terminal is located is quantized by the number of voiceprints, and the volume range is matched according to the number of voiceprints, thereby improving the matching accuracy of the call environment and the volume range.
图3是本发明实施例中的另一种获取音量范围的流程示意图,如图所示本实施例的获取音量范围方法可以包括以下流程:FIG. 3 is a schematic flowchart of another method for obtaining a volume range according to an embodiment of the present invention. As shown in the figure, the method for obtaining a volume range in the embodiment may include the following processes:
S301、获取终端当前所处通话环境的音频数据。S301. Acquire audio data of a call environment in which the terminal is currently located.
具体地,获取终端当前所处通话环境的音频数据与S201中的过程相同,这里不再赘述。Specifically, the audio data of the call environment in which the terminal is currently located is the same as the process in S201, and details are not described herein again.
S302、根据所述音频数据确定终端当前所处的通话环境的环境音量大小。S302. Determine, according to the audio data, an ambient volume of a call environment in which the terminal is currently located.
具体地,根据获取的通话环境音频数据,可以得到对应音频数据的波形图,波形图中包含振幅信息,即质点离开平衡位置的距离,反映从波形波峰到波谷的压力变化,以及波所携带的能量的多少。高振幅波形的声音较大;低振幅波形的声音较安静。Specifically, according to the acquired audio data of the call environment, a waveform diagram of the corresponding audio data may be obtained, where the waveform diagram includes amplitude information, that is, a distance of the particle from the equilibrium position, reflecting a pressure change from the waveform peak to the trough, and the wave carrying How much energy. The sound of the high amplitude waveform is large; the sound of the low amplitude waveform is quieter.
根据波形图判断出环境音量大小后,执行S303。After determining the ambient volume level according to the waveform diagram, S303 is performed.
S303、根据预设的环境音量大小与音量范围之间的对应关系,获取与当前所处通话环境的环境音量大小对应的音量范围作为与所述终端通话环境匹配的音量范围。S303. Acquire a volume range corresponding to an environment volume level of the current call environment according to a preset relationship between the preset volume level and the volume range, and use the volume range that matches the call environment of the terminal.
在可选的实施例中,环境音量与音量范围之间的对应关系是可选择的对应关系,即环境音量与音量范围可以相同,也可以有一定的差值,所述差值可以根据常规情况进行统一设定,也可以根据用户的个人情况进行单独设定。当环境中的音量较大的时候,用户听取通话声音将会受到很大影响,如果要从被环境音量影响的场景中分辨出通话声音,那么通 话音量可以与环境音量相同,因为通话终端可以放置在离人耳较近的位置,所以用户可以在同样分贝大小的情况下分辨出通话音量。可选的,通话音量可以大于环境音量,如此可以方便用户更容易地从各类声音中分辨出通话声音。另外,在嘈杂的环境中设置通话音量的最小值大于环境音量,以便用户从各类声音中分辨出通话音,同时,在安静的环境中需要设置通话音量的最大值小于一定阈值,防止用户在安静的环境中接收较大音量的通话音而导致听觉不适。In an optional embodiment, the correspondence between the ambient volume and the volume range is a selectable correspondence, that is, the ambient volume and the volume range may be the same, or may have a certain difference, and the difference may be according to a normal situation. Uniform settings can also be made individually depending on the individual's personal circumstances. When the volume in the environment is large, the user's listening to the call sound will be greatly affected. If the call sound is to be distinguished from the scene affected by the ambient volume, then The volume of the voice can be the same as the volume of the environment, because the call terminal can be placed close to the human ear, so the user can distinguish the call volume in the same decibel size. Optionally, the call volume can be greater than the ambient volume, which makes it easier for the user to distinguish the call sound from various types of sounds. In addition, in a noisy environment, the minimum value of the call volume is set to be greater than the ambient volume, so that the user can distinguish the call tone from various types of sounds. At the same time, in a quiet environment, it is necessary to set the maximum value of the call volume to be less than a certain threshold, thereby preventing the user from Receiving louder voices in a quiet environment causes hearing discomfort.
在可选的实施例中,环境音量大小与音量范围的对应关系可以设置如下:In an alternative embodiment, the correspondence between the volume of the environment and the volume range can be set as follows:
表3table 3
环境音量n(分贝)Ambient volume n (decibel) 对应音量范围(分贝)Corresponding volume range (decibel)
n<20n<20 [25,40)[25,40)
20<n<6020<n<60 [n+5,65)[n+5,65)
60<n<7060<n<70 [n+10,85)[n+10,85)
n>70n>70 [85,90)[85,90)
当检测终端当前所处通话环境后,根据上述对应关系,获取与当前所处通话环境的环境音量大小对应的音量范围作为与终端通话环境匹配的音量范围。After detecting the current call environment of the terminal, the volume range corresponding to the ambient volume of the current call environment is obtained as the volume range matched with the terminal call environment according to the corresponding relationship.
在本发明实施例中,设置环境音量大小与音量范围之间的对应关系;通过检测终端当前所处通话环境的音频数据,确定终端当前所处通话环境的环境音量大小;获取与当前所处通话环境的环境音量大小对应的音量范围作为与所述终端通话环境匹配的音量范围。在这个过程中,将终端通话环境量化为终端所处通话环境的环境音量,然后根据环境音量的大小设置与其对应的音量范围,最后根据检测到的当前环境音量大小获取与它匹配的音量范围,提升了环境音量与音量范围的匹配精确度。In the embodiment of the present invention, the correspondence between the volume of the environment and the volume range is set; by detecting the audio data of the current environment of the terminal, determining the volume of the environment in which the terminal is currently located; and obtaining the current call. The volume range corresponding to the ambient volume level of the environment serves as a volume range that matches the call environment of the terminal. In this process, the terminal call environment is quantized into the environment volume of the call environment in which the terminal is located, and then the volume range corresponding thereto is set according to the size of the environment volume, and finally the volume range matched with the current environment volume is obtained according to the detected current environment volume. Improves the matching accuracy of the ambient volume and volume range.
在可选的实施例中,获取与所述终端所处的通话环境匹配的音量范围还可以考虑加入联系人信息,获取当前通话音量值时可以对其中的噪声进行处理。如图4所示,图4是本发明实施例中的另一种通话音量调节方法的流程示意图,如图所示本实施例的通话音量调节方法可以包括以下流程:In an optional embodiment, the volume range that matches the call environment in which the terminal is located may also be considered to join the contact information, and the noise may be processed when the current call volume value is obtained. As shown in FIG. 4, FIG. 4 is a schematic flowchart of another method for adjusting the volume of a call in the embodiment of the present invention. As shown in the figure, the method for adjusting the volume of a call may include the following processes:
S401、在终端进行通话过程中,检测终端所处的通话环境。S401: During a call in the terminal, detecting a call environment in which the terminal is located.
可选的,终端进行的通话,可以是电信手机通话,或者I P电话通话,也可以是数据网络通话,或者对讲机通话、传呼机通话等。检测终端所处的通话环境,即为终端用户所处的通话环境,可以包括环境中的音量信息,声纹数量,音色信息,或者关键字信息等。在可选的实施例中,如果终端包括摄像头,那么检测终端所处的通话环境时,还可以检测环境中的画面信息,包括天气、时间、人脸或场景信息等。Optionally, the call made by the terminal may be a telecommunication mobile phone call, or an IP phone call, or a data network call, or a walkie-talkie call or a pager call. The call environment in which the terminal is located, that is, the call environment in which the terminal user is located, may include volume information, voiceprint quantity, tone color information, or keyword information in the environment. In an optional embodiment, if the terminal includes a camera, when detecting the communication environment in which the terminal is located, it is also possible to detect picture information in the environment, including weather, time, face or scene information, and the like.
S402、获取当前通话的联系人信息。 S402. Obtain contact information of the current call.
具体地,个体在通话的过程中,会包含一些特定的习惯,获取当前通话的联系人信息,可以针对性地对联系人设置通话音量范围。Specifically, during the process of the call, the individual may include some specific habits, obtain the contact information of the current call, and set the call volume range to the contact in a targeted manner.
在可选的实施例中,当前通话联系人的信息,可能包括联系人的姓名、昵称或I D号,还包括该联系人的性别、年龄或常用通话音量。有的联系人在通话过程中声音比较轻柔,那么终端就需要为他设置较高的音量范围起点值;同样的,如果联系人声色比较高亢,那么终端就需要为他设置较低的音量范围终点值;另外,如果是比较重要的联系人,比如父母、子女、老师、老板或重要客户,用户更重视与这类人的通话内容,因此需要更高的通话音量,那么对通话范围的设置也会不同。如图5所示,(a)为联系人分类,终端用户将联系人分类为“重要”和“常规”,重要类别中包含5个联系人,常规类别中包含30个联系人;(b)为联系人类别对应的音量范围设置,重要类别中的5个联系人分别为“甲1”,“乙2”,“丙3”,“丁4”,“戊5”,用户为他们设置的对应音量范围为50分贝~90分贝,如果需要更改联系人分类信息,或对应的音量范围信息,选择列表中的“编辑”字样即可对当前设置进行修改。获取当前通话的联系人信息后,执行S403。In an optional embodiment, the information of the current call contact may include the contact's name, nickname or ID number, and also includes the contact's gender, age or common call volume. Some contacts have a softer voice during the call, so the terminal needs to set a higher volume range start value for him; similarly, if the contact sound is high, the terminal needs to set a lower volume range end point for him. Value; in addition, if it is a more important contact, such as a parent, child, teacher, boss or important customer, the user pays more attention to the content of the call with such people, so it needs a higher call volume, then the setting of the call range is also It will be different. As shown in Figure 5, (a) is a contact classification, the end user classifies the contacts as "important" and "regular", the important category contains 5 contacts, and the general category contains 30 contacts; (b) For the volume range corresponding to the contact category, the five contacts in the important category are “A1”, “B2”, “C3”, “Ding 4”, “Ping 5”, and the user sets them. The corresponding volume range is 50 decibels to 90 decibels. If you need to change the contact classification information or the corresponding volume range information, select the “Edit” in the list to modify the current settings. After obtaining the contact information of the current call, execute S403.
S403、根据所述联系人信息和所述终端所处的通话环境,获取与所述终端所处的通话环境匹配的音量范围。S403. Acquire, according to the contact information and a call environment in which the terminal is located, a volume range that matches a call environment in which the terminal is located.
具体地,结合联系人信息和终端所处的通话环境,获取同时满足这两种条件的音量范围。在可选的实施例中,终端的所处的通话环境通过通话环境包含的声纹数量和环境音量大小来判断,且检测到声纹数量为2,环境音量大小为50分贝;另外检测到该通话联系人属于图5中的“重要”一类,那么该联系人对应的音量范围为50分贝~90分贝;根据这三个条件求它们的交集,参考表2可知声纹数量为2对应的音量范围为50分贝~65分贝,参考表3可知环境音量为50时,对应的音量范围为55分贝~65分贝,那么求交集可知与当前通话环境匹配的音量范围为55分贝~65分贝。Specifically, in combination with the contact information and the call environment in which the terminal is located, a volume range that satisfies both of the conditions is obtained. In an optional embodiment, the calling environment of the terminal is determined by the number of voiceprints included in the call environment and the volume of the environment volume, and the number of voiceprints is detected to be 2, and the volume of the environment is 50 decibels; The call contact belongs to the category of "important" in Figure 5, then the volume range of the contact is 50 decibels to 90 decibels; according to these three conditions, the intersection of them is obtained, and referring to Table 2, the number of voiceprints is 2 The volume range is 50 decibels to 65 decibels. Referring to Table 3, when the ambient volume is 50, the corresponding volume range is 55 decibels to 65 decibels. Therefore, the intersection can be seen to match the current call environment with a volume range of 55 decibels to 65 decibels.
可选的,如果三个因素的共同交集不存在,则根据其中两个因素的交集确定通话范围,如果存在两个不相交的交集,则提醒用户选择其中一个通话范围。在可选的实施例中,用户也可以事先设定通话环境和通话联系人两个信息的参考优先级,那么当两者的通话范围不存在交集时,选择优先级更高的因素对应的通话范围作为当前终端的通话范围。Optionally, if the common intersection of the three factors does not exist, the call range is determined according to the intersection of the two factors, and if there are two disjoint intersections, the user is prompted to select one of the call ranges. In an optional embodiment, the user may also set the reference priority of the two information of the call environment and the call contact in advance, so when the call range of the two does not have an intersection, the call corresponding to the higher priority factor is selected. The range is the call range of the current terminal.
S404、从当前接收到的通话音频数据提取有效通话数据和噪声数据。S404. Extract valid call data and noise data from the currently received call audio data.
有效通话数据是指通话音频数据中人的有规律的声音数据,噪声数据是一组不属于人的通话声音的无规律的数据。在可选的实施例中,噪声数据包括通话音频数据拾取过程中的环境噪音,传输过程中的设备噪音,或者播放过程中的硬件故障。提取有效通话数据和噪声数据,可以直接将噪声数据去除只保留有效通话数据,也可以只是将有效通话数据和噪声数据进行分离。可以采用的方法包括低通滤波、带通滤波和高通滤波,卡尔曼滤波以及小波去噪。从当前接收到的通话音频数据提取有效通话数据和噪声数据后,执行S405。 The valid call data refers to the regular sound data of the person in the call audio data, and the noise data is an irregular data of a group of call voices that do not belong to the person. In an alternative embodiment, the noise data includes ambient noise during the call audio data pickup process, device noise during transmission, or hardware failure during playback. To extract valid call data and noise data, the noise data can be directly removed to retain only valid call data, or the valid call data and the noise data can be separated. Methods that can be employed include low pass filtering, band pass filtering and high pass filtering, Kalman filtering, and wavelet denoising. After the valid call data and the noise data are extracted from the currently received call audio data, S405 is performed.
S405、将所述有效通话数据的音量值确定为当前的通话音量值。S405. Determine a volume value of the valid call data as a current call volume value.
在可选的实施例中,如果将噪声数据和有效通话数据同时作为当前通话音量值,可能导致通话音量值与终端所处的通话环境匹配的音量范围进行匹配的过程中,和用户的听觉产生较大偏差。例如当前接收到的通话音频数据中的有效通话数据音量值为40分贝,噪声数据音量值为50分贝,两者的叠加音量值,通过计算或从分贝叠加对照表获取,可知两者叠加的分贝值为50.4分贝。如果根据两者叠加的分贝值获取与所述终端所处的通话环境匹配的音量范围,则很可能导致用户无法听取有效通话的声音。因此,将所述有效通话数据的音量值确定为当前通话音量值,然后执行S406。In an optional embodiment, if the noise data and the valid call data are simultaneously used as the current call volume value, the call volume value may be matched with the volume range matched by the call environment in which the terminal is located, and the user's hearing is generated. Large deviation. For example, the volume of the valid call data in the currently received call audio data is 40 decibels, and the volume value of the noise data is 50 decibels. The superimposed volume values of the two are obtained by calculation or from the decibel superposition table, and the decibels of the superposition are known. The value is 50.4 decibels. If the volume range matching the call environment in which the terminal is located is obtained according to the decibel value superimposed on the two, it is likely that the user cannot hear the voice of the valid call. Therefore, the volume value of the valid call data is determined as the current call volume value, and then S406 is performed.
S406、对比所述通话音量值是否处于与所述终端所处的通话环境匹配的音量范围之内。S406. Compare whether the call volume value is within a volume range that matches a call environment in which the terminal is located.
具体地,通话音量值是指经过处理后的有效通话数据的音量值,处于与终端所处的通话环境匹配的音量范围之内,是指通话音量值不小于音量范围的最小值,并且不大于音量范围的最大值。Specifically, the call volume value refers to the volume value of the processed valid call data, and is within the volume range that matches the call environment in which the terminal is located, and the call volume value is not less than the minimum value of the volume range, and is not greater than The maximum value of the volume range.
在可选的实施例中,如S405中检测到当前通话数据中的有效通话数据音量值即当前的通话音量值为40分贝,而根据联系人信息和终端所处的通话环境得到的与终端所处的通话环境匹配的音量范围为55分贝~65分贝,通话音量值不处于与终端所处的通话环境匹配的音量范围之内,执行S407。In an optional embodiment, as shown in S405, the current call data volume value in the current call data is 40 dB, and the terminal information is obtained according to the contact information and the call environment in which the terminal is located. The calling environment matches the volume range of 55 decibels to 65 decibels, and the call volume value is not within the volume range matching the calling environment in which the terminal is located, and S407 is executed.
S407、调节所述通话音量值至与所述终端所处的通话环境匹配的音量范围之内。S407. Adjust the call volume value to a volume range that matches a call environment in which the terminal is located.
具体地,终端自动调节当前通话音量值至与终端所处通话环境匹配的音量范围之内。可选的,调节方法包括:最小值调节法,即调节最小的音量差值至音量范围内,如S406中的通话音量值为40分贝,与终端所处的通话环境匹配的音量范围为55分贝~65分贝,将通话音量值调高最小差值15分贝至55分贝即可;平均值调节法,即调节最小的音量差值至音量范围内的平均值,如将S406中的通话音量值从40分贝调节至音量范围内55分贝~65分贝的平均值60分贝;其他调节方法,比如最大值调节法(调节最大的差值至音量范围内),最佳适应调节法(根据用户的历史音量值使用情况调节至音量范围内)等。Specifically, the terminal automatically adjusts the current call volume value to a volume range that matches the call environment in which the terminal is located. Optionally, the adjustment method comprises: a minimum adjustment method, that is, adjusting a minimum volume difference to a volume range, such as a call volume value of 40 decibels in S406, and a volume range of 55 decibels matching a call environment in which the terminal is located. ~65 decibels, the call volume value is increased by a minimum of 15 decibels to 55 decibels; the average adjustment method is to adjust the minimum volume difference to the average value in the volume range, such as the value of the call volume in S406 40 decibels adjusted to an average of 60 decibels from 55 decibels to 65 decibels in the volume range; other adjustment methods, such as the maximum adjustment method (adjusting the maximum difference to the volume range), the best adaptation method (according to the user's historical volume) The value usage is adjusted to within the volume range) and so on.
S408、保持当前通话音量值。S408. Maintain the current call volume value.
具体地,如果通话音量值已经处于与终端所处的通话环境匹配的音量范围之内,则不需要对通话音量值进行调节,保持当前通话音量值即可。Specifically, if the call volume value is already within the volume range that matches the call environment in which the terminal is located, it is not necessary to adjust the call volume value to maintain the current call volume value.
在本发明实施例中,在终端通话过程中检测终端所处的通话环境,同时检测当前通话的联系人信息,然后根据二者获取同时满足两种因素的与所述终端所处的通话环境匹配的音量范围;从当前接收到的通话音频数据提取有效通话数据和噪声数据并将有效通话数据的音量值确认为当前的通话音量值。对比通话音量值与终端所处的通话环境匹配的音量范围,并将不处于所述音量范围之内的通话音量值调节至所述音量范围之内。在这个过程中,结合联系信息和终端所处的通话环境,可以获得更个性化的音量范围,提升与用户需求的 匹配度;将当前通话音频中的有效通话数据音量值作为当前的通话音量值,可以提高用户从通话音频中提取有效通话数据的概率,提升通话信息接收率。In the embodiment of the present invention, the call environment in which the terminal is located is detected during the terminal call, and the contact information of the current call is detected, and then the call environment in which the terminal is located is matched according to the two factors. Volume range; extract valid call data and noise data from the currently received call audio data and confirm the volume value of the active call data as the current call volume value. Comparing the volume range in which the call volume value matches the call environment in which the terminal is located, and adjusting the call volume value not within the volume range to within the volume range. In this process, combined with the contact information and the call environment in which the terminal is located, a more personalized volume range can be obtained, which improves the user's needs. The matching degree; the current call data volume value in the current call audio is used as the current call volume value, which can improve the probability that the user extracts valid call data from the call audio, and improve the call information receiving rate.
图6是本发明实施例提供的一种具体的通话音量调节方法的流程示意图,包含通话音量调节方法的完整过程,如图所示本实施例的具体的通话音量调节方法可以包括以下流程:FIG. 6 is a schematic flowchart of a specific voice volume adjustment method according to an embodiment of the present invention, including a complete process of a call volume adjustment method, and the specific call volume adjustment method in this embodiment may include the following processes:
S601、获取终端当前所处通话环境的音频数据,并根据音频数据确定终端所处通话环境包含的声纹数量和环境音量大小。S601. Acquire audio data of a call environment currently in which the terminal is located, and determine, according to the audio data, the number of voiceprints and the volume of the environment included in the call environment in which the terminal is located.
在本发明实施例中,终端即为手机,终端所处通话环境的音频数据,即用户使用手机打电话时周围的环境音频数据。根据音频数据获得其对应的声波图和频谱图,分析获得其中包括的声纹数量和音量大小。假设用户当前处于晚间休息状态,当用户自己未发声时,室内声纹数量为0,周围环境中的音量大小为40分贝左右。获得这些数据后,执行S602。In the embodiment of the present invention, the terminal is the mobile phone, and the audio data of the call environment in which the terminal is located, that is, the ambient audio data around when the user uses the mobile phone to make a call. According to the audio data, the corresponding sonogram and spectrogram are obtained, and the number of voiceprints and the volume of the voiceprint are included in the analysis. Assume that the user is currently in the evening rest state. When the user does not sound himself, the number of voiceprints in the room is 0, and the volume in the surrounding environment is about 40 decibels. After obtaining the data, S602 is performed.
S602、获取当前通话的联系人信息。S602. Obtain contact information of the current call.
在本发明实施例中,获取当前通话的联系人信息,即获取与用户正在进行手机通话的对方的信息。在进行通话前,用户已经根据联系人的重要程度进行了音量范围分类。如图5所示,假设用户当前接到丁4打来的电话,其分组为“重要”,对应音量范围为50分贝~90分贝,获取到丁4对应的音量范围信息后执行S603。In the embodiment of the present invention, the contact information of the current call is obtained, that is, the information of the other party that the user is in the mobile phone call is obtained. Before the call is made, the user has classified the volume range according to the importance of the contact. As shown in FIG. 5, it is assumed that the user currently receives a call from D4, and the packet is "important", and the corresponding volume range is 50 decibels to 90 decibels. After obtaining the volume range information corresponding to D4, S603 is executed.
S603、根据所述联系人信息和所述终端所处通话环境的声纹数量和音量大小,获取与终端所处的通话环境匹配的音量范围。S603. Acquire a volume range that matches a call environment in which the terminal is located according to the contact information and the number of voiceprints and volume of the call environment in which the terminal is located.
在本发明实施例中,已经通过S601和S602获知终端即该用户所处通话环境中包含的声纹数量为0,参照表2可知对应的音量范围A为[25,40)分贝;终端即该用户所处通话环境音量大小为40分贝,参照表3可知对应的音量范围B为[45,65)分贝;当前通话联系人丁4对应的音量范围C被设置为50分贝~90分贝,那么此时与终端所处的通话环境匹配的音量范围为A、B、C三个范围的交集,
Figure PCTCN2017113073-appb-000001
B∩C=[50,65),确定最后的音量范围为[50,65)分贝,执行S604。
In the embodiment of the present invention, the number of voiceprints included in the call environment in which the user is located is 0, and the corresponding volume range A is [25, 40) decibels according to Table 2; The volume of the call environment in which the user is located is 40 decibels. Referring to Table 3, the corresponding volume range B is [45, 65) decibels; the volume range C corresponding to the current call contact D is set to 50 decibels to 90 decibels, then this The volume range that matches the call environment in which the terminal is located is the intersection of the three ranges A, B, and C.
Figure PCTCN2017113073-appb-000001
B ∩ C = [50, 65), determine that the final volume range is [50, 65) decibels, and execute S604.
S604、从当前接收到的通话音频数据提取有效通话数据和噪声数据。S604. Extract valid call data and noise data from the currently received call audio data.
在本发明实施例中,假设用户当前接收到的电话音频中包含环境噪音,那么用户手机对环境噪音和有效通数据进行提取,获得噪声数据X和有效通话数据Y,执行S605。In the embodiment of the present invention, assuming that the user receives the ambient audio noise, the user's mobile phone extracts the environmental noise and the valid data, obtains the noise data X and the valid call data Y, and executes S605.
S605、将所述有效通话数据的音量值确定为当前通话音量值。S605. Determine a volume value of the valid call data as a current call volume value.
在本发明实施例中,假设步骤S604获得的噪声数据X为50分贝,有效通话数据Y为40分贝,根据有效通话数据Y作为当前通话音量值,则可确定当前通话音量值为40分贝。In the embodiment of the present invention, it is assumed that the noise data X obtained in step S604 is 50 decibels and the effective call data Y is 40 decibels. According to the valid call data Y as the current call volume value, the current call volume value may be determined to be 40 decibels.
S606、对比通话音量值是否处于终端所处的通话环境匹配的音量范围之内。S606. Check whether the call volume value is within a matching range of the call environment in which the terminal is located.
在本发明实施例中,当前通话音量值确定为40分贝,而终端所处通话环境匹配的音量范围通过步骤S603确定为50分贝~65分贝,很明显通话音量值不处于终端所处的通话环境匹配的音量范围之内,执行S607。 In the embodiment of the present invention, the current call volume value is determined to be 40 decibels, and the volume range matched by the call environment in which the terminal is located is determined to be 50 decibels to 65 decibels in step S603. It is obvious that the call volume value is not in the call environment where the terminal is located. Within the matched volume range, execute S607.
S607、调节当前音量值至所述音量范围之内。S607. Adjust the current volume value to be within the volume range.
在本发明实施例中,当前通话音量值为40分贝,终端所处通话环境匹配的音量范围为50分贝~65分贝,那么将当前通话音量值调高10分贝,确定为50分贝。In the embodiment of the present invention, the current call volume value is 40 decibels, and the range of the call environment in which the terminal is located is 50 decibels to 65 decibels, and then the current call volume value is increased by 10 decibels, and is determined to be 50 decibels.
S608、监听是否接收到音量调节操作。S608. Monitor whether a volume adjustment operation is received.
具体地,在用户通话的过程中,可能遭遇一些特殊情况,比如身体不适不能接受太大的音量刺激,或者开会场景中需要比平时更小的通话音量,或者突然接收到某个重要电话需要更大通话音量。在这些情况中,接收到音量调节操作后,对通话音量进行再次调节。Specifically, during the user's call, some special situations may be encountered, such as physical discomfort not accepting too much volume stimulation, or a smaller call volume in a meeting scenario than usual, or a sudden reception of an important call needs to be more Large call volume. In these cases, the volume of the call is adjusted again after receiving the volume adjustment operation.
可选的,假设当前手机通话已经根据终端所处通话环境匹配的音量范围调节为50分贝,又监听到5次音量调高操作,那么手机当前通话音量变为55分贝,执行S609。Optionally, if the current mobile phone call has been adjusted to 50 decibels according to the matching range of the call environment in which the terminal is located, and the volume up operation is monitored 5 times, the current call volume of the mobile phone becomes 55 decibels, and S609 is executed.
S609、调节与终端所处的通话环境匹配的音量范围。S609. Adjust a volume range that matches a call environment in which the terminal is located.
调节与终端所处的通话环境匹配的音量范围,包括三种调节方法:调节声纹数量对应的音量范围;调节环境音量大小对应的音量范围;调节联系人对应的音量范围。Adjusting the volume range that matches the call environment in which the terminal is located, including three adjustment methods: adjusting the volume range corresponding to the number of voiceprints; adjusting the volume range corresponding to the volume of the environment; and adjusting the volume range corresponding to the contact.
在本发明实施例中,根据S603可知,最终确定的通话音量范围为[50,65)分贝,其中的最小值50分贝是根据联系人对应的音量范围确定的,那么音量调节操作应该对应到对联系人音量范围的重新调整,所以将当前通话联系人“丁4”的与终端所处的通话环境匹配的音量范围为55分贝~90分贝。In the embodiment of the present invention, according to S603, the final determined voice volume range is [50, 65) decibels, wherein the minimum value of 50 decibels is determined according to the volume range corresponding to the contact, then the volume adjustment operation should correspond to the pair. The re-adjustment of the contact volume range, so the current call contact "Ding 4" matches the call environment in which the terminal is located, and the volume range is 55 decibels to 90 decibels.
S610、保持当前音量值。S610. Maintain the current volume value.
相应的,如果在S608中没有监听到音量调节操作,则保持当前通话音量,也保持之前的与终端所处的通话环境匹配的音量范围设置不变。Correspondingly, if the volume adjustment operation is not monitored in S608, the current call volume is maintained, and the previous volume range setting that matches the call environment in which the terminal is located is also maintained.
需要说明的是,本实施例中的通话音量调节方法过程只是本发明实施例中的一种,除此之外,还可以单独将实施例2中的通话环境检测方法与联系人信息结合,或者单独将实施例3中的通话环境检测方法与联系人信息结合,作为获取与所述终端通话环境匹配的音量范围的条件,而这些实施例又可以分别与将当前接收到的通话音频数据中的有效通话数据的音量值这一过程结合。最后,根据接收到的音量调节操作更新与终端所处的通话环境匹配的音量范围这一步骤可以与前述任一方法过程结合并形成新的音量范围调节方法。It should be noted that the process of the call volume adjustment method in this embodiment is only one of the embodiments of the present invention. In addition, the call environment detection method in Embodiment 2 may be separately combined with the contact information, or The call environment detecting method in Embodiment 3 is separately combined with the contact information as a condition for acquiring a volume range that matches the call environment of the terminal, and these embodiments may be respectively associated with the currently received call audio data. The process of combining the volume value of valid call data. Finally, the step of updating the volume range matching the call environment in which the terminal is located according to the received volume adjustment operation may be combined with any of the foregoing method processes to form a new volume range adjustment method.
在本发明实施例中,获取手机当前所处的通话环境中包含的声纹数量和环境音量大小,同时获取当前通话的联系人信息,然后根据声纹数量、环境音量大小和联系人信息三个因素获取与终端所处的通话环境匹配的音量范围;从当前接收到的通话音频数据中提取有效通话数据的音量值作为当前通话音量;判断当前通话音量是否处于与终端所处的通话环境匹配的音量范围,如果不是,则将当前通话音量调节至所述音量范围内;通话的同时监听是否接收到音量调节操作,如果是,则对与终端所处的通话环境匹配的音量范围进行调节。在这个过程中,充分考虑了通话环境以及联系人信息作为与终端所处的通话环境匹配的音量范围的评估因素,同时排除了接收到的通话音量中的噪声干扰而把有效通话数据的音量 值作为当前通话音量值,最后根据用户对通话音量的调节实时更新与终端所处的通话环境匹配的音量范围,最大程度地设置满足用户需求的音量范围,提升了通话信息接收率。In the embodiment of the present invention, the number of voiceprints and the volume of the environment included in the call environment in which the mobile phone is currently located are obtained, and the contact information of the current call is obtained, and then according to the number of voiceprints, the volume of the environment, and the contact information. The factor acquires a volume range that matches the call environment in which the terminal is located; extracts the volume value of the valid call data from the currently received call audio data as the current call volume; and determines whether the current call volume is in a match with the call environment in which the terminal is located. The volume range, if not, adjusts the current call volume to the volume range; whether the volume is adjusted while the call is being monitored, and if so, the volume range that matches the call environment in which the terminal is located is adjusted. In this process, the call environment and contact information are fully considered as the evaluation factors of the volume range matching the call environment in which the terminal is located, and the volume of the valid call data is excluded from the noise interference in the received call volume. The value is used as the current call volume value. Finally, according to the user's adjustment of the call volume, the volume range matching the call environment in which the terminal is located is updated in real time, and the volume range that satisfies the user's demand is set to the maximum extent, and the call information receiving rate is improved.
图7是本发明实施例提供的一种通话音量调节装置的结构示意图,如图所示本实施例中的通话音量调节装置包括处理器701、存储介质702以及通信接口703;所述处理器701、存储介质702和通信接口703通过总线704连接。FIG. 7 is a schematic structural diagram of a call volume adjustment apparatus according to an embodiment of the present invention. As shown in the figure, the call volume adjustment apparatus in this embodiment includes a processor 701, a storage medium 702, and a communication interface 703. The processor 701 The storage medium 702 and the communication interface 703 are connected by a bus 704.
所述存储介质702可以为通话音量调节装置内置的存储介质或独立设置的存储介质。所述用于数据处理的处理器701可以采用微处理器、中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)。The storage medium 702 may be a storage medium built in the call volume adjustment device or a separately set storage medium. The processor 701 for data processing may use a microprocessor, a central processing unit (CPU), a digital signal processor (DSP), or a programmable logic array (FPGA, Field-Programmable Gate). Array).
所述存储介质702中可以存储有多条指令,所述指令适于由处理器701加载并执行前文实施例中结合图1~图4以及图6所示通话音量调节方法对应的部分流程,其中至少包括:A plurality of instructions may be stored in the storage medium 702, and the instructions are adapted to be loaded by the processor 701 and execute a partial flow corresponding to the call volume adjustment method shown in FIG. 1 to FIG. 4 and FIG. 6 in the foregoing embodiment, wherein At least include:
在终端进行通话过程中,检测终端所处的通话环境,并获取与所述终端所处的通话环境匹配的音量范围;During the call process, the terminal detects the call environment in which the terminal is located, and acquires a volume range that matches the call environment in which the terminal is located;
检测当前接收到的通话音频数据的通话音量值;Detecting a call volume value of the currently received call audio data;
将所述通话音量值与所述终端所处的通话环境匹配的音量范围对比,若所述通话音量值处于所述音量范围之外,则调节所述当前音量值至所述音量范围之内。Comparing the call volume value with a volume range that matches the call environment in which the terminal is located, and if the call volume value is outside the volume range, adjusting the current volume value to within the volume range.
在可选实施例中,所述指令由处理器701加载后执行以下操作以检测终端所处的通话环境:In an alternative embodiment, the instructions are loaded by the processor 701 to perform the following operations to detect the call environment in which the terminal is located:
获取终端当前所处的通话环境的音频数据;Obtaining audio data of a call environment in which the terminal is currently located;
根据所述音频数据确定终端当前所处的通话环境包含的声纹数量;Determining, according to the audio data, a quantity of voiceprints included in a call environment in which the terminal is currently located;
处理器701加载后执行以下操作以获取与所述终端通话环境匹配的音量范围:After the processor 701 is loaded, the following operations are performed to obtain a volume range that matches the calling environment of the terminal:
根据预设的声纹数量与音量范围之间的对应关系,获取与当前所处通话环境包含的声纹数量对应的音量范围作为与所述终端通话环境匹配的音量范围。According to the correspondence between the preset number of voiceprints and the volume range, a volume range corresponding to the number of voiceprints currently included in the call environment is obtained as a volume range that matches the call environment of the terminal.
在可选实施例中,所述指令由处理器701加载后执行以下操作以检测终端所处的通话环境:In an alternative embodiment, the instructions are loaded by the processor 701 to perform the following operations to detect the call environment in which the terminal is located:
获取终端当前所处的通话环境的音频数据;Obtaining audio data of a call environment in which the terminal is currently located;
根据所述音频数据确定终端当前所处的通话环境的环境音量大小;Determining, according to the audio data, an ambient volume of a call environment in which the terminal is currently located;
处理器701加载后执行以下操作以获取与所述终端通话环境匹配的音量范围:After the processor 701 is loaded, the following operations are performed to obtain a volume range that matches the calling environment of the terminal:
根据预设的环境音量大小与音量范围之间的对应关系,获取与当前所处通话环境的环境音量大小对应的音量范围作为与所述终端通话环境匹配的音量范围。According to a preset relationship between the preset volume level and the volume range, a volume range corresponding to the ambient volume of the current call environment is obtained as a volume range that matches the call environment of the terminal.
在可选实施例中,所述指令由处理器701加载后执行以下操作以检测当前接收到的通话音量值:In an alternative embodiment, the instructions are loaded by the processor 701 to perform the following operations to detect the currently received call volume value:
从当前接收到的通话音频数据提取有效通话数据和噪声数据; Extracting valid call data and noise data from currently received call audio data;
将所述有效通话数据的音量值确定为当前通话音量值。The volume value of the valid call data is determined as the current call volume value.
在可选实施例中,所述指令由处理器701加载后执行以下操作:In an alternative embodiment, the instructions are loaded by the processor 701 to perform the following operations:
获取当前通话的联系人信息;Get the contact information of the current call;
所述指令由处理器701加载后执行以下操作以获取与所述终端所处的通话环境匹配的音量范围:After the instruction is loaded by the processor 701, the following operations are performed to obtain a volume range that matches the communication environment in which the terminal is located:
根据所述联系人信息和所述终端所处的通话环境,获取与所述终端所处的通话环境匹配的音量范围。And obtaining, according to the contact information and the call environment in which the terminal is located, a volume range that matches a call environment in which the terminal is located.
在可选实施例中,所述指令由处理器701加载后执行以下操作:In an alternative embodiment, the instructions are loaded by the processor 701 to perform the following operations:
若在终端进行通话过程中接收到音量调节操作,则根据所述音量调节操作更新与所述终端所处的通话环境匹配的音量范围。If the volume adjustment operation is received during the session of the terminal, the volume range matched with the communication environment in which the terminal is located is updated according to the volume adjustment operation.
在另一可选实施例中,所述音量调节装置的存储介质702中存储的多条指令由处理器701执行时可以形成以下单元:In another alternative embodiment, the plurality of instructions stored in the storage medium 702 of the volume adjustment device may be formed by the processor 701 to form the following units:
环境音量范围设置单元721,用于在终端进行通话过程中,检测终端所处的通话环境,并获取与所述终端所处的通话环境匹配的音量范围;The environment volume range setting unit 721 is configured to detect a call environment in which the terminal is located during a call, and acquire a volume range that matches a call environment in which the terminal is located;
通话音量值检测单元722,用于检测当前接收到的通话音频数据的通话音量值;The call volume value detecting unit 722 is configured to detect a call volume value of the currently received call audio data;
通话音量值调节单元723,用于将所述通话音量值与所述终端所处的通话环境匹配的音量范围对比,若所述通话音量值处于所述音量范围之外,则调节所述当前音量值至所述音量范围之内。The call volume value adjustment unit 723 is configured to compare the call volume value with a volume range that matches the call environment in which the terminal is located, and if the call volume value is outside the volume range, adjust the current volume. The value is within the volume range.
在可选的实施例中,所述环境音量范围设置单元721还用于检测终端所处的通话环境并执行:获取终端当前所处的通话环境的音频数据;根据所述音频数据确定终端当前所处的通话环境包含的声纹数量;所述环境音量范围设置单元721还用于获取与所述终端通话环境匹配的音量范围并执行:根据预设的声纹数量与音量范围之间的对应关系,获取与当前所处通话环境包含的声纹数量对应的音量范围作为与所述终端通话环境匹配的音量范围。In an optional embodiment, the environment volume range setting unit 721 is further configured to detect a call environment in which the terminal is located and perform: acquiring audio data of a call environment in which the terminal is currently located; determining, according to the audio data, a current location of the terminal The number of voiceprints included in the call environment; the ambient volume range setting unit 721 is further configured to acquire a volume range that matches the call environment of the terminal and execute: according to a preset correspondence between the preset number of voiceprints and the volume range And obtaining a volume range corresponding to the number of voiceprints currently included in the call environment as a volume range matching the call environment of the terminal.
在可选的实施例中,所述环境音量范围设置单元721还用于检测终端所处的通话环境并执行:获取终端当前所处的通话环境的音频数据;根据所述音频数据确定终端当前所处的通话环境的环境音量大小;所述环境音量范围设置单元721还用于获取与所述终端通话环境匹配的音量范围并执行:根据预设的环境音量大小与音量范围之间的对应关系,获取与当前所处通话环境的环境音量大小对应的音量范围作为与所述终端通话环境匹配的音量范围。In an optional embodiment, the environment volume range setting unit 721 is further configured to detect a call environment in which the terminal is located and perform: acquiring audio data of a call environment in which the terminal is currently located; determining, according to the audio data, a current location of the terminal An environment volume level of the call environment; the ambient volume range setting unit 721 is further configured to acquire a volume range that matches the call environment of the terminal, and perform: according to a correspondence between a preset environment volume size and a volume range, Obtaining a volume range corresponding to the volume level of the environment in which the current call environment is located as a volume range that matches the call environment of the terminal.
在可选的实施例中,所述通话音量值检测单元722还用于检测终端通话环境并执行:从当前接收到的通话音频数据提取有效通话数据和噪声数据;将所述有效通话数据的音量值确定为当前通话音量值。 In an optional embodiment, the call volume value detecting unit 722 is further configured to detect a terminal call environment and perform: extracting valid call data and noise data from the currently received call audio data; and setting the volume of the valid call data The value is determined as the current call volume value.
在可选的实施例中,所述环境音量范围设置单元721还用于:获取当前通话的联系人信息,根据所述联系人信息和所述终端所处的通话环境,获取与所述终端所处的通话环境匹配的音量范围。In an optional embodiment, the environment volume range setting unit 721 is further configured to: acquire contact information of a current call, and obtain, according to the contact information and a call environment in which the terminal is located, The volume range at which the call environment matches.
在可选的实施例中,所述通话音量调节装置还用于:In an optional embodiment, the call volume adjustment device is further configured to:
若在终端进行通话过程中接收到音量调节操作,则根据所述音量调节操作更新与所述终端所处的通话环境匹配的音量范围。If the volume adjustment operation is received during the session of the terminal, the volume range matched with the communication environment in which the terminal is located is updated according to the volume adjustment operation.
本实施例中的通话音量调节装置,通过检测终端所处通话环境,获取与终端所处通话环境匹配的环境音量范围;检测终端接收到的通话音量值,并将处于与终端所处通话环境匹配的环境音量范围之外的通话音量调节至所述音量范围之内。在这个过程中,需要对环境中的声纹数量,环境音量大小进行检测,同时对接收到的通话音频进行处理,最后监听通话过程中的音量调节操作并对与终端所处通话环境匹配的环境音量范围进行相应调节。由于考虑了多种因素对通话音量的影响,并根据用户的操作对音量范围进行实时调节,可以最大程度地匹配用户的听觉接受能力,提升通话信息接收率。The call volume adjustment device in this embodiment acquires an environment volume range that matches the call environment in which the terminal is located by detecting the call environment in which the terminal is located; detects the call volume value received by the terminal, and matches the call environment in which the terminal is located. The volume of the call outside the ambient volume range is adjusted to within the volume range. In this process, it is necessary to detect the number of voiceprints in the environment, the volume of the environment, and process the received call audio, and finally monitor the volume adjustment operation during the call and match the environment in which the terminal is located. The volume range is adjusted accordingly. Since the influence of various factors on the volume of the call is considered, and the volume range is adjusted in real time according to the operation of the user, the hearing acceptance capability of the user can be matched to the greatest extent, and the call information receiving rate is improved.
可以被理解的是,上述通话音量调节方法以及上述携带特定指令的存储介质不应被理解为只能存在或实现于本实施例中的通话音量调节装置,而是可以实现于任何终端、存储设备或网络设备中。It can be understood that the above-mentioned call volume adjustment method and the above-mentioned storage medium carrying specific instructions should not be understood as being only present or implemented in the call volume adjustment device in this embodiment, but can be implemented in any terminal or storage device. Or in a network device.
通话音量调节装置中各功能模块的功能可参见上述图1~图4以及图6所示实施例中对应通话音量调节方法步骤的相关描述,此处不再赘述。在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。For the function of each function module in the call volume adjustment device, refer to the related description of the steps of the corresponding voice volume adjustment method in the embodiment shown in FIG. 1 to FIG. 4 and FIG. 6 , and details are not described herein again. In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be another division manner, for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, and may be electrical, mechanical or otherwise.
本领域普通技术人员可以理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It will be understood by those skilled in the art that in various embodiments of the present application, the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, without The implementation process of the embodiments of the present application should be constituting any limitation.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算 机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, eg, the computing Machine instructions can be routed from one website site, computer, server or data center to another via wired (eg coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) Transfer from a website site, computer, server, or data center. The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。 The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and thus equivalent changes made in the claims of the present invention are still within the scope of the present invention.

Claims (10)

  1. 一种通话音量调节方法,其特征在于,包括:A method for adjusting a call volume, characterized in that it comprises:
    在终端进行通话过程中,检测终端所处的通话环境,并获取与所述终端所处的通话环境匹配的音量范围;During the call process, the terminal detects the call environment in which the terminal is located, and acquires a volume range that matches the call environment in which the terminal is located;
    检测当前接收到的通话音频数据的通话音量值;Detecting a call volume value of the currently received call audio data;
    将所述通话音量值与所述终端所处的通话环境匹配的音量范围对比,若所述通话音量值处于所述音量范围之外,则调节所述当前音量值至所述音量范围之内。Comparing the call volume value with a volume range that matches the call environment in which the terminal is located, and if the call volume value is outside the volume range, adjusting the current volume value to within the volume range.
  2. 如权利要求1所述的方法,其特征在于,所述检测终端所处的通话环境包括:The method of claim 1, wherein the detecting the call environment in which the terminal is located comprises:
    获取终端当前所处的通话环境的音频数据;Obtaining audio data of a call environment in which the terminal is currently located;
    根据所述音频数据确定终端当前所处的通话环境包含的声纹数量;Determining, according to the audio data, a quantity of voiceprints included in a call environment in which the terminal is currently located;
    所述获取与所述终端通话环境匹配的音量范围包括:The obtaining a volume range that matches the call environment of the terminal includes:
    根据预设的声纹数量与音量范围之间的对应关系,获取与当前所处通话环境包含的声纹数量对应的音量范围作为与所述终端通话环境匹配的音量范围。According to the correspondence between the preset number of voiceprints and the volume range, a volume range corresponding to the number of voiceprints currently included in the call environment is obtained as a volume range that matches the call environment of the terminal.
  3. 如权利要求1所述的方法,其特征在于,所述检测终端通话环境包括:The method of claim 1, wherein the detecting the calling environment of the terminal comprises:
    获取终端当前所处的通话环境的音频数据;Obtaining audio data of a call environment in which the terminal is currently located;
    根据所述音频数据确定终端当前所处的通话环境的环境音量大小;Determining, according to the audio data, an ambient volume of a call environment in which the terminal is currently located;
    所述获取与所述终端通话环境匹配的音量范围包括:The obtaining a volume range that matches the call environment of the terminal includes:
    根据预设的环境音量大小与音量范围之间的对应关系,获取与当前所处通话环境的环境音量大小对应的音量范围作为与所述终端通话环境匹配的音量范围。According to a preset relationship between the preset volume level and the volume range, a volume range corresponding to the ambient volume of the current call environment is obtained as a volume range that matches the call environment of the terminal.
  4. 如权利要求1所述的方法,其特征在于,所述检测当前接收到的通话音量值包括:The method of claim 1, wherein the detecting the currently received call volume value comprises:
    从当前接收到的通话音频数据提取有效通话数据和噪声数据;Extracting valid call data and noise data from currently received call audio data;
    将所述有效通话数据的音量值确定为当前通话音量值。The volume value of the valid call data is determined as the current call volume value.
  5. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    获取当前通话的联系人信息;Get the contact information of the current call;
    所述获取与所述终端所处的通话环境匹配的音量范围包括:The obtaining a volume range that matches a call environment in which the terminal is located includes:
    根据所述联系人信息和所述终端所处的通话环境,获取与所述终端所处的通话环境匹配的音量范围。 And obtaining, according to the contact information and the call environment in which the terminal is located, a volume range that matches a call environment in which the terminal is located.
  6. 如权利要求1-5所述的通话音量调节方法,其特征在于,所述方法还包括:The call volume adjustment method according to any one of claims 1-5, wherein the method further comprises:
    若在终端进行通话过程中接收到音量调节操作,则根据所述音量调节操作更新与所述终端所处的通话环境匹配的音量范围。If the volume adjustment operation is received during the session of the terminal, the volume range matched with the communication environment in which the terminal is located is updated according to the volume adjustment operation.
  7. 一种通话音量调节装置,其特征在于,所述装置包括:A call volume adjustment device, characterized in that the device comprises:
    环境音量范围设置单元,用于在终端进行通话过程中,检测终端所处的通话环境,并获取与所述终端所处的通话环境匹配的音量范围;The environment volume range setting unit is configured to detect a call environment in which the terminal is located during a call, and obtain a volume range that matches a call environment in which the terminal is located;
    通话音量值检测单元,用于检测当前接收到的通话音频数据的通话音量值;a call volume value detecting unit, configured to detect a call volume value of the currently received call audio data;
    通话音量值调节单元,用于将所述通话音量值与所述终端所处的通话环境匹配的音量范围对比,若所述通话音量值处于所述音量范围之外,则调节所述当前音量值至所述音量范围之内。a call volume value adjustment unit, configured to compare the call volume value with a volume range that matches a call environment in which the terminal is located, and if the call volume value is outside the volume range, adjust the current volume value Up to the volume range.
  8. 如权利要求7所述的装置,其特征在于,所述环境音量范围设置单元还用于:The device according to claim 7, wherein the ambient volume range setting unit is further configured to:
    获取当前通话的联系人信息,根据所述联系人信息和所述终端所处的通话环境,获取与所述终端所处的通话环境匹配的音量范围。Obtaining the contact information of the current call, and acquiring a volume range that matches the call environment in which the terminal is located according to the contact information and the call environment in which the terminal is located.
  9. 一种通话音量调节装置,其特征在于,所述通话音量调节装置包括:A call volume adjustment device, wherein the call volume adjustment device comprises:
    处理器,用于执行各指令;a processor for executing each instruction;
    存储介质,用于存储多条指令,所述指令适于由所述处理器加载并执行如权利要求1-6中任一项所述的通话音量调节方法。A storage medium for storing a plurality of instructions, the instructions being adapted to be loaded by the processor and to perform the call volume adjustment method of any one of claims 1-6.
  10. 一种存储介质,其特征在于,所述存储介质中存储有多条指令,所述指令适于由处理器加载并执行如权利要求1-6中任一项所述的通话音量调节方法。 A storage medium, characterized in that the storage medium stores a plurality of instructions adapted to be loaded by a processor and to perform the call volume adjustment method according to any one of claims 1-6.
PCT/CN2017/113073 2017-11-27 2017-11-27 Method and apparatus for adjusting call volume WO2019100371A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/113073 WO2019100371A1 (en) 2017-11-27 2017-11-27 Method and apparatus for adjusting call volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/113073 WO2019100371A1 (en) 2017-11-27 2017-11-27 Method and apparatus for adjusting call volume

Publications (1)

Publication Number Publication Date
WO2019100371A1 true WO2019100371A1 (en) 2019-05-31

Family

ID=66631745

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113073 WO2019100371A1 (en) 2017-11-27 2017-11-27 Method and apparatus for adjusting call volume

Country Status (1)

Country Link
WO (1) WO2019100371A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622564A (en) * 2003-11-28 2005-06-01 乐金电子(中国)研究开发中心有限公司 Method for automatically regulating volume of mobile telephone
CN101222210A (en) * 2007-01-08 2008-07-16 乐金电子(中国)研究开发中心有限公司 Apparatus and method for self-adapting sound volume regulation of mobile phone
CN103607500A (en) * 2013-12-03 2014-02-26 中科创达软件股份有限公司 Conversation volume adjusting method and device based on environment
CN103945062A (en) * 2014-04-16 2014-07-23 华为技术有限公司 User terminal volume adjusting method, device and terminal
CN104104800A (en) * 2014-07-25 2014-10-15 Tcl通讯(宁波)有限公司 Method for adjusting volume output of mobile terminal according to environment noises and mobile terminal
EP2852133A1 (en) * 2012-05-14 2015-03-25 ZTE Corporation Ringtone adjustment and processing method and device
CN104954555A (en) * 2015-05-18 2015-09-30 百度在线网络技术(北京)有限公司 Volume adjusting method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622564A (en) * 2003-11-28 2005-06-01 乐金电子(中国)研究开发中心有限公司 Method for automatically regulating volume of mobile telephone
CN101222210A (en) * 2007-01-08 2008-07-16 乐金电子(中国)研究开发中心有限公司 Apparatus and method for self-adapting sound volume regulation of mobile phone
EP2852133A1 (en) * 2012-05-14 2015-03-25 ZTE Corporation Ringtone adjustment and processing method and device
CN103607500A (en) * 2013-12-03 2014-02-26 中科创达软件股份有限公司 Conversation volume adjusting method and device based on environment
CN103945062A (en) * 2014-04-16 2014-07-23 华为技术有限公司 User terminal volume adjusting method, device and terminal
CN104104800A (en) * 2014-07-25 2014-10-15 Tcl通讯(宁波)有限公司 Method for adjusting volume output of mobile terminal according to environment noises and mobile terminal
CN104954555A (en) * 2015-05-18 2015-09-30 百度在线网络技术(北京)有限公司 Volume adjusting method and system

Similar Documents

Publication Publication Date Title
US20200411025A1 (en) Method, device, and system for audio data processing
US9918159B2 (en) Time heuristic audio control
JP6374529B2 (en) Coordinated audio processing between headset and sound source
CN111447539B (en) Fitting method and device for hearing earphones
JP6325686B2 (en) Coordinated audio processing between headset and sound source
US9305568B2 (en) Active acoustic filter with socially determined location-based filter characteristics
JP6849797B2 (en) Listening test and modulation of acoustic signals
US20090287489A1 (en) Speech processing for plurality of users
WO2018205366A1 (en) Audio signal adjustment method and system
US11558697B2 (en) Method to acquire preferred dynamic range function for speech enhancement
CN105262887B (en) Mobile terminal and audio setting method thereof
WO2019100371A1 (en) Method and apparatus for adjusting call volume
WO2023197474A1 (en) Method for determining parameter corresponding to earphone mode, and earphone, terminal and system
CN113031904B (en) Control method and electronic equipment
WO2021103262A1 (en) Earphone control method, earphone and readable storage medium
US10867619B1 (en) User voice detection based on acoustic near field
US11615801B1 (en) System and method of enhancing intelligibility of audio playback
TWI519123B (en) Method of processing telephone voice output, software product processing telephone voice, and electronic device with phone function
CN116055626A (en) Conversation method and terminal

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: 17932643

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: 17932643

Country of ref document: EP

Kind code of ref document: A1