CN109040473B - Terminal volume adjusting method and system and mobile phone - Google Patents

Terminal volume adjusting method and system and mobile phone Download PDF

Info

Publication number
CN109040473B
CN109040473B CN201811237264.3A CN201811237264A CN109040473B CN 109040473 B CN109040473 B CN 109040473B CN 201811237264 A CN201811237264 A CN 201811237264A CN 109040473 B CN109040473 B CN 109040473B
Authority
CN
China
Prior art keywords
volume
current
terminal
adjusting
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811237264.3A
Other languages
Chinese (zh)
Other versions
CN109040473A (en
Inventor
陈旭飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811237264.3A priority Critical patent/CN109040473B/en
Publication of CN109040473A publication Critical patent/CN109040473A/en
Application granted granted Critical
Publication of CN109040473B publication Critical patent/CN109040473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification techniques
    • G10L17/22Interactive procedures; Man-machine interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a terminal volume adjusting method, a system and a mobile phone, wherein the terminal volume adjusting method comprises the following steps: acquiring the current environment volume by adopting a voiceprint recognition technology; the volume of the current terminal is adjusted according to the volume of the current environment, so that the adaptation degree of the volume of the terminal such as a mobile phone and the like to the environment is improved, and the user experience is improved.

Description

Terminal volume adjusting method and system and mobile phone
Technical Field
The invention relates to the field of mobile phones, in particular to a method and a system for adjusting terminal volume and a mobile phone.
Background
In the prior art, a user usually controls the volume of a mobile phone by pressing a volume key with a hand, and the volume key is easily abraded by adjusting the volume of the mobile phone by adopting the method. On the other hand, in the process of using the mobile phone, the position of the user is gradually changed, the mobile phone volume required in different environments is different, when the user is in a noisy environment, the mobile phone volume needs to be increased, when the user is in a quiet place, the mobile phone volume needs to be decreased, the user may not adjust the volume of the mobile phone in time, and at the moment, the problem that the mobile phone volume is not matched with the environment where the user is located is easily caused.
Therefore, it is an urgent problem to be solved in the art to improve the adaptation degree of the mobile phone volume of the user to the environment.
Disclosure of Invention
The invention provides a method and a system for adjusting terminal volume and a mobile phone, which are used for solving the problem that the terminal volume is not adaptive to the environment.
In order to solve the above problems, as an aspect of the present invention, there is provided a terminal volume adjustment method including:
acquiring the current environment volume by adopting a voiceprint recognition technology;
and adjusting the current terminal volume according to the current environment volume.
Optionally, obtaining the current environment volume by using a voiceprint recognition technology includes:
acquiring environment volume data once every first sampling time;
and taking the average value of the environment volume data acquired N times before the current time as the current environment volume.
Optionally, adjusting the current terminal volume according to the current environment volume includes:
when the current environment volume is smaller than a first volume threshold value, adjusting the current terminal volume to the lowest preset volume; and/or the presence of a gas in the gas,
when the current environment volume is larger than a second volume threshold value, adjusting the current terminal volume to the highest preset volume; and/or the presence of a gas in the gas,
and when the current environment volume is not less than the first volume threshold and not more than the second volume threshold, adjusting the current terminal volume according to the current environment volume, the lowest preset volume and the highest preset volume.
Optionally, when the current environment volume is not less than the first volume threshold and not greater than the second volume threshold, adjusting the current terminal volume according to the current environment volume, the lowest preset volume and the highest preset volume, including:
the reference volume is determined using the following formula:
X=(b-a)*Y/Z
wherein X is a reference volume, a is a lowest preset volume, b is a highest preset volume, Y is a current environment volume, and Z is a preset correction parameter;
and adjusting the volume of the current terminal to the reference volume.
Optionally, the method further comprises: when the current time is within a preset time period, adjusting the current terminal volume according to the current environment volume; or the like, or, alternatively,
the method further comprises the following steps: when the current terminal position is in the preset area, adjusting the current terminal volume according to the current environment volume, or,
the method further comprises the following steps: and when the current time is within a preset time period and the current terminal position is within a preset area, adjusting the current terminal volume according to the current environment volume.
Optionally, when the current time is out of the preset time period, adjusting the volume of the terminal to a default volume, or adjusting the volume of the terminal to a last set volume;
and/or the presence of a gas in the gas,
and when the current terminal position is outside the preset area, adjusting the volume of the terminal to default volume, or adjusting the volume of the terminal to last set volume.
The present application further provides a terminal volume adjustment system, including:
the acquisition module is used for acquiring the volume of the current environment by adopting a voiceprint recognition technology;
and the adjusting module is used for adjusting the current terminal volume according to the current environment volume.
Optionally, the obtaining module obtains the current environment volume by using a voiceprint recognition technology, including:
acquiring environment volume data once every first sampling time;
and taking the average value of the environment volume data acquired N times before the current time as the current environment volume.
Optionally, the adjusting module adjusts the current terminal volume according to the current environment volume, including:
when the current environment volume is smaller than a first volume threshold value, adjusting the current terminal volume to the lowest preset volume; and/or the presence of a gas in the gas,
when the current environment volume is larger than a second volume threshold value, adjusting the current terminal volume to the highest preset volume; and/or the presence of a gas in the gas,
and when the current environment volume is not less than the first volume threshold and not more than the second volume threshold, adjusting the current terminal volume according to the current environment volume, the lowest preset volume and the highest preset volume.
Optionally, when the current environment volume is not less than the first volume threshold and not greater than the second volume threshold, adjusting the current terminal volume according to the current environment volume, the lowest preset volume and the highest preset volume, including:
the reference volume is determined using the following formula:
X=(b-a)*Y/Z
wherein X is a reference volume, a is a lowest preset volume, b is a highest preset volume, Y is a current environment volume, and Z is a preset correction parameter;
and adjusting the volume of the current terminal to the reference volume.
Optionally, the system further includes a setting module, configured to set a preset time period; the adjusting module is used for adjusting the volume of the current terminal according to the volume of the current environment when the current time is within a preset time period; or the like, or, alternatively,
the system also comprises a setting module used for setting a preset area; the adjusting module is used for adjusting the volume of the current terminal according to the volume of the current environment when the position of the current terminal is located in a preset area; or the like, or, alternatively,
the system also comprises a setting module used for setting a preset time period and a preset area; the adjusting module is used for adjusting the current terminal volume according to the current environment volume when the current time is within a preset time period and the current terminal position is located in a preset area.
Optionally, the adjusting module is further configured to adjust the volume of the terminal to a default volume when the current time is outside the preset time period, or adjust the volume of the terminal to a last set volume;
and/or the presence of a gas in the gas,
the adjusting module is further used for adjusting the volume of the terminal to default volume when the current terminal position is outside the preset area, or adjusting the volume of the terminal to last set volume.
The application also provides a mobile phone, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of any method provided by the application.
The application also provides another mobile phone which comprises any system provided by the application.
The invention provides a terminal volume adjusting method, a system and a mobile phone, which can correspondingly adjust the volume of the current terminal according to the volume of the current environment, thereby improving the adaptation degree of the volume of the terminal such as the mobile phone and the like to the environment and improving the user experience.
Drawings
Fig. 1 is a flowchart of a method for adjusting terminal volume according to an embodiment of the present invention;
fig. 2 is a block diagram of a terminal volume adjustment system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or article that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or article.
In the prior art, a user adjusts the volume of a terminal such as a mobile phone, a computer, a tablet and the like through keys or software, however, the environment where the user is located is changed, and the volume of the terminal is not changed along with the change of the environment where the user is located, which causes the volume of the terminal not to be adapted to the environment, based on which, the application provides a method for adjusting the volume of the terminal, as shown in fig. 1, the method provided by the application includes:
s11: acquiring the current environment volume by adopting a voiceprint recognition technology;
s12: and adjusting the current terminal volume according to the current environment volume.
Specifically, the current environment volume refers to the volume around the position of the terminal, which indicates the quiet degree of the environment around the terminal, when the surrounding environment is quiet, the volume of the terminal needs to be correspondingly reduced, such as the incoming call volume, or a vibration mode is adopted, so that the embarrassment of a user caused by that the terminal such as a mobile phone suddenly makes a loud sound is prevented, when the current environment volume is loud, the position of the terminal is noisy, the volume of the terminal is correspondingly increased, and the vibration mode can be adopted at the same time, so that the user can be ensured to hear or feel the message sent by the terminal. One of the main invention points of the present application is to automatically obtain the volume of the current environment through the voiceprint recognition technology to automatically adjust the volume. The voiceprint recognition technology is that a decibel meter is used for detecting the magnitude of environmental noise within a period of time, a line graph of a voiceprint is generated, and the change condition of the current environmental volume is judged according to the fluctuation range of the voiceprint. The working principle is as follows: the sound is converted into an electric signal by a microphone, and impedance is converted by a preamplifier to match the microphone with an attenuator. The amplifier adds the output signal to weighting network, carries on frequency weighting (or external filter) to the signal, then amplifies the signal to certain amplitude through attenuator and amplifier, sends to effective value detector (or external recording instrument according to level), then gives the value of noise level. The voiceprint recognition can recognize whether the sound in the environment is from people or other sources, optionally, if the sound source is from people, the number of the people making the sound is smaller than a preset value, the preset value can be 1 or 2, which indicates that a few people probably make a speech or talk at present, at this moment, the volume of the current terminal should be reduced even if the volume of the current environment is large, in order to solve the problem, the sound made by the people can be removed from the collected sound through the voiceprint recognition technology, the volume after the sound made by the people is removed is used as the volume of the current environment, and the problem that the volume of the current terminal cannot be accurately adjusted according to the surrounding environment when a meeting is opened, a song is made, and a chorus group is listened is avoided.
In the application, if the current scene is in a quiet state, the volume is reduced or even muted, so that embarrassment caused by suddenly appearing high volume is avoided, for example, the influence on other people is reduced when a user rings in a library; otherwise, if the current scene is noisy, the volume is correspondingly increased, and if the current scene is noisy, enough volume is increased to attract attention when the telephone in the downtown is sounded, so that the user experience is improved.
Preferably, in some optional embodiments, obtaining the current ambient volume by using a voiceprint recognition technology includes: acquiring environment volume data once every first sampling time;
and taking the average value of the environment volume data acquired N times before the current time as the current environment volume.
Specifically, in this application, the environment volume data is obtained by adopting an interval sampling mode, and the length of the first sampling time is adjustable, so that the problem of high energy consumption caused by continuous sampling is avoided. Meanwhile, the current environment volume is determined by the average value of N continuous previous environment volume data which are closest to the current time, so that the judgment error caused by sudden increase of the environment volume due to an emergency event, such as sudden ringing of a telephone ring of a person in a library, which causes sudden increase of the current environment volume, is prevented, if only the environment volume data measured at the moment is taken as the judgment basis, the environment where the user is located is considered to be noisy, but the current environment is in a quiet state as a whole, so that the average value of a plurality of environment volume data is taken as the current environment volume, the judgment error caused by the emergency event is avoided, the current environment volume can be judged more accurately, optionally, when the variance of the N environment volume data is greater than the first variance, the current environment volume is indicated to float more greatly, and at the moment, the volume of the terminal is set to be gradually increased, i.e. the volume is initially smaller when the terminal emits the volume and then gradually increased to adapt to the current environment.
Preferably, in some optional embodiments, adjusting the current terminal volume according to the current environment volume includes: when the current environment volume is smaller than a first volume threshold value, adjusting the current terminal volume to the lowest preset volume; and/or the presence of a gas in the gas,
when the current environment volume is larger than a second volume threshold value, adjusting the current terminal volume to the highest preset volume; and/or the presence of a gas in the gas,
and when the current environment volume is not less than the first volume threshold and not more than the second volume threshold, adjusting the current terminal volume according to the current environment volume, the lowest preset volume and the highest preset volume.
Specifically, in the present application, a minimum preset volume and a maximum preset volume are preset, where the minimum preset volume and the maximum preset volume are the minimum volume and the maximum volume that can be adjusted by the terminal, and the two volume values are set by a user or default values of the system. When the ambient volume is smaller than the first volume threshold, it indicates that the current ambient volume is lower, and the environment where the terminal is located is quieter, a lower terminal volume should be adopted, but the terminal volume cannot be lower than the lowest preset volume, so that the current terminal volume is set to be the lowest terminal volume. Correspondingly, when the current environment volume is greater than the second volume threshold, the environment is noisy, the volume of the terminal should be increased, but the maximum volume cannot exceed the maximum preset volume, so that the volume of the terminal is set to be the highest preset volume, and the second volume threshold is greater than the first volume threshold. And when the current environment volume is between the first volume threshold and the second volume threshold, the current terminal volume needs to be correspondingly adjusted according to the specific current environment volume.
Optionally, when the current environment volume is not less than the first volume threshold and not greater than the second volume threshold, adjusting the current terminal volume according to the current environment volume, the lowest preset volume and the highest preset volume, including:
the reference volume is determined using the following formula:
X=(b-a)*Y/Z
wherein X is the reference volume, a is the lowest preset volume, b is the highest preset volume, Y is the current environment volume, and Z is a preset correction parameter;
and adjusting the volume of the current terminal to the reference volume.
Specifically, when the reference volume is equal to the lowest preset volume or the highest preset sound, the current ambient volume is equal to the first volume threshold and the second volume threshold. Z is a preset correction parameter given in user test and scenario test through different terminals, for example: according to the suggestions provided by various existing noise standards summarized by the amalgamator of vocalism at home and abroad, in order to ensure normal conversation and communication, the allowable value of environmental noise is 45-60dB, so that in a conversation environment, the Z value is set to 90dB, 90dB is substituted for calculation during conversion, and if a is 0, b is 100 and Y is 45, X is (100-0)/90 is 50dB, and the volume of the mobile phone is automatically adjusted to 50 dB. Under the non-call environment, the value Z is set to be 80dB, conversion is carried out by substituting 80dB, and if a is 0, b is 100 and Y is 45, X is (100-0)/80 is 45 to 56.25dB, and the volume of the mobile phone is automatically adjusted to 56.25 dB.
Preferably, in some optional embodiments, the method proposed by the present application further comprises: when the current time is within a preset time period, adjusting the current terminal volume according to the current environment volume;
specifically, the user may only need to adjust the volume of the terminal, such as a mobile phone, according to the environmental volume within a certain period of time. For example, a user often needs to pay attention to the ambient volume during working hours to adjust the volume of the mobile phone, and does not need to adjust the volume of the mobile phone according to the ambient volume during non-working hours, such as during a rest at night. Alternatively, the preset time period may be set as a working day, and the method proposed by the present application may be adopted only on the working day. That is, the preset time period can be preset in the application, and the method provided by the application is adopted only in the preset time period to correspondingly adjust the volume of the terminal so as to meet the needs of users.
Or, the method proposed by the present application further includes: and when the current terminal position is located in the preset area, adjusting the current terminal volume according to the current environment volume.
Specifically, the preset area is a certain geographical range preset by a user, for example, the preset area can be set as a company, and when the user carries the terminal to the company, a positioning device in the terminal automatically detects that the current terminal position is located in the preset area, so that the method provided by the application is automatically adopted, the current terminal volume is adjusted according to the current environment volume, and manual setting by the user is not needed.
Alternatively, the method further comprises: and when the current time is within a preset time period and the current terminal position is located in a preset area, adjusting the current terminal volume according to the current environment volume.
Specifically, the volume of the current terminal can be adjusted by combining the current terminal position and the current time, so that the requirements of the user can be met more accurately.
Preferably, in some optional embodiments, when the current time is outside the preset time period, the volume of the terminal is adjusted to a default volume, or the volume of the terminal is adjusted to a volume set by a last user; and/or when the current terminal position is located outside the preset area, adjusting the volume of the terminal to default volume, or adjusting the volume of the terminal to the volume set by the last user.
Specifically, when the current time is outside the preset time period or the current terminal position is outside the preset area, it is indicated that the user does not want to adjust the current terminal volume according to the current environmental volume, so that the current terminal volume is returned to the default volume of the system or adjusted to the volume set by the user last time, and the volume set by the user last time is the volume set by the user before the terminal volume is adjusted by the method provided by the application.
The present application also provides a terminal volume adjusting system, as shown in fig. 2, the system includes:
the acquisition module 10 is used for acquiring the current environment volume by adopting a voiceprint recognition technology;
and the adjusting module 20 is configured to adjust the current terminal volume according to the current environment volume.
Specifically, the current environment volume refers to the volume around the position of the terminal, which indicates the quiet degree of the environment around the terminal, when the environment is quiet, the volume of the terminal needs to be correspondingly reduced, or a vibration mode is adopted, so that the embarrassment of a user caused by that a terminal such as a mobile phone suddenly makes a loud sound is prevented, when the current environment volume is loud, the position of the terminal is noisy, the volume of the terminal is correspondingly increased, and the vibration mode can be adopted at the same time, so that the user can be ensured to hear or feel the message sent by the terminal. According to the method and the device, the volume of the current environment is automatically acquired through the voiceprint recognition technology, the volume is automatically adjusted, and if the current scene is in a quiet state, the volume is reduced or even muted, so that embarrassment caused by suddenly appearing high volume is avoided, for example, the influence on other people is reduced when a user rings in a library; otherwise, if the current scene is noisy, the volume is correspondingly increased, and if the current scene is noisy, enough volume is increased to attract attention when the telephone in the downtown is sounded, so that the user experience is improved.
Optionally, the obtaining module 10 obtains the current environment volume by using a voiceprint recognition technology, including:
acquiring environment volume data once every first sampling time;
and taking the average value of the environment volume data acquired N times before the current time as the current environment volume.
Specifically, in this application, the environment volume data is obtained by adopting an interval sampling mode, and the length of the first sampling time is adjustable, so that the problem of high energy consumption caused by continuous sampling is avoided. Meanwhile, the current environment volume is determined by the average value of N continuous previous environment volume data which are closest to the current time, so that the judgment error caused by sudden increase of the environment volume due to an emergency event, such as sudden ringing of a telephone ring of a person in a library, which causes sudden increase of the current environment volume, is prevented, if only the environment volume data measured at the moment is taken as the judgment basis, the environment where the user is located is considered to be noisy, but the current environment is in a quiet state as a whole, so that the average value of a plurality of environment volume data is taken as the current environment volume, the judgment error caused by the emergency event is avoided, the current environment volume can be judged more accurately, optionally, when the variance of the N environment volume data is greater than the first variance, the current environment volume is indicated to float more greatly, and at the moment, the volume of the terminal is set to be gradually increased, i.e. the volume is initially smaller when the terminal emits the volume and then gradually increased to adapt to the current environment.
Optionally, the adjusting module 20 adjusts the current terminal volume according to the current environment volume, including:
when the current environment volume is smaller than a first volume threshold value, adjusting the current terminal volume to the lowest preset volume; and/or the presence of a gas in the gas,
when the current environment volume is larger than a second volume threshold value, adjusting the current terminal volume to the highest preset volume; and/or the presence of a gas in the gas,
and when the current environment volume is not less than the first volume threshold and not more than the second volume threshold, adjusting the current terminal volume according to the current environment volume, the lowest preset volume and the highest preset volume.
Specifically, in the present application, a minimum preset volume and a maximum preset volume are preset, where the minimum preset volume and the maximum preset volume are the minimum volume and the maximum volume that can be adjusted by the terminal, and the two volume values are set by a user or default values of the system. When the ambient volume is smaller than the first volume threshold, it indicates that the current ambient volume is lower, and the environment where the terminal is located is quieter, a lower terminal volume should be adopted, but the terminal volume cannot be lower than the lowest preset volume, so that the current terminal volume is set to be the lowest terminal volume. Correspondingly, when the current environment volume is greater than the second volume threshold, the environment is noisy, the volume of the terminal should be increased, but the maximum volume cannot exceed the maximum preset volume, so that the volume of the terminal is set to be the highest preset volume, and the second volume threshold is greater than the first volume threshold. And when the current environment volume is between the first volume threshold and the second volume threshold, the current terminal volume needs to be correspondingly adjusted according to the specific current environment volume.
Optionally, when the current environment volume is not less than the first volume threshold and not greater than the second volume threshold, adjusting the current terminal volume according to the current environment volume, the lowest preset volume and the highest preset volume, including:
the reference volume is determined using the following formula:
X=(b-a)*Y/Z
wherein X is the reference volume, a is the lowest preset volume, b is the highest preset volume, Y is the current environment volume, and Z is a preset correction parameter;
and adjusting the volume of the current terminal to the reference volume.
Specifically, when the reference volume is equal to the lowest preset volume or the highest preset sound, the current ambient volume is equal to the first volume threshold and the second volume threshold. Z is a preset correction parameter given in user test and scenario test through different terminals, for example: according to the suggestions provided by various existing noise standards summarized by the amalgamator of vocalism at home and abroad, in order to ensure normal conversation and communication, the allowable value of environmental noise is 45-60dB, so that in a conversation environment, the Z value is set to 90dB, 90dB is substituted for calculation during conversion, and if a is 0, b is 100 and Y is 45, X is (100-0)/90 is 50dB, and the volume of the mobile phone is automatically adjusted to 50 dB. Under the non-call environment, the value Z is set to be 80dB, conversion is carried out by substituting 80dB, and if a is 0, b is 100 and Y is 45, X is (100-0)/80 is 45 to 56.25dB, and the volume of the mobile phone is automatically adjusted to 56.25 dB.
Optionally, the system further includes a setting module 30, configured to set a preset time period; the adjusting module 20 is configured to adjust the current terminal volume according to the current environment volume when the current time is within a preset time period; specifically, the user may only need to adjust the volume of the terminal, such as a mobile phone, according to the environmental volume within a certain period of time. For example, a user often needs to pay attention to the ambient volume during working hours to adjust the volume of the mobile phone, and does not need to adjust the volume of the mobile phone according to the ambient volume during non-working hours, such as during a rest at night. Alternatively, the preset time period may be set as a working day, and the method proposed by the present application may be adopted only on the working day. That is, the preset time period can be preset in the application, and the method provided by the application is adopted only in the preset time period to correspondingly adjust the volume of the terminal so as to meet the needs of users.
Or, the system further includes a setting module 30, configured to set a preset region; the adjusting module 20 is configured to adjust the current terminal volume according to the current environment volume when the current terminal position is within the preset area; specifically, the preset area is a certain geographical range preset by a user, for example, the preset area can be set as a company, and when the user carries the terminal to the company, a positioning device in the terminal automatically detects that the current terminal position is located in the preset area, so that the method provided by the application is automatically adopted, the current terminal volume is adjusted according to the current environment volume, and manual setting by the user is not needed.
Or, the system further includes a setting module 30, configured to set a preset time period and a preset region; the adjusting module 20 is configured to adjust the current terminal volume according to the current environment volume when the current time is within a preset time period and the current terminal position is within a preset region. Specifically, the volume of the current terminal can be adjusted by combining the current terminal position and the current time, so that the requirements of the user can be met more accurately.
Optionally, the adjusting module 20 is further configured to adjust the volume of the terminal to a default volume when the current time is outside a preset time period, or adjust the volume of the terminal to a volume set by a previous user;
and/or the presence of a gas in the gas,
the adjusting module 20 is further configured to adjust the volume of the terminal to a default volume when the current terminal position is outside the preset region, or adjust the volume of the terminal to a volume set by a previous user.
Specifically, when the current time is outside the preset time period or the current terminal position is outside the preset area, it is indicated that the user does not want to adjust the current terminal volume according to the current environmental volume, so that the current terminal volume is returned to the default volume of the system or adjusted to the volume set by the user last time, and the volume set by the user last time is the volume set by the user before the terminal volume is adjusted by the method provided by the application.
The invention also provides a mobile phone, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of any method provided by the invention.
The invention also provides a mobile phone which comprises any one of the systems provided by the invention.
The invention provides a terminal volume adjusting method, a system and a mobile phone, which can correspondingly adjust the volume of the current terminal according to the volume of the current environment, thereby improving the adaptation degree of the volume of the terminal such as the mobile phone and the like to the environment and improving the user experience.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A terminal volume adjusting method is characterized by comprising the following steps:
adopting the voiceprint recognition technology to obtain the current environment volume, including:
acquiring environment volume data once every first sampling time;
taking the average value of the environment volume data acquired N times before the current time as the current environment volume;
adjusting the volume of the current terminal according to the volume of the current environment, comprising:
when the current environment volume is smaller than a first volume threshold value, adjusting the current terminal volume to the lowest preset volume; and/or the presence of a gas in the gas,
when the current environment volume is larger than a second volume threshold value, adjusting the current terminal volume to the highest preset volume; and/or the presence of a gas in the gas,
when the current environment volume is not less than a first volume threshold and not more than a second volume threshold, adjusting the current terminal volume according to the current environment volume, the lowest preset volume and the highest preset volume;
when the current environment volume is not less than the first volume threshold and is not greater than the second volume threshold, adjust the current terminal volume according to the current environment volume, the lowest preset volume and the highest preset volume, including:
the reference volume is determined using the following formula:
X=(b-a)*Y/Z
wherein X is the reference volume, a is the lowest preset volume, b is the highest preset volume, Y is the current environment volume, and Z is a preset correction parameter;
and adjusting the volume of the current terminal to the reference volume.
2. The terminal volume adjustment method of claim 1,
the method further comprises the following steps: when the current time is within a preset time period, adjusting the current terminal volume according to the current environment volume; or the like, or, alternatively,
the method further comprises the following steps: when the current terminal position is in the preset area, adjusting the current terminal volume according to the current environment volume, or,
the method further comprises the following steps: and when the current time is within a preset time period and the current terminal position is within a preset area, adjusting the current terminal volume according to the current environment volume.
3. The terminal volume adjustment method of claim 2,
when the current time is out of a preset time period, adjusting the volume of the terminal to default volume, or adjusting the volume of the terminal to last set volume;
and/or the presence of a gas in the gas,
and when the current terminal position is outside the preset area, adjusting the volume of the terminal to default volume, or adjusting the volume of the terminal to last set volume.
4. A terminal volume adjustment system, comprising:
the acquisition module is used for acquiring the current environment volume by adopting a voiceprint recognition technology, and comprises:
acquiring environment volume data once every first sampling time;
taking the average value of the environment volume data acquired N times before the current time as the current environment volume;
the adjusting module is used for adjusting the volume of the current terminal according to the volume of the current environment, and comprises:
when the current environment volume is smaller than a first volume threshold value, adjusting the current terminal volume to the lowest preset volume; and/or the presence of a gas in the gas,
when the current environment volume is larger than a second volume threshold value, adjusting the current terminal volume to the highest preset volume; and/or the presence of a gas in the gas,
when the current environment volume is not less than a first volume threshold and not more than a second volume threshold, adjusting the current terminal volume according to the current environment volume, the lowest preset volume and the highest preset volume;
when the current environment volume is not less than the first volume threshold and is not greater than the second volume threshold, adjust the current terminal volume according to the current environment volume, the lowest preset volume and the highest preset volume, including:
the reference volume is determined using the following formula:
X=(b-a)*Y/Z
wherein X is the reference volume, a is the lowest preset volume, b is the highest preset volume, Y is the current environment volume, and Z is a preset correction parameter;
and adjusting the volume of the current terminal to the reference volume.
5. The terminal volume adjustment system of claim 4,
the system also comprises a setting module used for setting a preset time period; the adjusting module is used for adjusting the volume of the current terminal according to the volume of the current environment when the current time is within a preset time period; or the like, or, alternatively,
the system also comprises a setting module used for setting a preset area; the adjusting module is used for adjusting the volume of the current terminal according to the volume of the current environment when the position of the current terminal is located in a preset area; or the like, or, alternatively,
the system also comprises a setting module used for setting a preset time period and a preset area; and the adjusting module is used for adjusting the current terminal volume according to the current environment volume when the current time is within a preset time period and the current terminal position is within a preset area.
6. The terminal volume adjustment system of claim 5,
the adjusting module is further used for adjusting the volume of the terminal to a default volume when the current time is out of a preset time period, or adjusting the volume of the terminal to a last set volume;
and/or the presence of a gas in the gas,
the adjusting module is further used for adjusting the volume of the terminal to default volume when the current terminal position is outside the preset area, or adjusting the volume of the terminal to last set volume.
7. A handset comprising a processor, a memory and a program stored on the memory and operable on the processor, the processor when executing the program performing the steps of the method according to any one of claims 1 to 3.
8. A handset comprising a system as claimed in any one of claims 4 to 6.
CN201811237264.3A 2018-10-23 2018-10-23 Terminal volume adjusting method and system and mobile phone Active CN109040473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811237264.3A CN109040473B (en) 2018-10-23 2018-10-23 Terminal volume adjusting method and system and mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811237264.3A CN109040473B (en) 2018-10-23 2018-10-23 Terminal volume adjusting method and system and mobile phone

Publications (2)

Publication Number Publication Date
CN109040473A CN109040473A (en) 2018-12-18
CN109040473B true CN109040473B (en) 2020-01-03

Family

ID=64613871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811237264.3A Active CN109040473B (en) 2018-10-23 2018-10-23 Terminal volume adjusting method and system and mobile phone

Country Status (1)

Country Link
CN (1) CN109040473B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347367B (en) * 2019-07-15 2023-06-20 百度在线网络技术(北京)有限公司 Volume adjusting method, terminal device, storage medium and electronic device
CN111081275B (en) * 2019-12-20 2023-05-26 惠州Tcl移动通信有限公司 Terminal processing method and device based on sound analysis, storage medium and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104734655A (en) * 2015-03-27 2015-06-24 成都上生活网络科技有限公司 Volume adjustment method
CN104821993A (en) * 2015-05-25 2015-08-05 上海卓易科技股份有限公司 Mobile phone ring volume adjusting method and system
WO2017128243A1 (en) * 2016-01-28 2017-08-03 刘建兵 Method for sending usage data about volume control technology, and mobile terminal
CN106782616A (en) * 2016-12-28 2017-05-31 上海百芝龙网络科技有限公司 A kind of method that respiratory tract is detected by voice analysis

Also Published As

Publication number Publication date
CN109040473A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
EP1346552B1 (en) A sound-based proximity detector for use in a mobile telephone apparatus
US7551942B2 (en) Hearing aid compatibility in a wireless communications device
US7869768B1 (en) Techniques for controlling speaker volume of a portable communications device
JP3727431B2 (en) Transmitter, telephone using it
US5058153A (en) Noise mitigation and mode switching in communications terminals such as telephones
US20070263847A1 (en) Environmental noise reduction and cancellation for a cellular telephone communication device
CN103259898B (en) The method of Automatic adjusument frequency response and terminal
CN108551604B (en) Noise reduction method, noise reduction device and noise reduction earphone
US20050018862A1 (en) Digital signal processing system and method for a telephony interface apparatus
US7242784B2 (en) Dynamic gain control of audio in a communication device
US7881927B1 (en) Adaptive sidetone and adaptive voice activity detect (VAD) threshold for speech processing
US8687796B2 (en) Method and electronic device for improving communication quality based on ambient noise sensing
CN101378423A (en) Apparatus for automatically regulating sound volume of mobile phone talking receiving terminal
WO2010092523A1 (en) Controlling an adaptation of a behavior of an audio device to a current acoustic environmental condition
KR20010014327A (en) Method and apparatus for controlling a telephone ring signal
CN103428326A (en) Method and device for adjusting and processing ring tone
CN109040473B (en) Terminal volume adjusting method and system and mobile phone
US6798881B2 (en) Noise reduction circuit for telephones
CN103731541A (en) Method and terminal for controlling voice frequency during telephone communication
CN107370898B (en) Ring tone playing method, terminal and storage medium thereof
WO2007120734A2 (en) Environmental noise reduction and cancellation for cellular telephone and voice over internet packets (voip) communication devices
CN113709625B (en) Self-adaptive volume adjusting method
US20080043995A1 (en) Histogram for controlling a telephone
JP4838282B2 (en) Hands-free call device and hands-free call method
CA2476364C (en) Hearing aid compatibility in a wireless communications device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant