Volume control method and device, wearable device, storage medium
By setting the first control mode and the second control mode in the volume control device, users can select the volume control method according to the scene, solving the problem of cumbersome operation of traditional volume control methods and difficulty in adapting to complex environments, achieving convenient and personalized volume adjustment, and improving user experience.
Patent Information
- Application Number
- CN202410739513.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2044-06-07
AI Technical Summary
The traditional volume control method is cumbersome to operate, making it difficult to adapt to noise changes in complex environments, reducing the user experience.
By setting the first control mode and the second control mode, the user can select the volume control mode according to the actual usage scenario. In the first control mode, the user adjusts the volume by triggering the action; in the second control mode, the device automatically senses the ambient noise and adjusts the volume.
It realizes users to flexibly choose volume control methods based on the scene, improves operational convenience and personalized needs, and ensures a clear and comfortable auditory experience in complex environments.
Smart Images

Figure CN118484166B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the technical field of volume adjustment, and more particularly, relates to a volume control method and device, a wearable device, and a storage medium. Background Art
[0002] With the continuous progress of technology, people have put forward higher requirements for the volume control function of smart wearable devices (such as smart glasses, earphones, etc.). Traditional volume control methods often rely on physical buttons or touch screens for manual adjustment, which is cumbersome and not intelligent enough. Especially in complex environments, such as noisy streets or public places, users may need to frequently adjust the volume to adapt to different environmental noises, which brings great inconvenience to users and reduces the user experience. Summary of the Invention
[0003] The purpose of the present disclosure is to provide a volume control method and device, a wearable device, and a storage medium to improve the user experience.
[0004] In the first aspect of the embodiments of the present disclosure, a volume control method is provided, including:
[0005] Determine a first trigger action corresponding to a first control mode and a second trigger action corresponding to a second control mode, where the first control mode and the second control mode are volume control modes of a first device;
[0006] When the first device is in the first control mode, adjust the volume of the first device based on a third trigger action of a first user;
[0007] When the first device is in the second control mode, adjust the volume of the first device based on a first environmental noise, where the first user is a user wearing the first device, and the first environmental noise is the noise of the environment where the first device is currently located.
[0008] In the second aspect of the embodiments of the present disclosure, a volume control device is provided, including:
[0009] A mode determination module: used to determine a first trigger action corresponding to a first control mode and a second trigger action corresponding to a second control mode, where the first control mode and the second control mode are volume control modes of a first device;
[0010] A first volume adjustment module: used to adjust the volume of the first device based on a third trigger action of a first user when the first device is in the first control mode;
[0011] Second volume adjustment module: used to adjust the volume of the first device based on the first ambient noise when the first device is in the second control mode, where the first user is the user wearing the first device, and the first ambient noise is the noise of the environment where the first device is currently located.
[0012] In a third aspect of the embodiments of the present disclosure, a wearable device is provided, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the steps of the above volume control method are implemented.
[0013] In a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above volume control method are implemented.
[0014] The beneficial effects of the volume control method, device, wearable device, and storage medium provided by the embodiments of the present disclosure are as follows:
[0015] By setting the first control mode and the second control mode in the embodiments of the present disclosure, users can flexibly select the volume control method according to the actual usage scenario, which not only meets the personalized needs but also improves the convenience of use. In the first control mode, the user can directly adjust the volume of the first device quickly through the third triggering action, achieving instant feedback and intuitive operation. In the second control mode, this embodiment can automatically sense the first ambient noise of the current environment and accordingly intelligently adjust the device volume to ensure that the user can still enjoy a clear and comfortable auditory experience in a complex environment. This environment-adaptive volume adjustment method not only reflects the humanized design of the technology but also effectively improves the user experience. The volume control method brings a more convenient and intelligent volume control experience to users through flexible control modes and intelligent environment perception capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the following drawings are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0017] Figure 1 It is a flowchart of the volume control method provided by an embodiment of the present disclosure;
[0018] Figure 2 It is a structural block diagram of the volume control device provided by an embodiment of the present disclosure;
[0019] Figure 3 A schematic block diagram of a wearable device provided by an embodiment of the present disclosure. Detailed implementation manners
[0020] In the following description, specific details such as specific system architectures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present disclosure. However, those skilled in the art should clearly understand that the present disclosure can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present disclosure.
[0021] To make the purpose, technical solutions, and advantages of the present disclosure clearer, the following will be described through specific embodiments with reference to the accompanying drawings.
[0022] Please refer to Figure 1 , Figure 1 A flowchart of a volume control method provided by an embodiment of the present disclosure, the method including:
[0023] S101: Determine a first trigger action corresponding to a first control mode and a second trigger action corresponding to a second control mode, where the first control mode and the second control mode are volume control modes of a first device.
[0024] In this embodiment, the first device may be smart glasses. The volume control method reflects the flexibility and intelligence of the first device in volume adjustment. The method allows the first device to automatically or manually adjust the volume according to different user requirements and environmental conditions. Setting specific trigger actions for different control modes is to enable users to conveniently and intuitively select the volume adjustment method they wish to use.
[0025] In this embodiment, two volume control modes are first defined: a first control mode (manual control mode) and a second control mode (environment-adaptive control mode). For each mode, the first device presets a specific trigger action. These trigger actions can be specific combinations of physical buttons, gestures on a touch screen, voice commands, etc. The first device continuously monitors the user's input. When the user performs a preset trigger action, the first device recognizes this action. The recognition of the trigger action usually depends on the sensors of the first device (such as a touch screen sensor, a microphone for voice recognition, a physical button sensor, etc.).
[0026] The first device can switch the volume control to the manual control mode through the user's first trigger action; and switch the volume control to the environment-adaptive control mode through the user's second trigger action;
[0027] In this embodiment, the design of these two control modes and corresponding triggering actions aims to provide the user with two-dimensional volume control options: one is an active and immediate adjustment, and the other is a passive and automatic adjustment that adapts to environmental changes. The user can select the most suitable volume control mode by performing the corresponding triggering actions according to their own needs or the current situation, so as to obtain a better auditory experience and usage convenience.
[0028] S102: When the first device is in the first control mode, adjust the volume of the first device based on the third triggering action of the first user.
[0029] In this embodiment, in the first control mode, the first device will wait for the user to perform a specific third triggering action to adjust the volume. These triggering actions can include pressing, sliding, and long-pressing physical buttons, or sliding, clicking, and gestures on the touch screen, etc.
[0030] The first device can detect the user's triggering action through built-in sensors (such as touch screen sensors, physical button sensors, etc.). Once the first device detects the third triggering action of the user, this embodiment can identify and parse the meaning of this action. For example, when the user slides the volume bar on the touch screen upward, the first device will recognize it as an instruction to increase the volume. According to the parsed instruction, the first device will perform the corresponding volume adjustment operation. This includes increasing the volume, decreasing the volume, muting, restoring to the default volume, etc. The specific adjustment amplitude and step size of the volume can be customized according to the settings of the first device and the user's preferences.
[0031] In the first control mode, the first device will continuously monitor the user's triggering action and adjust the volume in real time according to the user's operation. The user can change the volume setting at any time by performing the third triggering action.
[0032] S103: When the first device is in the second control mode, adjust the volume of the first device based on the first environmental noise. The first user is the user wearing the first device, and the first environmental noise is the noise of the environment where the first device is currently located.
[0033] In this embodiment, the second control mode is an environment adaptive control mode. In the environment adaptive control mode, the first device will continuously monitor the user's state (such as whether the user is in a stationary or moving state) or the environmental noise level, that is, the first environmental noise. The first environmental noise can be realized through a built-in noise sensor (such as a microphone). The first device will perform real-time analysis on the captured environmental noise, including identifying parameters such as the type, frequency, and intensity of the noise. Through the analysis, the first device can evaluate the degree of interference of the current environment on audio playback.
[0034] When the ambient noise is detected to increase, the first device will automatically increase the playback volume to ensure that the user can clearly hear the content; conversely, if the environment becomes quiet, the first device will appropriately reduce the volume to avoid being overly loud, protecting the user's hearing and reducing interference to the outside world.
[0035] In this embodiment, by intelligently analyzing the surrounding ambient noise and automatically adjusting the playback volume, it not only simplifies the user operation, improves the usability, but also ensures the best auditory experience in various environments.
[0036] From the above, it can be concluded that in this embodiment, by setting the first control mode and the second control mode, the user can flexibly select the volume control method according to the actual usage scenario, which not only meets the personalized needs but also improves the usability. In the first control mode, the user can directly adjust the volume of the first device through the third trigger action to achieve instant feedback and intuitive operation. In the second control mode, this embodiment can automatically sense the first ambient noise of the current environment and intelligently adjust the device volume accordingly to ensure that the user can still enjoy a clear and comfortable auditory experience in a complex environment. This environment-adaptive volume adjustment method not only reflects the user-friendly design of the technology but also effectively improves the user experience. This volume control method brings a more convenient and intelligent volume control experience to the user through flexible control modes and intelligent environment perception capabilities.
[0037] In an embodiment of the present disclosure, when the first device is in the first control mode, adjusting the volume of the first device based on the third trigger action of the first user includes:
[0038] In response to the third trigger action of the first user matching the fourth trigger action, adjusting the volume of the first device to the target volume.
[0039] In this embodiment, the operation process of the user adjusting the volume in the first control mode is further refined, and the fourth trigger action is introduced as a specific reference point for volume adjustment.
[0040] When the first device is in the first control mode where the user actively controls the volume, this embodiment waits for and identifies a specific operation (i.e., the third trigger action) performed by the user to guide the volume adjustment. The fourth trigger action refers to a preset volume adjustment benchmark. The third trigger action performed by the user needs to match a previously defined fourth trigger action to determine the specific volume adjustment behavior. For example, the third trigger action may be that the user swipes right on the touchpad to increase the volume, and the fourth trigger action is a preset swipe amplitude or number of times, which determines the volume level to be increased each time.
[0041] In this embodiment, after it is recognized that the third trigger action and the fourth trigger action match successfully, the first device can adjust the volume to the target volume according to a preset algorithm.
[0042] In this embodiment, when the user manually controls the volume, a more intuitive and precise control experience can be obtained. This embodiment not only recognizes the user's intention to adjust the volume (the third trigger action), but also automatically completes the adjustment to a specific target volume through matching with a preset benchmark (the fourth trigger action), simplifying the operation process and improving the interaction efficiency and user satisfaction.
[0043] In an embodiment of the present disclosure, adjusting the volume of the first device to the target volume includes:
[0044] When the current volume is greater than or equal to the target volume, adjust the current volume to the target volume according to the adjustment step size;
[0045] When the current volume is less than the target volume, adjust the current volume to the target volume according to the first formula;
[0046] The first formula is:
[0047]
[0048] Wherein, is the current volume, is the target volume, is the adjustment step size, is the new volume adjusted based on the adjustment step size
[0049] The calculation formula of the adjustment step size is:
[0050]
[0051] Wherein, is the user's identity characteristic (such as age, gender, etc.), is the current environmental characteristic (such as temperature, humidity, noise intensity, etc.), is the number of identity characteristics, is the number of environmental characteristics.
[0052] In this embodiment, the volume adjustment method can also adjust the volume based on the difference between the current volume and the target volume, as well as the adjustment step size calculated according to the user identity characteristics and environmental characteristics.
[0053] In this embodiment, when the current volume is greater than or equal to the target volume, the volume can be directly adjusted to the target volume according to the adjustment step size. This is because when the volume needs to be decreased, since the decrease in volume is gradually perceived, direct setting usually does not cause discomfort to the user.
[0054] When the current volume is less than the target volume, the volume needs to be increased until the target volume is reached. If the current volume is directly jumped to the target volume, it will cause an impact on the user's ears. To avoid the impact on the user's ears caused by a sudden increase in volume, in this embodiment, the volume will not be directly jumped to the target volume, but a smooth transition method is adopted. As time goes by, the volume gradually increases until the set target volume is reached.
[0055] In this embodiment, the design of the adjustment step size takes into account the user's identity characteristics and environmental characteristics. The first device in this embodiment can interact with a mobile terminal (such as a mobile phone), and the first device can obtain the user's identity information and the environmental information where the user is located through the mobile terminal. By comprehensively considering the user's identity characteristics and environmental characteristics, an index that can reflect the reasonable value of the volume adjustment step size in the current situation is obtained. For example, if the user is older or has poor hearing, a smaller step size may be required to avoid discomfort caused by sudden volume changes; while if the environmental noise is large, a larger step size may be required to ensure that the volume is large enough to cover the noise.
[0056] In this embodiment, through the above calculation formula of the adjustment step size, an intelligent and personalized volume adjustment experience can be provided for the user. By comprehensively considering the user's identity characteristics (such as age, gender, etc.) and the current environmental characteristics (such as noise intensity, temperature, etc.), this embodiment can calculate the most suitable volume adjustment step size for the current situation. This intelligent adjustment not only ensures the smoothness of the volume change, reduces the impact of volume mutation on the user's ears, but also optimizes according to the user's personal preferences and environmental conditions, thus providing a more comfortable and natural listening experience. Whether in a noisy public place or a quiet private space, the user can enjoy the tailored volume adjustment service, greatly improving the convenience and satisfaction of use.
[0057] In an embodiment of the present disclosure, when the first device is in the second control mode, adjusting the volume of the first device based on the first environmental noise includes:
[0058] Determining a first volume corresponding to the second environmental noise;
[0059] Adjusting the first volume based on the relative magnitudes of the first environmental noise and the second environmental noise to obtain a target volume;
[0060] The second environmental noise is the noise of the environment where the first device was previously located;
[0061] Adjusting the volume of the first device to the target volume.
[0062] In this embodiment, first, a historical reference point, i.e., the second ambient noise, is identified and remembered, which represents the ambient noise level of the first device at a certain past time point or scenario. Based on this second ambient noise, an initial volume value, i.e., the first volume, is preset in this embodiment to match it.
[0063] The first volume is the volume of the user under the second ambient noise. In this embodiment, the first volume of the first device under the second ambient noise can be identified. When the duration of the first volume exceeds the set time, it is considered that the first volume is the comfortable volume of the user.
[0064] In this embodiment, when the first device is in the second control mode (such as the automatic environment adaptation mode), this embodiment can automatically adjust the volume according to the current first ambient noise and the second ambient noise in the historical record. Specifically, the first device first detects the current first ambient noise and determines a first volume corresponding to the first ambient noise as the initial value according to a preset rule or algorithm. Then, the first device reviews the historical record, finds the second ambient noise of the previous environment, and compares the relative magnitudes of the first ambient noise and the second ambient noise. Based on the relative magnitudes of the two, this embodiment dynamically adjusts the first volume to adapt to the current environment. If the current ambient noise is higher than the historical reference noise, this embodiment will moderately increase the volume to ensure that the content is clearly audible; conversely, if the current environment is quieter, the volume will be decreased to avoid discomfort or interference caused by excessive loudness. Based on this comparison result, the first device will make corresponding adjustments to the first volume to obtain a target volume that is more suitable for the current environment. Finally, the first device will adjust the volume to this target volume.
[0065] In this embodiment, the volume of the first device can be intelligently adjusted according to the historical noise data of the environment where the first device is located and the current noise situation. This intelligent volume adjustment function based on ambient noise not only improves the intelligence and adaptability of the first device but also significantly enhances the user experience. Without the need for the user to frequently manually adjust the volume, the first device can automatically adjust to a suitable volume according to the change of ambient noise, enabling the user to obtain a clear and comfortable auditory experience in various environments.
[0066] In an embodiment of the present disclosure, determining the first volume corresponding to the second ambient noise includes:
[0067] In response to the duration of a certain volume of the first device under the second ambient noise reaching a first time, determining that volume as the first volume corresponding to the second ambient noise.
[0068] In this embodiment, determining the first volume corresponding to the second ambient noise is based on the statistical result of the duration of the first device at a certain volume in the second ambient noise. When the first device operates at a specific volume and the duration of this volume in the environment with the second ambient noise reaches a preset first time threshold, this volume will be automatically determined as the first volume corresponding to the second ambient noise.
[0069] That is, the first device will record its volume usage in different ambient noises. Especially when the first device operates stably at a certain volume and this state lasts for a period of time (i.e., reaches the first time threshold), the first device will determine that this volume is appropriate in the current ambient noise and associate it with the current ambient noise (i.e., the second ambient noise). In this way, when the first device is again in a similar ambient noise (the second ambient noise), it can quickly select an appropriate volume based on the previously recorded information.
[0070] In this embodiment, the volume control method does not simply determine the volume based on the instantaneous ambient noise intensity, but combines the user's actual usage habits and time factors, making the determined volume more personalized and practical. By considering the volume preference that the user maintains for a long time in a specific noise environment, in this embodiment, it is possible to more accurately learn and simulate the user's auditory preference, so as to automatically adjust to the volume level that the user may feel most comfortable in future similar environments. This not only improves the accuracy of automatic adjustment but also enhances the user experience, making the intelligent adjustment function of the first device closer to the real needs of users.
[0071] In an embodiment of the present disclosure, adjusting the first volume based on the relative magnitudes of the first ambient noise and the second ambient noise to obtain a target volume includes:
[0072] Determining a first noise coefficient of the first ambient noise and a second noise coefficient of the second ambient noise;
[0073] Adjusting the first volume to the target volume based on the ratio of the first noise coefficient to the second noise coefficient.
[0074] In this embodiment, the first device can respectively determine the first noise coefficient of the first ambient noise and the second noise coefficient of the second ambient noise. These noise coefficients can be quantitative indicators calculated based on various factors such as the volume level, frequency distribution, and duration of the ambient noise, and are used to reflect the characteristics of different ambient noises.
[0075] Next, the first device will calculate the ratio of the first noise coefficient to the second noise coefficient, and this ratio represents the relative change degree of the current ambient noise to the historical ambient noise. For example, if the first noise coefficient is larger than the second noise coefficient, it means that the current ambient noise is more noisy than the historical ambient noise.
[0076] Finally, based on this ratio, the first device will adjust the first volume accordingly to obtain a target volume that is more suitable for the current environment.
[0077] In this embodiment, by introducing the calculation of the noise coefficient and its ratio, this embodiment can adjust the volume more precisely according to the change amplitude of the environmental noise, making the volume adjustment more delicate and accurate. This method not only considers the absolute noise level but also the noise change trend, so it can better meet the actual needs of users in different scenarios and improve the adaptability and user experience of intelligent devices.
[0078] In an embodiment of the present disclosure, it further includes:
[0079] If the duration for which the adjusted volume is greater than the second volume exceeds the second time, control the first device to send out a first prompt message;
[0080] If the duration for which the adjusted volume is greater than the second volume exceeds the third time, control the first device to enter the noise reduction mode, where the noise reduction mode is a mode in which the first device operates in a noise reduction manner.
[0081] In this embodiment, a monitoring mechanism for when the adjusted volume continuously exceeds a certain threshold (the second volume) is introduced, and corresponding prompt or adjustment measures are taken accordingly to protect the user's hearing health and improve the usage experience.
[0082] In this embodiment, when the volume adjusted by the first device is greater than the preset second volume, this embodiment starts to monitor the duration of this high - volume state. If the duration of the state where the adjusted volume is greater than the second volume exceeds the second time, this embodiment can control the first device to send out a first prompt message. This prompt can be a visual warning (such as a notification on the screen), an auditory signal (such as a short beep), or a vibration reminder, aiming to notify the user that the current volume is relatively high, there may be a risk of hearing damage, and it is recommended to adjust. If the high - volume state duration further extends and exceeds the third time, this embodiment will automatically switch the first device to the noise reduction mode. The noise reduction mode usually involves enhancing the active noise reduction function of the first device. By analyzing and canceling out external environmental noise, even at a lower volume, the user can clearly hear the content played by the first device, thus avoiding the need for long - time high - volume playback and protecting the user's hearing. The first device consumes a large amount of power when performing noise reduction. To save power, this embodiment only performs noise reduction processing on environmental noise after entering the noise reduction mode.
[0083] In this embodiment, the volume control method not only provides an intelligent volume adjustment function, but also incorporates elements of user health care. Through timely reminders and automatic noise reduction function adjustments, it ensures that while users enjoy a high-quality audio experience, they also receive necessary hearing protection.
[0084] In one embodiment of the present disclosure, it further includes:
[0085] When the first device is in the noise reduction mode, update the first ambient noise to the ambient noise after the first device's noise reduction processing.
[0086] In this embodiment, in the noise reduction mode, the original first ambient noise (i.e., the actual ambient noise level without processing) is not directly used to continue adjusting the volume. Instead, the noise data is updated to the ambient noise after the first device's noise reduction processing. This means that in this embodiment, the ambient noise level actually perceived by the user after noise reduction processing is used, rather than the intensity of the unprocessed background noise. Based on this updated ambient noise value, this embodiment can more accurately adjust the volume, ensuring that while users enjoy the quiet experience brought by noise reduction, the playback volume of the audio content is still appropriate, neither being too loud due to excessive noise reduction nor being too low due to excessive suppression of external noise, thus affecting the auditory experience.
[0087] This embodiment ensures the accuracy of volume adjustment and the consistency of the user experience in the noise reduction mode. By reflecting the ambient conditions after noise reduction processing in real time, the first device can more intelligently adapt to the current actual auditory environment, providing users with an auditory enjoyment that not only protects hearing but also is distortion-free and comfortable.
[0088] Corresponding to the volume control method in the above embodiment, Figure 2 It is a structural block diagram of a volume control device provided in an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiments of the present disclosure are shown. Refer to Figure 2 and the volume control device 20 includes: a mode determination module 21, a first volume adjustment module 22, and a second volume adjustment module 23.
[0089] Among them, the mode determination module 21: is used to determine a first trigger action corresponding to a first control mode and a second trigger action corresponding to a second control mode, where the first control mode and the second control mode are volume control modes of the first device;
[0090] The first volume adjustment module 22: is used to adjust the volume of the first device based on a third trigger action of a first user when the first device is in the first control mode;
[0091] Second volume adjustment module 23: Used to adjust the volume of the first device based on the first environmental noise when the first device is in the second control mode. The first user is the user wearing the first device, and the first environmental noise is the noise of the environment where the first device is currently located.
[0092] In an embodiment of the present disclosure, the first volume adjustment module 22 is specifically configured to:
[0093] In response to the third trigger action of the first user matching the fourth trigger action, adjust the volume of the first device to the target volume.
[0094] In an embodiment of the present disclosure, the second volume adjustment module 23 is specifically configured to:
[0095] Determine the first volume corresponding to the second environmental noise;
[0096] Adjust the first volume based on the relative magnitudes of the first environmental noise and the second environmental noise to obtain the target volume;
[0097] The second environmental noise is the noise of the environment where the first device was historically located;
[0098] Adjust the volume of the first device to the target volume.
[0099] In an embodiment of the present disclosure, the second volume adjustment module 23 is specifically further configured to:
[0100] In response to the duration of a certain volume of the first device under the second environmental noise reaching the first time, determine that volume as the first volume corresponding to the second environmental noise.
[0101] In an embodiment of the present disclosure, the second volume adjustment module 23 is specifically further configured to:
[0102] Determine the first noise coefficient of the first environmental noise and the second noise coefficient of the second environmental noise;
[0103] Adjust the first volume to the target volume based on the ratio of the first noise coefficient and the second noise coefficient.
[0104] In an embodiment of the present disclosure, the volume control device 20 further includes: a third volume adjustment module; the third volume adjustment module is specifically configured to:
[0105] If the duration of the adjusted volume being greater than the second volume exceeds the second time, control the first device to issue a first prompt message;
[0106] If the duration of the adjusted volume being greater than the second volume exceeds the third time, control the first device to enter the noise reduction mode, and the noise reduction mode is the mode in which the first device operates in noise reduction.
[0107] In an embodiment of the present disclosure, the third volume adjustment module is further specifically configured to:
[0108] When the first device is in the noise reduction mode, update the first environmental noise to the environmental noise after the noise reduction processing of the first device.
[0109] Refer to Figure 3 , Figure 3 which is a schematic block diagram of a wearable device provided by an embodiment of the present disclosure. As Figure 3 shown, the wearable device 300 in this embodiment may include: one or more processors 301, one or more input devices 302, one or more output devices 303, and one or more memories 304. The above-mentioned processors 301, input devices 302, output devices 303, and memories 304 communicate with each other through a communication bus 305. The memory 304 is used to store computer programs, and the computer programs include program instructions. The processor 301 is used to execute the program instructions stored in the memory 304. Among them, the processor 301 is configured to call the program instructions to execute the functions of each module in the above-mentioned device embodiments, such as Figure 2 the functions of the modules 21 to 23 shown.
[0110] It should be understood that in the embodiments of the present disclosure, the so-called processor 301 may be a central processing unit (CPU), and this processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or this processor may also be any conventional processor, etc.
[0111] The input device 302 may include a touchpad, a fingerprint acquisition sensor (for acquiring the fingerprint information and the fingerprint direction information of the user), a microphone, etc., and the output device 303 may include a display (such as an LCD), a speaker, etc.
[0112] The memory 304 may include a read-only memory and a random access memory, and provide instructions and data to the processor 301. A part of the memory 304 may also include a non-volatile random access memory. For example, the memory 304 may also store information about the device type.
[0113] In a specific implementation, the processor 301, input device 302, and output device 303 described in the embodiments of the present disclosure may execute the implementation manners described in the first and second embodiments of the volume control method provided by the embodiments of the present disclosure, and may also execute the implementation manner of the wearable device described in the embodiments of the present disclosure, which will not be elaborated herein.
[0114] In another embodiment of the present disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, all or part of the processes in the method of the foregoing embodiments are implemented. It can also be completed by instructing relevant hardware through the computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the foregoing method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc.
[0115] The computer-readable storage medium may be an internal storage unit of the wearable device in any of the foregoing embodiments, such as the hard disk or memory of the wearable device. The computer-readable storage medium may also be an external storage device of the wearable device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc. equipped on the wearable device. Further, the computer-readable storage medium may also include both the internal storage unit and the external storage device of the wearable device. The computer-readable storage medium is used to store the computer program and other programs and data required by the wearable device. The computer-readable storage medium may also be used to temporarily store the data that has been output or will be output.
[0116] Those of ordinary skill in the art will realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of the examples have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this disclosure.
[0117] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the wearable device and unit described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0118] In several embodiments provided in this application, it should be understood that the disclosed wearable device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling or direct coupling or communication connection to each other can be an indirect coupling or communication connection through some interfaces or units, or can also be in the form of electrical, mechanical, or other connections.
[0119] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of this disclosure.
[0120] In addition, the functional units in various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0121] The above is only the specific implementation manner of this disclosure, but the protection scope of this disclosure is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or substitutions within the technical scope disclosed by this disclosure, and these modifications or substitutions should all be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be subject to the protection scope of the claims.
Claims
1. A volume control method, characterized in that: include: Determine a first trigger action corresponding to a first control mode and a second trigger action corresponding to a second control mode, wherein the first control mode and the second control mode are volume control modes of a first device, the first control mode is a manual control mode, and the second control mode is an environment adaptive control mode; When the first device is in the first control mode, adjusting the volume of the first device based on a third trigger action of the first user; When the first device is in the second control mode, adjusting the volume of the first device based on first environmental noise, the first user is a user wearing the first device, and the first environmental noise is noise in an environment where the first device is currently located; The step of adjusting the volume of the first device based on a third trigger action of the first user when the first device is in the first control mode includes: In response to the third trigger action of the first user matching the fourth trigger action, adjusting the volume of the first device to a target volume; Adjusting the volume of the first device to a target volume includes: In response to the current volume being greater than or equal to the target volume, adjusting the current volume to the target volume according to the adjustment step; In response to the current volume being less than the target volume, adjusting the current volume to the target volume according to a first formula; The first formula is: in, is the current volume, is the target volume, To adjust the step size, Based on the adjustment step size The new volume after adjustment; The calculation formula for adjusting the step size is: in, is the user's identity feature, For the current environmental characteristics, is the number of identity features, is the number of environmental features.
2. The volume control method according to claim 1, characterized in that: When the first device is in the second control mode, adjusting the volume of the first device based on the first environmental noise includes: Determine a first volume corresponding to the second ambient noise; Adjusting the first volume based on the relative magnitude of the first environmental noise and the second environmental noise to obtain a target volume; The second environmental noise is the noise of the environment in which the first device was historically located; Adjust the volume of the first device to a target volume.
3. The volume control method according to claim 2, characterized in that: The determining a first volume corresponding to the second environmental noise includes: In response to a duration of a certain volume of the first device under the second environmental noise reaching a first time, the volume is determined as a first volume corresponding to the second environmental noise.
4. The volume control method according to claim 2, characterized in that: The adjusting the first volume based on the relative magnitude of the first environmental noise and the second environmental noise to obtain a target volume includes: determining a first noise coefficient of the first environmental noise and a second noise coefficient of the second environmental noise; The first volume is adjusted to a target volume based on a ratio of the first noise figure to the second noise figure.
5. The volume control method according to claim 1, characterized in that: Also includes: If the duration of the adjusted volume being greater than the second volume exceeds a second time, controlling the first device to send a first prompt message; If the duration of the adjusted volume being greater than the second volume exceeds a third time, the first device is controlled to enter a noise reduction mode, where the noise reduction mode is a mode in which the first device operates in noise reduction.
6. The volume control method according to claim 5, characterized in that: Also includes: When the first device is in the noise reduction mode, the first environmental noise is updated to the environmental noise after noise reduction processing by the first device.
7. A volume control device, characterized in that: include: Mode determination module: used to determine a first trigger action corresponding to a first control mode and a second trigger action corresponding to a second control mode, wherein the first control mode and the second control mode are volume control modes of a first device, the first control mode is a manual control mode, and the second control mode is an environment adaptive control mode; A first volume adjustment module: configured to adjust the volume of the first device based on a third trigger action of the first user when the first device is in the first control mode; A second volume adjustment module: configured to adjust the volume of the first device based on a first environmental noise when the first device is in a second control mode, wherein the first user is a user wearing the first device, and the first environmental noise is the noise of an environment in which the first device is currently located; The first volume adjustment module is also used for: In response to the third trigger action of the first user matching the fourth trigger action, adjusting the volume of the first device to a target volume; Adjusting the volume of the first device to a target volume includes: In response to the current volume being greater than or equal to the target volume, adjusting the current volume to the target volume according to the adjustment step; In response to the current volume being less than the target volume, adjusting the current volume to the target volume according to a first formula; The first formula is: in, is the current volume, is the target volume, To adjust the step size, Based on the adjustment step size The new volume after adjustment; The calculation formula for adjusting the step size is: in, is the user's identity feature, For the current environmental characteristics, is the number of identity features, is the number of environmental features.
8. A wearable device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Control method of a health care earphone, health care earphone and computer readable storage medium
CN109756809A
Earphone control method, device and system and computer readable storage medium
CN116264655A