WO2017206160A1 - Method for controlling volume, and terminal device - Google Patents

Method for controlling volume, and terminal device Download PDF

Info

Publication number
WO2017206160A1
WO2017206160A1 PCT/CN2016/084652 CN2016084652W WO2017206160A1 WO 2017206160 A1 WO2017206160 A1 WO 2017206160A1 CN 2016084652 W CN2016084652 W CN 2016084652W WO 2017206160 A1 WO2017206160 A1 WO 2017206160A1
Authority
WO
WIPO (PCT)
Prior art keywords
sound
decibel
terminal device
message
preset
Prior art date
Application number
PCT/CN2016/084652
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 乐视控股(北京)有限公司
Publication of WO2017206160A1 publication Critical patent/WO2017206160A1/en

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/725Cordless telephones

Definitions

  • the present application relates to the field of control technologies, and in particular, to a method and a terminal device for controlling volume.
  • the current mobile phone is already a tool used by people every day. People use mobile phones to make calls or send messages to communicate with each other, but sometimes in noisy environments, mobile phone users often miss some calls and messages because they can't hear the ringtone or tone of the phone. And if these calls or information are very urgent, this will cause unnecessary trouble or economic loss to the mobile phone users. In some cases, if the mobile phone user does not turn down the ringtone of the mobile phone or adjust other reminder modes without ringing in a very quiet environment, if there is a phone call or message that will scare the user or the person around, the mobile phone user is very embarrassed. Or cause dissatisfaction from others.
  • the mobile phone user manually adjusts the current mobile phone ringtone or message alert sound size by currently needing to be manually adjusted.
  • the present application provides a method for controlling volume and a terminal device, determining a decibel of the sound according to a sound of a current external environment of a preset preset duration, and adjusting a current by a preset sound adjustment manner according to a decibel of the sound.
  • the message of the terminal device reminds the volume of the sound volume, so that the terminal device can automatically adjust the size of the current message reminding sound according to the current environment, so that the user can receive the message in time, and at the same time ensure that the surrounding crowd is not interfered.
  • the present application provides a method for controlling a volume.
  • the method includes:
  • the terminal device acquires a sound of a current external environment of a preset duration
  • the terminal device adjusts the volume of the message reminder sound volume of the current terminal device according to the decibel of the sound through a preset sound adjustment manner.
  • the terminal device obtains the sound of the current external environment of the preset duration, which is specifically:
  • the terminal device periodically acquires the sound of the current external environment of the preset duration by using the sound acquiring device of the terminal device according to the second preset time; or
  • the terminal device acquires a sound of a preset duration of the current surrounding environment periodically acquired by the other device according to the second preset time.
  • the terminal device adjusts, according to the decibel of the sound, a volume of a message reminder sound of the current terminal device by using a preset sound adjustment manner, specifically:
  • the terminal device adjusts the decibel number of the message reminding sound of the current terminal device to be greater than the decibel number preset by the sound according to the decibel of the sound.
  • the terminal device adjusts the volume of the message reminder sound of the current terminal device according to the decibel of the sound, and is further determined by:
  • the terminal device determines the sound decibel as the sound decibel of the current terminal device message reminder.
  • the method further includes:
  • the terminal device turns on the message reminder Tactile reminder function
  • the terminal device turns off the message reminder sound reminder Function, and turn on the tactile reminder function of the message reminder.
  • a terminal device comprising:
  • Obtaining a module configured to acquire a sound of a current external environment of a preset duration when the terminal device does not receive the operation command of the user within the first preset time;
  • a determining module configured to determine a decibel of the sound according to a level of the sound volume
  • the adjusting module is configured to adjust, according to the decibel of the sound, a volume of the message reminding sound volume of the current terminal device by using a preset sound adjustment manner.
  • the obtaining module is specifically configured to:
  • the sound of the current external environment of the preset duration is periodically acquired by the sound acquiring device of the terminal device itself;
  • the adjustment module is specifically configured to:
  • the decibel number of the message reminding sound of the current terminal device is adjusted to be greater than the decibel number preset by the sound.
  • the adjustment module is further specifically configured to:
  • the sound decibel is determined as the sound decibel of the current terminal device message reminder.
  • the terminal device further includes:
  • a determining module configured to determine whether a decibel of the sound is within a decibel interval of the terminal device message alert sound
  • Opening a module if the decibel of the sound is not in a decibel interval of the terminal device message reminding sound, and when the decibel of the sound exceeds a maximum value of a decibel interval of the terminal device message reminding sound, used to open a message reminder a tactile reminder function; if the decibel of the sound is not within a decibel interval of the terminal device message alert sound, and is used to close the message reminder when the sound is lower than a minimum value of the terminal device message alert sound decibel interval
  • the present application determines the decibel of the sound according to the obtained sound of the current external environment of the preset duration, and adjusts the current terminal setting according to the decibel of the sound through a preset sound adjustment manner.
  • the prepared message reminds the volume of the sound volume, so that the terminal device can automatically adjust the size of the current message reminding sound according to the current environment, so that the user can receive the message in time, and at the same time ensure that the surrounding people are not disturbed.
  • FIG. 1 is a flowchart of a method for controlling volume according to an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • FIG. 1 it is a flow chart of a method for controlling volume in the applicant.
  • the method may include the following steps:
  • Step 101 The terminal device acquires a sound of a current external environment of a preset duration.
  • the terminal device obtains the sound of the current external environment of the preset duration, which is specifically:
  • the terminal device periodically acquires the sound of the current external environment of the preset duration by using the sound acquiring device of the terminal device according to the second preset time; or
  • the terminal device acquires a sound of a current external environment that is periodically acquired by the other device according to a preset time period that is periodically acquired according to the second preset time.
  • the terminal device when the terminal device does not receive the operation command of the user within the first preset time, the user does not use the terminal device in the current period of time, that is, the current terminal device is in the sleep state. In the standby state, and the environment in which the user is located may change with the environment in which the user is located, for example, the noise of the environment in which the user is currently located becomes large. If the terminal device receives the message at this time, the user is in the standby state.
  • the decibel of the sound set in the previous environment may make the user unable to hear, or the noise of the environment in which the user is currently located becomes small, or the environment in which the user is located is a place where the sound decibel is prohibited from being too high, then the said The decibel of the sound set by the user in the previous environment may be too large compared to the current environment. If the terminal device receives the message at this time, it may affect other people, or suddenly make a loud sound to attract the attention of others. Make the user very embarrassed.
  • the terminal device needs to acquire the sound of the current external environment with a preset duration (for example, 3 seconds, and the specific preset duration can be set as needed), so that the terminal device adjusts the current terminal device message according to the sound.
  • the volume of the reminder can be obtained by the sound acquisition device of the current external environment, such as a recording device, or can be obtained by a third-party device, such as configuring a sound collector for the terminal device.
  • the sound collector acquires the sound of the current external environment of the preset duration
  • the sound is sent to the terminal device, and the purpose of the application is to obtain the sound of the current external environment, so all methods for acquiring the sound of the current external environment belong to the present invention.
  • the scope of protection for the application is possible to obtain the sound of the current external environment.
  • the first preset time is a duration of the terminal device to the terminal device to start acquiring the sound of the current external environment after the user stops operating.
  • the terminal device may obtain the sound according to the second preset time.
  • the terminal device periodically acquires the sound of the current external environment of the preset duration according to the second preset time, that is, after the sound of the current external environment of the preset duration is acquired for the second preset time.
  • the duration of the current external environment of the preset duration is once again obtained. Further, each time the terminal device passes a second preset time, the sound of the current external environment of the preset duration is acquired.
  • the duration of the second preset time may be set according to actual needs, such as: 2 minutes.
  • Step 102 The terminal device determines a decibel of the sound according to a level of the sound volume.
  • the level of the sound volume is determined by the size of the decibel, and by determining the decibel of the sound, it can be determined whether the current environment of the user is noisy or relatively quiet.
  • the base device can be adjusted to provide a basis for adjusting the volume of the message alert sound.
  • the purpose of the present application is to determine the decibel of the sound, and any method of determining the sound decibel after the sound is acquired is within the scope of protection of the present application.
  • Step 103 The terminal device adjusts, according to a decibel of the sound, a volume of a message reminding sound volume of the current terminal device by using a preset sound adjustment manner.
  • the size of the adjustment message reminder sound volume may include the following two types:
  • the terminal device adjusts the decibel number of the message reminding sound of the current terminal device to be greater than the decibel number preset by the sound according to the decibel of the sound.
  • the terminal device may adjust the decibel of the sound according to the decibel adjustment message of the sound. Specifically, the decibel of the sound of the message reminder may be adjusted to be high when adjusting.
  • the certain volume is a preset decibel number, for example, if the preset decibel number is 4, and the sound has a decibel of 5, then the terminal device message may be The decibel of the reminder sound is adjusted to 9, so that the sound is not affected by the excessive sound, and there is a sound that allows the user to hear the message.
  • the preset decibel number can be determined according to actual needs.
  • the terminal device determines, according to a decibel of the sound, a preset decibel interval in which the sound is located;
  • the terminal device determines the sound decibel as the sound decibel of the current terminal device message reminder.
  • the highest decibel and the lowest decibel of the terminal device message alert sound may be determined, and the decibel interval of the terminal device message alert sound is divided into a plurality of decibel intervals according to actual needs, and the plurality of decibels are The interval respectively determines a corresponding sound decibel, wherein the determined sound decibel is greater than the maximum value in the decibel interval, and the determined corresponding sound decibel can be set according to actual needs, and the decibel of the sound is determined at the terminal device.
  • Determining the decibel interval in which the decibel of the sound is located, and determining the sound decibel corresponding to the decibel interval in which the decibel of the sound is located as the sound decibel of the terminal device message reminder, so that the decibel according to the sound may be The interval in which the terminal device directly determines the size of the message reminder sound of the terminal device, so that the sound is too high to affect the surrounding people, and the user can hear the message reminder The sound, and no additional calculations are required.
  • the method for dividing the decibel interval of the terminal device message reminding sound may be determined according to actual conditions.
  • the purpose of the present application is to automatically adjust the sound of the message reminder according to the decibel of the sound of the current surrounding environment, and therefore all methods of adjusting the sound are within the protection scope of the present application.
  • the sound of the message reminder includes continuous message reminder sounds, such as: the ringing of the incoming call or the sound of the music, and may also include a one-time, continuous or intermittent multiple message reminder sound, such as: a short message reminder sound , or a reminder sound of information from other communication software.
  • the method further includes:
  • the terminal device turns on the message reminder Tactile reminder function
  • the terminal device turns off the message reminder sound reminder Function, and turn on the tactile reminder function of the message reminder.
  • the decibel of the sound exceeds the maximum value of the decibel interval of the terminal device message reminding sound, it indicates that the current environment is very noisy, even if the decibel of the message reminding sound is adjusted to a maximum value which is still smaller than the sound of the current environment, at the terminal When the device receives the message, the user may still be unable to hear the message reminder.
  • other message reminding functions can also be other functions except the touch reminding function, such as: visual reminding function (such as photoelectric effect in the terminal device), and any message reminding function different from the sound belongs to the protection scope of the present application.
  • the decibel of the sound is lower than the minimum decibel interval of the terminal device message alert sound
  • the value indicates that the current environment is very quiet.
  • the environment in which the user is located is a place that needs to be kept quiet, such as a library, an office, etc. If a message arrives at this time, the terminal device emits the lowest sound of the device. It may disturb other people. Therefore, the terminal device can be adjusted to other functions different from the sound reminding function, such as the tactile reminding function, and of course, other functions, which can remind the user that the terminal device receives the message.
  • the function of the reminder that does not affect other users is within the scope of this application.
  • the terminal device After the terminal device adjusts the message reminder sound according to the sound, the terminal device deletes the acquired sound.
  • the application determines the decibel of the sound according to the obtained sound of the current external environment of the preset duration, and adjusts the volume of the message reminder sound of the current terminal device according to the decibel of the sound according to the preset sound adjustment manner, thereby
  • the terminal device can automatically adjust the size of the current message reminding sound according to the current environment, so that the user can receive the message in time, and at the same time ensure that the surrounding crowd is not interfered.
  • the terminal device uses a mobile phone as an example, and the message reminder takes a ringtone as an example.
  • the mobile phone determines whether the mobile phone is currently in a sleep standby state (ie, a black screen state), and if the mobile phone is in a sleep standby state and the mobile phone is in the state for more than a certain period of time (eg, 10 minutes), the mobile phone is at a certain time ( For example: 2 minutes) will open its own recording function to get the sound of the current environment, and record for 3 seconds, the mobile phone determines the decibel of the acquired sound, when the decibel of the sound is greater than the maximum volume that can be achieved by the ringtone of the mobile phone The mobile phone turns on the vibration reminding function; if the sound has a decibel smaller than the minimum volume reached by the mobile phone ringtone, the mobile phone turns off the ringtone reminding function, and turns on the vibration reminding function, when the sound decibel is in the mobile phone The mobile phone determines a decibel interval in which the decibel of the sound is located, and determines a sound decibel corresponding to the decibel interval as a volume of the ringtone,
  • the present application also provides a terminal device.
  • the terminal device includes:
  • the obtaining module 21 is configured to acquire the sound of the current external environment of the preset duration when the terminal device does not receive the operation command of the user within the first preset time;
  • a determining module 22 configured to determine a decibel of the sound according to a level of the sound volume
  • the adjusting module 23 is configured to adjust, according to the decibel of the sound, a volume of a message reminding sound volume of the current terminal device by using a preset sound adjustment manner.
  • the obtaining module 21 is specifically configured to:
  • the sound of the current external environment of the preset duration is periodically acquired by the sound acquiring device of the terminal device itself;
  • the adjustment module 23 is specifically configured to:
  • the decibel number of the message reminding sound of the current terminal device is adjusted to be greater than the decibel number preset by the sound.
  • the adjustment module 23 is further specifically configured to:
  • the sound decibel is determined as the sound decibel of the current terminal device message reminder.
  • the terminal device further includes:
  • a determining module configured to determine whether a decibel of the sound is within a decibel interval of the terminal device message alert sound
  • Opening a module if the decibel of the sound is not in a decibel interval of the terminal device message reminding sound, and when the decibel of the sound exceeds a maximum value of a decibel interval of the terminal device message reminding sound, used to open a message reminder a tactile reminder function; if the decibel of the sound is not within a decibel interval of the terminal device message alert sound, and is used to close the message reminder when the sound is lower than a minimum value of the terminal device message alert sound decibel interval Voice reminder Function, and turn on the tactile reminder function of the message reminder.
  • the present application determines the decibel of the sound according to the obtained sound of the current external environment of the preset duration, and adjusts the size of the message reminding sound decibel of the current terminal device according to the decibel of the sound through a preset sound adjustment manner, thereby
  • the terminal device can automatically adjust the volume of the current message alert sound according to the current environment, so that the user can receive the message in time, and at the same time ensure that the surrounding crowd is not interfered.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • the device embodiments described above are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located in one place. Or it can be distributed to at least two network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

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

Abstract

Provided is a method for controlling the volume. When a terminal device does not receive an operation command of a user within a first pre-set time, the method comprises: the terminal device acquiring a sound of a current external environment for a pre-set duration; the terminal device determining the decibel of the sound according to the volume level of the sound; and the terminal device adjusting the volume magnitude of a message-reminding sound of the current terminal device by means of a pre-set sound adjustment mode according to the decibel of the sound. According to the present application, the magnitude of a current message-reminding sound can be automatically adjusted according to a current environment, thereby ensuring that a user can receive a message in a timely manner, and at the same time, ensuring that surrounding people are not disturbed.

Description

一种控制音量的方法和终端设备Method and terminal device for controlling volume 技术领域Technical field
本申请涉及控制技术领域,尤其涉及一种控制音量的方法和终端设备。The present application relates to the field of control technologies, and in particular, to a method and a terminal device for controlling volume.
背景技术Background technique
当前手机已经是人们日常使用的工具,人们使用手机打电话或发消息等形式进行互相沟通,但是有时在嘈杂的环境中,手机用户往往因听不到手机铃声或提示音而错过一些电话和信息,而如果这些电话或者信息十分紧急重要,这就会给手机用户造成不必要的麻烦或经济损失。而有些时候,手机用户在十分安静的环境中如果没有将手机的铃声调小或调整其他没有铃声的提醒模式,如果此时有电话或消息会惊吓到用户或身边的人,使手机用户十分尴尬或者引起其他人的不满。The current mobile phone is already a tool used by people every day. People use mobile phones to make calls or send messages to communicate with each other, but sometimes in noisy environments, mobile phone users often miss some calls and messages because they can't hear the ringtone or tone of the phone. And if these calls or information are very urgent, this will cause unnecessary trouble or economic loss to the mobile phone users. In some cases, if the mobile phone user does not turn down the ringtone of the mobile phone or adjust other reminder modes without ringing in a very quiet environment, if there is a phone call or message that will scare the user or the person around, the mobile phone user is very embarrassed. Or cause dissatisfaction from others.
在现有技术中,手机用户是通过当前需要手动预先调节当前手机铃声或消息提醒声音大小的。In the prior art, the mobile phone user manually adjusts the current mobile phone ringtone or message alert sound size by currently needing to be manually adjusted.
在实现本申请的过程中,发明人发现现有技术至少存在如下问题:In the process of implementing the present application, the inventors found that the prior art has at least the following problems:
手动调节手机铃声或消息提醒声音的大小不够智能且操作相对麻烦,并且,如果当前环境改变且手机用户没有及时调节手机铃声或消息提醒声音的大小,致使手机用户无法及时接到当前的电话或消息或对自身和周围人群带来不必要的麻烦。Manually adjusting the ringtone or message alert sound is not smart enough and the operation is relatively cumbersome, and if the current environment changes and the mobile phone user does not adjust the size of the ringtone or message alert sound in time, the mobile phone user cannot receive the current call or message in time. Or bring unnecessary trouble to yourself and the surrounding people.
发明内容Summary of the invention
本申请提供一种控制音量的方法和终端设备,根据获取的预设时长的当前外界环境的声音,确定出所述声音的分贝,并根据所述声音的分贝通过预设的声音调节方式调节当前终端设备的消息提醒声音音量的大小,从而使终端设备可以根据当前环境自动调节当前消息提醒声音的大小,保证用户可以及时接收到消息,同时保证了不会干扰到周围人群。The present application provides a method for controlling volume and a terminal device, determining a decibel of the sound according to a sound of a current external environment of a preset preset duration, and adjusting a current by a preset sound adjustment manner according to a decibel of the sound. The message of the terminal device reminds the volume of the sound volume, so that the terminal device can automatically adjust the size of the current message reminding sound according to the current environment, so that the user can receive the message in time, and at the same time ensure that the surrounding crowd is not interfered.
本申请提供一种控制音量的方法,当终端设备在第一预设时间内没有收到用户的操作命令时,所述方法包括:The present application provides a method for controlling a volume. When the terminal device does not receive an operation command of the user within a first preset time, the method includes:
所述终端设备获取预设时长的当前外界环境的声音; The terminal device acquires a sound of a current external environment of a preset duration;
所述终端设备根据所述声音音量的高低确定所述声音的分贝;Determining, by the terminal device, a decibel of the sound according to a level of the sound volume;
所述终端设备根据所述声音的分贝,通过预设的声音调节方式调节当前终端设备的消息提醒声音音量的大小。The terminal device adjusts the volume of the message reminder sound volume of the current terminal device according to the decibel of the sound through a preset sound adjustment manner.
终端设备获取预设时长的当前外界环境的声音,具体为:The terminal device obtains the sound of the current external environment of the preset duration, which is specifically:
所述终端设备根据第二预设时间,通过终端设备自身的声音获取装置周期性的获取预设时长的当前外界环境的声音;或,The terminal device periodically acquires the sound of the current external environment of the preset duration by using the sound acquiring device of the terminal device according to the second preset time; or
所述终端设备获取其他设备发送的根据第二预设时间周期性获取的当前周围环境预设时长的声音。The terminal device acquires a sound of a preset duration of the current surrounding environment periodically acquired by the other device according to the second preset time.
所述终端设备根据所述声音的分贝,通过预设的声音调节方式调节当前终端设备的消息提醒声音音量的大小,具体为:The terminal device adjusts, according to the decibel of the sound, a volume of a message reminder sound of the current terminal device by using a preset sound adjustment manner, specifically:
所述终端设备根据所述声音的分贝,将当前终端设备的消息提醒声音的分贝数调节到大于所述声音预设的分贝数。The terminal device adjusts the decibel number of the message reminding sound of the current terminal device to be greater than the decibel number preset by the sound according to the decibel of the sound.
所述终端设备根据所述声音的分贝,通过预设的声音调节方式调节当前终端设备的消息提醒声音音量的大小,还具体为:The terminal device adjusts the volume of the message reminder sound of the current terminal device according to the decibel of the sound, and is further determined by:
所述终端设备根据所述声音的分贝确定所述声音所处的预设分贝区间;Determining, by the terminal device, a preset decibel interval in which the sound is located according to a decibel of the sound;
所述终端设备根据预设的分贝区间和声音分贝的对应关系确定所述预设分贝区间对应的声音分贝;Determining, by the terminal device, a sound decibel corresponding to the preset decibel interval according to a preset correspondence between a decibel interval and a sound decibel;
所述终端设备将所述声音分贝确定为当前所述终端设备消息提醒的声音分贝。The terminal device determines the sound decibel as the sound decibel of the current terminal device message reminder.
所述方法还包括:The method further includes:
所述终端设备判断所述声音的分贝是否在所述终端设备消息提醒声音的分贝区间内;Determining, by the terminal device, whether a decibel of the sound is within a decibel interval of the terminal device message alert sound;
如果所述声音的分贝不在所述终端设备消息提醒声音的分贝区间内,且当所述声音的分贝超过所述终端设备消息提醒声音的分贝区间的最大值时,所述终端设备开启消息提醒的触感提醒功能;If the decibel of the sound is not within the decibel interval of the terminal device message alert sound, and when the decibel of the sound exceeds the maximum value of the decibel interval of the terminal device message alert sound, the terminal device turns on the message reminder Tactile reminder function;
如果所述声音的分贝不在所述终端设备消息提醒声音的分贝区间内,且当所述声音低于所述终端设备消息提醒声音分贝区间的最小值时,所述终端设备关闭消息提醒的声音提醒功能,并开启消息提醒的触感提醒功能。 If the decibel of the sound is not within the decibel interval of the terminal device message alert sound, and when the sound is lower than the minimum value of the terminal device message alert sound decibel interval, the terminal device turns off the message reminder sound reminder Function, and turn on the tactile reminder function of the message reminder.
一种终端设备,所述终端设备包括:A terminal device, the terminal device comprising:
获取模块,当终端设备在第一预设时间内没有收到用户的操作命令时,用于获取预设时长的当前外界环境的声音;Obtaining a module, configured to acquire a sound of a current external environment of a preset duration when the terminal device does not receive the operation command of the user within the first preset time;
确定模块,用于根据所述声音音量的高低确定所述声音的分贝;a determining module, configured to determine a decibel of the sound according to a level of the sound volume;
调节模块,用于根据所述声音的分贝,通过预设的声音调节方式调节当前终端设备的消息提醒声音音量的大小。The adjusting module is configured to adjust, according to the decibel of the sound, a volume of the message reminding sound volume of the current terminal device by using a preset sound adjustment manner.
所述获取模块,具体用于:The obtaining module is specifically configured to:
根据第二预设时间,通过终端设备自身的声音获取装置周期性的获取预设时长的当前外界环境的声音;或,According to the second preset time, the sound of the current external environment of the preset duration is periodically acquired by the sound acquiring device of the terminal device itself; or
获取其他设备发送的根据第二预设时间周期性获取的预设时长的当前外界环境的声音。Acquiring the sound of the current external environment of the preset duration periodically acquired by the other device according to the second preset time.
所述调节模块,具体用于:The adjustment module is specifically configured to:
根据所述声音的分贝,将当前终端设备的消息提醒声音的分贝数调节到大于所述声音预设的分贝数。According to the decibel of the sound, the decibel number of the message reminding sound of the current terminal device is adjusted to be greater than the decibel number preset by the sound.
所述调节模块,还具体用于:The adjustment module is further specifically configured to:
根据所述声音的分贝确定所述声音所处的预设分贝区间;Determining a preset decibel interval in which the sound is located according to a decibel of the sound;
根据预设的分贝区间和声音分贝的对应关系确定所述预设分贝区间对应的声音分贝;Determining a sound decibel corresponding to the preset decibel interval according to a preset correspondence between a decibel interval and a sound decibel;
将所述声音分贝确定为当前所述终端设备消息提醒的声音分贝。The sound decibel is determined as the sound decibel of the current terminal device message reminder.
所述终端设备还包括:The terminal device further includes:
判断模块,用于判断所述声音的分贝是否在所述终端设备消息提醒声音的分贝区间内;a determining module, configured to determine whether a decibel of the sound is within a decibel interval of the terminal device message alert sound;
开启模块,如果所述声音的分贝不在所述终端设备消息提醒声音的分贝区间内,且当所述声音的分贝超过所述终端设备消息提醒声音的分贝区间的最大值时,用于开启消息提醒的触感提醒功能;如果所述声音的分贝不在所述终端设备消息提醒声音的分贝区间内,且当所述声音低于所述终端设备消息提醒声音分贝区间的最小值时,用于关闭消息提醒的声音提醒功能,并开启消息提醒的触感提醒功能。Opening a module, if the decibel of the sound is not in a decibel interval of the terminal device message reminding sound, and when the decibel of the sound exceeds a maximum value of a decibel interval of the terminal device message reminding sound, used to open a message reminder a tactile reminder function; if the decibel of the sound is not within a decibel interval of the terminal device message alert sound, and is used to close the message reminder when the sound is lower than a minimum value of the terminal device message alert sound decibel interval The sound reminder function and turn on the tactile reminder function of the message reminder.
本申请根据获取的预设时长的当前外界环境的声音,确定出所述声音的分贝,并根据所述声音的分贝通过预设的声音调节方式调节当前终端设 备的消息提醒声音音量的大小,从而使终端设备可以根据当前环境自动调节当前消息提醒声音的大小,保证用户可以及时接收到消息,同时保证了不会干扰到周围人群。The present application determines the decibel of the sound according to the obtained sound of the current external environment of the preset duration, and adjusts the current terminal setting according to the decibel of the sound through a preset sound adjustment manner. The prepared message reminds the volume of the sound volume, so that the terminal device can automatically adjust the size of the current message reminding sound according to the current environment, so that the user can receive the message in time, and at the same time ensure that the surrounding people are not disturbed.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative labor for those skilled in the art.
图1为本申请实施例中的一种控制音量的方法流程图;FIG. 1 is a flowchart of a method for controlling volume according to an embodiment of the present application;
图2为本申请实施例中的一种终端设备的结构示意图。FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
如图1所示,为本申请人中的一种控制音量的方法流程图,当终端设备在第一预设时间内没有收到用户的操作命令时,所述方法可以包括以下步骤:As shown in FIG. 1 , it is a flow chart of a method for controlling volume in the applicant. When the terminal device does not receive an operation command of the user within the first preset time, the method may include the following steps:
步骤101,所述终端设备获取预设时长的当前外界环境的声音。Step 101: The terminal device acquires a sound of a current external environment of a preset duration.
终端设备获取预设时长的当前外界环境的声音,具体为:The terminal device obtains the sound of the current external environment of the preset duration, which is specifically:
所述终端设备根据第二预设时间,通过终端设备自身的声音获取装置周期性的获取预设时长的当前外界环境的声音;或,The terminal device periodically acquires the sound of the current external environment of the preset duration by using the sound acquiring device of the terminal device according to the second preset time; or
所述终端设备获取其他设备发送的根据第二预设时间周期性获取的预设时长的当前外界环境的声音。The terminal device acquires a sound of a current external environment that is periodically acquired by the other device according to a preset time period that is periodically acquired according to the second preset time.
具体的,当终端设备在第一预设时间内没有收到用户的操作命令表明当前一段时间内用户没有使用过所述终端设备,即当前终端设备处于休眠 待机状态,并且此时用户所处的环境可能与之前用户所处的环境发生了变化,如:所述用户当前所处的环境的噪音变大,如果此时终端设备接收到消息时,用户在之前所处环境设定的声音的分贝可能会使用户无法听到,或者所述用户当前所处的环境的噪音变小,或者用户所处的环境是禁止声音分贝过高的场所,那么所述用户之前所处环境设定的声音的分贝可能相对于当前环境来说会过大,如果此时终端设备接收到消息有可能会影响到其他人,或者突然发出过大的声音引起其他人的注意使得用户变得很尴尬。Specifically, when the terminal device does not receive the operation command of the user within the first preset time, the user does not use the terminal device in the current period of time, that is, the current terminal device is in the sleep state. In the standby state, and the environment in which the user is located may change with the environment in which the user is located, for example, the noise of the environment in which the user is currently located becomes large. If the terminal device receives the message at this time, the user is in the standby state. The decibel of the sound set in the previous environment may make the user unable to hear, or the noise of the environment in which the user is currently located becomes small, or the environment in which the user is located is a place where the sound decibel is prohibited from being too high, then the said The decibel of the sound set by the user in the previous environment may be too large compared to the current environment. If the terminal device receives the message at this time, it may affect other people, or suddenly make a loud sound to attract the attention of others. Make the user very embarrassed.
因此,此时需要终端设备获取预设时长(如:3秒,具体预设时长可以根据需要进行设定)的当前外界环境的声音,以使所述终端设备根据所述声音调节当前终端设备消息提醒的音量,在获取预设时长的当前外界环境的声音时可以通过自身的声音获取装置获取,如:录音装置,也可以通过第三方设备获取,如:为所述终端设备配置声音采集器,在所述声音采集器获取预设时长的当前外界环境的声音后发送给所述终端设备,本申请的目的是为了获取当前外界环境的声音,因此所有获取当前外界环境的声音的方法均属于本申请的保护范围。Therefore, at this time, the terminal device needs to acquire the sound of the current external environment with a preset duration (for example, 3 seconds, and the specific preset duration can be set as needed), so that the terminal device adjusts the current terminal device message according to the sound. The volume of the reminder can be obtained by the sound acquisition device of the current external environment, such as a recording device, or can be obtained by a third-party device, such as configuring a sound collector for the terminal device. After the sound collector acquires the sound of the current external environment of the preset duration, the sound is sent to the terminal device, and the purpose of the application is to obtain the sound of the current external environment, so all methods for acquiring the sound of the current external environment belong to the present invention. The scope of protection for the application.
所述第一预设时间是所述用户停止操作后所述终端设备到所述终端设备开始获取当前外界环境的声音的时长。The first preset time is a duration of the terminal device to the terminal device to start acquiring the sound of the current external environment after the user stops operating.
所述终端设备在获取预设时长的当前外界环境的声音时可以根据第二预设时间获取,当所述用户长时间不对所述终端设备进行操作并且所述时间超过第一预设时间后,所述终端设备根据所述第二预设时间周期性的获取预设时长的当前外界环境的声音,即从上一次获取预设时长的当前外界环境的声音后每过一个第二预设时间的时长都会再一次获取预设时长的当前外界环境的声音,进一步的,所述终端设备每过一个第二预设时间的时长都会获取一次预设时长的当前外界环境的声音。所述第二预设时间的时长可以根据实际需要进行设定,如:2分钟。When the terminal device obtains the sound of the current external environment of the preset duration, the terminal device may obtain the sound according to the second preset time. After the user does not operate the terminal device for a long time and the time exceeds the first preset time, The terminal device periodically acquires the sound of the current external environment of the preset duration according to the second preset time, that is, after the sound of the current external environment of the preset duration is acquired for the second preset time. The duration of the current external environment of the preset duration is once again obtained. Further, each time the terminal device passes a second preset time, the sound of the current external environment of the preset duration is acquired. The duration of the second preset time may be set according to actual needs, such as: 2 minutes.
步骤102,所述终端设备根据所述声音音量的高低确定所述声音的分贝。Step 102: The terminal device determines a decibel of the sound according to a level of the sound volume.
具体的,声音音量的高低是以分贝的大小来确定,通过确定所述声音的分贝就可以确定出当前所述用户所处的环境是嘈杂的还是相对安静的, 可以为所述终端设备调节消息提醒声音音量的大小提供依据基础。本申请的目的是为了确定声音的分贝,在获取了声音后任何确定声音分贝的方法均属于本申请的保护范围。Specifically, the level of the sound volume is determined by the size of the decibel, and by determining the decibel of the sound, it can be determined whether the current environment of the user is noisy or relatively quiet. The base device can be adjusted to provide a basis for adjusting the volume of the message alert sound. The purpose of the present application is to determine the decibel of the sound, and any method of determining the sound decibel after the sound is acquired is within the scope of protection of the present application.
步骤103,所述终端设备根据所述声音的分贝,通过预设的声音调节方式调节当前终端设备的消息提醒声音音量的大小。Step 103: The terminal device adjusts, according to a decibel of the sound, a volume of a message reminding sound volume of the current terminal device by using a preset sound adjustment manner.
其中调节消息提醒声音音量的大小可以包括以下两种:The size of the adjustment message reminder sound volume may include the following two types:
第一种:所述终端设备根据所述声音的分贝,将当前终端设备的消息提醒声音的分贝数调节到大于所述声音预设的分贝数。The first type: the terminal device adjusts the decibel number of the message reminding sound of the current terminal device to be greater than the decibel number preset by the sound according to the decibel of the sound.
当所述终端设备确定了所述声音的分贝后,所述终端设备可以根据所述声音的分贝调整消息提醒声音的分贝,具体的,在调节时可以将消息提醒的声音的分贝数调节为高于所述声音一定音量的声音,所述一定音量即为预设分贝数,例如:如果所述预设分贝数为4,,所述声音的分贝为5,那么可以将所述终端设备的消息提醒声音的分贝调节为9,这样既不会因为声音过高影响到周围的人,有可以让用户可以听到消息提醒的声音。其中,预设分贝数可以根据实际需要确定。After the terminal device determines the decibel of the sound, the terminal device may adjust the decibel of the sound according to the decibel adjustment message of the sound. Specifically, the decibel of the sound of the message reminder may be adjusted to be high when adjusting. In the sound of a certain volume of the sound, the certain volume is a preset decibel number, for example, if the preset decibel number is 4, and the sound has a decibel of 5, then the terminal device message may be The decibel of the reminder sound is adjusted to 9, so that the sound is not affected by the excessive sound, and there is a sound that allows the user to hear the message. The preset decibel number can be determined according to actual needs.
第二种:所述终端设备根据所述声音的分贝确定所述声音所处的预设分贝区间;a second type: the terminal device determines, according to a decibel of the sound, a preset decibel interval in which the sound is located;
所述终端设备根据预设的分贝区间和声音分贝的对应关系确定所述预设分贝区间对应的声音分贝;Determining, by the terminal device, a sound decibel corresponding to the preset decibel interval according to a preset correspondence between a decibel interval and a sound decibel;
所述终端设备将所述声音分贝确定为当前所述终端设备消息提醒的声音分贝。The terminal device determines the sound decibel as the sound decibel of the current terminal device message reminder.
具体的,还可以确定出所述终端设备消息提醒声音的最高分贝和最低分贝,并根据实际需要将所述终端设备消息提醒声音的分贝区间划分为若干个分贝区间,且为所述若干个分贝区间分别确定相应的声音分贝,其中,确定的声音分贝大于该分贝区间中的最大值,确定出的相应的声音分贝可以根据实际需要来设定,在所述终端设备确定出所述声音的分贝后,判断所述声音的分贝所处的分贝区间,再将所述声音的分贝所处的分贝区间对应的声音分贝确定为所述终端设备消息提醒的声音分贝,这样可以根据所述声音的分贝所处的区间直接确定所述终端设备消息提醒声音的大小,这样既不会因为声音过高影响到周围的人,有可以让用户可以听到消息提醒 的声音,且不需要再进行额外的计算。具体的所述终端设备消息提醒声音的分贝区间划分方法可以根据实际情况确定。Specifically, the highest decibel and the lowest decibel of the terminal device message alert sound may be determined, and the decibel interval of the terminal device message alert sound is divided into a plurality of decibel intervals according to actual needs, and the plurality of decibels are The interval respectively determines a corresponding sound decibel, wherein the determined sound decibel is greater than the maximum value in the decibel interval, and the determined corresponding sound decibel can be set according to actual needs, and the decibel of the sound is determined at the terminal device. Determining the decibel interval in which the decibel of the sound is located, and determining the sound decibel corresponding to the decibel interval in which the decibel of the sound is located as the sound decibel of the terminal device message reminder, so that the decibel according to the sound may be The interval in which the terminal device directly determines the size of the message reminder sound of the terminal device, so that the sound is too high to affect the surrounding people, and the user can hear the message reminder The sound, and no additional calculations are required. The method for dividing the decibel interval of the terminal device message reminding sound may be determined according to actual conditions.
本申请的目的是在于根据当前周围环境的声音的分贝自动调节消息提醒的声音,因此所有调节声音的方法均属于本申请的保护范围。The purpose of the present application is to automatically adjust the sound of the message reminder according to the decibel of the sound of the current surrounding environment, and therefore all methods of adjusting the sound are within the protection scope of the present application.
消息提醒的声音包括持续性的消息提醒声音,如:手机来电的响铃或音乐的声音,还可以包括一次性、持续性或间隔的多次性的消息提醒声音,如:短信息的提醒声音,或其他通信软件的信息的提醒声音。The sound of the message reminder includes continuous message reminder sounds, such as: the ringing of the incoming call or the sound of the music, and may also include a one-time, continuous or intermittent multiple message reminder sound, such as: a short message reminder sound , or a reminder sound of information from other communication software.
所述方法还包括:The method further includes:
所述终端设备判断所述声音的分贝是否在所述终端设备消息提醒声音的分贝区间内;Determining, by the terminal device, whether a decibel of the sound is within a decibel interval of the terminal device message alert sound;
如果所述声音的分贝不在所述终端设备消息提醒声音的分贝区间内,且当所述声音的分贝超过所述终端设备消息提醒声音的分贝区间的最大值时,所述终端设备开启消息提醒的触感提醒功能;If the decibel of the sound is not within the decibel interval of the terminal device message alert sound, and when the decibel of the sound exceeds the maximum value of the decibel interval of the terminal device message alert sound, the terminal device turns on the message reminder Tactile reminder function;
如果所述声音的分贝不在所述终端设备消息提醒声音的分贝区间内,且当所述声音低于所述终端设备消息提醒声音分贝区间的最小值时,所述终端设备关闭消息提醒的声音提醒功能,并开启消息提醒的触感提醒功能。If the decibel of the sound is not within the decibel interval of the terminal device message alert sound, and when the sound is lower than the minimum value of the terminal device message alert sound decibel interval, the terminal device turns off the message reminder sound reminder Function, and turn on the tactile reminder function of the message reminder.
当所述声音的分贝超过所述终端设备消息提醒声音的分贝区间的最大值时,说明当前环境十分嘈杂,即便将消息提醒声音的分贝调成最大值依然小于当前环境的声音,在所述终端设备接收到消息时所述用户可能依然无法听到消息提醒的声音,因此,此时需要添加其他消息提醒功能,其中,其他消息提醒功能要有别于声音提醒功能,如:触感提醒功能(如:震动),通过两种提醒方式可以大大提让高用户获知所述终端设备接收到消息的概率,当然也可以将除声音提醒功能外其他方式的提醒功能启动多个,具体启动几个消息提醒功能和启动方式(同时启动或逐个启动等)可以根据实际情况确定。When the decibel of the sound exceeds the maximum value of the decibel interval of the terminal device message reminding sound, it indicates that the current environment is very noisy, even if the decibel of the message reminding sound is adjusted to a maximum value which is still smaller than the sound of the current environment, at the terminal When the device receives the message, the user may still be unable to hear the message reminder. Therefore, other message reminding functions need to be added at this time, among which other message reminding functions are different from the sound reminding function, such as: touch reminding function (such as :Vibration), through two kinds of reminding methods, the high user can be greatly informed of the probability that the terminal device receives the message, and of course, the reminding function of other modes besides the sound reminding function can be started, and several message reminders are specifically activated. The function and startup mode (simultaneous startup or startup one by one, etc.) can be determined according to the actual situation.
其中,其他消息提醒功能也可以为除接触提醒功能的其他功能,如:视觉提醒功能(如:终端设备中的光电效果),任何有别于声音的消息提醒功能均属于本申请的保护范围。Among other things, other message reminding functions can also be other functions except the touch reminding function, such as: visual reminding function (such as photoelectric effect in the terminal device), and any message reminding function different from the sound belongs to the protection scope of the present application.
所述声音的分贝低于所述终端设备消息提醒声音的分贝区间的最小 值时,说明当前环境十分安静,此时用户所处的环境是需要保持安静的地方,如:图书馆、办公室等,如果此时有消息到来,所述终端设备发出所述设备的最低声音也可能打扰到其他人,因此,可以将所述终端设备调节为有别于声音提醒功能的其他功能,如触感提醒功能,当然还可以为其他功能,凡是能够起到提醒用户终端设备接收到消息的功能,且不会影响到其他用户的提醒功能均属于本申请的保护范围。The decibel of the sound is lower than the minimum decibel interval of the terminal device message alert sound The value indicates that the current environment is very quiet. At this time, the environment in which the user is located is a place that needs to be kept quiet, such as a library, an office, etc. If a message arrives at this time, the terminal device emits the lowest sound of the device. It may disturb other people. Therefore, the terminal device can be adjusted to other functions different from the sound reminding function, such as the tactile reminding function, and of course, other functions, which can remind the user that the terminal device receives the message. The function of the reminder that does not affect other users is within the scope of this application.
当所述终端设备根据所述声音调节完消息提醒声音后,所述终端设备将获取的所述声音删除。After the terminal device adjusts the message reminder sound according to the sound, the terminal device deletes the acquired sound.
本申请根据获取的预设时长的当前外界环境的声音,确定出所述声音的分贝,并根据所述声音的分贝通过预设的声音调节方式调节当前终端设备的消息提醒声音音量的大小,从而使终端设备可以根据当前环境自动调节当前消息提醒声音的大小,保证用户可以及时接收到消息,同时保证了不会干扰到周围人群。The application determines the decibel of the sound according to the obtained sound of the current external environment of the preset duration, and adjusts the volume of the message reminder sound of the current terminal device according to the decibel of the sound according to the preset sound adjustment manner, thereby The terminal device can automatically adjust the size of the current message reminding sound according to the current environment, so that the user can receive the message in time, and at the same time ensure that the surrounding crowd is not interfered.
为了进一步阐述本申请的技术思想,现结合具体的应用场景,对本申请的技术方案进行说明,具体的,终端设备以手机为例,消息提醒以铃声为例。In order to further illustrate the technical idea of the present application, the technical solution of the present application will be described in conjunction with a specific application scenario. Specifically, the terminal device uses a mobile phone as an example, and the message reminder takes a ringtone as an example.
所述手机判断当前是否处于休眠待机状态(即黑屏状态),如果所述手机处于休眠待机状态并且所述手机处于该状态超过一定时间(如:10分钟)后,所述手机每隔一定时间(如:2分钟)就会开启自身的录音功能来获取当前环境的声音,并且录制3秒,所述手机确定获取的声音的分贝,当所述声音的分贝大于手机铃声所能达到的最大音量时,所述手机开启震动提醒功能;如果所述声音的分贝小于手机铃声所述达到的最小音量时,所述手机关闭铃声提醒功能,并开启震动提醒功能,当所述声音的分贝处于所述手机铃声所能达到的声音音量的范围内时,所述手机判断所述声音的分贝所处的分贝区间,并将所述分贝区间对应的声音分贝确定为所述铃声的音量,例如:当所述手机铃声所能达到的音量的范围(10dB-90dB)划分为如下分贝区间时:分贝大于10dB且小于50dB(分贝单位),分贝大于50dB且小于70dB,分贝大于70dB且小于90dB,并且各个分贝区间对应音量大小为:60dB、80dB和100dB,当所述声音的分贝对应的区间为大于50dB且小于70dB时,所述手机将80dB确定为当前铃声的大小,当 所述手机再次获取当前环境的声音后,所述手机根据所述声音的分贝再次调节所述手机铃声的大小。The mobile phone determines whether the mobile phone is currently in a sleep standby state (ie, a black screen state), and if the mobile phone is in a sleep standby state and the mobile phone is in the state for more than a certain period of time (eg, 10 minutes), the mobile phone is at a certain time ( For example: 2 minutes) will open its own recording function to get the sound of the current environment, and record for 3 seconds, the mobile phone determines the decibel of the acquired sound, when the decibel of the sound is greater than the maximum volume that can be achieved by the ringtone of the mobile phone The mobile phone turns on the vibration reminding function; if the sound has a decibel smaller than the minimum volume reached by the mobile phone ringtone, the mobile phone turns off the ringtone reminding function, and turns on the vibration reminding function, when the sound decibel is in the mobile phone The mobile phone determines a decibel interval in which the decibel of the sound is located, and determines a sound decibel corresponding to the decibel interval as a volume of the ringtone, for example: when The range of volume that can be achieved by ringtones (10dB-90dB) is divided into the following decibel intervals: decibels greater than 10dB and less than 50dB (decibels) Bit), the decibel is greater than 50dB and less than 70dB, the decibel is greater than 70dB and less than 90dB, and the volume of each decibel interval is: 60dB, 80dB and 100dB, when the interval corresponding to the decibel of the sound is greater than 50dB and less than 70dB, The mobile phone determines 80dB as the size of the current ringtone. After the mobile phone acquires the sound of the current environment again, the mobile phone adjusts the size of the ringtone of the mobile phone again according to the decibel of the sound.
基于与上述方法同样的申请构思,本申请还提出了一种终端设备,如图2所述,该终端设备包括:Based on the same application concept as the above method, the present application also provides a terminal device. As shown in FIG. 2, the terminal device includes:
获取模块21,当终端设备在第一预设时间内没有收到用户的操作命令时,用于获取预设时长的当前外界环境的声音;The obtaining module 21 is configured to acquire the sound of the current external environment of the preset duration when the terminal device does not receive the operation command of the user within the first preset time;
确定模块22,用于根据所述声音音量的高低确定所述声音的分贝;a determining module 22, configured to determine a decibel of the sound according to a level of the sound volume;
调节模块23,用于根据所述声音的分贝,通过预设的声音调节方式调节当前终端设备的消息提醒声音音量的大小。The adjusting module 23 is configured to adjust, according to the decibel of the sound, a volume of a message reminding sound volume of the current terminal device by using a preset sound adjustment manner.
所述获取模块21,具体用于:The obtaining module 21 is specifically configured to:
根据第二预设时间,通过终端设备自身的声音获取装置周期性的获取预设时长的当前外界环境的声音;或,According to the second preset time, the sound of the current external environment of the preset duration is periodically acquired by the sound acquiring device of the terminal device itself; or
获取其他设备发送的根据第二预设时间周期性获取的预设时长的当前外界环境的声音。Acquiring the sound of the current external environment of the preset duration periodically acquired by the other device according to the second preset time.
所述调节模块23,具体用于:The adjustment module 23 is specifically configured to:
根据所述声音的分贝,将当前终端设备的消息提醒声音的分贝数调节到大于所述声音预设的分贝数。According to the decibel of the sound, the decibel number of the message reminding sound of the current terminal device is adjusted to be greater than the decibel number preset by the sound.
所述调节模块23,还具体用于:The adjustment module 23 is further specifically configured to:
根据所述声音的分贝确定所述声音所处的预设分贝区间;Determining a preset decibel interval in which the sound is located according to a decibel of the sound;
根据预设的分贝区间和声音分贝的对应关系确定所述预设分贝区间对应的声音分贝;Determining a sound decibel corresponding to the preset decibel interval according to a preset correspondence between a decibel interval and a sound decibel;
将所述声音分贝确定为当前所述终端设备消息提醒的声音分贝。The sound decibel is determined as the sound decibel of the current terminal device message reminder.
所述终端设备还包括:The terminal device further includes:
判断模块,用于判断所述声音的分贝是否在所述终端设备消息提醒声音的分贝区间内;a determining module, configured to determine whether a decibel of the sound is within a decibel interval of the terminal device message alert sound;
开启模块,如果所述声音的分贝不在所述终端设备消息提醒声音的分贝区间内,且当所述声音的分贝超过所述终端设备消息提醒声音的分贝区间的最大值时,用于开启消息提醒的触感提醒功能;如果所述声音的分贝不在所述终端设备消息提醒声音的分贝区间内,且当所述声音低于所述终端设备消息提醒声音分贝区间的最小值时,用于关闭消息提醒的声音提醒 功能,并开启消息提醒的触感提醒功能。Opening a module, if the decibel of the sound is not in a decibel interval of the terminal device message reminding sound, and when the decibel of the sound exceeds a maximum value of a decibel interval of the terminal device message reminding sound, used to open a message reminder a tactile reminder function; if the decibel of the sound is not within a decibel interval of the terminal device message alert sound, and is used to close the message reminder when the sound is lower than a minimum value of the terminal device message alert sound decibel interval Voice reminder Function, and turn on the tactile reminder function of the message reminder.
本申请根据获取的预设时长的当前外界环境的声音,确定出所述声音的分贝,并根据所述声音的分贝通过预设的声音调节方式调节当前终端设备的消息提醒声音分贝的大小,从而使终端设备可以根据当前环境自动调节当前消息提醒声音音量的大小,保证用户可以及时接收到消息,同时保证了不会干扰到周围人群。The present application determines the decibel of the sound according to the obtained sound of the current external environment of the preset duration, and adjusts the size of the message reminding sound decibel of the current terminal device according to the decibel of the sound through a preset sound adjustment manner, thereby The terminal device can automatically adjust the volume of the current message alert sound according to the current environment, so that the user can receive the message in time, and at the same time ensure that the surrounding crowd is not interfered.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到至少两个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located in one place. Or it can be distributed to at least two network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present application. range.

Claims (10)

  1. 一种控制音量的方法,其特征在于,当终端设备在第一预设时间内没有收到用户的操作命令时,所述方法包括:A method for controlling a volume, wherein when the terminal device does not receive an operation command of the user within the first preset time, the method includes:
    所述终端设备获取预设时长的当前外界环境的声音;The terminal device acquires a sound of a current external environment of a preset duration;
    所述终端设备根据所述声音音量的高低确定所述声音的分贝;Determining, by the terminal device, a decibel of the sound according to a level of the sound volume;
    所述终端设备根据所述声音的分贝,通过预设的声音调节方式调节当前终端设备的消息提醒声音音量的大小。The terminal device adjusts the volume of the message reminder sound volume of the current terminal device according to the decibel of the sound through a preset sound adjustment manner.
  2. 如权利要求1所述方法,其特征在于,终端设备获取预设时长的当前外界环境的声音,具体为:The method of claim 1, wherein the terminal device acquires a sound of a current external environment of a preset duration, specifically:
    所述终端设备根据第二预设时间,通过终端设备自身的声音获取装置,周期性的获取预设时长的当前外界环境的声音;或,The terminal device periodically acquires the sound of the current external environment of the preset duration by using the sound acquiring device of the terminal device according to the second preset time; or
    所述终端设备获取其他设备发送的根据第二预设时间周期性获取的预设时长的当前外界环境的声音。The terminal device acquires a sound of a current external environment that is periodically acquired by the other device according to a preset time period that is periodically acquired according to the second preset time.
  3. 如权利要求1所述方法,其特征在于,所述终端设备根据所述声音的分贝,通过预设的声音调节方式调节当前终端设备的消息提醒声音音量的大小,具体为:The method according to claim 1, wherein the terminal device adjusts the volume of the message reminder sound of the current terminal device according to the decibel of the sound, by using a preset sound adjustment manner, specifically:
    所述终端设备根据所述声音的分贝,将当前终端设备的消息提醒声音的分贝数调节到大于所述声音预设的分贝数。The terminal device adjusts the decibel number of the message reminding sound of the current terminal device to be greater than the decibel number preset by the sound according to the decibel of the sound.
  4. 如权利要求1所述方法,其特征在于,所述终端设备根据所述声音的分贝,通过预设的声音调节方式调节当前终端设备的消息提醒声音音量的大小,还具体为:The method according to claim 1, wherein the terminal device adjusts the volume of the message reminder sound of the current terminal device according to the decibel of the sound, and is specifically:
    所述终端设备根据所述声音的分贝确定所述声音所处的预设分贝区间;Determining, by the terminal device, a preset decibel interval in which the sound is located according to a decibel of the sound;
    所述终端设备根据预设的分贝区间和声音分贝的对应关系确定所述预设分贝区间对应的声音分贝;Determining, by the terminal device, a sound decibel corresponding to the preset decibel interval according to a preset correspondence between a decibel interval and a sound decibel;
    所述终端设备将所述声音分贝确定为当前所述终端设备消息提醒的声音分贝。The terminal device determines the sound decibel as the sound decibel of the current terminal device message reminder.
  5. 如权利要求1所述方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    所述终端设备判断所述声音的分贝是否在所述终端设备消息提醒声音的分贝区间内; Determining, by the terminal device, whether a decibel of the sound is within a decibel interval of the terminal device message alert sound;
    如果所述声音的分贝不在所述终端设备消息提醒声音的分贝区间内,且当所述声音的分贝超过所述终端设备消息提醒声音的分贝区间的最大值时,所述终端设备开启消息提醒的触感提醒功能;If the decibel of the sound is not within the decibel interval of the terminal device message alert sound, and when the decibel of the sound exceeds the maximum value of the decibel interval of the terminal device message alert sound, the terminal device turns on the message reminder Tactile reminder function;
    如果所述声音的分贝不在所述终端设备消息提醒声音的分贝区间内,且当所述声音低于所述终端设备消息提醒声音分贝区间的最小值时,所述终端设备关闭消息提醒的声音提醒功能,并开启消息提醒的触感提醒功能。If the decibel of the sound is not within the decibel interval of the terminal device message alert sound, and when the sound is lower than the minimum value of the terminal device message alert sound decibel interval, the terminal device turns off the message reminder sound reminder Function, and turn on the tactile reminder function of the message reminder.
  6. 一种终端设备,其特征在于,所述终端设备包括:A terminal device, the terminal device includes:
    获取模块,当终端设备在第一预设时间内没有收到用户的操作命令时,用于获取预设时长的当前外界环境的声音;Obtaining a module, configured to acquire a sound of a current external environment of a preset duration when the terminal device does not receive the operation command of the user within the first preset time;
    确定模块,用于根据所述声音音量的高低确定所述声音的分贝;a determining module, configured to determine a decibel of the sound according to a level of the sound volume;
    调节模块,用于根据所述声音的分贝,通过预设的声音调节方式调节当前终端设备的消息提醒声音音量的大小。The adjusting module is configured to adjust, according to the decibel of the sound, a volume of the message reminding sound volume of the current terminal device by using a preset sound adjustment manner.
  7. 如权利要求6所述终端设备,其特征在于,所述获取模块,具体用于:The terminal device according to claim 6, wherein the obtaining module is specifically configured to:
    根据第二预设时间,通过终端设备自身的声音获取装置周期性的获取预设时长的当前外界环境的声音;或,According to the second preset time, the sound of the current external environment of the preset duration is periodically acquired by the sound acquiring device of the terminal device itself; or
    获取其他设备发送的根据第二预设时间周期性获取的预设时长的当前外界环境的声音。Acquiring the sound of the current external environment of the preset duration periodically acquired by the other device according to the second preset time.
  8. 如权利要求6所述终端设备,其特征在于,所述调节模块,具体用于:The terminal device according to claim 6, wherein the adjustment module is specifically configured to:
    根据所述声音的分贝,将当前终端设备的消息提醒声音的分贝数调节到大于所述声音预设的分贝数。According to the decibel of the sound, the decibel number of the message reminding sound of the current terminal device is adjusted to be greater than the decibel number preset by the sound.
  9. 如权利要求6所述终端设备,其特征在于,所述调节模块,还具体用于:The terminal device according to claim 6, wherein the adjustment module is further configured to:
    根据所述声音的分贝确定所述声音所处的预设分贝区间;Determining a preset decibel interval in which the sound is located according to a decibel of the sound;
    根据预设的分贝区间和声音分贝的对应关系确定所述预设分贝区间对应的声音分贝;Determining a sound decibel corresponding to the preset decibel interval according to a preset correspondence between a decibel interval and a sound decibel;
    将所述声音分贝确定为当前所述终端设备消息提醒的声音分贝。The sound decibel is determined as the sound decibel of the current terminal device message reminder.
  10. 如权利要求6所述终端设备,其特征在于,所述终端设备还包括: The terminal device according to claim 6, wherein the terminal device further comprises:
    判断模块,用于判断所述声音的分贝是否在所述终端设备消息提醒声音的分贝区间内;a determining module, configured to determine whether a decibel of the sound is within a decibel interval of the terminal device message alert sound;
    开启模块,如果所述声音的分贝不在所述终端设备消息提醒声音的分贝区间内,且当所述声音的分贝超过所述终端设备消息提醒声音的分贝区间的最大值时,用于开启消息提醒的触感提醒功能;如果所述声音的分贝不在所述终端设备消息提醒声音的分贝区间内,且当所述声音低于所述终端设备消息提醒声音分贝区间的最小值时,用于关闭消息提醒的声音提醒功能,并开启消息提醒的触感提醒功能。 Opening a module, if the decibel of the sound is not in a decibel interval of the terminal device message reminding sound, and when the decibel of the sound exceeds a maximum value of a decibel interval of the terminal device message reminding sound, used to open a message reminder a tactile reminder function; if the decibel of the sound is not within a decibel interval of the terminal device message alert sound, and is used to close the message reminder when the sound is lower than a minimum value of the terminal device message alert sound decibel interval The sound reminder function and turn on the tactile reminder function of the message reminder.
PCT/CN2016/084652 2015-11-13 2016-06-03 Method for controlling volume, and terminal device WO2017206160A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510780613.6A CN105872188A (en) 2015-11-13 2015-11-13 Method for controlling volume and terminal device
CN201510780613.6 2015-11-13

Publications (1)

Publication Number Publication Date
WO2017206160A1 true WO2017206160A1 (en) 2017-12-07

Family

ID=56624292

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084652 WO2017206160A1 (en) 2015-11-13 2016-06-03 Method for controlling volume, and terminal device

Country Status (2)

Country Link
CN (1) CN105872188A (en)
WO (1) WO2017206160A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453879A (en) * 2016-09-29 2017-02-22 广州云移信息科技有限公司 Event prompting method and terminal equipment
CN109427172A (en) * 2017-08-23 2019-03-05 青岛海尔洗衣机有限公司 Pressure alarm method for clothes treatment device
CN114070929A (en) * 2021-10-12 2022-02-18 北京鹰瞳科技发展股份有限公司 Volume adjustment method and device, electronic equipment, storage medium and product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090063141A1 (en) * 2007-08-28 2009-03-05 Micro-Star Int'l Co., Ltd Apparatus And Method For Adjusting Prompt Voice Depending On Environment
CN102905028A (en) * 2012-10-15 2013-01-30 深圳市中兴移动通信有限公司 Mobile terminal prompt information regulating method and corresponding mobile terminal
CN104113623A (en) * 2014-07-15 2014-10-22 大连大学 Automatic adjusting method for mobile phone warning tone volume
CN104796556A (en) * 2015-05-08 2015-07-22 上海斐讯数据通信技术有限公司 Method, system and intelligent terminal for intelligently adjusting volume of multimedia
CN104980590A (en) * 2015-07-10 2015-10-14 广东欧珀移动通信有限公司 Method and apparatus for controlling terminal prompting mode by determining noisy environment through MIC
CN105049642A (en) * 2015-09-21 2015-11-11 广东欧珀移动通信有限公司 Volume adjustment method and device for prompt tone of mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090063141A1 (en) * 2007-08-28 2009-03-05 Micro-Star Int'l Co., Ltd Apparatus And Method For Adjusting Prompt Voice Depending On Environment
CN102905028A (en) * 2012-10-15 2013-01-30 深圳市中兴移动通信有限公司 Mobile terminal prompt information regulating method and corresponding mobile terminal
CN104113623A (en) * 2014-07-15 2014-10-22 大连大学 Automatic adjusting method for mobile phone warning tone volume
CN104796556A (en) * 2015-05-08 2015-07-22 上海斐讯数据通信技术有限公司 Method, system and intelligent terminal for intelligently adjusting volume of multimedia
CN104980590A (en) * 2015-07-10 2015-10-14 广东欧珀移动通信有限公司 Method and apparatus for controlling terminal prompting mode by determining noisy environment through MIC
CN105049642A (en) * 2015-09-21 2015-11-11 广东欧珀移动通信有限公司 Volume adjustment method and device for prompt tone of mobile terminal

Also Published As

Publication number Publication date
CN105872188A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
US8140127B2 (en) System and method for controlling notification characteristics of a mobile communication device
JP5108955B2 (en) Sleep mode for mobile communication devices
US9084080B2 (en) System, method and apparatus for automatic location-based silencing of wireless transceivers
US9967396B2 (en) System and method for modifying or disabling the ringtone for an incoming call based on the existence or nonexistence of previous calls from the same caller
US20090170552A1 (en) Method of switching profiles and related mobile device
CN101018242A (en) A mobile communication device and method for automatically adjusting the ring mode
CN104660795A (en) Information processing method and electronic equipment
EP2846521B1 (en) Message-strength-based ringing method, device and mobile terminal
CN101610302A (en) A kind of method of automatic adjusting ringtone volume of terminal and terminal
US20080070640A1 (en) Mobile communication terminal and method for performing automatic incoming call notification mode change
CN104869218A (en) Information processing method and device and electronic equipment
WO2017206160A1 (en) Method for controlling volume, and terminal device
CN104052858A (en) Method for setting situational pattern of mobile terminal and mobile terminal
CN103002151A (en) Method and device for call reminding for mobile terminal
WO2014029361A1 (en) System and method for adjusting operation modes of a mobile device
WO2016054903A1 (en) Terminal audio control method, device, terminal and computer storage medium
CN104967747A (en) Mobile terminal prompting mechanism intelligent adjusting method and system and mobile terminal
WO2015184895A1 (en) Call notification method and device
US9686658B2 (en) Method and apparatus for adaptive event notification control
CN107734130A (en) A kind of adjust automatically terminal tone method, apparatus and terminal
US8299902B1 (en) Ensuring an alarm activation of a mobile communications device
US8731538B2 (en) System, method, and apparatus for automatic scheduled silencing of wireless transmitters
CN107426401B (en) Mute reminding method, device and terminal
KR100744346B1 (en) Method for adjusting volume of bell sound and the mobile communication terminal thereof
US20140029735A1 (en) Device and method for determining a voicemail, ring or alert behavior of a telephone based on day and time

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16903545

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16903545

Country of ref document: EP

Kind code of ref document: A1