Volume adjustment method, volume adjustment device, terminal and medium

By providing volume coarse and fine-tuning interface elements in the terminal's user interface, the problem of difficulty for users to adjust satisfactory volume loudness is solved, and more refined volume adjustment and higher user satisfaction are achieved.

CN110209370BActive Publication Date: 2025-01-17SHENZHEN TRANSSION COMM LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201811631410.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-28
Publication Date
2025-01-17
Estimated Expiration
2038-12-28

AI Technical Summary

Technical Problem

When users adjust the terminal volume, it is difficult for them to adjust the satisfactory volume loudness, and the prior art cannot effectively meet the volume requirements in different scenarios.

Method used

By displaying the volume coarse and fine-tuning interface elements on the user interface, adjust the volume level separately. The volume gain between two adjacent volume levels of the volume coarse interface element is greater than the preset threshold, while the adjacent two adjacent volumes of the volume fine-tuning interface element are The volume gain between levels is less than the gain of the coarse interface elements, and the user can further adjust the volume according to these interface elements.

Benefits of technology

It realizes more refined volume adjustment, which can meet the user's volume needs, and improves the accuracy and user experience of volume adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110209370B_ABST
    Figure CN110209370B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a volume adjustment method, a volume adjustment device, a terminal and a medium. The volume adjustment method comprises: if a first trigger instruction for volume adjustment is received, a volume coarse adjustment interface element is displayed on a user interface; a first adjustment instruction for the volume coarse adjustment interface element is obtained, and the volume of the terminal is adjusted to a first volume level according to the first adjustment instruction; if a second trigger instruction for the volume coarse adjustment interface element is received, a volume fine adjustment interface element is determined according to the first volume level; and the volume fine adjustment interface element is displayed on the user interface, so that the volume can be better adjusted to meet user needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic technology, and in particular to a volume adjustment method, a volume adjustment device, a terminal and a computer storage medium. Background Art

[0002] At present, terminals are generally set with multiple volume levels so that users can adjust the volume of the terminal to different volume levels in different scenarios. However, practice shows that when users adjust the volume of the terminal by pressing buttons, they cannot adjust the volume to the desired level. For example, in a very quiet situation, even if the volume is reduced to the minimum level, the volume will still be too loud. Therefore, how to better adjust the volume to meet user needs has become a research hotspot. Summary of the invention

[0003] To solve the above technical problems, the embodiments of the present invention provide a volume adjustment method, a volume adjustment device, a terminal and a computer storage medium, which can better adjust the volume to meet user needs.

[0004] In one aspect, an embodiment of the present invention provides a volume adjustment method, comprising:

[0005] If a first trigger instruction for volume adjustment is received, a volume coarse adjustment interface element is displayed on the user interface, wherein the volume gain between two adjacent volume levels in the volume coarse adjustment interface element is greater than a preset threshold;

[0006] Obtaining a first adjustment instruction for the volume coarse adjustment interface element, and adjusting the volume of the terminal to a first volume level according to the first adjustment instruction;

[0007] If a second trigger instruction for the volume coarse adjustment interface element is received, determining a volume fine adjustment interface element according to the first volume level, the volume gain between two adjacent volume levels in the volume fine adjustment interface element being smaller than the volume gain between two adjacent volume levels in the volume coarse adjustment interface element;

[0008] The volume fine-tuning interface element is displayed on the user interface.

[0009] Optionally, the volume adjustment method further includes: acquiring a second adjustment instruction for the volume fine-tuning interface element; and adjusting the volume of the terminal from the first volume level to a second volume level according to the second adjustment instruction.

[0010] Optionally, before obtaining the second adjustment instruction for the volume fine-tuning interface element, the volume adjustment method also includes: setting the state of the volume coarse-adjusting interface element to an invalid state to shield the operation instructions for the volume coarse-adjusting interface element; setting the state of the volume fine-adjusting interface element to a valid state, and executing the step of obtaining the second adjustment instruction for the volume fine-adjusting interface element.

[0011] Optionally, a specific implementation method of determining a volume fine-tuning interface element according to the first volume level may be: determining an adjacent volume level adjacent to the first volume level in the volume coarse-adjusting interface element, the adjacent volume level being located before or after the first volume level; obtaining a target volume gain between the adjacent volume level and the first volume level, the target volume gain being determined by at least two gain values; and determining a volume fine-tuning interface element according to the target volume gain and the first volume level.

[0012] Optionally, a specific implementation method for determining a volume fine-tuning interface element according to the target volume gain and the first volume level may be: using the first volume level as a reference volume level in the volume fine-tuning interface element, the reference volume level comprising a volume level at at least one of the following positions: an initial position, an end position, or a midpoint position; determining a unit volume gain of the volume fine-tuning interface element according to the target volume gain, the number of gain values ​​corresponding to the unit volume gain being less than the number of gain values ​​corresponding to the target volume gain; and based on the reference volume level, setting a volume level for every unit volume gain to determine the volume fine-tuning interface element.

[0013] Optionally, the second trigger instruction includes: a press instruction; accordingly, the volume adjustment method also includes: if a second trigger instruction for the volume coarse adjustment interface element is received, obtaining the press parameters corresponding to the second trigger instruction, and the press parameters include at least one of the following: press duration, press force and press position; judging whether the press parameters meet the preset press conditions, and the preset press conditions include at least one of the following: the press duration is greater than the preset duration, the press force is greater than the preset force, and the press position matches the preset position; if the press parameters meet the preset press conditions, executing the step of determining the volume fine-tuning interface element according to the first volume level.

[0014] Optionally, the volume adjustment method also includes: if the pressing parameter does not meet the preset pressing adjustment, outputting a prompt message on the user interface, wherein the prompt message is used to prompt the user whether to fine-tune the volume; receiving feedback information about the prompt message, and executing the operation corresponding to the feedback information.

[0015] On the other hand, an embodiment of the present invention provides a volume adjustment device, comprising:

[0016] A display unit, configured to display a volume coarse adjustment interface element on a user interface if a first trigger instruction for volume adjustment is received, wherein a volume gain between two adjacent volume levels in the volume coarse adjustment interface element is greater than a preset threshold;

[0017] an adjusting unit, configured to obtain a first adjusting instruction for the volume coarse adjustment interface element, and adjust the volume of the terminal to a first volume level according to the first adjusting instruction;

[0018] a determining unit, configured to determine a volume fine-adjustment interface element according to the first volume level if a second trigger instruction for the volume coarse-adjustment interface element is received, wherein a volume gain between two adjacent volume levels in the volume fine-adjustment interface element is less than a volume gain between two adjacent volume levels in the volume coarse-adjustment interface element;

[0019] The display unit is used to display the volume fine-tuning interface element on the user interface.

[0020] In another aspect, an embodiment of the present invention provides a terminal, including a processor, an input device, an output device, and a memory, wherein the processor, the input device, the output device, and the memory are connected to each other, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to perform the following steps:

[0021] If a first trigger instruction for volume adjustment is received, a volume coarse adjustment interface element is displayed on the user interface, wherein the volume gain between two adjacent volume levels in the volume coarse adjustment interface element is greater than a preset threshold;

[0022] Obtaining a first adjustment instruction for the volume coarse adjustment interface element, and adjusting the volume of the terminal to a first volume level according to the first adjustment instruction;

[0023] If a second trigger instruction for the volume coarse adjustment interface element is received, determining a volume fine adjustment interface element according to the first volume level, the volume gain between two adjacent volume levels in the volume fine adjustment interface element being smaller than the volume gain between two adjacent volume levels in the volume coarse adjustment interface element;

[0024] The volume fine-tuning interface element is displayed on the user interface.

[0025] On the other hand, an embodiment of the present invention provides a computer storage medium, wherein the computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the above-mentioned volume adjustment method.

[0026] In an embodiment of the present invention, if a first trigger instruction is received, a volume coarse adjustment interface element may be displayed, and the volume of the terminal may be adjusted to a first volume level according to the first adjustment instruction for the volume coarse adjustment interface element. If a second trigger instruction for the volume coarse adjustment interface element is received, a volume fine adjustment interface element is determined according to the first volume level, and the volume fine adjustment interface element is displayed. It can be seen that the above-mentioned volume adjustment process can not only display a volume coarse adjustment interface element in the user interface, but also display a volume fine adjustment interface element, so that the user can further fine-tune the volume according to the volume fine adjustment interface element, so that the adjusted volume can meet the user's needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1a This is an application scenario diagram of a volume adjustment method provided by an embodiment of the present invention;

[0029] Figure 1b is an application scenario diagram of another volume adjustment method provided by an embodiment of the present invention;

[0030] Figure 1c is an application scenario diagram of another volume adjustment method provided by an embodiment of the present invention;

[0031] Figure 2 is a flow chart of a volume adjustment method provided by an embodiment of the present invention;

[0032] Figure 3 is a flow chart of a volume adjustment method provided by another embodiment of the present invention;

[0033] Figure 4a is a schematic diagram of a volume coarse adjustment slider provided by an embodiment of the present invention;

[0034] Figure 4b is a schematic diagram of a volume fine-tuning slider provided by an embodiment of the present invention;

[0035] Figure 5 is a structural schematic diagram of a volume adjustment device provided by an embodiment of the present invention;

[0036] Figure 6 It is a schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0038] In an embodiment of the present invention, the terminal can provide a volume adjustment function for the user, through which the user can better adjust the volume of the terminal to a volume level that satisfies the user. When the user adjusts the volume, the terminal can display a volume coarse adjustment interface element on the user interface when detecting a first trigger instruction for volume adjustment. The volume gain between two adjacent volume levels in the volume coarse adjustment interface element is greater than a preset threshold. The volume coarse adjustment interface element can include a volume coarse adjustment slider, such as Figure 1a At this time, the user can input a first adjustment instruction for the volume coarse adjustment interface element. After the terminal obtains the first adjustment instruction, it can adjust the volume of the terminal to the first volume level according to the first adjustment instruction. If the user is not satisfied with the volume loudness corresponding to the first volume level, the user can input a second trigger instruction for the volume coarse adjustment interface element, such as a press instruction, as shown in FIG. Figure 1b shown.

[0039] After the terminal detects the second trigger instruction, a volume fine-tuning interface element can be determined according to the first volume level, and the volume gain between two adjacent volume levels in the volume fine-tuning interface element is less than the volume gain between two adjacent volume levels in the volume coarse-tuning interface element. After the volume fine-tuning interface element is determined, the volume fine-tuning interface element can be displayed on the user interface, and the volume fine-tuning interface element can include a volume fine-tuning slider, such as Figure 1c Since the volume gain between two adjacent volume levels in the volume fine adjustment interface element is smaller than the volume gain between two adjacent volume levels in the volume coarse adjustment interface element, the user can fine-tune the volume again based on the first volume level through the volume fine adjustment interface until the volume of the terminal is adjusted to a volume level that the user is satisfied with.

[0040] Based on the above description of the volume adjustment function, the embodiment of the present invention provides a Figure 2 The volume adjustment method shown in the figure can realize the above volume adjustment function. The volume adjustment method can be executed by a terminal, which carries a volume adjustment button. The terminal here can include but is not limited to: a smart phone, a tablet computer, a laptop computer, etc. Figure 2 As shown, the volume adjustment method may include the following steps S201-S204:

[0041] S201: If a first trigger instruction for volume adjustment is received, a volume coarse adjustment interface element is displayed on the user interface, wherein the volume gain between two adjacent volume levels in the volume coarse adjustment interface element is greater than a preset threshold.

[0042] When the user wants to adjust the volume, the terminal can perform a first trigger operation on the terminal. After the terminal detects the user's first trigger operation, it can generate a corresponding first trigger instruction according to the first trigger operation. The first trigger instruction may include but is not limited to: a press instruction, a trigger instruction, a key instruction, and the like. Taking the first trigger instruction as a key instruction as an example, after the terminal detects that the user presses the volume side key on the terminal, it can generate a key instruction, and at this time it is considered that the first trigger instruction for volume adjustment has been received. In one embodiment, in order to avoid the user's misoperation of the volume side key, the terminal can detect whether the pressing operation of the volume side key meets the preset operation conditions; if so, a key instruction is generated, and at this time it is considered that the first trigger instruction for volume adjustment has been received.

[0043] The preset operating conditions here may include but are not limited to: the number of times the volume side key is pressed is greater than the preset number of times; the frequency of pressing the volume side key is greater than the preset frequency; the pressing trajectory formed by the pressing operation of the volume button matches the preset pressing trajectory, for example: assuming that the level signal detected by the terminal when the volume side key is pressed is "1", the preset pressing trajectory is "1, 111, 11, 1", and the preset pressing trajectory indicates: first press the volume side key once, then press the volume side key three times in succession, then press the volume side key twice in succession, and finally press the volume side key once; if it is detected that the pressing trajectory formed by the pressing operation of the volume button is also "1, 111, 11, 1", it is determined that the pressing trajectory formed by the pressing operation of the volume button matches the preset pressing trajectory, that is, it is determined that the pressing operation of the volume side key meets the preset operating conditions.

[0044] If the first trigger instruction is received, the volume adjustment mode is entered. At this time, a volume coarse adjustment interface element can be displayed in the user interface. The volume gain between two adjacent volume levels in the volume coarse adjustment interface element here is greater than the preset threshold, and the volume coarse adjustment interface element may include a volume coarse adjustment slider. Among them, the volume gain can be determined by one or more gain values. The so-called gain value refers to the volume gain value, which can be used to indicate the intensity of the volume change; the more the number of gain values, the greater the intensity of the volume change. For example, the volume gain between two adjacent volume levels in the volume coarse adjustment interface element is determined by 10 gain values, which means that each time the user presses the volume side button, the volume level of the terminal will decrease or increase by one volume level, and the volume of the terminal will decrease or increase the intensity of the volume change corresponding to 10 gain values. The volume gain here is greater than the preset threshold, which can be understood as the number of gain values ​​used to determine the volume gain is greater than the preset threshold, and the preset threshold can be set according to the experience value or actual business needs.

[0045] S202: Obtain a first adjustment instruction for a volume coarse adjustment interface element, and adjust the volume of the terminal to a first volume level according to the first adjustment instruction.

[0046] After the terminal displays the volume coarse adjustment interface element on the user interface, it can obtain a first adjustment instruction for the volume coarse adjustment interface element. The first adjustment instruction here may include but is not limited to: a key instruction for the volume side key, a sliding instruction for the volume coarse adjustment interface element, and a click instruction for the volume coarse adjustment interface element, etc. After obtaining the first adjustment instruction, the volume of the terminal can be adjusted to a first volume level according to the first adjustment instruction. Specifically, the first adjustment instruction carries a first adjustment number, and the terminal can determine the first number of volume levels to be adjusted and the volume adjustment direction according to the first adjustment number carried by the first adjustment instruction. The volume adjustment direction here may include: a volume adjustment direction that reduces the current volume level and a volume adjustment direction that increases the current volume level; determining the current volume level of the terminal; and then increasing or decreasing the first number of volume levels on the basis of the current volume level to obtain the first volume level.

[0047] For example, if the current volume level of the terminal is 5, and the number of adjustments carried by the first adjustment instruction is 2, then the first number of volume levels to be adjusted is 2, indicating that 2 volume levels need to be reduced or increased. Taking the volume adjustment direction of reducing the current volume level as an example, 2 volume levels can be reduced based on the current volume level, so that the first volume level is 3.

[0048] S203, if a second trigger instruction for the volume coarse adjustment interface element is received, a volume fine adjustment interface element is determined according to the first volume level, wherein a volume gain between two adjacent volume levels in the volume fine adjustment interface element is less than a volume gain between two adjacent volume levels in the volume coarse adjustment interface element.

[0049] Since the volume gain between two adjacent volume levels in the volume coarse adjustment interface element is greater than the preset threshold, that is, the volume change intensity between two adjacent volume levels in the volume coarse adjustment interface element is large, there may be a situation where the user is not satisfied with the volume loudness corresponding to the first volume level, and feels that the corresponding volume loudness is louder when the volume is increased by one level on the basis of the first volume level, and feels that the corresponding volume loudness is smaller when the volume is decreased by one level on the basis of the first volume level. Therefore, if the user is not satisfied with the volume loudness corresponding to the first volume level, the second trigger operation can be performed on the terminal. After the terminal detects the second trigger operation of the user, a second trigger instruction can be generated according to the second trigger operation. At this time, it can be determined that the second trigger instruction for the volume coarse adjustment interface element is received. The second trigger instruction here can include but is not limited to: a press instruction for the volume coarse adjustment interface element, a voice instruction, and the like.

[0050] After receiving the second trigger instruction, a volume fine-tuning interface element can be determined according to the first volume level, and the volume fine-tuning interface element can include a volume fine-tuning slider. Since the volume gain between two adjacent volume levels in the volume fine-tuning interface element is smaller than the volume gain between two adjacent volume levels in the volume coarse-tuning interface element, that is, the volume change intensity between two adjacent volume levels in the volume fine-tuning interface element is smaller, and the corresponding volume loudness change is smaller for each volume level change, the user can fine-tune the first volume level based on the first volume level, so that the volume loudness corresponding to the fine-tuned volume level meets the user's needs.

[0051] S204, displaying a volume fine-tuning interface element on the user interface.

[0052] In an embodiment of the present invention, if a first trigger instruction is received, a volume coarse adjustment interface element may be displayed, and the volume of the terminal may be adjusted to a first volume level according to the first adjustment instruction for the volume coarse adjustment interface element. If a second trigger instruction for the volume coarse adjustment interface element is received, a volume fine adjustment interface element is determined according to the first volume level, and the volume fine adjustment interface element is displayed. It can be seen that the above-mentioned volume adjustment process can not only display a volume coarse adjustment interface element in the user interface, but also display a volume fine adjustment interface element, so that the user can further fine-tune the volume according to the volume fine adjustment interface element, so that the adjusted volume can meet the user's needs.

[0053] Based on the above description of the volume adjustment function, the embodiment of the present invention provides a Figure 3 The volume adjustment method shown in the figure can realize the above volume adjustment function. The volume adjustment method can be executed by a terminal, which carries a volume adjustment button. The terminal here can include but is not limited to: a smart phone, a tablet computer, a laptop computer, etc. Figure 3 As shown, the volume adjustment method may include the following steps S301-S306:

[0054] S301: If a first trigger instruction for volume adjustment is received, a volume coarse adjustment interface element is displayed on the user interface, wherein the volume gain between two adjacent volume levels in the volume coarse adjustment interface element is greater than a preset threshold.

[0055] The terminal may pre-set a volume coarse adjustment interface element so that when the first trigger instruction is received, the volume coarse adjustment interface element is displayed in the user interface. In one embodiment, the volume coarse adjustment interface element may include a volume coarse adjustment slider, which may be composed of multiple volume levels, and the volume gain between two adjacent volume levels is greater than a preset threshold, which may be set based on an empirical value or based on actual business needs.

[0056] When setting the volume level of the coarse volume slider, you can span multiple gain values ​​as a volume level to ensure that the volume loudness corresponding to each volume level has a large change intensity. At the same time, ensure that the total volume span is as large as possible, so that the volume loudness corresponding to the minimum volume level is small enough, and the volume loudness corresponding to the maximum volume level is large enough. For example, if the coarse volume slider has 10 gain values ​​as one volume level, then the volume gain between two adjacent volume levels of the coarse volume slider is 10 gain values. The schematic diagram of the coarse volume slider can be as follows Figure 4a shown.

[0057] It should be noted that, in other embodiments, after receiving the first trigger instruction, the terminal may also obtain the application scenario in which the terminal is located, and set the volume coarse adjustment interface element according to the application scenario. For example, if the application scenario is a conference room, the volume coarse adjustment interface element may use 5 gain values ​​as a volume level; if the application scenario is outdoor, the volume coarse adjustment interface element may use 15 gain values ​​as a volume level; and so on.

[0058] S302: Obtain a first adjustment instruction for a volume coarse adjustment interface element, and adjust the volume of the terminal to a first volume level according to the first adjustment instruction.

[0059] In one embodiment, the first adjustment instruction is a key instruction for the volume side key, and the key instruction may include a first key instruction or a second key instruction, wherein the first key instruction is used to instruct the terminal to adjust the volume in a volume adjustment direction of reducing the current volume level, and the second key instruction is used to instruct the terminal to adjust the volume in a volume adjustment direction of increasing the current volume level. After obtaining the key instruction, the terminal can determine whether the key instruction is the first key instruction or the second key instruction, thereby determining the volume adjustment direction. After determining the volume adjustment direction, the number of key presses carried by the key instruction and the current volume level of the terminal can be obtained. Then, the first number of volume levels to be adjusted is determined according to the number of key presses carried by the key instruction, and the first number of volume levels is increased or decreased based on the current volume level to obtain the first volume level.

[0060] In another embodiment, the first adjustment instruction is a sliding instruction for the volume coarse adjustment interface element, and the sliding instruction may include a first sliding instruction or a second sliding instruction, wherein the first sliding instruction (left sliding instruction or down sliding instruction) is used to instruct the terminal to adjust the volume in a volume adjustment direction of reducing the current volume level, and the second key instruction (right sliding instruction or up sliding instruction) is used to instruct the terminal to adjust the volume in a volume adjustment direction of increasing the current volume level. After obtaining the sliding instruction, the terminal can determine whether the sliding instruction is the first sliding instruction or the second sliding instruction to determine the volume adjustment direction. After determining the volume adjustment direction, the number of sliding times carried by the sliding instruction and the current volume level of the terminal can be obtained. Then, the first number of volume levels to be adjusted is determined according to the number of sliding times carried by the sliding instruction, and the first number of volume levels is increased or decreased on the basis of the current volume level to obtain the first volume level.

[0061] S303, if a second trigger instruction for the volume coarse adjustment interface element is received, a volume fine adjustment interface element is determined according to the first volume level, wherein a volume gain between two adjacent volume levels in the volume fine adjustment interface element is less than a volume gain between two adjacent volume levels in the volume coarse adjustment interface element.

[0062] Specifically, an adjacent volume level adjacent to the first volume level in the volume coarse adjustment interface element can be first determined, and the adjacent volume level is located before or after the first volume level. Secondly, a target volume gain between the adjacent volume level and the first volume level is obtained, and the target volume gain is determined by at least two gain values. Finally, a volume fine-tuning interface element is determined according to the target volume gain and the first volume level. Among them, when determining the volume fine-tuning interface element according to the target volume gain and the first volume level, the first volume level can be used as a reference volume level in the volume fine-tuning interface element, and the reference volume level includes the volume level at at least one of the following positions: the initial position, the end position, or the midpoint position. Then, the unit volume gain of the volume fine-tuning interface element is determined according to the target volume gain, and the number of gain values ​​corresponding to the unit volume gain is less than the number of gain values ​​corresponding to the target volume gain. Finally, based on the reference volume level, a volume level is set every unit volume gain to determine the volume fine-tuning interface element.

[0063] For example, the volume fine-tuning interface element includes a volume fine-tuning slider, and the first volume level is used as the basic volume level in the volume fine-tuning slider, and the reference volume level is taken as the volume level at the midpoint position. The target volume gain between the adjacent volume level and the first volume level is 10 gain values. As long as the unit volume gain of the volume fine-tuning slider is less than 10 gain values, the unit volume gain of the volume fine-tuning slider can be set to 1 gain value, or to 2 gain values, and so on. Taking the unit volume gain of 2 gain values ​​as an example, finally, based on the reference volume level, a volume level can be set every 2 gain values ​​to determine the volume fine-tuning slider, such as Figure 4b As shown, the volume gain between two adjacent volume levels in the volume fine-tuning slider is 2 gain values.

[0064] It should be noted that Figure 4b The volume level 4' in the volume corresponds to the loudness of Figure 4a The volume level 4 in the same volume level has the same loudness, but Figure 4b The volume level 2', 3', 5', etc. corresponds to the volume loudness and Figure 4a The volume levels 2, 3, 5, etc. correspond to different volume loudness. For example, Figure 4b The volume level 4' in the volume corresponds to the loudness of Figure 4a The volume level 4 in the above example corresponds to a volume loudness of 40. Figure 4a The volume gain between two adjacent volume levels in is 10 gain values, so Figure 4a The volume level 3 in the figure corresponds to a volume loudness of 30, and the volume level 5 corresponds to a volume loudness of 50; Figure 4b The volume gain between two adjacent volume levels in is 2 gain values, so Figure 4b The volume level 3' corresponds to a volume loudness of 38, and the volume level 5' corresponds to a volume loudness of 42. It can be seen that when the user wants to adjust the volume loudness of the terminal to 38, the user can first adjust the volume level of the terminal to volume level 4 through the volume coarse adjustment slider (volume coarse adjustment interface element), and then trigger the terminal to determine the volume fine adjustment slider (volume fine adjustment interface element), and then adjust the volume level of the terminal from volume level 4 (volume level 4') to volume level 3' through the volume fine adjustment slider, so as to successfully adjust the volume loudness of the terminal to 38.

[0065] In one embodiment, the second trigger instruction may include: a press instruction. Accordingly, the terminal may also perform the following steps: if a second trigger instruction for a volume coarse adjustment interface element is received, the press parameter corresponding to the second trigger instruction is obtained, and the press parameter includes at least one of the following: press duration, press force and press position; determine whether the press parameter meets the preset press condition, and the preset press condition includes at least one of the following: the press duration is greater than the preset duration, the press force is greater than the preset force, and the press position matches the preset position, and the preset position can be set according to actual business needs; if the press parameter meets the preset press condition, the step of determining the volume fine adjustment interface element according to the first volume level is executed. If the press parameter does not meet the preset press adjustment, a prompt message is output on the user interface, and the prompt message is used to prompt the user whether to fine-tune the volume. Feedback information about the prompt information is received, and the operation corresponding to the feedback information is executed.

[0066] Specifically, if the feedback information indicates that the volume is fine-tuned, the operation corresponding to the feedback information is: executing the step of determining the volume fine-tuning interface element according to the first volume level; if the feedback information indicates that the volume is not fine-tuned, the operation corresponding to the feedback information is: ignoring the second trigger instruction operation. It can be seen that after receiving the second trigger instruction for the volume coarse adjustment interface element, the embodiment of the present invention can determine whether to execute the step of determining the volume fine-tuning interface element according to the first volume level by judging whether the pressing parameter corresponding to the second trigger instruction meets the preset pressing condition, which can further avoid user's misoperation and improve accuracy.

[0067] S304: Displaying a volume fine-tuning interface element on the user interface.

[0068] After the volume fine-tuning interface element is determined, the volume fine-tuning interface element can be displayed on the user interface. The state of the volume coarse-tuning interface element can also be set to an invalid state to shield the operation instructions for the volume coarse-tuning interface element; the state of the volume fine-tuning interface element is set to a valid state, and the step of obtaining the second adjustment instruction for the volume fine-tuning interface element is executed, that is, step S305 is executed. The embodiment of the present invention sets the state of the volume coarse-tuning interface element to an invalid state, and sets the state of the volume fine-tuning interface element to a valid state, which can avoid the terminal mistakenly adjusting the volume according to the volume level in the volume coarse-tuning interface element during the volume fine-tuning process, thereby improving the accuracy of volume fine-tuning.

[0069] S305: Obtain a second adjustment instruction for the volume fine-tuning interface element.

[0070] S306: Adjust the volume of the terminal from the first volume level to the second volume level according to the second adjustment instruction.

[0071] In steps S305-S306, after the terminal displays the volume fine-tuning interface element on the user interface, it can obtain a second adjustment instruction for the volume fine-tuning interface element. The second adjustment instruction here may include but is not limited to: a key instruction for the volume side key, a sliding instruction for the volume fine-tuning interface element, and a click instruction for the volume fine-tuning interface element, etc.

[0072] After obtaining the second adjustment instruction, the volume of the terminal can be adjusted from the first volume level to the second volume level according to the second adjustment instruction. Specifically, the second adjustment instruction carries a second adjustment number, and the terminal can determine the second number of volume levels to be adjusted and the volume adjustment direction according to the second adjustment number carried by the second adjustment instruction. The volume adjustment direction here may include: a volume adjustment direction that reduces the first volume level and a volume adjustment direction that increases the first volume level; increasing or decreasing the second number of volume levels based on the first volume level according to the volume fine-tuning interface element to obtain the second volume level.

[0073] For example, the first volume level of the terminal is 3, and the corresponding volume loudness is 30; the number of adjustments carried by the second adjustment instruction is 1, so the second number of volume levels to be adjusted is 1, indicating that 1 volume level needs to be reduced or increased. Taking the volume adjustment direction as: reducing the first volume level, and the unit volume gain of the volume fine-tuning interface element as an example, 1 volume level can be reduced on the basis of the first volume level, so that the second volume level is 2', and the corresponding volume loudness is 30-2=28.

[0074] In an embodiment of the present invention, if a first trigger instruction is received, a volume coarse adjustment interface element may be displayed, and the volume of the terminal may be adjusted to a first volume level according to the first adjustment instruction for the volume coarse adjustment interface element. If a second trigger instruction for the volume coarse adjustment interface element is received, a volume fine adjustment interface element is determined according to the first volume level, and the volume fine adjustment interface element is displayed. It can be seen that the above-mentioned volume adjustment process can not only display a volume coarse adjustment interface element in the user interface, but also display a volume fine adjustment interface element, so that the user can further fine-tune the volume according to the volume fine adjustment interface element, so that the adjusted volume can meet the user's needs.

[0075] Based on the description of the above method embodiment, in one embodiment, the present invention also provides a method as follows: Figure 5 The structure diagram of the volume adjustment device is shown in FIG. Figure 5 As shown, the volume adjustment device in the embodiment of the present invention may include:

[0076] The display unit 101 is configured to display a volume coarse adjustment interface element on the user interface if a first trigger instruction for volume adjustment is received, wherein the volume gain between two adjacent volume levels in the volume coarse adjustment interface element is greater than a preset threshold;

[0077] The adjusting unit 102 is used to obtain a first adjustment instruction for the volume coarse adjustment interface element, and adjust the volume of the terminal to a first volume level according to the first adjustment instruction;

[0078] The determining unit 103 is configured to determine a volume fine-adjusting interface element according to the first volume level if a second trigger instruction for the volume coarse-adjusting interface element is received, wherein a volume gain between two adjacent volume levels in the volume fine-adjusting interface element is less than a volume gain between two adjacent volume levels in the volume coarse-adjusting interface element;

[0079] The display unit 101 is used to display the volume fine-tuning interface element on the user interface.

[0080] In one implementation, the adjustment unit 102 may also be configured to: obtain a second adjustment instruction for the volume fine-tuning interface element; and adjust the volume of the terminal from the first volume level to a second volume level according to the second adjustment instruction.

[0081] In another embodiment, the adjustment unit 102 can also be used to: set the state of the volume coarse adjustment interface element to an invalid state to shield the operation instructions for the volume coarse adjustment interface element; set the state of the volume fine adjustment interface element to a valid state, and execute the step of obtaining a second adjustment instruction for the volume fine adjustment interface element.

[0082] In another embodiment, when the determination unit 103 is used to determine the volume fine-tuning interface element according to the first volume level, it is specifically used to: determine an adjacent volume level adjacent to the first volume level in the volume coarse-adjusting interface element, the adjacent volume level being located before or after the first volume level; obtain a target volume gain between the adjacent volume level and the first volume level, the target volume gain being determined by at least two gain values; and determine the volume fine-tuning interface element according to the target volume gain and the first volume level.

[0083] In another embodiment, when the determination unit 103 is used to determine the volume fine-tuning interface element according to the target volume gain and the first volume level, it is specifically used to: use the first volume level as a reference volume level in the volume fine-tuning interface element, the reference volume level includes the volume level at at least one of the following positions: an initial position, an end position, or a midpoint position; determine a unit volume gain of the volume fine-tuning interface element according to the target volume gain, the number of gain values ​​corresponding to the unit volume gain is less than the number of gain values ​​corresponding to the target volume gain; based on the reference volume level, set a volume level for every unit volume gain to determine the volume fine-tuning interface element.

[0084] In another embodiment, the second trigger instruction includes: a press instruction; the determination unit 103 can also be used to: if a second trigger instruction for the volume coarse adjustment interface element is received, obtain the press parameters corresponding to the second trigger instruction, and the press parameters include at least one of the following: press duration, press force and press position; determine whether the press parameters meet the preset press conditions, and the preset press conditions include at least one of the following: the press duration is greater than the preset duration, the press force is greater than the preset force, and the press position matches the preset position; if the press parameters meet the preset press conditions, execute the step of determining the volume fine-tuning interface element according to the first volume level.

[0085] In another embodiment, the determination unit 103 can also be used to: if the pressing parameter does not meet the preset pressing adjustment, output a prompt message on the user interface, wherein the prompt message is used to prompt the user whether to fine-tune the volume; receive feedback information about the prompt message, and execute the operation corresponding to the feedback information.

[0086] In an embodiment of the present invention, if a first trigger instruction is received, a volume coarse adjustment interface element may be displayed, and the volume of the terminal may be adjusted to a first volume level according to the first adjustment instruction for the volume coarse adjustment interface element. If a second trigger instruction for the volume coarse adjustment interface element is received, a volume fine adjustment interface element is determined according to the first volume level, and the volume fine adjustment interface element is displayed. It can be seen that the above-mentioned volume adjustment process can not only display a volume coarse adjustment interface element in the user interface, but also display a volume fine adjustment interface element, so that the user can further fine-tune the volume according to the volume fine adjustment interface element, so that the adjusted volume can meet the user's needs.

[0087] See also Figure 6 , is a schematic diagram of the structure of a terminal provided by an embodiment of the present invention. Figure 6The terminal in the embodiment shown may include: one or more processors 201; one or more input devices 202, one or more output devices 203 and a memory 204. The processor 201, the input device 202, the output device 203 and the memory 204 are connected via a bus 205. The memory 204 is used to store a computer program, the computer program includes program instructions, and the processor 201 is configured to call the program instructions stored in the memory 204 to execute the above-mentioned volume adjustment method.

[0088] In one embodiment, the processor 201 may be a central processing unit (CPU), or other general-purpose processors, i.e., a microprocessor or any conventional processor. The memory 204 may include a read-only memory and a random access memory, and provide instructions and data to the processor 201. Therefore, the processor 201 and the memory 204 are not limited herein.

[0089] In the embodiment of the present invention, the processor 201 loads and executes one or more program instructions stored in the computer storage medium to implement the corresponding steps of the method in the above corresponding embodiment; in a specific implementation, at least one program instruction in the computer storage medium can be loaded by the processor 201 and execute the following steps:

[0090] If a first trigger instruction for volume adjustment is received, a volume coarse adjustment interface element is displayed on the user interface, wherein the volume gain between two adjacent volume levels in the volume coarse adjustment interface element is greater than a preset threshold;

[0091] Obtaining a first adjustment instruction for the volume coarse adjustment interface element, and adjusting the volume of the terminal to a first volume level according to the first adjustment instruction;

[0092] If a second trigger instruction for the volume coarse adjustment interface element is received, determining a volume fine adjustment interface element according to the first volume level, the volume gain between two adjacent volume levels in the volume fine adjustment interface element being smaller than the volume gain between two adjacent volume levels in the volume coarse adjustment interface element;

[0093] The volume fine-tuning interface element is displayed on the user interface.

[0094] In one embodiment, the at least one program instruction can also be loaded by the processor 201 and used to execute: obtaining a second adjustment instruction for the volume fine-tuning interface element; and adjusting the volume of the terminal from the first volume level to the second volume level according to the second adjustment instruction.

[0095] In another embodiment, before obtaining the second adjustment instruction for the volume fine-tuning interface element, the at least one program instruction may also be loaded by the processor 201 and used to execute: setting the state of the volume coarse-adjusting interface element to an invalid state to shield the operation instructions for the volume coarse-adjusting interface element; setting the state of the volume fine-adjusting interface element to a valid state, and executing the step of obtaining the second adjustment instruction for the volume fine-adjusting interface element.

[0096] In another embodiment, when determining a volume fine-tuning interface element according to the first volume level, the at least one program instruction may be loaded by the processor 201 and specifically used to execute: determining an adjacent volume level adjacent to the first volume level in the volume coarse-adjusting interface element, the adjacent volume level being located before or after the first volume level; obtaining a target volume gain between the adjacent volume level and the first volume level, the target volume gain being determined by at least two gain values; and determining a volume fine-tuning interface element according to the target volume gain and the first volume level.

[0097] In another embodiment, when determining a volume fine-tuning interface element according to the target volume gain and the first volume level, the at least one program instruction may be loaded by the processor 201 and specifically used to execute: using the first volume level as a reference volume level in the volume fine-tuning interface element, the reference volume level comprising a volume level at at least one of the following positions: an initial position, an end position, or a midpoint position; determining a unit volume gain of the volume fine-tuning interface element according to the target volume gain, the number of gain values ​​corresponding to the unit volume gain being less than the number of gain values ​​corresponding to the target volume gain; and based on the reference volume level, setting a volume level for every unit volume gain to determine the volume fine-tuning interface element.

[0098] In another embodiment, the second trigger instruction includes: a press instruction; the at least one program instruction can also be loaded by the processor 201 and used to execute: if a second trigger instruction for the volume coarse adjustment interface element is received, then the press parameters corresponding to the second trigger instruction are obtained, and the press parameters include at least one of the following: press duration, press force and press position; determine whether the press parameters meet the preset press conditions, and the preset press conditions include at least one of the following: the press duration is greater than the preset duration, the press force is greater than the preset force, and the press position matches the preset position; if the press parameters meet the preset press conditions, execute the step of determining the volume fine-tuning interface element according to the first volume level.

[0099] In another embodiment, the at least one program instruction can also be loaded by the processor 201 and used to execute: if the pressing parameter does not meet the preset pressing adjustment, a prompt message is output on the user interface, and the prompt message is used to prompt the user whether to fine-tune the volume; feedback information about the prompt message is received, and the operation corresponding to the feedback information is executed.

[0100] In an embodiment of the present invention, if a first trigger instruction is received, a volume coarse adjustment interface element may be displayed, and the volume of the terminal may be adjusted to a first volume level according to the first adjustment instruction for the volume coarse adjustment interface element. If a second trigger instruction for the volume coarse adjustment interface element is received, a volume fine adjustment interface element is determined according to the first volume level, and the volume fine adjustment interface element is displayed. It can be seen that the above-mentioned volume adjustment process can not only display a volume coarse adjustment interface element in the user interface, but also display a volume fine adjustment interface element, so that the user can further fine-tune the volume according to the volume fine adjustment interface element, so that the adjusted volume can meet the user's needs.

[0101] It should be noted that the specific working process of the terminal and the unit described above can refer to the relevant description in the aforementioned embodiments, which will not be repeated here.

[0102] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0103] The above disclosure is only part of the embodiments of the present invention, which certainly cannot be used to limit the scope of the rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiments and equivalent changes made according to the claims of the present invention are still within the scope of the invention.

Claims

1. A volume adjustment method, characterized in that: include: If a first trigger instruction for volume adjustment is received, an application scenario of the terminal is obtained, a volume coarse adjustment interface element is set and displayed according to the application scenario, and a volume gain between two adjacent volume levels in the volume coarse adjustment interface element is greater than a preset threshold; wherein the volume gain between two adjacent volume levels in the volume coarse adjustment interface element corresponding to different application scenarios is different; Obtaining a first adjustment instruction for the volume coarse adjustment interface element, and adjusting the volume of the terminal to a first volume level according to the first adjustment instruction; If a second trigger instruction is received, determining a volume fine-tuning interface element according to the first volume level, including: determining an adjacent volume level adjacent to the first volume level in the volume coarse-adjusting interface element, acquiring a target volume gain between the adjacent volume level and the first volume level, and determining the volume fine-tuning interface element according to the target volume gain and the first volume level, the adjacent volume level being located before or after the first volume level, the target volume gain being determined by at least two gain values, and the volume gain between two adjacent volume levels in the volume fine-adjusting interface element being less than the volume gain between two adjacent volume levels in the volume coarse-adjusting interface element; Display the volume fine-tuning interface element; The determining of the volume fine-tuning interface element according to the target volume gain and the first volume level includes: taking the first volume level as a reference volume level in the volume fine-tuning interface element, the reference volume level including a volume level at at least one of the following positions: an initial position, an end position, or a midpoint position; determining a unit volume gain of the volume fine-tuning interface element according to the target volume gain, the number of gain values ​​corresponding to the unit volume gain being less than the number of gain values ​​corresponding to the target volume gain; and setting a volume level for every unit volume gain based on the reference volume level to determine the volume fine-tuning interface element.

2. The method according to claim 1, characterized in that The method further comprises: Obtaining a second adjustment instruction for the volume fine-tuning interface element; The volume of the terminal is adjusted from the first volume level to a second volume level according to the second adjustment instruction.

3. The method according to claim 2, characterized in that Before obtaining the second adjustment instruction for the volume fine-tuning interface element, the method further includes: Setting the state of the volume coarse adjustment interface element to an invalid state to shield operation instructions on the volume coarse adjustment interface element; The state of the volume fine-tuning interface element is set to a valid state, and a step of obtaining a second adjustment instruction for the volume fine-tuning interface element is performed.

4. The method according to any one of claims 1 to 3, characterized in that: The second trigger instruction includes: a press instruction; the method further includes: If a second trigger instruction for the volume coarse adjustment interface element is received, a pressing parameter corresponding to the second trigger instruction is obtained, where the pressing parameter includes at least one of the following: pressing duration, pressing force, and pressing position; Determining whether the pressing parameter satisfies a preset pressing condition, wherein the preset pressing condition includes at least one of the following: the pressing duration is greater than a preset duration, the pressing force is greater than a preset force, and the pressing position matches the preset position; If the pressing parameter satisfies the preset pressing condition, a step of determining a volume fine-tuning interface element according to the first volume level is performed.

5. The method according to claim 4, characterized in that The method further comprises: If the pressing parameter does not satisfy the preset pressing adjustment, a prompt message is output, wherein the prompt message is used to prompt whether to perform volume fine-tuning; Receive feedback information about the prompt information, and perform an operation corresponding to the feedback information.

6. A volume adjustment device, characterized in that: include: A display unit, configured to, upon receiving a first trigger instruction for volume adjustment, obtain an application scenario in which the terminal is located, set a volume coarse adjustment interface element according to the application scenario, and display the volume coarse adjustment interface element, wherein a volume gain between two adjacent volume levels in the volume coarse adjustment interface element is greater than a preset threshold; wherein the volume gain between two adjacent volume levels in the volume coarse adjustment interface element corresponding to different application scenarios is different; an adjusting unit, configured to obtain a first adjusting instruction for the volume coarse adjustment interface element, and adjust the volume of the terminal to a first volume level according to the first adjusting instruction; a determining unit, configured to determine, if receiving a second trigger instruction, a volume fine-tuning interface element according to the first volume level, wherein a volume gain between two adjacent volume levels in the volume fine-tuning interface element is smaller than a volume gain between two adjacent volume levels in the volume coarse-tuning interface element; The display unit is also used to display the volume fine-tuning interface element; In terms of determining the volume fine-tuning interface element according to the first volume level, the determining unit is specifically used to determine an adjacent volume level adjacent to the first volume level in the volume coarse-adjusting interface element, obtain a target volume gain between the adjacent volume level and the first volume level, and determine the volume fine-tuning interface element according to the target volume gain and the first volume level, the adjacent volume level is located before or after the first volume level, and the target volume gain is determined by at least two gain values; In terms of determining the volume fine-tuning interface element according to the target volume gain and the first volume level, the determining unit is specifically used to: use the first volume level as a reference volume level in the volume fine-tuning interface element, the reference volume level includes the volume level at at least one of the following positions: an initial position, an end position, or a midpoint position; determine a unit volume gain of the volume fine-tuning interface element according to the target volume gain, the number of gain values ​​corresponding to the unit volume gain is less than the number of gain values ​​corresponding to the target volume gain; based on the reference volume level, set a volume level for every unit volume gain to determine the volume fine-tuning interface element.

7. A terminal, characterized in that: The method comprises a processor, an input device, an output device and a memory, wherein the processor, the input device, the output device and the memory are interconnected, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Parameter adjusting method and device

    CN103995653A

  • Slide bar display control device and slide bar display control method

    CN105607837A

  • Ringtone volume adjustment method and apparatus, wearable device and storage medium

    CN108924376A