System volume adjusting method based on mouse wheel and computer

By receiving a one-click volume adjustment command in the computer and adjusting the volume using the scrolling behavior of the mouse wheel, the problem of cumbersome volume adjustment in the prior art is solved, and convenient volume control is achieved.

CN118981298APending Publication Date: 2024-11-19SHENZHEN RENDERBUS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411005940.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

Existing computer volume adjustment methods require explicit user actions, such as clicking buttons or key presses, which can be cumbersome when users are busy with other tasks or do not have convenient input devices.

Method used

When a one-click volume adjustment command is received, the system determines whether it is currently in volume adjustment mode. If it is not in mode, it enters volume adjustment mode, unlocks system volume adjustment permissions, and uses the mouse wheel to adjust the volume. The scrolling direction and displacement are set to adjust the volume. After completion, the system exits the mode and locks permissions.

Benefits of technology

It enables quick and convenient adjustment of system volume using the mouse wheel, simplifying the operation process and improving the convenience and simplicity of volume adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118981298A_ABST
    Figure CN118981298A_ABST
Patent Text Reader

Abstract

The invention relates to a system volume adjusting method based on a mouse wheel and a computer, and the method comprises the steps: when a one-button type volume adjusting instruction is received, judging whether the current mode is in a volume adjusting mode or not; if the system is not in the volume adjustment mode at present, entering the volume adjustment mode, and unlocking the volume adjustment permission of the system; acquiring a mouse wheel rolling behavior; the rolling behavior of the mouse wheel is analyzed, and the rolling direction and the rolling displacement are determined; determining the adjusting direction of the system volume according to the rolling direction, and determining the adjusting amount of the system volume according to the rolling displacement amount; and if the system is in the volume adjustment mode currently, exiting the volume adjustment mode, and locking the volume adjustment permission of the system. When a user needs to adjust the volume, the user can directly enter the volume adjusting mode through the volume adjusting key, the volume of the system can be conveniently and rapidly adjusted through the mouse wheel, and compared with a volume adjusting mode of a computer in the prior art, the volume adjusting method has great convenience and simplicity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of audio control, and in particular to a system volume adjustment method based on a mouse wheel and a computer. Background Art

[0002] In existing computer devices, a volume control function is usually provided to adjust the intensity of audio playback. Common volume control methods include gradually increasing or decreasing the volume by clicking a slider or button on a graphical user interface (GUI). In addition, some systems also provide keyboard shortcuts, such as "Ctrl+up arrow" to increase the volume and "Ctrl+down arrow" to decrease the volume.

[0003] These traditional volume adjustment methods require users to perform explicit operations, such as clicking a button or pressing a key. However, this operation method becomes cumbersome when the user is busy with other tasks or does not have a convenient input device. Summary of the invention

[0004] In order to at least overcome the problem that the volume adjustment method of a computer in the related art is relatively complicated to a certain extent, the present application provides a system volume adjustment method based on a mouse wheel and a computer.

[0005] The scheme of this application is as follows:

[0006] According to a first aspect of an embodiment of the present application, a method for adjusting system volume based on a mouse wheel is provided, comprising:

[0007] Upon receiving a one-touch volume adjustment command, determining whether the current mode is volume adjustment;

[0008] If the volume adjustment mode is not in progress, enter the volume adjustment mode and unlock the system volume adjustment permission.

[0009] Get the mouse wheel scrolling behavior;

[0010] Analyze the scrolling behavior of the mouse wheel to determine the scrolling direction and scrolling displacement;

[0011] Determining the adjustment direction of the system volume according to the scrolling direction, and determining the adjustment amount of the system volume according to the scrolling displacement;

[0012] If you are currently in volume adjustment mode, exit volume adjustment mode and lock the system volume adjustment permission.

[0013] Preferably, obtaining the mouse wheel scrolling behavior includes:

[0014] Gets the mouse wheel scrolling behavior delivered by the mouse driver through the system application programming interface.

[0015] Preferably, the mouse driver interacts with the hardware abstraction layer of the system to obtain the scrolling behavior of the mouse wheel.

[0016] Preferably, the method further comprises:

[0017] The correspondence between the scrolling direction of the mouse wheel and the adjustment direction of the system volume is preset.

[0018] Preferably, the method further comprises:

[0019] The correspondence between the scroll displacement of the mouse wheel and the adjustment amount of the system volume is preset.

[0020] Preferably, the method further comprises:

[0021] Analyze the scrolling behavior of the mouse wheel to determine the scrolling speed;

[0022] If the scrolling speed of the mouse wheel exceeds a preset scrolling speed threshold, the system volume is directly adjusted to an extreme value in the determined adjustment direction.

[0023] Preferably, the method further comprises:

[0024] Monitoring system application activities;

[0025] When the current active application is a player category application, enter the volume adjustment mode;

[0026] When the current active application switches to a non-player category application, exit the volume adjustment mode.

[0027] Preferably, the one-touch volume adjustment instruction is triggered by a keyboard button or a mouse side button.

[0028] According to a second aspect of an embodiment of the present application, a computer is provided, including:

[0029] Processor and memory;

[0030] The processor and the memory are connected via a communication bus:

[0031] Wherein, the processor is used to call and execute the program stored in the memory;

[0032] The memory is used to store a program, and the program is at least used to execute a system volume adjustment method based on a mouse wheel as described in any one of the above items.

[0033] The technical solution provided by this application may have the following beneficial effects:

[0034] The system volume adjustment method based on the mouse wheel in the present application includes: upon receiving a one-touch volume adjustment command, determining whether the current state is in the volume adjustment mode; if the current state is not in the volume adjustment mode, entering the volume adjustment mode and unlocking the system volume adjustment permission; obtaining the mouse wheel scrolling behavior; parsing the mouse wheel scrolling behavior to determine the scrolling direction and the scrolling displacement; determining the adjustment direction of the system volume according to the scrolling direction, and determining the adjustment amount of the system volume according to the scrolling displacement; if the current state is in the volume adjustment mode, exiting the volume adjustment mode and locking the system volume adjustment permission.

[0035] The technical solution in the present application can pre-set a certain button on the keyboard or the side button of the mouse as a volume adjustment button to trigger a one-touch volume adjustment command. When the user needs to adjust the volume, the volume adjustment button can be used to directly enter the volume adjustment mode, and the system volume can be adjusted quickly and conveniently through the mouse wheel. After the adjustment is completed, press the volume adjustment button again to exit the volume adjustment mode, and lock the system volume adjustment permission so that the volume cannot be adjusted by other means (such as a graphical user interface, keyboard shortcuts). The technical solution in the present application is more convenient and concise than the computer volume adjustment method in the prior art.

[0036] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0038] Figure 1 It is a flowchart of a method for adjusting system volume based on a mouse wheel provided by an embodiment of the present application;

[0039] Figure 2 It is a schematic diagram of the structure of a computer provided by an embodiment of the present application.

[0040] Reference numerals: processor-21; memory-22. DETAILED DESCRIPTION

[0041] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0042] Embodiment 1

[0043] Figure 1 is a flowchart of a method for adjusting system volume based on a mouse wheel provided by an embodiment of the present application, with reference to Figure 1 , a system volume adjustment method based on a mouse wheel, comprising:

[0044] S1: upon receiving a one-touch volume adjustment command, determining whether the current mode is volume adjustment mode;

[0045] It should be noted that the one-touch volume adjustment command is triggered by a keyboard button or a mouse side button.

[0046] In practice, a certain key on the keyboard or a side key of the mouse can be set as a volume adjustment key in advance to trigger the one-touch volume adjustment command. For example, if F1 on the keyboard is set as the volume adjustment key, when the user presses F1, the one-touch volume adjustment command will be triggered. At this time, the system receives the one-touch volume adjustment command and determines whether it is currently in the volume adjustment mode.

[0047] S2: If the volume adjustment mode is not currently in progress, enter the volume adjustment mode and unlock the system volume adjustment permission;

[0048] It should be noted that the volume adjustment mode in this embodiment is not the volume adjustment mode in the original system, but a volume adjustment mode specially designed by the program in this technical solution. The volume adjustment mode is triggered only by a one-touch volume adjustment command, and the volume adjustment mode is linked with the system volume adjustment authority. When the volume adjustment mode is turned on, the system volume adjustment authority is unlocked, and when the volume adjustment mode is exited, the system volume adjustment authority is locked.

[0049] It should be noted that after the system enters the volume adjustment mode, the mouse wheel can only be used to adjust the volume and cannot perform other functions. After exiting the volume adjustment mode, the mouse wheel resumes its original function.

[0050] The volume adjustment mode in the present technical solution can be regarded as a "volume lock". When this mode is turned on, the volume control cannot be adjusted by other methods (such as keyboard shortcuts) and the volume can only be controlled by the mouse wheel.

[0051] S3: Get the mouse wheel scrolling behavior;

[0052] Mouse wheel scrolling behaviors include forward scrolling and backward scrolling.

[0053] Preferably, obtaining the mouse wheel scrolling behavior includes:

[0054] Gets the mouse wheel scrolling behavior delivered by the mouse driver through the system application programming interface.

[0055] The mouse driver interacts with the system's hardware abstraction layer to obtain the mouse wheel scrolling behavior.

[0056] When this technical solution is implemented in a computer, it is necessary to first install a mouse driver for obtaining the mouse wheel behavior. This mouse driver interacts with the system's hardware abstraction layer to obtain the mouse wheel scrolling behavior. Then, the mouse wheel scrolling behavior transmitted by the mouse driver is obtained through the system application programming interface.

[0057] S4: Analyze the scrolling behavior of the mouse wheel to determine the scrolling direction and scrolling displacement;

[0058] S5: determining the adjustment direction of the system volume according to the scrolling direction, and determining the adjustment amount of the system volume according to the scrolling displacement;

[0059] The scrolling directions of the mouse wheel include forward scrolling and backward scrolling. Generally, the mouse wheel will have obvious segment feedback when scrolling. This is because there are multiple contact points on the mouse scroll axis. The scrolling displacement can be judged by how many contact points have passed during this scrolling operation (that is, how many grids have been scrolled).

[0060] S6: If the volume adjustment mode is currently in progress, exit the volume adjustment mode and lock the system volume adjustment permission.

[0061] It should be noted that the method also includes:

[0062] The correspondence between the scrolling direction of the mouse wheel and the adjustment direction of the system volume is preset.

[0063] In specific practice, it can be set that the volume increases when the mouse wheel is rolled forward, and the volume decreases when the mouse wheel is rolled backward.

[0064] It should be noted that the method also includes:

[0065] The correspondence between the scroll displacement of the mouse wheel and the adjustment amount of the system volume is preset.

[0066] In practice, you can set it so that the system volume increases / decreases by 5 points for every scroll of the mouse wheel.

[0067] It should be noted that the method also includes:

[0068] Parse the mouse wheel scrolling behavior to determine the scrolling speed;

[0069] If the scrolling speed of the mouse wheel exceeds a preset scrolling speed threshold, the system volume is directly adjusted to an extreme value in the determined adjustment direction.

[0070] In this technical solution, considering that the user may need to quickly adjust the system volume to the maximum or minimum, the mouse wheel scrolling behavior is also analyzed to determine the scrolling speed; if the scrolling speed of the mouse wheel exceeds the preset scrolling speed threshold, the system volume is directly adjusted to the extreme value in the determined adjustment direction. That is, when the user needs to quickly adjust the system volume to the maximum or minimum, he only needs to quickly scroll the mouse wheel so that the scrolling speed of the mouse wheel exceeds the preset scrolling speed threshold, and the system volume can be directly adjusted to the maximum or minimum.

[0071] It should be noted that the method also includes:

[0072] Monitoring system application activities;

[0073] When the current active application is a player category application, enter the volume adjustment mode;

[0074] When the current active application switches to a non-player category application, exit the volume adjustment mode.

[0075] In the present technical solution, the application activities of the system are also automatically monitored. When the currently active application is a player category application (such as a music player application, a video player application), the volume may need to be adjusted frequently, so the volume adjustment mode is automatically entered; when the currently active application is switched to a non-player category application, the volume adjustment is no longer required, and the volume adjustment mode is exited.

[0076] It is understandable that the technical solution can pre-set a certain button on the keyboard or the side button of the mouse as a volume adjustment button to trigger a one-touch volume adjustment command. When the user needs to adjust the volume, the volume adjustment button can be used to directly enter the volume adjustment mode, and the system volume can be adjusted quickly and conveniently through the mouse wheel. After the adjustment is completed, press the volume adjustment button again to exit the volume adjustment mode, and lock the system volume adjustment permission so that the volume cannot be adjusted by other means (such as a graphical user interface, keyboard shortcuts). The technical solution in this application is more convenient and concise than the computer volume adjustment method in the prior art.

[0077] Embodiment 2

[0078] A computer, comprising:

[0079] Processor 21 and memory 22;

[0080] The processor 21 and the memory 22 are connected via a communication bus:

[0081] The processor 21 is used to call and execute the program stored in the memory 22;

[0082] The memory 22 is used to store a program, and the program is used to execute at least one of the system volume adjustment methods based on the mouse wheel in the above embodiment.

[0083] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0084] It should be noted that, in the description of this application, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0085] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0086] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0087] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0088] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0089] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0090] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0091] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A system volume adjustment method based on mouse wheel, It is characterized in that include: Upon receiving a one-touch volume adjustment command, determining whether the current mode is volume adjustment; If the volume adjustment mode is not in progress, enter the volume adjustment mode and unlock the system volume adjustment permission. Get the mouse wheel scrolling behavior; Analyze the scrolling behavior of the mouse wheel to determine the scrolling direction and scrolling displacement; Determining the adjustment direction of the system volume according to the scrolling direction, and determining the adjustment amount of the system volume according to the scrolling displacement; If you are currently in volume adjustment mode, exit volume adjustment mode and lock the system volume adjustment permission.

2. The method according to claim 1, It is characterized in that Get the mouse wheel scrolling behavior, including: Gets the mouse wheel scrolling behavior delivered by the mouse driver through the system application programming interface.

3. The method according to claim 2, It is characterized in that The mouse driver interacts with the hardware abstraction layer of the system to obtain the scrolling behavior of the mouse wheel.

4. The method according to claim 1, It is characterized in that The method further comprises: The correspondence between the scrolling direction of the mouse wheel and the adjustment direction of the system volume is preset.

5. The method according to claim 1, It is characterized in that The method further comprises: The corresponding relationship between the scroll displacement of the mouse wheel and the adjustment amount of the system volume is preset.

6. The method according to claim 1, It is characterized in that The method further comprises: Analyze the scrolling behavior of the mouse wheel to determine the scrolling speed; If the scrolling speed of the mouse wheel exceeds a preset scrolling speed threshold, the system volume is directly adjusted to an extreme value in the determined adjustment direction.

7. The method according to claim 1, It is characterized in that The method further comprises: Monitoring system application activities; When the current active application is a player category application, enter the volume adjustment mode; When the current active application switches to a non-player category application, exit the volume adjustment mode.

8. The method according to claim 1, It is characterized in that The one-touch volume adjustment instruction is triggered by a keyboard button or a mouse side button.

9. A computer, It is characterized in that include: Processor and memory; The processor and the memory are connected via a communication bus: Wherein, the processor is used to call and execute the program stored in the memory; The memory is used to store a program, and the program is at least used to execute the system volume adjustment method based on a mouse wheel as described in any one of claims 1-8.