Dial control method and electronic device

TW202636266AActive Publication Date: 2026-09-01ASUSTEK COMPUTER INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
TW114106581
Authority / Receiving Office
TW · TW
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-02-21
Publication Date
2026-09-01
Estimated Expiration
2045-02-20

AI Technical Summary

Technical Problem

Existing knob products struggle with precise adjustments in large value ranges, often causing abrupt value changes due to sudden increases in single adjustment intervals.

Method used

A knob control method that calculates current acceleration values based on the difference between previous and current rotation counts, combined with an acceleration factor, allowing for smooth adjustments by varying rotation speeds or amplitudes.

Benefits of technology

Enables easy and precise adjustments without abrupt value changes, accommodating user preferences and habits through adjustable acceleration and deceleration factors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure TWG2TA001073859_001
    Figure TWG2TA001073859_001
  • Figure TWG2TA001073859_002
    Figure TWG2TA001073859_002
  • Figure TWG2TA001073859_003
    Figure TWG2TA001073859_003
Patent Text Reader

Abstract

A dial control method adapted to an electronic device having a display and a dial device is provided. The display is used for showing a window corresponding to an application program and a user’s interface corresponding to the dial device. The dial device reports a rotation count per unit of time. The dial control method comprises the following steps. A first level value is received, wherein the first level value corresponds to an acceleration factor. A previous rotation count and a current rotation count are received from the dial device, and a difference between the previous rotation count and the current rotation count is calculated. A current acceleration value is generated based on a previous acceleration value, the difference, and the acceleration factor. A change value is generated based on the current acceleration value. The application program is controlled by the change value. The electronic device is also provided.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This case relates to a control method for an electronic device, and more particularly to a knob control method and an electronic device to which the knob control method is applied. [Previous Technology]

[0002] With the development of technology, users have increasingly higher requirements for the human-machine interface of electronic products. Compared with push-button switches, knobs offer users more diverse operating methods. Users can input control signals by rotating the knob.

[0003] In order to meet the need for rapid adjustment, some knob products will increase the single adjustment interval when adjusting functions with large numerical changes. However, such knob products are difficult to adjust to precise values ​​in the range of large values, and when the single adjustment interval changes, there is a sudden feeling of abrupt increase in value. [Summary of the Invention]

[0004] This application provides a knob control method applicable to an electronic device. The electronic device has a screen and a knob. The screen is adapted to display an application window and a user interface corresponding to the knob. The knob reports a rotation count corresponding to the unit time every unit time. This knob control method includes: acquiring a first level value; determining an acceleration factor based on the first level value; acquiring a previous rotation count and a current rotation count from the knob, and calculating a difference between the previous rotation count and the current rotation count; generating a current acceleration value based on a previous acceleration value, the difference, and the acceleration factor; generating a change value based on the current acceleration value; and controlling the application based on the change value.

[0005] This invention also provides an electronic device. This electronic device includes a knob, a screen, a setting unit, a control unit, a calculation unit, and a processing unit. The knob reports a rotation count corresponding to a unit of time every unit of time. The screen is adapted to display an application window and a user interface corresponding to the knob. The setting unit is adapted to acquire a first level value and determine an acceleration factor based on the first level value. The control unit is electrically coupled to the knob and adapted to acquire a previous rotation count and a current rotation count from the knob, and calculate a difference between the previous rotation count and the current rotation count. The calculation unit is electrically coupled to the control unit and the setting unit and adapted to generate a current acceleration value based on a previous acceleration value, the difference, and the acceleration factor, and generate a change value based on the current acceleration value. The processing unit is electrically coupled to the calculation unit and adapted to control the application based on the change value.

[0006] The knob control method of this case is equipped with an acceleration factor, and the current acceleration value is calculated by taking the difference between the previous rotation count and the current rotation count obtained by the knob, combined with the acceleration factor and the previous acceleration value. This allows the user to easily adjust the output value by rotating the knob at different speeds or amplitudes, and effectively avoids the abruptness caused by a sudden increase in value.

Implementation Method

[0007] The specific embodiments of this case will be described in more detail below with reference to the schematic diagrams. The advantages and features of this case will become clearer based on the following description and the scope of the patent application. It should be noted that the drawings are all in a very simplified form and use non-precise proportions, and are only used to facilitate and clarify the illustration of the embodiments of this case.

[0008] The first figure is a block diagram of an electronic device 100 provided according to an embodiment of the present invention. The second figure is a perspective view of an electronic device 100 provided according to an embodiment of the present invention. A notebook computer is shown in the figure as an example; however, the present invention is not limited thereto. Any electronic device 100 that can be equipped with or connected to a knob device as an input interface is applicable to the present invention.

[0009] As shown in the figure, the electronic device 100 includes a knob 120, a screen 130, a setting unit 140, a control unit 150, a computing unit 160 and a processing unit 170.

[0010] After the electronic device 100 is activated, the knob 120 reports a rotation count N1 corresponding to one of the unit time Tbases every unit time. This unit time Tbase can be, for example, 100 ms.

[0011] Please refer to Figures 3A and 3B together, which show two embodiments of the knob in this case.

[0012] In the embodiment shown in Figure 3A, a knob pattern 312 is formed on the surface of the touchpad 310. In this embodiment, touch data received at the knob pattern 312 of the touchpad 310 is converted into knob data for subsequent processing through software control. That is, this embodiment integrates the knob function into the touchpad 310. This embodiment does not have a physical knob device to perform the knob function.

[0013] As shown in Figure 3B, the knob device 320 is disposed on the side of the touch panel 310 and is disposed independently of the touch panel 310. This embodiment has a physical knob device 320 to perform the knob function.

[0014] The screen 130 is adapted to display a window corresponding to an application program (AP) and a user interface (UI) corresponding to the knob 120.

[0015] Please refer to Figures 4A and 4B together. Figures 4A and 4B show one embodiment of the screen displayed on the screen 130 of this case. The figures show a partial window of a drawing application.

[0016] As shown in the figure, in one embodiment, the window 420 corresponding to the drawing application is presented as a background on the screen 130, and the user interface (UI) corresponding to the knob 120 floats on the window 420. In another embodiment, this user interface (UI) can be presented in a semi-transparent manner to facilitate the user's viewing of the content of the window 420.

[0017] The user interface (UI) presents the appearance of a knob 120, having an inner circular portion 442 and an outer ring portion 444. Depending on the accompanying application (AP), the user interface presents a two-tiered operation mode.

[0018] As shown in Figure 4A, in the first-level operation page, the outer ring 444 of the user interface (UI) presents a variety of adjustable control functions of the application (AP) for the user to choose from.

[0019] After the user selects one of these control functions, as shown in Figure 4B, the user enters the second-level operation page. At this time, the parameter value corresponding to the selected control function will be displayed in the inner circle portion 442 of the user interface (UI). In another embodiment, to facilitate the user's quick confirmation of parameter value changes, the outer ring portion 444 of the user interface (UI) may present a ring-shaped segment 444a, and the length of the ring-shaped segment 444a may be used to represent the parameter value.

[0020] The setting unit 140 is adapted to acquire a first level value L1, and determine the acceleration factor Fa and deceleration factor Fb applicable to the current input of the knob 12 based on the first level value L1. Different first level values ​​L1 correspond to different acceleration factors Fa and deceleration factors Fb.

[0021] Please also refer to Table 1, which shows the acceleration / deceleration levels and corresponding acceleration factors Fa and deceleration factors Fb provided according to an embodiment of this case. Acceleration / deceleration levels Acceleration factor Fa Deceleration factor Fb 1 acbase*3 acbase 2 acbase*5 acbase*2 3 acbase*6 acbase*3 4 acbase*7 acbase*4 5 acbase*8 acbase*5 Table 1

[0022] As shown in Table 1, the setting unit 140 provides five acceleration / deceleration levels (level 1 to level 5) for the user to select. Each level has a corresponding acceleration factor Fa and deceleration factor Fb, and both the acceleration factor Fa and the deceleration factor Fb are set to an integer multiple of a base acceleration value acbase. The multiples of the acceleration factor Fa and the deceleration factor Fb relative to the base acceleration value acbase can be the same or different.

[0023] The user can select different first-level values ​​L1 to change the applicable acceleration / deceleration level. The setting unit 140 can determine the applicable acceleration factor Fa and deceleration factor Fb based on the obtained first-level value L1.

[0024] In one embodiment, as the level increases, the acceleration factor Fa and the deceleration factor Fb also increase, to exhibit acceleration and deceleration behaviors with larger fluctuations. In another embodiment, the acceleration factor Fa at the same level is greater than the deceleration factor Fb, to suit the user's operating habits.

[0025] Furthermore, the aforementioned embodiments set corresponding acceleration factors Fa and deceleration factors Fb for different first-level values ​​L1, but this invention is not limited to this. In other embodiments, only the acceleration factor Fa or only the deceleration factor Fb may be set for subsequent calculations.

[0026] In one embodiment, the basic acceleration value acbase can be calculated and derived according to the following formula 1.

[0027] Formula 1: acbase=1.0 / dbase

[0028] Wherein, dbase is a preset base movement distance, and acbase corresponds to the minimum movement distance. For example, assuming dbase is a movement distance of 20 units, acbase will be a movement distance of 1 unit.

[0029] The control unit 150 is electrically coupled to the knob 120 and is adapted to obtain a previous rotation count Nprev and a current rotation count Ncurr from the knob 120, and calculate a difference Ndiff between the previous rotation count Nprev and the current rotation count Ncurr (Ndiff = Ncurr - Nprev).

[0030] Specifically, assuming the unit time Tbase for calculating the knob rotation amplitude is 100ms, the current rotation count Ncurr is the number of scale divisions rotated within the current unit time (100ms), and the previous rotation count Nprev is the number of scale divisions rotated within the previous unit time (100ms). If the current rotation count Ncurr is greater than the previous rotation count Nprev, it indicates acceleration; if the current rotation count Ncurr is less than the previous rotation count Nprev, it indicates deceleration.

[0031] The calculation unit 160 is electrically coupled to the control unit 150 and the setting unit 140, and is adapted to generate a current acceleration value Accurr based on a previous acceleration value Accrev, a difference Ndiff, and an acceleration factor Fa, and to generate a variation value CV based on the current acceleration value Accurr. The previous acceleration value Accrev is the current acceleration value calculated by the calculation unit 160 previously, and is temporarily stored in the calculation unit 160.

[0032] In one embodiment, under acceleration conditions, the calculation unit 160 can calculate the current acceleration value Accurr according to the following formula 2.

[0033] Formula 2: Accurr=Acprev+(Ncurr-Nprev)*Fa*θ, Ncurr>Nprev

[0034] Similarly, in the case of deceleration, the calculation unit 160 can calculate the current acceleration value according to the following formula 3.

[0035] Formula 3: Accurr=Acprev-(Nprev-Ncurr)*Fb*θ, Ncurr≤Nprev

[0036] Where θ is the adjustment coefficient for adjusting the magnitude of the acceleration or deceleration factor under special conditions (significant acceleration or deceleration), and θ is a floating-point number greater than or equal to 1. Under normal acceleration or deceleration conditions, the adjustment coefficient θ = 1.

[0037] When the acceleration condition is met (that is, when the current rotation count Ncurr is greater than the previous rotation count Nprev), the calculation unit 160 uses Formula 2 to calculate the acceleration. When the absolute value of the difference Ndiff between the current rotation count Ncurr and the previous rotation count Nprev is greater than a preset value, it can be considered that the special condition is met; otherwise, it is considered as general acceleration, and the adjustment coefficient θ is set to 1.

[0038] Similarly, when the deceleration condition is met (that is, when the current rotation count Ncurr is less than or equal to the previous rotation count Nprev), the calculation unit 160 calculates the acceleration using Formula 3. When the absolute value of the difference Ndiff between the current rotation count Ncurr and the previous rotation count Nprev is greater than a preset value or the current rotation count Ncurr = 1, it can be considered that a special condition is met; otherwise, it is considered as general deceleration, and the adjustment coefficient θ is set to 1.

[0039] In one embodiment, the calculation unit 160 may calculate the change value CV corresponding to the current unit time according to the following formula 4.

[0040] Formula 4: CV=Accurr*dbase

[0041] wherein, dbase is the base distance traveled, and the relevant explanation can be found in the previous paragraph corresponding to the base acceleration value acbase.

[0042] The processing unit 170 is electrically coupled to the computing unit 160 and is adapted to control the application program AP based on the change value CV. In one embodiment, the processing unit 170 can directly increase or decrease the control parameter values ​​of the control function of the application program AP based on the change value CV. For a drawing application, the processing unit 170 can directly increase the brush thickness, adjust the color temperature, etc., based on the change value CV. In one embodiment, the processing unit 170 can be a central processing unit.

[0043] In one embodiment, the setting unit 140 provides a plurality of upper and lower limit levels for the user to select. These upper and lower limit levels are used to limit the range of the current acceleration value Accurr calculated by the calculation unit 160, so as to prevent the variable value CV from increasing uncontrollably and exceeding the user's expectations.

[0044] The second level value L2 is used to confirm the applicable upper and lower limit levels. Users can input different second level values ​​L2 to adjust the applicable upper limit value UL and lower limit value LL.

[0045] Please also refer to Table 2, which shows the upper and lower limit levels provided according to an embodiment of this case and the corresponding upper limit value UL and lower limit value LL. Upper and lower limit levels Upper limit UL Lower limit value LL 1 acbase*20 acbase 2 acbase*30 acbase*10 3 acbase*40 acbase*15 4 acbase*50 acbase*20 5 acbase*80 acbase*30 Table 2

[0046] As shown in Table 2, the setting unit 140 has five upper and lower limit levels (level 1 to level 5) for the user to select. Each level has a corresponding upper limit value UL and a lower limit value LL, and both the upper limit value UL and the lower limit value LL are set to an integer multiple of a base acceleration value acbase. The multiples of the upper limit value UL and the lower limit value LL relative to the base acceleration value acbase can be the same or different.

[0047] Users can select different second-level values ​​L2 to change the applicable upper and lower limit levels. The setting unit 140 can determine the applicable upper limit value UL and lower limit value LL based on the obtained second-level value L2.

[0048] In one embodiment, as the level increases, the upper limit value UL and the lower limit value LL also increase to present acceleration and deceleration behaviors with larger fluctuations. In another embodiment, the upper limit value UL in the same level is greater than the lower limit value LL to accommodate the user's operating habits.

[0049] Furthermore, this embodiment does not distinguish between acceleration and deceleration behaviors, but assigns the same upper limit value UL and lower limit value LL to acceleration and deceleration behaviors at the same upper and lower limit levels. However, this embodiment is not limited to this. In other embodiments, different upper limit values ​​UL and lower limit values ​​LL can be assigned to acceleration and deceleration behaviors at the same upper and lower limit levels to more accurately simulate the user's knob input behavior.

[0050] In one embodiment, the calculation unit 160 may calculate the current acceleration value Accurr according to the following formula 5.

[0051] Formula 5: Accurr=max(min(Accurr, UL), LL)

[0052] The calculation unit 160 can use Formula 5 to limit the current acceleration value Accurr between the upper limit value UL and the lower limit value LL corresponding to the second level value L2 obtained by the setting unit 140.

[0053] Please also refer to Figure 5, which is a flowchart of the knob control method provided according to the first embodiment of this case. This knob control method is applicable to the electronic device 100 shown in Figure 1. This knob control method includes the following steps.

[0054] First, as described in step S520, a first level value L1 is obtained, and an acceleration factor Fa is determined based on the first level value L1. This step can be performed by the setting unit 140. In one embodiment, this step can also determine the acceleration factor Fa and the deceleration factor Fb for use in subsequent process calculations.

[0055] Subsequently, as described in step S530, the knob 120 acquires a previous rotation count Nprev and a current rotation count Ncurr, and calculates a difference Ndiff between the previous rotation count Nprev and the current rotation count Ncurr. This step can be performed by the control unit 150.

[0056] Next, as described in step S540, a current acceleration value Accurr is generated based on a previous acceleration value Accrev, the difference Ndiff, and the acceleration factor Fa.

[0057] Subsequently, as described in step S550, a change value CV is generated based on the current acceleration value Accurr. The aforementioned steps S540 and S550 can be executed by the calculation unit 160.

[0058] Then, as described in step S560, the application program AP is controlled based on the change value CV. This step can be performed by the processing unit 170. In one embodiment, when performing step S560, the change value CV can be simultaneously displayed on the user interface UI, for example, displayed in the center of a knob icon in the user interface UI.

[0059] Please also refer to Figure 6, which is a flowchart of the knob control method provided according to the second embodiment of this case. This knob control method is applicable to the electronic device 100 shown in Figure 1. This knob control method includes the following steps.

[0060] First, as described in step S620, a first level value L1 is obtained, and an acceleration factor Fa is determined based on the first level value L1. This step can be performed by the setting unit 140.

[0061] Subsequently, as described in step S625, a second level value L2 is obtained, the second level value L2 corresponding to at least one boundary setting value, the aforementioned at least one boundary setting value being selected from a group consisting of an upper limit value UL and a lower limit value LL. The aforementioned steps S620 and S625 can be executed by the setting unit 140.

[0062] Next, as described in step S630, the knob 120 acquires a previous rotation count Nprev and a current rotation count Ncurr, and calculates a difference Ndiff between the previous rotation count Nprev and the current rotation count Ncurr. This step can be performed by the control unit 150.

[0063] Next, as described in step S640, a current acceleration value Accurr is generated based on a previous acceleration value Accrev, the difference Ndiff, and the acceleration factor Fa.

[0064] Then, as described in step S645, it is confirmed whether the current acceleration value Accurr exceeds the upper limit value UL. If the current acceleration value Accurr exceeds the upper limit value UL, the process proceeds to step S650, where a change value CV is generated based on the upper limit value UL.

[0065] If the current acceleration value Accurr does not exceed the upper limit value UL, the process proceeds to step S655, where a change value CV is generated based on the current acceleration value Accurr. The aforementioned steps S640, S645, S650, and S655 can be executed by the calculation unit 160.

[0066] Then, as described in step S660, the application AP is controlled based on the change value CV. This step can be performed by the processing unit 170.

[0067] Please also refer to Figure 7, which is a flowchart of the knob control method provided according to the third embodiment of this case. This knob control method is applicable to the electronic device 100 shown in Figure 1. This knob control method includes the following steps.

[0068] First, as described in step S720, a first level value L1 is obtained, and an acceleration factor Fa is determined based on the first level value L1.

[0069] Subsequently, as described in step S725, a second level value L2 is obtained, the second level value L2 corresponding to at least one boundary setting value, which is selected from a group consisting of an upper limit value UL and a lower limit value LL. The aforementioned steps S720 and S725 can be executed by the setting unit 140.

[0070] Next, as described in step S730, the knob 120 acquires a previous rotation count Nprev and a current rotation count Ncurr, and calculates a difference Ndiff between the previous rotation count Nprev and the current rotation count Ncurr. This step can be performed by the control unit 150.

[0071] Next, as described in step S740, a current acceleration value Accurr is generated based on a previous acceleration value Accrev, the difference Ndiff, and the acceleration factor Fa.

[0072] Then, as described in step S745, it is confirmed whether the current acceleration value Accurr exceeds the upper limit value UL. If the current acceleration value Accurr exceeds the upper limit value UL, the process proceeds to step S750, where a change value CV is generated based on the upper limit value UL. If the current acceleration value Accurr does not exceed the upper limit value UL, the process proceeds to step S755, where a change value CV is generated based on the current acceleration value Accurr. The aforementioned steps S740, S745, S750, and S755 can be executed by the calculation unit 160.

[0073] Then, as described in step S760, the application AP is controlled based on the change value CV. This step can be performed by the processing unit 170.

[0074] Subsequently, the process proceeds to the judgment step S770, confirming whether the number of consecutive exceedances Chigh corresponding to one of the upper limit values ​​UL is greater than a threshold Nth. In one embodiment, step S770 backtracks a judgment time interval to confirm the number of consecutive exceedances Chigh, and determines whether the number of consecutive exceedances Chigh is greater than the threshold Nth within this judgment time interval. This judgment time interval is greater than the unit time Tbase. In one embodiment, this judgment time interval can be 500ms.

[0075] If the number of consecutive exceedances Chigh exceeds the threshold Nth, the process proceeds to step S775, increasing the second level value L2. In one embodiment, step S775 increases the second level value L2 by one level. If the number of consecutive exceedances Chigh does not exceed the threshold Nth, the process ends. The aforementioned steps S770 and S775 can be automatically executed by the calculation unit 160 in conjunction with the setting unit 140.

[0076] The judgment steps S770 and S775 described above confirm whether the number of consecutive exceedances corresponding to the upper limit value UL, Chigh, is greater than a threshold Nth. However, this invention is not limited to this. In other embodiments, this knob control method can also confirm whether the number of consecutive exceedances corresponding to the lower limit value LL, Clow, is greater than a threshold Nth, and when the number of consecutive exceedances Clow is greater than the threshold Nth, the second level value L2 is reduced.

[0077] Please also refer to Figure 8, which is a flowchart of the knob control method provided according to the fourth embodiment of this case. This knob control method is applicable to the electronic device 100 shown in Figure 1. This knob control method includes the following steps.

[0078] First, as described in step S820, a first level value L1 is obtained, and an acceleration factor Fa is determined based on the first level value L1. This step can be performed by the setting unit 140.

[0079] Subsequently, as described in step S830, the knob 120 acquires one consecutive previous rotation count Nprev and one current rotation count Ncurr, and calculates a difference Ndiff between the previous rotation count Nprev and the current rotation count Ncurr. This step can be performed by the control unit 150.

[0080] Next, as described in step S840, a current acceleration value Accurr is generated based on a previous acceleration value Accrev, the difference Ndiff, and the acceleration factor Fa.

[0081] The previous acceleration value Accrev corresponds to a previous calculation time point T1, and the current acceleration value Accurr corresponds to a current calculation time point T2.

[0082] Subsequently, as described in the judgment step S845, it is confirmed whether the time difference DT between the previous calculation time point T1 and the current calculation time point T2 exceeds a first judgment time interval Tth. The first judgment time interval Tth is greater than the unit time Tbase. For example, the first judgment time interval Tth can be 500ms and the unit time Tbase can be 100ms.

[0083] If the time difference DT between the previous calculation time point T1 and the current calculation time point T2 exceeds the first judgment time interval Tth, the process proceeds to step S850, where the current acceleration value Accurr is set as an initial value, and a variable value CV is generated based on the initial value.

[0084] If the time difference DT between the previous calculation time point T1 and the current calculation time point T2 does not exceed the first judgment time interval Tth, the process proceeds to step S855, where a change value CV is generated based on the current acceleration value Accurr. The aforementioned steps S840, S845, S850, and S855 can be executed by the calculation unit 160.

[0085] Subsequently, as described in step S860, the application program AP is controlled based on the change value CV. This step can be performed by the processing unit 170.

[0086] The aforementioned first judgment time interval Tth can be used as a conditional factor to allow the calculation of the acceleration value to return to the initial setting, so as to reflect the actual operation state of the user pausing the rotation operation.

[0087] The embodiments in Figures 5 to 8 described above illustrate the control flow when the knob 120 is accelerating. However, this invention is not limited to this. This invention can also be applied to the operating state when the knob 120 is decelerating. When the knob 120 is decelerating, a deceleration factor Fb is used instead of the originally applied acceleration factor Fa. Other steps are generally similar to the control flow described in Figures 5 to 8 above, and will not be repeated here.

[0088] The knob control method of this case is set with an acceleration factor Fa, and the difference Ndiff between the previous rotation count Nprev and the current rotation count Ncurr is obtained by the knob 120. The current acceleration value Accurr is calculated by combining the acceleration factor Fa and the previous acceleration value Acprev. This allows the user to easily adjust the output change value CV by rotating the knob 120 at different speeds or amplitudes, and effectively avoids the abruptness caused by the sudden increase in value.

[0089] The above is merely a preferred embodiment of this case and does not limit the scope of this case in any way. Any equivalent substitution or modification made by a person skilled in the art to the technical means and technical content disclosed in this case without departing from the scope of the technical means of this case shall be deemed as not departing from the technical means of this case and shall still fall within the protection scope of this case. [Simplified Explanation of the Diagram]

[0090] The first figure is a block diagram of an electronic device provided according to an embodiment of the present invention; the second figure is a perspective diagram of an electronic device provided according to an embodiment of the present invention; the third figures A and B show two embodiments of the knob of the present invention; the fourth figures A and B show one embodiment of the screen display of the present invention; the fifth figure is a flowchart of the knob control method provided according to the first embodiment of the present invention; the sixth figure is a flowchart of the knob control method provided according to the second embodiment of the present invention; the seventh figure is a flowchart of the knob control method provided according to the third embodiment of the present invention; and the eighth figure is a flowchart of the knob control method provided according to the fourth embodiment of the present invention.

Claims

1. A knob control method applicable to an electronic device, the electronic device having a screen and a knob, the screen being adapted to display an application window and a user interface corresponding to the knob, the knob reporting a rotation count corresponding to the unit time at intervals of time, the knob control method comprising: acquiring a first level value, determining an acceleration factor based on the first level value; acquiring a consecutive previous rotation count and a current rotation count from the knob, and calculating a difference between the previous rotation count and the current rotation count; acquiring a previous acceleration value corresponding to a previous calculation point in time, and generating a current acceleration value corresponding to a current calculation point in time based on the previous acceleration value, the difference, and the acceleration factor; generating a change value based on the current acceleration value; and controlling the application based on the change value; wherein, When the time difference between the previous calculation point and the current calculation point exceeds a first judgment time interval, the current acceleration value is set as an initial value, and the change value is generated based on the initial value.

2. The knob control method as described in claim 1 further includes: presenting the change value on the user interface.

3. The knob control method as described in claim 1, wherein, The unit of time is 100ms.

4. The knob control method as described in claim 1 further includes: obtaining a second level value and determining at least one boundary setting value based on the second level value.

5. The knob control method as described in claim 4, wherein, The at least one boundary setting value is selected from a group consisting of an upper limit value and a lower limit value.

6. The knob control method as described in claim 4, wherein, The at least one boundary setting includes an upper limit value.

7. The knob control method as described in claim 6 further includes: when the current acceleration value exceeds the upper limit value, generating the change value based on the upper limit value.

8. The knob control method as described in claim 7 further comprises: when the current acceleration value exceeds the upper limit value, confirming a number of consecutive exceedances corresponding to the upper limit value; and when the number of consecutive exceedances is greater than a threshold value, increasing the second level value.

9. The knob control method as described in claim 1, wherein, The first judgment time interval is greater than the unit time.

10. The knob control method as described in claim 1, wherein, The first level value corresponds to the acceleration factor and a deceleration factor.

11. An electronic device comprising: a knob that reports a rotation count corresponding to the unit time at intervals of time; a screen adapted to display a window of an application and a user interface corresponding to the knob; a setting unit adapted to acquire a first level value and determine an acceleration factor based on the first level value; a control unit electrically coupled to the knob, adapted to acquire a consecutive previous rotation count and a current rotation count from the knob, and calculate a difference between the previous rotation count and the current rotation count; a calculation unit electrically coupled to the control unit and the setting unit, adapted to acquire a previous acceleration value corresponding to a previous calculation point, and generate a current acceleration value based on the previous acceleration value, the difference, and the acceleration factor, and generate a change value based on the current acceleration value; and a processing unit electrically coupled to the calculation unit, adapted to control the application based on the change value; wherein... When the time difference between the previous calculation point and the current calculation point exceeds a first judgment time interval, the current acceleration value is set as an initial value, and the change value is generated based on the initial value.

12. The electronic device as claimed in claim 11, wherein, The setting unit is adapted to determine the acceleration factor and a deceleration factor based on the first level value.