Volume adjustment method and device, storage medium and electronic equipment

Through real-time video capture equipment, the user status is automatically judged and the volume is adjusted, which solves the problem of low level of volume adjustment in the existing technology, improves the automation and intelligence of electronic devices, and improves the user experience.

CN119248222AInactive Publication Date: 2025-01-03南昌勤胜电子科技有限公司
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411303698.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2025-01-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the degree of automation of volume adjustment is low, and users need to manually operate the equipment to adjust the volume, which is inconvenient to use.

Method used

Video capture through the video acquisition device in real time, determine the user's status, and automatically adjust the volume according to the currently running application identifier and preset volume strategy, including down-regulating and restoring the volume, and even locking the screen when the user leaves.

Benefits of technology

It improves the automation and intelligence of electronic devices, reduces user manual operations, improves user experience, and realizes the function of automatically adjusting the volume according to the usage scenario.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248222A_ABST
    Figure CN119248222A_ABST
Patent Text Reader

Abstract

The invention provides a volume adjustment method and device, a storage medium and electronic equipment, and the electronic equipment can determine the current user state of a user according to a real-time video acquired by video acquisition equipment, and automatically judges whether the volume needs to be reduced according to the current user state. And if so, determining a use scene of the electronic equipment according to the current running application identifier, further determining a target volume down-regulation strategy, and automatically down-regulating the volume of the audio equipment based on the target volume down-regulation strategy. Therefore, a user can automatically turn down the volume of the audio equipment without manually operating equipment such as a mouse, a keyboard, a touchpad or a touch screen, and the volume can be turned down according to the use scene of the electronic equipment, so that the automation degree and the intelligence degree of the electronic equipment can be improved, the use of the user is facilitated, and the use experience of the user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of volume control, and in particular to a volume adjustment method, device, storage medium and electronic device. Background Art

[0002] Electronic devices, also known as computers, are electronic devices that can be used for high-speed computing. With the development of software and hardware technologies, in addition to computing functions, electronic devices can also support functions such as audio and video playback, online conferencing, and games, and can realize audio input and output by calling audio devices.

[0003] In some scenarios, the volume of the audio device needs to be adjusted to avoid interference to the user caused by the audio input and output functions of the electronic device. For example, when the audio device is outputting audio, if the user needs to make a call, the volume of the audio device can be lowered to avoid affecting the user's call.

[0004] However, in the prior art, users need to manually operate devices such as a mouse, keyboard, touchpad or touch screen, and adjust the volume of the audio device through a system operation interface or hot keys, which has a low degree of automation and is inconvenient for users. Summary of the invention

[0005] The purpose of this application is to solve at least one of the above-mentioned technical defects, especially the technical defects of low automation and inconvenience for users in the prior art.

[0006] In a first aspect, an embodiment of the present application provides a volume adjustment method, which is applied to an electronic device, wherein the electronic device is provided with an audio device and a video acquisition device; the method comprises:

[0007] Control the video acquisition device to acquire real-time video;

[0008] Determine the current user status of the user according to the real-time video;

[0009] If it is determined according to the current user state that the user enters the target state, the current running application identifier of the electronic device is obtained, and based on the correspondence between each of the current running application identifiers and the preset volume strategy, a target volume reduction strategy is determined; the target state is a user state that requires volume adjustment;

[0010] According to the target volume reduction strategy, the volume of the audio device is reduced.

[0011] In one of the embodiments, determining the target volume reduction strategy based on the correspondence between each of the currently running application identifiers and the preset volume strategy includes:

[0012] If each of the currently running application identifiers includes a network conference application identifier or an online education learning application identifier, the first strategy is used as the target volume reduction strategy; otherwise, the second strategy is used as the target volume reduction strategy;

[0013] The first strategy is used to reduce the volume of the audio device according to a preset volume reduction value; and the second strategy is used to mute the audio device.

[0014] In one embodiment, if the target volume reduction strategy is the first strategy, after reducing the volume of the audio device according to the target volume reduction strategy, the method further includes:

[0015] Performing action detection on the real-time video, and judging whether the user has made a preset volume adjustment action based on the result of the action detection;

[0016] If it is determined that the user makes a preset volume adjustment action, the volume of the audio device is adjusted again according to the action identifier of the target volume adjustment action and the preset action volume correspondence; wherein the target volume adjustment action is an audio adjustment action made by the user based on action detection.

[0017] In one embodiment, the method further comprises:

[0018] In response to the volume restoration instruction, the volume of the audio device is adjusted to the original volume; wherein the original volume is the volume of the audio device before the volume is lowered according to the target volume lowering strategy.

[0019] In one embodiment, the method further comprises:

[0020] If it is determined according to the current user state that the user switches from the target state to the non-target state, the volume restoration instruction is generated.

[0021] In one of the embodiments, the audio device includes an audio input device and an audio output device;

[0022] The step of lowering the volume of the audio device according to the target volume lowering strategy includes:

[0023] According to the target volume reduction strategy, the volume of the audio input device and the volume of the audio output device are respectively reduced.

[0024] In one embodiment, the method further comprises:

[0025] If the current user status is the user away status, then the continuous away time of the user is counted;

[0026] When the continuous absence time is greater than or equal to the preset time threshold, a screen lock operation is performed.

[0027] In a second aspect, an embodiment of the present application provides a volume adjustment device, which is applied to an electronic device, wherein the electronic device is provided with an audio device and a video acquisition device; the device comprises:

[0028] A video acquisition module, used to control the video acquisition device to acquire real-time video;

[0029] A status detection module, used to determine the current user status of the user according to the real-time video;

[0030] a strategy determination module, for obtaining the current running application identifier of the electronic device if it is determined according to the current user state that the user enters the target state, and determining the target volume reduction strategy based on the correspondence between each of the current running application identifiers and the preset volume strategy; the target state is the user state that needs to adjust the volume;

[0031] The volume reduction module is used to reduce the volume of the audio device according to the target volume reduction strategy.

[0032] In a third aspect, an embodiment of the present application provides a storage medium, in which computer-readable instructions are stored. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the volume adjustment method described in any of the above embodiments.

[0033] In a fourth aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: one or more processors, and a memory;

[0034] The memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the steps of the volume adjustment method described in any of the above embodiments are performed.

[0035] In the volume adjustment method, device, storage medium and electronic device provided in some embodiments of the present application, the electronic device can determine the current user status of the user based on the real-time video captured by the video capture device, and automatically determine whether the volume needs to be lowered. If necessary, the use scenario of the electronic device can be determined according to the current running application identifier, and then the target volume reduction strategy can be determined, and the volume of the audio device can be automatically lowered based on the target volume reduction strategy. In this way, the volume of the audio device can be automatically lowered without the user manually operating the mouse, keyboard, touchpad or touch screen and other devices, and the volume reduction can also be completed according to the use scenario of the electronic device, thereby improving the automation and intelligence of the electronic device, facilitating user use, and thus improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0037] Figure 1 One of the flowcharts of the volume adjustment method in one embodiment;

[0038] Figure 2 FIG2 is a second flow chart of a volume adjustment method in an embodiment;

[0039] Figure 3 is a structural schematic diagram of a volume adjustment device in one embodiment;

[0040] Figure 4 FIG. 4 is a diagram of the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0042] In some embodiments, the present application provides a volume adjustment method for an electronic device, wherein the electronic device refers to an intelligent electronic device that can run according to a code program, and may be, but is not limited to, an integrated desktop computer, a split desktop computer, a notebook computer, a laptop computer, etc.

[0043] Electronic devices include audio devices and video acquisition devices. Among them, audio devices refer to audio input / output devices in electronic devices. Video acquisition devices refer to devices with image acquisition functions in electronic devices, such as cameras. Audio devices and video acquisition devices can be embedded devices or external devices, and this document does not make specific restrictions on this.

[0044] For ease of description, the following embodiments are described using a laptop computer as an example, the audio device is the audio device of the laptop computer, and the video acquisition device is the camera of the laptop computer.

[0045] like Figure 1 As shown, the volume adjustment method provided by the present application may include the following steps:

[0046] S102: Control the video acquisition device to acquire real-time video.

[0047] In this step, the electronic device can continuously capture the video stream through the video acquisition device to obtain real-time video. It should be noted that the "acquisition" described in this application can be understood as continuous acquisition or periodic acquisition according to a preset acquisition cycle. For example, if the electronic device is turned on at time T1 and turned off at time T2, the real-time video can be acquired in at least one of the following two situations:

[0048] (1) The electronic device can continuously capture real-time video through a video capture device, and the video duration of the real-time video is (T2-T1).

[0049] (2) Electronic devices can collect data according to the preset collection cycle T1 and preset video duration T2, collect multiple real-time videos, and the video length of each real-time video is T2. For example, the electronic device can collect data from T1 to (T1+ T2) real-time video, from (T1+ T1) to (T1+ T1+ T2) real-time video, from (T1+2 T1) to (T1+2 T1+ T2) Real-time video during the period, and so on, until the electronic device is turned off.

[0050] S104: Determine the current user status of the user according to the real-time video.

[0051] The user refers to a user who uses an electronic device.

[0052] In this step, the electronic device can determine the current user status of the user based on the real-time video, so as to determine whether the volume of the audio device needs to be lowered based on the current user status. In one example, the electronic device can use a pre-trained user call recognition model to process the real-time video and obtain the current user status that reflects whether the user is on a call. It should be noted that the calls described in this article include but are not limited to telephone calls, online voice calls, etc., and this article does not make specific restrictions on this.

[0053] S106: If it is determined according to the current user state that the user enters the target state, the current running application identifier of the electronic device is obtained, and based on the corresponding relationship between each current running application identifier and a preset volume strategy, a target volume reduction strategy is determined.

[0054] Among them, the target state is the user state that needs to adjust the volume, that is, the user state that needs to lower the volume. In one example, the target state can be preset. The currently running application identifier can be the application identifier of the terminal application currently running on the electronic device. The volume policy correspondence can be the correspondence between the application identifier and the volume adjustment policy, which can be preset according to actual needs.

[0055] In this step, the electronic device can determine whether the user has entered the target state according to the current user state. If so, it can be determined that the volume needs to be lowered, otherwise, the volume may not be lowered. For example, when the electronic device detects that the user has entered a call state, the subsequent volume lowering step can be performed. For another example, when the electronic device detects that the user has entered a prone sleeping state, the subsequent volume lowering step can be performed.

[0056] During the process of executing the volume reduction step, the electronic device can obtain the current running application identifier of the local device, so as to determine the usage scenario of the electronic device according to the current running application identifier, and based on the pre-set volume strategy correspondence, determine the volume reduction strategy corresponding to the usage scenario as the target volume reduction strategy to be executed.

[0057] For example, if the currently running application identifier includes the application identifier of the music playback application and / or the application identifier of the video playback application, it can be determined that the electronic device is currently in the audio and video playback scene. In this case, the electronic device can use the volume reduction strategy corresponding to the audio and video playback scene as the target volume reduction strategy. For another example, if the currently running application identifier includes the application identifier of the game application, it can be determined that the electronic device is currently in the game scene, and the volume reduction strategy corresponding to the game scene can be used as the target volume reduction strategy.

[0058] S108: Lowering the volume of the audio device according to the target volume lowering strategy.

[0059] In this step, after determining the target volume reduction strategy, the electronic device can reduce the volume of the audio device from the first volume to the second volume according to the target volume reduction strategy. When the first volume is greater than zero, the second volume is less than the first volume; when the first volume is equal to zero, the second volume is equal to the first volume.

[0060] In one example, the audio device includes an audio input device and an audio output device. The audio input device may be a microphone, and the audio output device may be a speaker. In this case, S108 may include: according to the target volume reduction strategy, respectively reducing the volume of the audio input device and the volume of the audio output device. In this way, the present application can not only reduce the volume of the audio output device, but also automatically reduce the volume of the audio input device to avoid the audio input device collecting and transmitting the user's audio without the user noticing, thereby improving privacy and further improving the degree of automation and intelligence.

[0061] In the present application, the electronic device can determine the current user status of the user based on the real-time video captured by the video capture device, and automatically determine whether the volume needs to be lowered. If necessary, the use scenario of the electronic device can be determined according to the current running application identifier, and then the target volume reduction strategy can be determined, and the volume of the audio device can be automatically lowered based on the target volume reduction strategy. In this way, the volume of the audio device can be automatically lowered without the user manually operating the mouse, keyboard, touchpad or touch screen and other devices, and the volume can also be lowered according to the use scenario of the electronic device, thereby improving the automation and intelligence of the electronic device, facilitating user use, and thus improving the user experience.

[0062] In one embodiment, based on the correspondence between each currently running application identifier and a preset volume strategy, determining a target volume reduction strategy includes:

[0063] If each currently running application identifier includes a network conference application identifier or an online education and learning application identifier, the first strategy is used as the target volume reduction strategy; otherwise, the second strategy is used as the target volume reduction strategy.

[0064] Among them, the network conference application identifier refers to the application identifier of the network conference application, which can be an application for online conference functions. The online education and learning application identifier can be the application identifier of the online education and learning application, which can be an application with online education and / or online learning functions, including but not limited to online class applications and online word memorization applications.

[0065] The first strategy is used to lower the volume of the audio device according to a preset volume reduction value. In other words, after the volume is lowered according to the first strategy, the audio device is not necessarily in a muted state. For example, when the volume reduction value is V, when the volume of the audio device before the reduction is V1, after the volume is reduced according to the first strategy, the volume of the audio device is (V1- V), (V1- V) may be greater than zero. That is, after being adjusted down according to the first strategy, the audio device may perform audio output / input according to the volume adjusted down.

[0066] The second strategy is used to mute the audio device. In other words, after the volume is lowered according to the second strategy, the audio device must be in a mute state.

[0067] In this embodiment, the electronic device can determine whether there is a network conference application identifier or an online education application identifier among the currently running application identifiers to determine whether the electronic device is currently in a meeting scene or a learning scene. If the electronic device is currently in a meeting scene or a learning scene, the volume of the audio device can be lowered according to the first strategy, and the volume after lowering is not necessarily zero.

[0068] If the electronic device is not currently in a meeting or learning scenario, the volume of the audio device can be lowered according to the second strategy to mute the audio device. For example, when the electronic device is currently in an audio or video playback scenario, the audio input device and the audio output device of the electronic device can be muted respectively.

[0069] In this way, the volume can be turned down according to the usage scenario of the electronic device, thereby further improving the automation and intelligence of the electronic device and making it more convenient for users to use.

[0070] In one embodiment, if the target volume reduction strategy is the first strategy, after reducing the volume of the audio device according to the target volume reduction strategy, the method further includes:

[0071] Step A1: performing motion detection on the real-time video, and judging whether the user makes a preset volume adjustment action based on the result of the motion detection;

[0072] Step A3: If it is determined that the user makes a preset volume adjustment action, the volume of the audio device is adjusted again according to the action identifier of the target volume adjustment action and the preset action volume correspondence; wherein the target volume adjustment action is an audio adjustment action made by the user based on action detection.

[0073] In this embodiment, taking into account that the audio device may still cause interference to the user in a non-muted state, in order to further improve the degree of intelligence, in this embodiment, after lowering the volume of the audio device according to the preset volume reduction value, it is possible to detect whether the user makes an audio adjustment action based on the real-time video. If so, the volume of the audio device can be adjusted according to the audio adjustment action.

[0074] Specifically, after lowering the volume of the audio device according to the first strategy, the electronic device can perform action detection on the real-time video and determine whether the user makes a preset volume adjustment action. If the user makes a volume adjustment action, the volume of the audio device can be further adjusted according to the corresponding relationship between the target volume adjustment action made by the user and the preset action volume. It should be noted that in the process of further adjusting the volume, it is not limited to lowering the volume, but can also be raising the volume. The specific volume adjustment strategy can be determined based on the corresponding relationship between the target volume adjustment action and the preset action volume, and this document does not make specific restrictions on this.

[0075] The action volume correspondence refers to the correspondence between the action identifier of the volume adjustment action and the volume adjustment strategy, which can be set according to the actual situation. For example, the circle action corresponds to increasing the volume, the downward swing action corresponds to decreasing the volume, and the fist action corresponds to muting.

[0076] In one embodiment, the volume adjustment method provided by the present application may further include the following steps: in response to a volume restoration instruction, adjusting the volume of the audio device to the original volume; wherein the original volume is the volume of the audio device before the volume is lowered according to the target volume lowering strategy.

[0077] In this embodiment, the electronic device can automatically adjust the volume of the audio device to the volume before the volume reduction according to the volume recovery instruction, so as to automatically restore the audio device to the state before the volume reduction. In this way, the degree of automation and intelligence can be further improved.

[0078] Specifically, during the execution of step S108, the volume of the audio device is adjusted down from the first volume to the second volume. After the volume is adjusted down, if the electronic device receives a volume restoration instruction, the volume of the audio device can be restored from the second volume to the first volume.

[0079] It should be understood that the volume restoration instruction can be triggered by a user manually operating an input device of the electronic device (such as a mouse, keyboard, touch screen, touchpad, touch screen, etc.), or can be automatically triggered by the electronic device based on the result of video detection.

[0080] In one embodiment, the volume adjustment method provided by the present application may further include the following steps: if it is determined that the user switches from the target state to the non-target state according to the current user state, a volume recovery instruction is generated. In this embodiment, the electronic device may determine the current user state according to the real-time video, and determine whether the user exits the target state. If so, a volume recovery instruction may be automatically generated to enable the electronic device to automatically restore the volume of the audio device.

[0081] For example, when the electronic device recognizes that the user has exited a call, it indicates that the user has ended the call. In this case, the volume of the audio device can be restored.

[0082] In one embodiment, the volume adjustment method provided by the present application may further include the following steps:

[0083] Step B1: If the current user status is the user away status, then count the continuous away time of the user;

[0084] Step B3: When the continuous absence time is greater than or equal to the preset time threshold, the screen lock operation is executed.

[0085] Among them, the user away state refers to the state in which the user leaves the electronic device. If it is detected that the user leaves the electronic device, a timer can be used to count the continuous absence time of the user. When the continuous absence time is greater than or equal to the preset time threshold, the screen lock operation is performed to prevent other users from operating the electronic device, thereby improving security and automation.

[0086] In one example, the volume adjustment method provided by the present application may include the following steps:

[0087] S202: Control the video acquisition device to acquire real-time video;

[0088] S204: judging whether the user is in a call state according to the real-time video, if so, proceeding to step S206, otherwise, proceeding to step S208;

[0089] S206: Obtaining the identifier of the currently running application, and performing a muting operation on the speaker and the microphone, or lowering the volume of the speaker and the microphone according to the identifier of the currently running application;

[0090] S208: judging whether the user is in the user leaving state according to the real-time video, if so, proceeding to S210, otherwise, proceeding to S202;

[0091] S210: Execute screen lock operation.

[0092] The volume adjustment device provided in the embodiment of the present application is described below. The volume adjustment device described below and the volume adjustment method described above can refer to each other.

[0093] In one embodiment, the present application provides a volume adjustment device 300, which can be applied to an electronic device, and the electronic device can be provided with an audio device and a video acquisition device. Figure 3 As shown, the volume adjustment device 300 of the present application may include:

[0094] The video acquisition module 302 is used to control the video acquisition device to acquire real-time video;

[0095] A state detection module 304 is used to determine the current user state of the user according to the real-time video;

[0096] A strategy determination module 306, for obtaining the current running application identifier of the electronic device if it is determined according to the current user state that the user enters the target state, and determining the target volume reduction strategy based on the correspondence between each of the current running application identifiers and the preset volume strategy; the target state is the user state that needs to adjust the volume;

[0097] The volume down adjustment module 308 is configured to reduce the volume of the audio device according to the target volume down adjustment strategy.

[0098] In one embodiment, the policy determination module 306 of the present application includes:

[0099] a strategy determination unit, configured to use the first strategy as the target volume reduction strategy if each of the currently running application identifiers includes a network conference application identifier or an online education learning application identifier, and otherwise use the second strategy as the target volume reduction strategy;

[0100] The first strategy is used to reduce the volume of the audio device according to a preset volume reduction value; and the second strategy is used to mute the audio device.

[0101] In one embodiment, if the target volume reduction strategy is the first strategy, the volume adjustment device 300 of the present application may further include:

[0102] An action detection module is used to perform action detection on the real-time video, and determine whether the user makes a preset volume adjustment action based on the result of the action detection;

[0103] The volume adjustment module is used to adjust the volume of the audio device again according to the action identifier of the target volume adjustment action and the preset action volume correspondence if it is determined that the user makes a preset volume adjustment action; wherein the target volume adjustment action is an audio adjustment action made by the user based on action detection.

[0104] In one embodiment, the volume adjustment device 300 of the present application may further include:

[0105] The volume recovery module is used to adjust the volume of the audio device to the original volume in response to the volume recovery instruction; wherein the original volume is the volume of the audio device before the volume is lowered according to the target volume lowering strategy.

[0106] In one embodiment, the volume adjustment device 300 of the present application may further include:

[0107] The volume recovery instruction generating module is used for generating the volume recovery instruction if it is determined that the user switches from the target state to the non-target state according to the current user state.

[0108] In one embodiment, the audio device includes an audio input device and an audio output device. The volume down adjustment module 308 of the present application includes:

[0109] The volume down adjustment unit is used to respectively down adjust the volume of the audio input device and the volume of the audio output device according to the target volume down adjustment strategy.

[0110] In one embodiment, the volume adjustment device 300 of the present application may further include:

[0111] An absence duration statistics module, used for counting the continuous absence duration of the user if the current user status is the user absence status;

[0112] The frequency locking module is used to execute the screen locking operation when the continuous absence time is greater than or equal to a preset time threshold.

[0113] In one embodiment, the present application further provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the volume adjustment method in any embodiment.

[0114] In one embodiment, the present application further provides an electronic device, which may include an audio device, a video acquisition device, a memory, and one or more processors. The memory stores computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the electronic device may perform the steps of the volume adjustment method in any embodiment. In one example, the electronic device described in the present application may be a laptop computer.

[0115] Indicatively, Figure 4 This is a schematic diagram of the internal structure of an electronic device provided in an embodiment of the present application. In one example, the electronic device may be a desktop computer or a laptop computer. Figure 4 The electronic device 900 includes a processing component 902, which further includes one or more processors, and a memory resource represented by a memory 901, for storing instructions executable by the processing component 902, such as an application. The application stored in the memory 901 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 902 is configured to execute instructions to perform the steps of the volume adjustment method described in any of the above embodiments.

[0116] The electronic device 900 may further include a power supply component 903 configured to perform power management of the electronic device 900, a wired or wireless network interface 904 configured to connect the electronic device 900 to a network, and an input / output (I / O) interface 905. The electronic device 900 may operate based on an operating system stored in the memory 901, such as Windows Server™, Mac OS X™, Unix™, Linux™, Free BSD™, or the like.

[0117] Those skilled in the art will understand that the internal structure of the electronic device shown in the present application is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0118] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only includes those elements, but also includes other elements not clearly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements. Herein, "one", "one", "said", "the" and "it" may also include plural forms, unless the context clearly indicates another way. A plurality refers to at least two cases, such as 2, 3, 5 or 8, etc. "And / or" includes any and all combinations of the relevant listed items.

[0119] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.

[0120] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may 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 the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A volume adjustment method, characterized in that: Applied to electronic equipment, the electronic equipment is provided with an audio device and a video acquisition device; the method comprises: Control the video acquisition device to acquire real-time video; Determine the current user status of the user according to the real-time video; If it is determined according to the current user state that the user enters the target state, the current running application identifier of the electronic device is obtained, and based on the correspondence between each of the current running application identifiers and the preset volume strategy, a target volume reduction strategy is determined; the target state is a user state that requires volume adjustment; According to the target volume reduction strategy, the volume of the audio device is reduced.

2. The method according to claim 1, characterized in that The step of determining a target volume reduction strategy based on the correspondence between each of the currently running application identifiers and a preset volume strategy includes: If each of the currently running application identifiers includes a network conference application identifier or an online education learning application identifier, the first strategy is used as the target volume reduction strategy; otherwise, the second strategy is used as the target volume reduction strategy; The first strategy is used to reduce the volume of the audio device according to a preset volume reduction value; and the second strategy is used to mute the audio device.

3. The method according to claim 2, characterized in that If the target volume reduction strategy is the first strategy, after reducing the volume of the audio device according to the target volume reduction strategy, the method further includes: Performing action detection on the real-time video, and judging whether the user has made a preset volume adjustment action based on the result of the action detection; If it is determined that the user makes a preset volume adjustment action, the volume of the audio device is adjusted again according to the action identifier of the target volume adjustment action and the preset action volume correspondence; wherein the target volume adjustment action is an audio adjustment action made by the user based on action detection.

4. The method according to claim 1, characterized in that: The method further comprises: In response to the volume restoration instruction, the volume of the audio device is adjusted to the original volume; wherein the original volume is the volume of the audio device before the volume is lowered according to the target volume lowering strategy.

5. The method according to claim 4, characterized in that The method further comprises: If it is determined according to the current user state that the user switches from the target state to the non-target state, the volume restoration instruction is generated.

6. The method according to any one of claims 1 to 5, characterized in that: The audio device includes an audio input device and an audio output device; The step of lowering the volume of the audio device according to the target volume lowering strategy includes: According to the target volume reduction strategy, the volume of the audio input device is reduced and / or the volume of the audio output device is reduced.

7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: If the current user status is the user away status, then the continuous away time of the user is counted; When the continuous absence time is greater than or equal to the preset time threshold, a screen lock operation is performed.

8. A volume adjustment device, characterized in that: Applied to electronic equipment, the electronic equipment is provided with an audio device and a video acquisition device; the device comprises: A video acquisition module, used to control the video acquisition device to acquire real-time video; A status detection module, used to determine the current user status of the user according to the real-time video; a strategy determination module, for obtaining the current running application identifier of the electronic device if it is determined according to the current user state that the user enters the target state, and determining the target volume reduction strategy based on the correspondence between each of the current running application identifiers and the preset volume strategy; the target state is the user state that needs to adjust the volume; The volume reduction module is used to reduce the volume of the audio device according to the target volume reduction strategy.

9. A storage medium, characterized in that: The storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the volume adjustment method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: Audio equipment, video acquisition equipment, memory and one or more processors; The memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the steps of the volume adjustment method according to any one of claims 1 to 7 are performed.

Citation Information

Patent Citations

  • Electronic apparatus and signal processing method thereof

    CN108132773A

  • Method for intelligently adjusting volume, mobile terminal and computer-readable storage medium

    CN109388366A

  • Terminal control method, terminal and computer readable storage medium

    CN111580651A

  • Intelligent television volume control method and system

    CN113179439A

  • Equipment control method and device, storage medium and electronic equipment

    CN113835670A