CN111405114A - Method and device for automatically adjusting volume, storage medium and terminal - Google Patents

Method and device for automatically adjusting volume, storage medium and terminal Download PDF

Info

Publication number
CN111405114A
CN111405114A CN202010192962.7A CN202010192962A CN111405114A CN 111405114 A CN111405114 A CN 111405114A CN 202010192962 A CN202010192962 A CN 202010192962A CN 111405114 A CN111405114 A CN 111405114A
Authority
CN
China
Prior art keywords
terminal
volume
volume level
current scene
adjusting
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.)
Pending
Application number
CN202010192962.7A
Other languages
Chinese (zh)
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.)
JRD Communication Shenzhen Ltd
Jiekai Communications Shenzhen Co Ltd
Original Assignee
Jiekai Communications Shenzhen Co Ltd
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 Jiekai Communications Shenzhen Co Ltd filed Critical Jiekai Communications Shenzhen Co Ltd
Priority to CN202010192962.7A priority Critical patent/CN111405114A/en
Publication of CN111405114A publication Critical patent/CN111405114A/en
Pending legal-status Critical Current

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
    • 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/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • 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/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • 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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • H04M19/042Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations with variable loudness of the ringing tone, e.g. variable envelope or amplitude of ring signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • H04M19/042Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations with variable loudness of the ringing tone, e.g. variable envelope or amplitude of ring signal
    • H04M19/044Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations with variable loudness of the ringing tone, e.g. variable envelope or amplitude of ring signal according to the level of ambient noise
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

The invention discloses a method, a device, a storage medium and a terminal for automatically adjusting volume.

Description

Method and device for automatically adjusting volume, storage medium and terminal
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method and an apparatus for automatically adjusting a volume, a storage medium, and a terminal.
Background
With the increasing functions of terminal devices, the terminal devices are commonly used. In the prior art, the incoming call ringtone or vibration of the terminal equipment, the media sound, and the volume of the receiver and the loudspeaker are required to be manually and respectively set by a user. At present, the volume of an incoming call or a notification reminder is set to be fixed, so that when a user goes out (for example, in a subway, shopping, an exhibition, a concert, a tour and other scene environments with certain motion amount and relative noise), a mobile phone is mostly put in a handbag or a clothes pocket, and the volume set in a relatively quiet environment is difficult for the user to find the notification of the incoming call and a short message; when a user is indoors (in relatively quieter scene environments such as offices, conference rooms, bedrooms and bedside cabinets), the sound emitted by the volume set in the prior art is huge, and a frightening effect is often caused.
In the prior art, when a user is in different scenes, the user can adapt to various scenes by manually adjusting various volumes of the terminal in advance, the experience is poor and inconvenient, and some scaring and embarrassment can be caused if the user forgets to adjust the volume.
Disclosure of Invention
The invention aims to provide a method, a device, a storage medium and a terminal for automatically adjusting volume, and aims to provide a scheme for automatically adjusting volume by identifying a current scene, so that the situation that the volume cannot meet the requirements of various scenes due to manual adjustment can be avoided, and the experience is more intelligent and delicate.
In one aspect, the present invention provides a method for automatically adjusting volume, including:
identifying a current scene where a terminal is located;
and adjusting the volume level of the terminal according to the current scene.
Further preferably, the current scene where the terminal is located is identified, and the current scene includes one of the following:
determining the current scene identified by the scene type of the terminal according to the geographical position information, the background sound and the schedule information;
determining the current scene identified by the motion mode of the terminal according to the moving speed of the terminal, and;
the current scene identified together with the motion pattern according to the scene type.
Further preferably, the determining the motion mode of the terminal according to the moving speed of the terminal includes:
when the moving speed of the terminal is less than a first threshold value, the terminal is in a static mode;
when the moving speed of the terminal is greater than the first threshold and less than a second threshold, the terminal is in a walking mode;
and when the moving speed of the terminal is greater than the second threshold value, the terminal is in a traffic mode.
Further preferably, the adjusting the volume level of the terminal according to the current scene includes:
calculating the volume intensity of the background sound;
and adjusting the volume level of the terminal according to the volume intensity of the background sound.
More preferably, when the volume intensity of the background sound is increased, the volume level of the terminal is increased; when the volume intensity of the background sound is reduced, the volume level of the terminal is reduced; the adjusting the volume level of the terminal according to the current scene further comprises:
judging whether a user is using an application program of the terminal;
if yes, when the intensity of the background sound is increased, the volume level of the terminal is restored to the original volume level.
Further preferably, the method further comprises:
judging whether the volume level of the terminal is reduced compared with the original volume level;
if so, when the distance between the user and the terminal is smaller than a distance threshold, the volume level of the terminal is restored to the original volume level, and;
judging whether the work and rest time in the current scene is night or not;
if so, further reducing the volume level of the terminal.
Further preferably, the current scene where the terminal is located further includes an application program of the terminal; the adjusting the volume level of the terminal according to the current scene comprises:
and adjusting the volume level of the application program according to the importance degree of the application program of the terminal.
In another aspect, the present invention provides an apparatus for automatically adjusting a volume, including:
the current scene identification module is used for identifying the current scene of the terminal;
and the volume level adjusting module is used for adjusting the volume level of the terminal according to the current scene.
In yet another aspect, the present invention provides a computer readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform any of the above-described methods for automatically adjusting volume.
The invention also provides a terminal, which comprises a processor and a memory, wherein the processor is electrically connected with the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps of the method for automatically adjusting the volume.
The invention has the beneficial effects that: the invention provides a method, a device, a storage medium and a terminal for automatically adjusting volume, which are characterized in that a current scene where the terminal is located is firstly identified, then the volume level of the terminal is adjusted according to the current scene, and the current scene is identified to automatically match the corresponding volume, so that a user can easily find an incoming call or inform a prompt in a relatively noisy environment, and the volume of the terminal is not too harsh in a relatively quiet environment.
Drawings
The technical solution and other advantages of the present invention will become apparent from the following detailed description of specific embodiments of the present invention, which is to be read in connection with the accompanying drawings.
Fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus for automatically adjusting volume according to a first embodiment of the present invention;
fig. 3 is a schematic diagram of a further structure of the device for automatically adjusting volume according to the first embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for automatically adjusting a volume according to a modification of the first embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for automatically adjusting volume according to a second embodiment of the present invention;
fig. 6a is a schematic further flowchart of a method for automatically adjusting volume according to a third embodiment of the present invention;
fig. 6b is a schematic diagram of a further flow chart of the method for automatically adjusting the volume according to the fourth embodiment of the present invention;
fig. 6c is a schematic further flowchart of a method for automatically adjusting volume according to a fifth embodiment of the present invention;
FIG. 7 is a schematic flow chart of step S2 in FIG. 6;
fig. 8 is a flowchart illustrating a method for automatically adjusting volume according to a variation of the second embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. 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.
The embodiment of the invention firstly provides a terminal.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present invention, where the terminal 100 may include: RF circuitry 110, memory 120, input unit 130, display unit 140, sensor 150, audio circuitry 160, transmission module 170, processor 180, power supply 190, and the like.
The RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit components for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSMC), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.1 n), Voice over Internet Protocol (VoIP), VoIP, world wide mail Access (micro for mobility), wimax, and other short message protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 120 may be used to store functional modules and data, and in the embodiment of the present invention, the functional modules stored in the memory 120 include: the device comprises a current scene identification module and a volume level adjustment module. The memory 120 stores functional modules containing executable code or instructions, and the application programs may constitute various functional modules. The processor 180 performs various functions by operating functional modules stored in the memory 120, thereby performing data processing. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a functional module (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. Specifically, the input unit 130 may include a touch screen 131 and other input devices 132. The touch screen 131, also referred to as a touch display screen or a touch pad, may collect a touch operation performed by a user on or near the touch screen 131 (e.g., an operation performed by the user on or near the touch screen 131 using any suitable object or accessory such as a finger or a stylus), and drive a corresponding connection device according to a preset program. Alternatively, the touch screen 131 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch screen 131 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 130 may include other input devices 132 in addition to the touch screen 131. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by a user or information provided to the user and various graphic user interfaces of the terminal 100, which may be configured by graphics, text, icons, video, and any combination thereof the display unit 140 may include a display panel 141, and optionally, the display panel 141 may be configured in the form of a liquid crystal display (L required CrystalDisplay, &lttttranslation = L "&tttl &/t &tttcd), an Organic light Emitting Diode (Organic L ight-Emitting Diode, O L ED), or the like.
The terminal 100 can also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 141 when the terminal 100 is moved to the ear. As one of the motion sensors, the gravity sensor 151 may detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and may be used for applications of recognizing the posture of the terminal device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like, where the speed sensor 152 may be used for detecting the moving speed of the terminal, so that the dynamic degree of the terminal may be obtained through the gravity sensor 151 and the speed sensor 152; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 100, detailed descriptions thereof are omitted.
Audio circuitry 160 may provide an audio interface between a user and terminal 100 through speaker 161 and microphone 162. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of a peripheral headset with the terminal 100.
The terminal 100, which can assist the user in e-mail sending and receiving, web browsing, streaming media accessing, etc., through the transmission module 170 (e.g., Wi-Fi module), provides the user with wireless broadband internet access.
The processor 180 is a control center of the terminal 100, and is connected to various parts of the entire terminal device through various interfaces and lines, wherein the processor 180 is electrically connected to the memory 120, and executes various functions of the terminal 100 and processes data by operating or executing functional modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the terminal device. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, functional modules, and the like, and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
In this embodiment, the processor 180 in the terminal 100 loads, according to the steps in the method for automatically adjusting volume provided by the embodiment of the present invention, instructions corresponding to the functional modules (the current scene recognition module and the volume level adjustment module) in the apparatus for automatically adjusting volume provided by the present invention from the memory 120 to the processor 180, and the processor 180 runs the functional modules stored in the memory 120, so as to implement various functions, where:
the current scene identification module is used for identifying the current scene of the terminal;
and the volume level adjusting module is used for adjusting the volume level of the terminal according to the current scene.
Terminal 100 also includes a power supply 190 (e.g., a battery) for powering the various components, which may be logically coupled to processor 180 via a power management system in some embodiments to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like. Although not shown, the terminal 100 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which will not be described herein.
The embodiment of the invention also provides a device for automatically adjusting the volume, which is applied to the terminal 100.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an apparatus for automatically adjusting a volume according to a first embodiment of the present invention, the apparatus 200 for automatically adjusting a volume may be integrated in the terminal 100, and the apparatus 200 for automatically adjusting a volume includes: a current scene recognition module 210, a volume level adjustment module 220, which may be stored in the memory 120 and executed by the processor 180, wherein:
a current scene identification module 210, configured to identify a current scene where the terminal is located;
and a volume level adjusting module 220, configured to adjust a volume level of the terminal according to the current scene.
In this embodiment, the current scene includes a scene type and a terminal motion mode, and the current scene recognition module 210 may recognize the current scene according to the scene type, recognize the current scene according to the motion mode, or recognize the current scene where the terminal is located through a comprehensive judgment by combining the two. The device 200 for automatically adjusting the volume enables the volume adjustment of the terminal to be changed from manual operation to automatic adjustment at a proper time under a proper scene, so that the situation of scene requirements which cannot be met by the prior art can be effectively avoided, and the experience is more intelligent and detailed.
In terms of identifying the current scene according to the scene type, please refer to fig. 3, fig. 3 is a schematic diagram of a further structure of the apparatus for automatically adjusting the volume according to the first embodiment of the present invention, and the apparatus 200 may further include a positioning module 211 and a schedule obtaining module 212; the volume level adjustment module 220 may further include a volume intensity calculation unit 221, a volume level adjustment unit 222, and an application determination unit 223.
In this embodiment, the location can be identified by the positioning module 211 according to the GPS to obtain the geographical location information, the volume of the background sound and the rough noise type can be analyzed by the microphone 162, and the schedule information in the terminal can be obtained by the schedule obtaining module 212 to comprehensively evaluate the current scene type of the terminal. Wherein, the sound signal of the background sound of the terminal is collected by the microphone 162 and converted into an electrical signal, which is received by the audio circuit 160 and converted into audio data, which is then output to the memory 120 for further processing, such as analyzing the volume intensity and approximate noise type from the intensity and waveform of the sound, wherein some sound samples may be provided for reference.
Specifically, whether the environment is an indoor environment or an outdoor environment is identified through the positioning module 211, whether the environment is an indoor office or an indoor conference room, an outdoor mall or an outdoor park can be identified through the microphone 162, and the schedule acquisition module 212 assists in determining a specific place, for example, if the schedule flies to beijing at ten o' clock in the morning today, it can be determined that the terminal of the user is an airplane in a time period.
In terms of identifying a current scene according to a motion pattern, the motion pattern of the terminal may detect a dynamic degree of the terminal through the gravity sensor 151 and the speed sensor 152, and mainly determine the motion pattern of the terminal by acquiring a moving speed of the terminal, specifically, when the moving speed of the terminal is less than a first threshold, the terminal is in a stationary mode; when the moving speed of the terminal is greater than the first threshold and less than a second threshold, the terminal is in a walking mode; when the moving speed of the terminal is greater than the second threshold, the terminal is in a traffic mode. Therefore, whether the user of the terminal is in a walking state or on a bus, subway or airplane can also be identified through the motion mode. The first threshold and the second threshold may be determined according to the movement speed of the movement pattern.
In this embodiment, the volume level adjustment module 220 may automatically increase or decrease the volume according to the different scenes identified by the current scene identification module 210. The volume of the terminal can be divided into a plurality of levels, such as 5 levels, the volume can be the volume of incoming calls and the volume of notifications, and under the scenes of shopping malls, railway stations, airports, concerts and the like, the volume level adjusting module 220 can automatically adjust the volume to the 5 th level, namely, the volume is the maximum; in relatively quiet scenes such as offices, meeting rooms, homes and the like, the volume can be automatically adjusted to level 1, namely the minimum volume; automatically adjusting the volume to level 2 when walking in the park; automatically adjusting the volume to the 3 rd level in the scene of green track running; the volume is automatically adjusted to level 4 when walking on the road.
The volume level adjusting module 220 may further adjust the volume level of the terminal according to the volume intensity of the background sound in the current scene, please continue to refer to fig. 3, and the volume level adjusting module 220 may further include:
a volume intensity calculating unit 221 for calculating a volume intensity of the background sound;
a volume level adjusting unit 222, configured to adjust the volume level of the terminal according to the volume intensity of the background sound.
In this embodiment, the volume intensity calculating module 221 first calculates the volume intensity of the background sound, and then the volume level adjusting unit 222 adjusts the volume level of the terminal according to the volume intensity of the background sound, for example, the volume intensity of the background sound may be divided into five levels, and the volume level of the terminal is correspondingly matched with the volume magnitudes of the five levels. When the volume intensity of the background sound is increased, the volume level of the terminal is increased; when the volume intensity of the background sound is reduced, the volume level of the terminal is reduced, so that the automatic volume adjustment can play a role in reminding and can also avoid that the user is scared by too large volume in a relatively quiet environment.
The volume level adjusting module 220 may further include an application determining unit 223 for determining whether the user is using the application of the terminal, and if so, when the intensity of the background sound is increased, the volume level adjusting unit 222 restores the volume level of the terminal to the original volume level, so that too large incoming call volume when the user uses the application of the terminal can be avoided, because the small volume or even the mute at this time does not enable the user to ignore the incoming call or notify the reminder.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an apparatus for automatically adjusting volume according to a variation of the first embodiment of the present invention, where the apparatus 200 for automatically adjusting volume may further include a volume level determining module 230, configured to determine whether the volume level of the terminal is reduced compared to an original volume level, and if so, when a distance between a user and the terminal is smaller than a distance threshold, the volume level of the terminal is restored to the original volume level, so that a user may be prevented from having too much incoming call volume when the user is very close to the terminal, and at this time, a user may not ignore an incoming call or notify a reminder due to a small volume or even a mute of the user; the device 200 may further include a work and rest time determining module 240, configured to determine whether the work and rest time in the current scene is in the evening, and if so, further decrease the volume level of the terminal, so that when an incoming call or a notification is given at night, the user is not frightened by too large volume; in addition, the device 200 may further include a holiday judging module, configured to judge whether the holiday is a holiday, if so, the volume of the terminal may be increased, for example, in a spring festival, a current scene may be relatively busy, and the increased volume may enhance a reminder.
In addition, the volume level adjusting module 220 may also adjust the volume level of each application program according to the importance degree of the installed application program, where the volume level of the application program of importance level is relatively large, such as incoming call, short message, system notification, common social software, security management application, and the like; the volume level of the general-level application is relatively moderate, such as multimedia, shopping, game and the like; unimportant level applications are relatively small in volume, such as news, video, tools, etc.
The embodiment of the invention uses a scene analysis and judgment technology (by using the positioning module 211, the gravity sensor 151 and the speed sensor 152) and the picking and analysis of background sound (by using the microphone 162), and combines the analysis of the currently running application program (by using the application program judgment unit 223) and the importance level thereof, the distance between the user and the terminal, the work and rest time (by using the work and rest time judgment module 240), holidays and schedule (by using the schedule acquisition module 212) to assist in judging the current scene and actively intervene in volume adjustment, so that the scene analysis is more accurate, and the volume adjustment of the terminal is more intelligent.
According to the device for automatically adjusting the volume, which is provided by the embodiment of the invention, the current scene where the terminal is located is identified by the current scene identification module 210, and the volume level of the terminal is adjusted by the volume level adjustment module 220 according to the determined current scene, so that a user does not need to frequently and manually set the volume of various volumes, the device 200 for automatically adjusting the volume enables the terminal to automatically adjust the volume in different scenes, and the situation that the user cannot sense, remind and listen to audio contents through the volume in relatively noisy and moving scenes can be avoided; the user is not frightened by the excessive volume in the relatively quiet scene.
The embodiment of the invention further provides a method for automatically adjusting the volume, which is applied to the device 200 for automatically adjusting the volume.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for automatically adjusting a volume according to a second embodiment of the present invention, wherein the steps of the method are specifically implemented by the apparatus 200 for automatically adjusting a volume, and therefore, the method for automatically adjusting a volume is specifically described with reference to the apparatus 200, and the method for automatically adjusting a volume includes the following steps:
step S1, identifying the current scene of the terminal;
and step S2, adjusting the volume level of the terminal according to the current scene.
In this embodiment, the current scene includes a scene type and a terminal motion mode, and the current scene recognition module 210 may recognize the current scene according to the scene type, recognize the current scene according to the motion mode, or recognize the current scene where the terminal is located through a comprehensive judgment by combining the two. The device 200 for automatically adjusting the volume enables the volume adjustment of the terminal to be changed from manual operation to automatic adjustment at a proper time under a proper scene, so that the situation of scene requirements which cannot be met by the prior art can be effectively avoided, and the experience is more intelligent and detailed.
Referring to fig. 6 in terms of identifying a current scene according to a scene type, fig. 6a, 6b and 6c are schematic diagrams illustrating a further flow of the method for automatically adjusting a volume according to the third, fourth and fifth embodiments of the present invention, respectively, where the step S1 of "identifying a current scene where a terminal is located" includes one of S11, S12 and S13:
in the third embodiment, step S1 includes S11: and determining the current scene identified by the scene type of the terminal according to the geographical position information, the background sound and the schedule information.
In this embodiment, the location can be identified by the positioning module 211 according to the GPS to obtain the geographical location information, the volume of the background sound and the rough noise type can be analyzed by the microphone 162, and the schedule information in the terminal can be obtained by the schedule obtaining module 212 to comprehensively evaluate the current scene type of the terminal. Wherein, the sound signal of the background sound of the terminal is collected by the microphone 162 and converted into an electrical signal, which is received by the audio circuit 160 and converted into audio data, which is then output to the memory 120 for further processing, such as analyzing the volume intensity and approximate noise type from the intensity and waveform of the sound, wherein some sound samples may be provided for reference.
Specifically, whether the environment is an indoor environment or an outdoor environment is identified through the positioning module 211, whether the environment is an indoor office or an indoor conference room, an outdoor mall or an outdoor park can be identified through the microphone 162, and a specific place is determined in an auxiliary manner through the schedule management module 212, for example, if the schedule flies to beijing at ten o' clock in the morning today, the terminal of the user can be determined to be an airplane in one time period.
In the fourth embodiment, step S1 includes S12: and determining the current scene identified by the motion mode of the terminal according to the moving speed of the terminal.
In terms of identifying the current scene according to the motion pattern, the motion pattern of the terminal may detect the dynamic degree of the terminal through the gravity sensor 151 and the speed sensor 152, and mainly determine the motion pattern by acquiring the moving speed of the terminal, specifically, please continue to refer to fig. 6, where the "determining the motion pattern of the terminal according to the moving speed of the terminal" in step S12 includes:
s121: when the moving speed of the terminal is less than a first threshold value, the terminal is in a static mode;
s122: when the moving speed of the terminal is greater than the first threshold and less than a second threshold, the terminal is in a walking mode;
s123: when the moving speed of the terminal is greater than the second threshold, the terminal is in a traffic mode.
Therefore, whether the user of the terminal is in a walking state or on a bus, subway or airplane can also be identified through the motion mode. The first threshold and the second threshold may be determined according to the movement speed of the movement pattern.
In the fifth embodiment, step S1 includes S13: a current scene is identified based on the scene type and the motion pattern.
In this embodiment, the volume level adjustment module 220 may automatically increase or decrease the volume according to the different scenes identified by the current scene identification module 210. The volume of the terminal can be divided into a plurality of levels, such as 5 levels, the volume can be the volume of incoming calls and the volume of notifications, and under the scenes of shopping malls, railway stations, airports, concerts and the like, the volume level adjusting module 220 can automatically adjust the volume to the 5 th level, namely, the volume is the maximum; in relatively quiet scenes such as offices, meeting rooms, homes and the like, the volume can be automatically adjusted to level 1, namely the minimum volume; automatically adjusting the volume to level 2 when walking in the park; automatically adjusting the volume to the 3 rd level in the scene of green track running; the volume is automatically adjusted to level 4 when walking on the road.
The volume level adjustment module 220 may further adjust the volume level of the terminal according to the volume intensity of the background sound in the current scene, referring to fig. 7, where fig. 7 is a flowchart of step S2 in fig. 6, and the step S2 of "adjusting the volume level of the terminal according to the current scene" includes:
step S21: calculating the volume intensity of the background sound;
step S22: adjusting the volume level of the terminal according to the volume intensity of the background sound;
in this embodiment, the volume intensity calculating module 221 first calculates the volume intensity of the background sound, and then the volume level adjusting unit 222 adjusts the volume level of the terminal according to the volume intensity of the background sound, for example, the volume intensity of the background sound may be divided into five levels, and the volume level of the terminal is correspondingly matched with the volume magnitudes of the five levels. When the volume intensity of the background sound is increased, the volume level of the terminal is increased; when the volume intensity of the background sound is reduced, the volume level of the terminal is reduced, so that the automatic volume adjustment can play a role in reminding and can also avoid that the user is scared by too large volume in a relatively quiet environment.
Wherein, the step S2 of "adjusting the volume level of the terminal according to the current scene" further includes:
s23: judging whether the user is using the application program of the terminal;
s24: if yes, when the intensity of the background sound is increased, the volume level of the terminal is restored to the original volume level.
In this embodiment, the application determining module 223 determines whether the user is using the application of the terminal, and if so, when the intensity of the background sound is increased, the volume level adjusting unit 222 restores the volume level of the terminal to the original volume level, so that it is avoided that the user has too large incoming call volume when using the application of the terminal, because the small volume or even silence does not make the user ignore the incoming call or notify the reminder.
Referring to fig. 8, fig. 8 is a schematic flow chart of a method for automatically adjusting volume according to a variation of the second embodiment of the present invention, where the method may further include:
step S3: judging whether the volume level of the terminal is reduced compared with the original volume level;
step S4: if so, when the distance between the user and the terminal is less than the distance threshold, the volume level of the terminal is restored to the original volume level, and;
step S5: judging whether the work and rest time in the current scene is night or not;
step S6: if yes, the volume level of the terminal is further reduced.
In this embodiment, the volume level determining module 230 determines whether the volume level of the terminal is reduced compared to the original volume level, and if so, when the distance between the user and the terminal is smaller than the distance threshold, the volume level of the terminal is restored to the original volume level, so that too much incoming call volume can be avoided when the user is very close to the terminal, because the user cannot ignore the incoming call or notify a reminder due to small volume or even silence of the user; then, the operation and rest time determining module 240 determines whether the operation and rest time in the current scene is at night, and if so, further reduces the volume level of the terminal, so that when an incoming call or a notification is given at night, the user is not frightened by too large volume.
In addition, the method for automatically adjusting the volume further comprises the following steps: and adjusting the volume level of the application program according to the importance degree of the application program of the terminal.
In this embodiment, the volume level adjusting module 220 may further adjust the volume level of each application program according to the importance degree of the installed application program, where the volume level of the application program of importance level is relatively large, such as an incoming call, a short message, a system notification, common social software, a security management application, and the like; the volume level of the general-level application is relatively moderate, such as multimedia, shopping, game and the like; unimportant level applications are relatively small in volume, such as news, video, tools, etc.
According to the method for automatically adjusting the volume, provided by the embodiment of the invention, the current scene where the terminal is located is identified through the current scene identification module 210, and then the volume level of the terminal is adjusted through the volume level adjustment module 220 according to the determined current scene, so that a user does not need to frequently and manually set the volume of various volumes, the volume is automatically adjusted in different scenes through the method for automatically adjusting the volume, and the situation that the user cannot sense, remind and listen to audio contents through the volume in relatively noisy and moving scenes can be avoided; the user is not frightened by the excessive volume in the relatively quiet scene.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, embodiments of the present invention provide a storage medium having stored therein a plurality of instructions, which can be loaded onto a processor to perform the steps of any of the methods for automatically adjusting volume provided by embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any method for automatically adjusting volume provided in the embodiments of the present invention, the beneficial effects that can be achieved by any method for automatically adjusting volume provided in the embodiments of the present invention may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The above description of the embodiments is only for helping understanding the technical solution of the present invention and its core idea; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention; any device capable of achieving the function of the method for automatically adjusting the volume provided by the embodiment of the invention is within the protection scope of the invention.

Claims (10)

1. A method of automatically adjusting volume, comprising:
identifying a current scene where a terminal is located;
and adjusting the volume level of the terminal according to the current scene.
2. The method of claim 1, wherein the identifying a current scene in which the terminal is located comprises one of:
determining the current scene identified by the scene type of the terminal according to the geographical position information, the background sound and the schedule information;
determining the current scene identified by the motion mode of the terminal according to the moving speed of the terminal, and;
the current scene identified together with the motion pattern according to the scene type.
3. The method of claim 2, wherein the determining the motion mode of the terminal according to the moving speed of the terminal comprises:
when the moving speed of the terminal is less than a first threshold value, the terminal is in a static mode;
when the moving speed of the terminal is greater than the first threshold and less than a second threshold, the terminal is in a walking mode;
and when the moving speed of the terminal is greater than the second threshold value, the terminal is in a traffic mode.
4. The method of claim 2, wherein the adjusting the volume level of the terminal according to the current scene comprises:
calculating the volume intensity of the background sound;
and adjusting the volume level of the terminal according to the volume intensity of the background sound.
5. The method of claim 4, wherein when the volume intensity of the background sound is increased, the volume level of the terminal is increased; when the volume intensity of the background sound is reduced, the volume level of the terminal is reduced; the adjusting the volume level of the terminal according to the current scene further comprises:
judging whether a user is using an application program of the terminal;
if yes, when the intensity of the background sound is increased, the volume level of the terminal is restored to the original volume level.
6. The method of automatically adjusting volume of claim 1, further comprising:
judging whether the volume level of the terminal is reduced compared with the original volume level;
if so, when the distance between the user and the terminal is smaller than a distance threshold, the volume level of the terminal is restored to the original volume level, and;
judging whether the work and rest time in the current scene is night or not;
if so, further reducing the volume level of the terminal.
7. The method of claim 1, wherein the current scene in which the terminal is located further comprises an application program of the terminal, and wherein adjusting the volume level of the terminal according to the current scene comprises:
and adjusting the volume level of the application program according to the importance degree of the application program of the terminal.
8. An apparatus for automatically adjusting volume, comprising:
the current scene identification module is used for identifying the current scene of the terminal;
and the volume level adjusting module is used for adjusting the volume level of the terminal according to the current scene.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the method of automatically adjusting volume of any one of claims 1 to 7.
10. A terminal comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the method of automatically adjusting volume of any one of claims 1 to 7.
CN202010192962.7A 2020-03-18 2020-03-18 Method and device for automatically adjusting volume, storage medium and terminal Pending CN111405114A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010192962.7A CN111405114A (en) 2020-03-18 2020-03-18 Method and device for automatically adjusting volume, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010192962.7A CN111405114A (en) 2020-03-18 2020-03-18 Method and device for automatically adjusting volume, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN111405114A true CN111405114A (en) 2020-07-10

Family

ID=71432616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010192962.7A Pending CN111405114A (en) 2020-03-18 2020-03-18 Method and device for automatically adjusting volume, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN111405114A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819375A (en) * 2019-01-11 2019-05-28 平安科技(深圳)有限公司 Adjust method and apparatus, storage medium, the electronic equipment of volume
CN113467747A (en) * 2021-06-01 2021-10-01 荣耀终端有限公司 Volume adjustment method, electronic device, storage medium, and computer program product
CN115495040A (en) * 2022-10-09 2022-12-20 湖南捷力泰科技有限公司 Scene type-based sound control method and related device
WO2023130934A1 (en) * 2022-01-05 2023-07-13 荣耀终端有限公司 Transportation vehicle type identification method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534484A (en) * 2016-10-10 2017-03-22 上海斐讯数据通信技术有限公司 Method and apparatus for adjusting the volume of mobile equipment
CN106603882A (en) * 2016-12-28 2017-04-26 深圳天珑无线科技有限公司 Incoming call sound volume adjusting method, incoming call sound volume adjusting device and terminal
CN106791163A (en) * 2017-01-06 2017-05-31 深圳市金立通信设备有限公司 A kind of volume adjusting method and terminal
CN107508986A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 volume adjusting method, device, storage medium and terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534484A (en) * 2016-10-10 2017-03-22 上海斐讯数据通信技术有限公司 Method and apparatus for adjusting the volume of mobile equipment
CN106603882A (en) * 2016-12-28 2017-04-26 深圳天珑无线科技有限公司 Incoming call sound volume adjusting method, incoming call sound volume adjusting device and terminal
CN106791163A (en) * 2017-01-06 2017-05-31 深圳市金立通信设备有限公司 A kind of volume adjusting method and terminal
CN107508986A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 volume adjusting method, device, storage medium and terminal device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819375A (en) * 2019-01-11 2019-05-28 平安科技(深圳)有限公司 Adjust method and apparatus, storage medium, the electronic equipment of volume
CN113467747A (en) * 2021-06-01 2021-10-01 荣耀终端有限公司 Volume adjustment method, electronic device, storage medium, and computer program product
WO2023130934A1 (en) * 2022-01-05 2023-07-13 荣耀终端有限公司 Transportation vehicle type identification method and apparatus
CN115495040A (en) * 2022-10-09 2022-12-20 湖南捷力泰科技有限公司 Scene type-based sound control method and related device

Similar Documents

Publication Publication Date Title
CN106528036B (en) Volume adjusting method and device
CN111405114A (en) Method and device for automatically adjusting volume, storage medium and terminal
CN109511037B (en) Earphone volume adjusting method and device and computer readable storage medium
CN107231473B (en) Audio output regulation and control method, equipment and computer readable storage medium
CN106528545B (en) Voice information processing method and device
CN106782613B (en) Signal detection method and device
CN106384597B (en) Audio data processing method and device
CN107888765B (en) Method for switching scene mode and mobile terminal
CN107846516B (en) Call scene prompting method and mobile terminal
JP2017521024A (en) Audio signal optimization method and apparatus, program, and recording medium
CN109243488B (en) Audio detection method, device and storage medium
CN107371102B (en) Audio playing volume control method and device, storage medium and mobile terminal
CN106506437B (en) Audio data processing method and device
CN111093259A (en) Bluetooth power adjustment method, device, storage medium and terminal
CN108492837B (en) Method, device and storage medium for detecting audio burst white noise
CN110022405B (en) Radio frequency parameter adjusting method, device and storage medium
CN109873894B (en) Volume adjusting method and mobile terminal
CN107343095B (en) Call volume control method and device, storage medium and terminal
CN108307075A (en) A kind of incoming call processing method and mobile terminal
CN112997471B (en) Audio channel switching method and device, readable storage medium and electronic equipment
CN111427745A (en) Terminal use control method and device, storage medium and terminal
CN108600906B (en) Playing control method and device for multiple sound boxes
CN108282857B (en) Adjust transmission power method and Related product
CN108391208B (en) Signal switching method, device, terminal, earphone and computer readable storage medium
CN105635379B (en) Noise suppression method and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200710