Volume adjusting method and device and electronic equipment
By obtaining the terminal device's environmental perception information and geofence location attribute information, and automatically adjusting the volume value, the problem of time-consuming user manual volume adjustment is solved, achieving the appropriate volume in emergencies and improving user experience.
Patent Information
- Application Number
- CN202410780819.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2025-07-25
AI Technical Summary
In the prior art, speaker volume adjustment depends on the user's manual operation, especially in an emergency situation, the user may not have enough time to perform manual volume adjustment, affecting the user experience.
By obtaining the environmental perception information of the terminal device and the attribute information of the target geofence site, the volume value is automatically adjusted to adapt to different environments and user needs, including environmental noise, air pressure, lighting, user behavior and other factors, and the volume adjustment without manual user intervention is achieved.
In an emergency, users can obtain the right volume, improve the user experience, meet diversified market demands, and avoid the impact of network delay and instability.
Smart Images

Figure CN120371248A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of positioning technology, and particularly to a volume adjustment method, device, and electronic device. Background Art
[0002] In today's society, terminal devices such as shared vehicles have become an important part of people's daily lives. However, when using terminal devices, users often encounter problems with adjusting the speaker volume.
[0003] In the existing technology, adjusting the speaker volume usually relies on the user's manual operation. This means that every time a user uses a terminal device such as a shared vehicle, they need to manually adjust the volume to meet their auditory needs.
[0004] Although this manual volume adjustment method can meet the user's needs to a certain extent, manually adjusting the volume requires the user to spend extra time and effort. Especially in emergency situations, the user may not have enough time to manually adjust the volume, thus reducing the user experience. Summary of the Invention
[0005] In view of this, this application provides a volume adjustment method, device, and electronic device, mainly aiming to solve the problem that the current manual volume adjustment requires the user to spend extra time and effort, especially in emergency situations, the user may not have enough time to manually adjust the volume, thus affecting the user experience.
[0006] According to the first aspect of this application, a volume adjustment method is provided, including:
[0007] Obtain the environmental perception information of the terminal device and obtain the attribute information of the target geofence location;
[0008] Determine the volume value of the terminal device according to the environmental perception information and the attribute information;
[0009] Adjust the volume based on the volume value.
[0010] According to the second aspect of this application, a volume adjustment device is provided, including:
[0011] An obtaining module, configured to obtain the environmental perception information of the terminal device and obtain the attribute information of the target geofence location;
[0012] A determining module, configured to determine the volume value of the terminal device according to the environmental perception information and the attribute information;
[0013] An adjusting module, configured to adjust the volume based on the volume value.
[0014] According to a third aspect of the present application, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the volume adjustment method described in the first aspect is implemented.
[0015] According to a fourth aspect of the present application, there is provided an electronic device, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, and when the processor executes the computer program, the volume adjustment method described in the first aspect is implemented.
[0016] In a fifth aspect, the present application provides a chip, including one or more interface circuits and one or more processors; the interface circuit is configured to receive a signal from a memory of an electronic device and send the signal to the processor, and the signal includes computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device is caused to execute the volume adjustment method described in the first aspect.
[0017] By means of the above technical solutions, a volume adjustment method, device, and electronic device provided by the present application can obtain environmental perception information of a terminal device and obtain attribute information of a target geofence location; determine a volume value of the terminal device according to the environmental perception information and the attribute information; and perform volume adjustment based on the volume value. For the embodiments of the present disclosure, determining the volume value of the terminal device according to the environmental perception information and the attribute information and performing volume adjustment based on the volume value do not require manual intervention by the user. Even in an emergency, the user can obtain a suitable volume, thereby improving the user experience.
[0018] The above description is only an overview of the technical solutions of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features, and advantages of the present application more obvious and understandable, the following specific embodiments of the present application are specifically described. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings here are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to these drawings.
[0021] Figure 1 It is a schematic flowchart of a volume adjustment method provided for an embodiment of the present disclosure;
[0022] Figure 2 A schematic diagram of a place type provided by an embodiment of the present disclosure;
[0023] Figure 3 A schematic flowchart of another volume adjustment method provided by an embodiment of the present disclosure;
[0024] Figure 4 A schematic flowchart of another volume adjustment method provided by an embodiment of the present disclosure;
[0025] Figure 5 A schematic structural diagram of a volume adjustment device provided by an embodiment of the present disclosure. Detailed implementation manners
[0026] The following describes exemplary embodiments of the present disclosure with reference to the accompanying drawings. Various details included in the embodiments of the present disclosure are helpful for understanding and should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted below. It should be noted that, without conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
[0027] The following describes a volume adjustment method, device, and electronic device according to embodiments of the present disclosure with reference to the accompanying drawings.
[0028] In order to solve the problems that the existing technology is only applicable to the field of shared vehicles and cannot meet the diverse market demands, and that the existing volume adjustment technology relies on receiving volume adjustment instructions from a server for volume adjustment, which may be affected by network latency and network instability, resulting in untimely or failed volume adjustment and thus reducing user satisfaction.
[0029] This embodiment provides a volume adjustment method, as Figure 1 shown, the method includes:
[0030] Step 101, obtain the environmental perception information of the terminal device and obtain the attribute information of the target geographical fence area.
[0031] Among them, the terminal device can be a device equipped with a positioning system and capable of connecting to the Internet, such as a smart phone, a tablet computer, a wearable device, a shared vehicle, etc.;
[0032] The environmental perception information may include physical environmental factors such as environmental noise value, air pressure level, temperature, light level, vibration, acceleration, etc., and user behavior information, such as the user's driving mode, activity information, user preferences, etc.;
[0033] The target geofence location can be a specific virtual boundary defined by geofence technology for the terminal device to enter or leave. It can be created based on GPS coordinates and is used to define the boundary of a specific location, such as a school, hospital, commercial area, etc. The terminal device can detect whether it enters or leaves the target geofence location through technologies such as GPS.
[0034] The attribute information can be specific characteristics related to the target geofence location. The attribute information can include information such as the location type (e.g., school, hospital, commercial area, etc.) and time factors.
[0035] For the embodiments of the present disclosure, the attribute information of the target geofence location can be obtained according to the location information of the terminal device in combination with geofence technology, and the environmental perception information around the terminal device that can be collected by the sensors of the terminal device (such as microphones, accelerometers, temperature sensors, etc.).
[0036] Through the environmental perception information and the attribute information, the volume value of the terminal device can be determined more accurately, and the volume can be adjusted based on the volume value to provide a better user experience.
[0037] Step 102: Determine the volume value of the terminal device according to the environmental perception information and the attribute information.
[0038] In specific application scenarios, different environmental noise values, external factor information, and user behavior information (i.e., environmental perception information) may have different volume requirements for the terminal device. For example, different air pressure levels and light levels have different volume requirements for the terminal device. In a low air pressure level or low light environment, users may need a higher volume to clearly hear the sound.
[0039] In specific application scenarios, such as Figure 2 As shown, different types of locations may have different volume requirements for the terminal device. For example, in locations with clear requirements to keep quiet, such as libraries, hospitals, etc., the device can be defined as being in a quiet environment, and the device can be adjusted to the mute mode or vibration mode; in locations without special mute requirements, such as homes, offices, etc., if the external sound is not noisy, the device can be defined as being in a normal environment, and an appropriate volume can be maintained so as not to disturb others; in locations without special mute requirements, if the external sound is significantly noisy, the device can be defined as being in a noisy environment, such as stadiums, concert venues, next to traffic arteries, etc., and the device volume can be increased so as to hear the device sound in the background noise.
[0040] In specific application scenarios, different user preferences may have different volume requirements for the terminal device. For example, in a home environment, users may like a higher volume, while in a working environment, users may want to keep a lower volume.
[0041] In specific application scenarios, different times may have different volume requirements for the terminal device. For example, at night, a lower volume may be required to avoid disturbing others' rest.
[0042] In specific application scenarios, different activities may have different volume requirements for the terminal device. For example, when the user is engaged in special activities such as meetings, lectures, etc., specific volume values can be set.
[0043] For the embodiments of the present disclosure, the environmental noise level of the target geographical fence area can be comprehensively determined based on the environmental perception information and the place type of the attribute information, and the volume value of the terminal device can be determined according to the environmental noise level. The volume value of the terminal device can also be preset based on information such as user preferences, time factors, and special activities. Among them, the environmental noise level can include quiet environment, ordinary environment, and noisy environment. The higher the environmental noise level, the larger the volume value of the terminal device.
[0044] Step 103: Adjust the volume based on the volume value.
[0045] For the embodiments of the present disclosure, it can be verified whether the volume value meets the current user needs and environmental conditions. If it does not meet the current user needs and environmental conditions, the volume can be adjusted based on the volume value to adapt to the current user needs and environmental conditions and optimize the user experience.
[0046] In summary, according to a volume adjustment method of the present disclosure, the environmental perception information of the terminal device can be obtained, and the attribute information of the target geographical fence place can be obtained; the volume value of the terminal device can be determined according to the environmental perception information and the attribute information; and the volume can be adjusted based on the volume value. For the embodiments of the present disclosure, determining the volume value of the terminal device according to the environmental perception information and the attribute information and adjusting the volume based on the volume value do not require manual intervention by the user. Even in an emergency, the user can obtain an appropriate volume, thereby improving the user experience.
[0047] Further, as a refinement and extension of the above embodiments, in order to fully illustrate the specific implementation process of the method of this embodiment, this embodiment provides the Figure 3 specific method as shown. This method includes the following steps:
[0048] Step 201: If the place category is the target place category, determine the volume value of the terminal device as the first volume value.
[0049] Among them, the attribute information may include the place category; as Figure 4 shown, the environmental perception information may include the environmental noise value (i.e., the perception of external sounds), the external factor information (i.e., external conditions such as air pressure and light), and the user behavior information (i.e., the behavior perception such as the driving mode), etc. The target place category may be a place that requires silence such as a library, a hospital, etc.
[0050] For the embodiments of the present disclosure, the location information of the terminal device can be determined by the built-in GPS or other location sensors of the terminal device. The location information is used to determine whether the terminal device enters the target geographical fence area. If the terminal device enters the target geographical fence area, it is determined whether the area category of the target geographical fence area is the target area category. As Figure 4 shown, if the area category is the target area category, the volume value of the terminal device can be set to the first volume value. The first volume value can be the volume value of the terminal device under the target area category, and the first volume value can be the volume value in the silent mode or the vibration mode, so as to avoid disturbing others.
[0051] Step 202: If the area category is not the target area category, determine the environmental noise level of the target geographical fence area according to the environmental noise value, and / or external factor information, and / or user behavior information, and determine the volume value of the terminal device according to the environmental noise level.
[0052] For the embodiments of the present disclosure, if the terminal device enters the target geographical fence area and the area category of the target geographical fence area is not the target area category, the environmental noise level of the target geographical fence area can be determined according to the environmental noise value, and / or external factor information, and / or user behavior information.
[0053] The environmental noise level can include a first environmental noise level and a second environmental noise level. The first environmental noise level is less than the second environmental noise level. The first environmental noise level can be a normal environment, and the second environmental noise level can be a noisy environment.
[0054] Specifically, the environmental noise level can be determined to be the first environmental noise level or the second environmental noise level according to the environmental noise value, and / or external factor information, and / or user behavior information. The volume value of the terminal device is determined according to the first environmental noise level or the second environmental noise level.
[0055] Determining the environmental noise level to be the first environmental noise level or the second environmental noise level according to the environmental noise value can specifically include:
[0056] If the environmental noise value is within the preset environmental noise value range, the environmental noise level is determined to be the first environmental noise level;
[0057] If the environmental noise value is greater than the preset environmental noise value range, the environmental noise level is determined to be the second environmental noise level.
[0058] The environmental noise value can include the intensity, frequency, and type of the sound, and can be used to reflect the surrounding environmental noise level. The preset environmental noise value range can be an acceptable environmental noise range set according to the actual environment and user needs, and can be used to distinguish different environmental noise levels.
[0059] In a specific application scenario, the larger the environmental noise value is, the higher the current environmental noise level is, and the noisier the environment is. If the environmental noise value is within the preset environmental noise value range, it can indicate that the environmental noise level is in a relatively low noise level state, and the environmental noise level can be determined as the first environmental noise level (i.e., normal environment). At the first environmental noise level, the volume value of the terminal device can be adjusted to a medium volume value, that is, the second volume value.
[0060] If the environmental noise value is greater than the preset environmental noise value range, it can indicate that the environmental noise level is in a relatively high noise level state, and the environmental noise level can be determined as the second environmental noise level (i.e., noisy environment). At the second environmental noise level, the volume value of the terminal device can be adjusted to a high volume value, that is, the third volume value.
[0061] Specifically, according to the external factor information, the environmental noise level is determined as the first environmental noise level or the second environmental noise level, where the external factor information may include the air pressure level and the light level, specifically including:
[0062] If the air pressure level is within the preset air pressure level range, and / or the light level is within the preset light level range, the environmental noise level is determined as the first environmental noise level;
[0063] If the air pressure level is less than the preset air pressure level range, and / or the light level is less than the preset light level range, the environmental noise level is determined as the second environmental noise level.
[0064] Among them, the preset air pressure level range can be an acceptable air pressure level range set according to the actual environment and user needs, and the preset light level range can be an acceptable light level range set according to the actual environment and user needs.
[0065] In a specific application scenario, the lower the air pressure level is, the slower the speed and efficiency of sound wave propagation may be, resulting in the weaker the intensity of the sound played by the terminal device may be. If the air pressure level is within the preset air pressure level range, it can indicate that the user can clearly hear the sound played by the terminal device, and the environmental noise level can be determined as the first environmental noise level (i.e., normal environment). At the first environmental noise level, the volume value of the terminal device can be adjusted to a medium volume value, that is, the second volume value.
[0066] If the air pressure level is less than the preset air pressure level range, it can indicate that the user cannot clearly hear the sound played by the terminal device, and the environmental noise level can be determined as the second environmental noise level (i.e., noisy environment). The volume value of the terminal device can be adjusted to a high volume value, that is, the third volume value, to ensure that the user can clearly hear the sound by increasing the volume, so as to provide a better user experience.
[0067] In a specific application scenario, the lower the light level, the lower the user's visual perception ability, and the more the user relies on the auditory information provided by the terminal device. If the light level is within a preset light level range, it can indicate that the user has a strong visual perception ability, and the ambient noise level can be determined as the first ambient noise level (i.e., normal environment). At the first ambient noise level, the volume value of the terminal device can be adjusted to a medium volume value, that is, the second volume value.
[0068] If the light level is less than the preset light level range, it can indicate that the user's visual perception ability is weak. The volume can be increased to compensate for the visual deficiency. The ambient noise level can be determined as the second ambient noise level (i.e., noisy environment), and the volume value of the terminal device can be adjusted to a high volume value, that is, the third volume value, to ensure that the user can clearly hear the sound and provide necessary information in the case of insufficient visual assistance.
[0069] Specifically, according to the user behavior information, the ambient noise level is determined as the first ambient noise level or the second ambient noise level, where the user behavior information may include the driving mode, specifically including:
[0070] If the driving mode of the terminal device is not the target driving mode, the ambient noise level is determined as the first ambient noise level;
[0071] If the driving mode of the terminal device is the target driving mode, the ambient noise level is determined as the second ambient noise level.
[0072] Among them, the second volume value is greater than the first volume value, and the third volume value is greater than the second volume value. The target driving mode can be a situation that requires the user's attention and response, such as an emergency braking mode.
[0073] In a specific application scenario, if the driving mode of the terminal device is the high-speed driving mode and the vehicle is traveling at a relatively high speed, to reduce the interference to the user during the driving process, the ambient noise level can be determined as the first ambient noise level (i.e., normal environment). At the first ambient noise level, the volume value of the terminal device can be adjusted to a medium volume value, that is, the second volume value, to reduce the interference to the user during the driving process.
[0074] If the driving mode of the terminal device is the emergency braking mode, to ensure that the user can clearly hear the important safety information on the terminal device, such as emergency braking prompts or emergency avoidance guides, etc., the ambient noise level can be determined as the second ambient noise level (i.e., noisy environment), and the volume value of the terminal device can be adjusted to a high volume value, that is, the third volume value, to ensure the transmission of safety information by increasing the volume.
[0075] For the embodiments of the present disclosure, as a possible implementation, if the determined ambient noise levels are inconsistent based on the ambient noise value, and / or external factor information, and / or user behavior information, the maximum ambient noise level among multiple different ambient noise levels may be selected as the final ambient noise level.
[0076] Exemplarily, if the ambient noise level of the target geofenced location is determined to be the second ambient noise level (i.e., a noisy environment) based on the ambient noise value, the ambient noise level of the target geofenced location is determined to be the second ambient noise level (i.e., a noisy environment) based on the external factor information, and the ambient noise level of the target geofenced location is determined to be the first ambient noise level (i.e., a normal environment) based on the user behavior information, then the second ambient noise level (i.e., a noisy environment) is taken as the final ambient noise level.
[0077] Specifically, determining the volume value of the terminal device according to the first ambient noise level or the second ambient noise level may include:
[0078] If the ambient noise level is the first ambient noise level, then determine the volume value of the terminal device to be the second volume value, where the second volume value is greater than the first volume value;
[0079] If the ambient noise level is the second ambient noise level, then determine the volume value of the terminal device to be the third volume value, where the third volume value is greater than the second volume value.
[0080] For the embodiments of the present disclosure, as Figure 4 shown, if the ambient noise level is the first ambient noise level (i.e., a normal environment), to ensure that the user can comfortably hear the sound of the terminal device and at the same time not disturb others, then the volume value of the terminal device may be determined to be the second volume value, where the second volume value may be the default volume value set under the first ambient noise level (i.e., a normal environment), and the second volume value may be a medium volume value.
[0081] As Figure 4 shown, if the ambient noise level is the second ambient noise level (i.e., a noisy environment), the relatively high ambient noise level may mask the sound played by the terminal device. To ensure that the user can still clearly hear the sound of the terminal device in a noisy environment, the volume value of the terminal device may be determined to be the third volume value, where the third volume value may be the default volume value set under the second ambient noise level (i.e., a noisy environment), and the third volume value may be a high volume value.
[0082] Step 203: If the location category of the attribute information is the target location category, do not adjust the volume value; if the location category of the attribute information is not the target location category, adjust the volume value according to the ambient noise value of the environment perception information.
[0083] For the embodiments of the present disclosure, asFigure 4 As shown, if the venue category of the attribute information is the target venue category, such as a library, a hospital, or other venues with clear requirements to keep quiet, the device can be adjusted to the silent mode or the vibration mode to avoid making any sound, and the volume value is not adjusted.
[0084] As Figure 4 shown, if the venue category of the attribute information is not the target venue category, such as a home, an office, or other venues without special silent requirements, the volume value can be adjusted according to the ambient noise value of the environmental perception information.
[0085] For the embodiments of the present disclosure, to adapt to different ambient noise levels and ensure that the user can hear clear sounds in any environment, the volume value can be adjusted according to the ambient noise value of the environmental perception information. Specifically, it may include:
[0086] If the volume value is the second volume value, and the ambient noise value is greater than the first preset ambient noise value and less than the second preset ambient noise value, the second volume value is adjusted to the fourth volume value, where the second preset ambient noise value is greater than the first preset ambient noise value, the fourth volume value is greater than the second volume value, and the fourth volume value is less than the third volume value;
[0087] If the volume value is the second volume value, and the ambient noise value is greater than the second preset ambient noise value, the second volume value is adjusted to the third volume value;
[0088] If the volume value is the third volume value, and the ambient noise value is less than the second preset ambient noise value, the third volume value is adjusted to the fourth volume value;
[0089] If the volume value is the third volume value, and the ambient noise value is less than the first preset ambient noise value, the third volume value is adjusted to the second volume value.
[0090] Among them, the first preset ambient noise value can be a relatively low ambient noise level value set in advance; the second preset ambient noise value can be a relatively high ambient noise level value set in advance.
[0091] For the embodiments of the present disclosure, as Figure 4 shown, if the volume value is the second volume value (i.e., the medium volume value) and the ambient noise value is less than or equal to the first preset ambient noise value, the second volume value can ensure the sound clarity of the terminal device, and there is no need to adjust the volume value of the terminal device;
[0092] If the volume value is the second volume value (i.e., medium volume value), and the ambient noise value is greater than the first preset ambient noise value and less than the second preset ambient noise value, at this time, the second volume value may not be sufficient to provide a clear auditory experience at the current noise level. Therefore, the second volume value can be adjusted to the fourth volume value to increase the loudness of the sound and ensure that the user can clearly hear the sound emitted by the terminal device. Among them, the fourth volume value can be the higher volume value under the ambient noise value between the first preset ambient noise value and the second preset ambient noise value.
[0093] If the volume value is the second volume value (i.e., medium volume value), and the ambient noise value is greater than the second preset ambient noise value, at this time, both the second volume value and the fourth volume value may not be sufficient to provide a clear auditory experience at the current noise level. Therefore, the second volume value can be adjusted to the third volume value to increase the loudness of the sound and ensure that the user can clearly hear the sound emitted by the terminal device.
[0094] If the volume value is the third volume value (i.e., high volume value), and the ambient noise value is greater than or equal to the second preset ambient noise value, the third volume value can ensure the sound clarity of the terminal device, and there is no need to adjust the volume value of the terminal device.
[0095] If the volume value is the third volume value (i.e., high volume value), and the ambient noise value is less than the second preset ambient noise value, it indicates that the current ambient noise level has decreased. To avoid the volume still being too high when the ambient noise decreases, causing discomfort to the user or disturbing others, the volume value can be adjusted from the third volume value to the fourth volume value (i.e., relatively high volume value) to ensure that the volume value matches the ambient noise level and provide a more comfortable and suitable auditory experience.
[0096] If the volume value is the third volume value (i.e., high volume value), and the ambient noise value is less than the first preset ambient noise value, it indicates that the current ambient noise level is relatively low. At this time, both the third volume value and the fourth volume value are still too high at the current ambient noise value. To reduce the discomfort of the user or disturbing others, the third volume value can be adjusted to the second volume value (i.e., medium volume value).
[0097] In summary, according to a volume adjustment method of the present disclosure, the ambient perception information of the terminal device can be obtained, and the attribute information of the target geographical fence location can be obtained; the volume value of the terminal device can be determined according to the ambient perception information and the attribute information; and the volume can be adjusted based on the volume value. For the embodiments of the present disclosure, determining the volume value of the terminal device according to the ambient perception information and the attribute information, and adjusting the volume based on the volume value, without manual intervention by the user. Even in an emergency, the user can obtain a suitable volume, thereby improving the user experience.
[0098] Based on the above Figure 1 、 Figure 3For the specific implementation of the method shown, this embodiment provides a volume adjustment device, as Figure 5 shown. The device includes: an acquisition module 31, a determination module 32, and an adjustment module 33;
[0099] The acquisition module 31 is used to acquire the environmental perception information of the terminal device and the attribute information of the target geographical fence location;
[0100] The determination module 32 is used to determine the volume value of the terminal device according to the environmental perception information and the attribute information;
[0101] The adjustment module 33 is used to adjust the volume based on the volume value.
[0102] In a specific application scenario, the attribute information includes the location category; the environmental perception information includes the environmental noise value, external factor information, and user behavior information. The determination module 32 can be used to, if the location category is the target location category, determine the volume value of the terminal device as the first volume value;
[0103] If the location category is not the target location category, determine the environmental noise level of the target geographical fence location according to the environmental noise value, and / or the external factor information, and / or the user behavior information, and determine the volume value of the terminal device according to the environmental noise level.
[0104] In a specific application scenario, the adjustment module 33 can be used to, if the location category is the target location category, not adjust the volume value;
[0105] If the location category is not the target location category, adjust the volume value according to the environmental noise value of the environmental perception information.
[0106] In a specific application scenario, the determination module 32 can be used to determine that the environmental noise level is the first environmental noise level or the second environmental noise level according to the environmental noise value, and / or the external factor information, and / or the user behavior information, where the first environmental noise level is less than the second environmental noise level; determine the volume value of the terminal device according to the first environmental noise level or the second environmental noise level.
[0107] In a specific application scenario, the determination module 32 can be used to, if the environmental noise value is within the preset environmental noise value range, determine the environmental noise level as the first environmental noise level;
[0108] If the environmental noise value is greater than the preset environmental noise value range, determine the environmental noise level as the second environmental noise level.
[0109] In a specific application scenario, the external factor information includes the air pressure level and the light level. The determination module 32 can be used to determine the environmental noise level as the first environmental noise level if the air pressure level is within a preset air pressure level range and / or the light level is within a preset light level range;
[0110] If the air pressure level is less than the preset air pressure level range and / or the light level is less than the preset light level range, the environmental noise level is determined as the second environmental noise level.
[0111] In a specific application scenario, the user behavior information includes the driving mode of the terminal device. The determination module 32 can be used to determine the environmental noise level as the first environmental noise level if the driving mode of the terminal device is not the target driving mode;
[0112] If the driving mode of the terminal device is the target driving mode, the environmental noise level is determined as the second environmental noise level.
[0113] In a specific application scenario, the determination module 32 can be used to determine the volume value of the terminal device as the second volume value if the environmental noise level is the first environmental noise level, and the second volume value is greater than the first volume value;
[0114] If the environmental noise level is the second environmental noise level, the volume value of the terminal device is determined as the third volume value, and the third volume value is greater than the second volume value.
[0115] In a specific application scenario, the adjustment module 33 can be used to not perform volume adjustment on the volume value if the place category is the target place category;
[0116] If the place category is not the target place category, the volume value is adjusted according to the environmental noise value of the environmental perception information.
[0117] In a specific application scenario, the adjustment module 33 can be used to adjust the second volume value to the fourth volume value if the volume value is the second volume value, and the environmental noise value is greater than the first preset environmental noise value and less than the second preset environmental noise value, where the second preset environmental noise value is greater than the first preset environmental noise value, the fourth volume value is greater than the second volume value, and the fourth volume value is less than the third volume value;
[0118] If the volume value is the second volume value and the environmental noise value is greater than the second preset environmental noise value, the second volume value is adjusted to the third volume value;
[0119] If the volume value is the third volume value and the ambient noise value is less than the second preset ambient noise value, then adjust the third volume value to the fourth volume value;
[0120] If the volume value is the third volume value and the ambient noise value is less than the first preset ambient noise value, then adjust the third volume value to the second volume value.
[0121] It should be noted that for other corresponding descriptions of each functional unit involved in the volume adjustment device provided in this embodiment, reference can be made to Figure 1 and Figure 3 the corresponding descriptions of the methods in, which will not be elaborated here.
[0122] Based on the above methods as shown in Figure 1 and Figure 3 correspondingly, the present disclosure also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above methods as shown in Figure 1 and Figure 3 are implemented.
[0123] Based on such an understanding, the technical solution of the present disclosure can be embodied in the form of a software product. The software product can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various implementation scenarios of the present disclosure.
[0124] Based on the above methods as shown in Figure 1 and Figure 3 as well as the virtual device embodiment shown in Figure 5 for the purpose of achieving the above object, the embodiments of the present disclosure also provide an electronic device, such as intelligent terminals such as smart phones, tablet computers, drones, and intelligent robots. The device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to implement the above methods as shown in Figure 1 and Figure 3 are implemented.
[0125] Optionally, the above physical device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, sensors, an audio circuit, a WI-FI module, and the like. The user interface may include a display screen (Display), an input unit such as a keyboard (Keyboard), etc. Optionally, the user interface may further include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.
[0126] Those skilled in the art can understand that the above-described physical device structure provided by the present disclosure does not constitute a limitation on the physical device, and may include more or fewer components, or combine certain components, or have different component arrangements.
[0127] The storage medium may also include an operating system and a network communication module. The operating system is a program for managing the hardware and software resources of the above physical device, and supports the operation of information processing programs and other software and / or programs. The network communication module is used to implement communication between components inside the storage medium, as well as communication between other hardware and software in the information processing physical device.
[0128] Based on the above methods as Figure 1 and Figure 3 shown, and Figure 5 the virtual device embodiments shown, this embodiment also provides a chip, including one or more interface circuits and one or more processors; the interface circuit is used to receive a signal from the memory of the electronic device and send the signal to the processor, and the signal includes computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device is caused to execute the above methods as Figure 1 and Figure 3 shown.
[0129] Through the description of the above embodiments, those skilled in the art can clearly understand that the present disclosure can be implemented by means of software plus a necessary general hardware platform, or can also be implemented by hardware. The volume adjustment method, device and electronic device provided by the present disclosure, compared with the prior art, the present disclosure obtains the environmental perception information of the terminal device and obtains the attribute information of the target geographical fence location; determines the volume value of the terminal device according to the environmental perception information and the attribute information; and adjusts the volume based on the volume value. For the embodiments of the present disclosure, determining the volume value of the terminal device according to the environmental perception information and the attribute information, and adjusting the volume based on the volume value, without manual intervention by the user, even in an emergency, the user can obtain an appropriate volume, thereby improving the user experience.
[0130] It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.
[0131] The above are only specific embodiments of the present application, enabling those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments herein, but rather to the broadest scope consistent with the principles and novel features claimed herein.
Claims
1. A volume adjustment method, characterized in that, Including: Obtaining the environmental perception information of the terminal device and obtaining the attribute information of the target geographical fence location; Determining the volume value of the terminal device according to the environmental perception information and the attribute information; Adjusting the volume based on the volume value.
2. The method according to claim 1, wherein The attribute information includes the location category; the environmental perception information includes the environmental noise value, external factor information, and user behavior information; The determining the volume value of the terminal device according to the environmental perception information and the attribute information includes: If the location category is the target location category, determining the volume value of the terminal device as the first volume value; If the location category is not the target location category, determining the environmental noise level of the target geographical fence location according to the environmental noise value, and / or the external factor information, and / or the user behavior information, and determining the volume value of the terminal device according to the environmental noise level.
3. The method according to claim 2, characterized in that, The adjusting the volume based on the volume value includes: If the location category is the target location category, not adjusting the volume value; If the location category is not the target location category, adjusting the volume value according to the environmental noise value of the environmental perception information.
4. The method according to claim 3, wherein The determining the environmental noise level of the target geographical fence location according to the environmental noise value, and / or the external factor information, and / or the user behavior information includes: Determining the environmental noise level as the first environmental noise level or the second environmental noise level according to the environmental noise value, and / or the external factor information, and / or the user behavior information, where the first environmental noise level is less than the second environmental noise level; The determining the volume value of the terminal device according to the environmental noise level includes: Determining the volume value of the terminal device according to the first environmental noise level or the second environmental noise level.
5. The method according to claim 4, wherein Determining the environmental noise level as the first environmental noise level or the second environmental noise level according to the environmental noise value includes: If the environmental noise value is within the preset environmental noise value range, determining the environmental noise level as the first environmental noise level; If the environmental noise value is greater than the preset environmental noise value range, determining the environmental noise level as the second environmental noise level.
6. The method according to claim 4, characterized in that, The external factor information includes the air pressure level and the light level; Determining the environmental noise level as the first environmental noise level or the second environmental noise level according to the external factor information includes: If the air pressure level is within the preset air pressure level range, and / or the light level is within the preset light level range, determining the environmental noise level as the first environmental noise level; If the air pressure level is less than the preset air pressure level range, and / or the light level is less than the preset light level range, determining the environmental noise level as the second environmental noise level.
7. The method according to claim 4, characterized in that The user behavior information includes the driving mode of the terminal device; Determining the environmental noise level as the first environmental noise level or the second environmental noise level according to the user behavior information includes: If the driving mode of the terminal device is not the target driving mode, the environmental noise level is determined as the first environmental noise level; If the driving mode of the terminal device is the target driving mode, the environmental noise level is determined as the second environmental noise level.
8. The method according to claim 4, characterized in that The determining the volume value of the terminal device according to the first environmental noise level or the second environmental noise level includes: If the environmental noise level is the first environmental noise level, the volume value of the terminal device is determined as the second volume value, and the second volume value is greater than the first volume value; If the environmental noise level is the second environmental noise level, the volume value of the terminal device is determined as the third volume value, and the third volume value is greater than the second volume value.
9. The method according to claim 8, wherein The adjusting the volume value according to the environmental noise value of the environmental perception information includes: If the volume value is the second volume value, and the environmental noise value is greater than the first preset environmental noise value and less than the second preset environmental noise value, the second volume value is adjusted to the fourth volume value, where the second preset environmental noise value is greater than the first preset environmental noise value, the fourth volume value is greater than the second volume value, and the fourth volume value is less than the third volume value; If the volume value is the second volume value, and the environmental noise value is greater than the second preset environmental noise value, the second volume value is adjusted to the third volume value; If the volume value is the third volume value, and the environmental noise value is less than the second preset environmental noise value, the third volume value is adjusted to the fourth volume value; If the volume value is the third volume value, and the environmental noise value is less than the first preset environmental noise value, the third volume value is adjusted to the second volume value.
10. A volume adjustment device, characterized in that, including: An acquisition module, configured to acquire the environmental perception information of the terminal device and acquire the attribute information of the target geographical fence location; A determination module, configured to determine the volume value of the terminal device according to the environmental perception information and the attribute information; An adjustment module, configured to adjust the volume based on the volume value.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
12. An electronic device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein When the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.
13. A chip, characterized in that, including one or more interface circuits and one or more processors; the interface circuit is configured to receive a signal from the memory of the electronic device and send the signal to the processor, and the signal includes computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device is caused to execute the method according to any one of claims 1 to 9.