WO2021164760A1 - Parameter adjustment method and electronic device - Google Patents

Parameter adjustment method and electronic device Download PDF

Info

Publication number
WO2021164760A1
WO2021164760A1 PCT/CN2021/077025 CN2021077025W WO2021164760A1 WO 2021164760 A1 WO2021164760 A1 WO 2021164760A1 CN 2021077025 W CN2021077025 W CN 2021077025W WO 2021164760 A1 WO2021164760 A1 WO 2021164760A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
parameter
stylus
value
angle
Prior art date
Application number
PCT/CN2021/077025
Other languages
French (fr)
Chinese (zh)
Inventor
黄晓娴
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021164760A1 publication Critical patent/WO2021164760A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Abstract

Provided are a parameter adjustment method and an electronic device. The method comprises: when a stylus clicks on a target item on a touch screen of an electronic device, determining a rotation angle of the stylus and the duration of the stylus in a rotation termination position; determining a target adjustment speed of a target parameter according to the current first parameter value of a target parameter corresponding to the target item, a first angle between the stylus in a rotation initial position and the touch screen, and the rotation angle; and adjusting the target parameter to be a second parameter value according to the target adjustment speed and the duration.

Description

参数调整方法、电子设备Parameter adjustment method, electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年02月21日在中国提交的中国专利申请号202010109123.4的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010109123.4 filed in China on February 21, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明涉及信息处理技术领域,尤其涉及一种参数调整方法、电子设备。The present invention relates to the technical field of information processing, in particular to a parameter adjustment method and electronic equipment.
背景技术Background technique
随着平板电脑、手机等电子产品的便携化,其信息输入和控制方式也由传统的鼠标键盘式发展为触控式。应用最广泛的一种触控方式是电容触摸,其工作原理是通过检测手指按压处电容的变化,定位触摸位置。触控笔模拟手指触摸,触摸笔按压到的地方电容会变化,同样可以定位触摸位置。With the portability of electronic products such as tablet computers and mobile phones, their information input and control methods have also evolved from the traditional mouse and keyboard type to the touch type. One of the most widely used touch methods is capacitive touch, and its working principle is to locate the touch position by detecting the change in capacitance where the finger presses. The stylus simulates the touch of a finger, the capacitance of the place where the stylus is pressed will change, and the touch position can also be located.
目前,许多智能终端设备提供了触控笔,由于触控笔的笔尖更加精细,因此能够提供比手指输入更便捷和高效的输入,可实现更精确的屏幕点击操作。但是,触控笔的交互操作仍采用通过触控笔的笔尖点击来实现选择操作的传统方式,例如,当通过触控笔调整音量、屏幕亮度、字体大小等参数时,用户需要使用触控笔多次点击屏幕进行调整,使触控笔的交互操作繁琐,操作效率降低。At present, many smart terminal devices provide a stylus. Because the tip of the stylus is finer, it can provide more convenient and efficient input than finger input, and can achieve more precise screen click operations. However, the interactive operation of the stylus still uses the traditional way of selecting operation by clicking on the tip of the stylus. For example, when using the stylus to adjust the volume, screen brightness, font size and other parameters, the user needs to use the stylus Tap the screen multiple times to adjust, which makes the interactive operation of the stylus cumbersome and reduces the operation efficiency.
发明内容Summary of the invention
本发明提供一种参数调整方法、电子设备及存储介质,以解决在使用触控笔进行参数调整时,交互操作繁琐且操作效率低的问题。The present invention provides a parameter adjustment method, electronic equipment and storage medium, so as to solve the problems of complicated interactive operation and low operation efficiency when using a touch pen to adjust parameters.
第一方面,本发明实施例提供了一种参数调整方法,应用于电子设 备,该方法包括:In the first aspect, an embodiment of the present invention provides a parameter adjustment method, which is applied to an electronic device, and the method includes:
在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;When the stylus clicks the target item on the touch screen of the electronic device, determining the rotation angle of the stylus and the duration that the stylus is in the rotation termination position;
根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;Determine the target parameter according to the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle The target adjustment speed;
根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值。According to the target adjustment speed and the duration, the target parameter is adjusted to a second parameter value.
第二方面,本发明实施例提供了一种电子设备,该电子设备包括:In a second aspect, an embodiment of the present invention provides an electronic device, which includes:
第一确定模块,用于在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;The first determining module is configured to determine the rotation angle of the stylus and the duration of the stylus in the rotation termination position when the stylus clicks the target item on the touch screen of the electronic device;
第二确定模块,用于根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;The second determining module is used to determine the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation Angle, determining the target adjustment speed of the target parameter;
调整模块,用于根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值。The adjustment module is configured to adjust the target parameter to a second parameter value according to the target adjustment speed and the duration.
第三方面,提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现本发明所述的参数调整方法的步骤。In a third aspect, an electronic device is provided. The electronic device includes a processor, a memory, and a computer program that is stored on the memory and can run on the processor. When the computer program is executed by the processor, The steps of the parameter adjustment method described in the present invention are realized.
第四方面,提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,计算机程序被处理器执行时实现本发明所述的参数调整方法的步骤。In a fourth aspect, a computer-readable storage medium is provided, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the parameter adjustment method of the present invention are realized.
在本发明实施例中,通过在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值。本发明实施例中用 户只需要在点击目标项的情况下旋转触控笔即可完成对目标参数的调整,并不需对目标项使用触控笔进行多次点击,从而提高了参数的调整效率。此外,通过目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,能够灵活的控制目标参数的调节速度,提高了调整目标参数的灵活性。In the embodiment of the present invention, when a target item is clicked on the touch screen of the electronic device by the stylus, the rotation angle of the stylus and the duration of the stylus at the rotation end position are determined; Determine the target parameter according to the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle The target adjustment speed; according to the target adjustment speed and the duration, the target parameter is adjusted to a second parameter value. In the embodiment of the present invention, the user only needs to rotate the stylus while clicking the target item to complete the adjustment of the target parameter, and does not need to use the stylus to perform multiple clicks on the target item, thereby improving the parameter adjustment efficiency . In addition, through the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle, the target can be flexibly controlled The speed of parameter adjustment improves the flexibility of adjusting target parameters.
附图说明Description of the drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1示出了本发明实施例一中的一种参数调整方法的流程图;Fig. 1 shows a flowchart of a parameter adjustment method in the first embodiment of the present invention;
图2示出了本发明实施例一中的一种目标项显示界面的示意图;Figure 2 shows a schematic diagram of a target item display interface in the first embodiment of the present invention;
图3示出了本发明实施例一中的另一种目标项显示界面的示意图;FIG. 3 shows a schematic diagram of another target item display interface in Embodiment 1 of the present invention;
图4示出了本发明实施例一中的一种触控笔与触摸屏的示意图Figure 4 shows a schematic diagram of a stylus and touch screen in the first embodiment of the present invention
图5示出了本发明实施例二中的一种参数调整方法的流程图;FIG. 5 shows a flowchart of a parameter adjustment method in the second embodiment of the present invention;
图6示出了本发明实施例二中的一种触摸屏建立坐标系的示意图;FIG. 6 shows a schematic diagram of establishing a coordinate system on a touch screen in the second embodiment of the present invention;
图7示出了本发明实施例二中的一种触摸屏俯仰角修正的示意图;FIG. 7 shows a schematic diagram of a touch screen pitch angle correction in the second embodiment of the present invention;
图8示出了本发明实施例二中的一种触控笔俯仰角修正后的示意图;FIG. 8 shows a schematic diagram of a stylus after pitch angle correction in the second embodiment of the present invention;
图9示出了本发明实施例二中的一种触控笔与触摸屏之间角度的示意图;FIG. 9 shows a schematic diagram of an angle between a stylus and a touch screen in the second embodiment of the present invention;
图10示出了本发明实施例三中的一种电子设备的结构框图;FIG. 10 shows a structural block diagram of an electronic device in the third embodiment of the present invention;
图11示出了本发明实施例四中的一种电子设备的结构框图。Fig. 11 shows a structural block diagram of an electronic device in the fourth embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术 人员。Hereinafter, exemplary embodiments of the present invention will be described in more detail with reference to the accompanying drawings. Although the drawings show exemplary embodiments of the present invention, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
实施例一Example one
图1所示的流程图示意性地示出了本发明实施例一的参数调整方法,参数调整方法具体可以包括如下步骤:步骤101至步骤103。The flowchart shown in FIG. 1 schematically shows the parameter adjustment method according to the first embodiment of the present invention. The parameter adjustment method may specifically include the following steps: step 101 to step 103.
步骤101,在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长。Step 101: When the stylus pen clicks a target item on the touch screen of the electronic device, determine the rotation angle of the stylus pen and the duration that the stylus pen is in the rotation termination position.
在本发明实施例中,所述目标项包括:目标参数对应的标识或图标,其中,目标参数包括:所述电子设备的音量、所述电子设备的屏幕亮度和所述电子设备的字体大小中的任意一项;则所述目标项包括:所述电子设备的音量对应的图标或标识、或所述电子设备的屏幕亮度对应的图标或标识、或所述电子设备的字体大小对应的图标或标识。In the embodiment of the present invention, the target item includes: a logo or icon corresponding to the target parameter, where the target parameter includes: the volume of the electronic device, the screen brightness of the electronic device, and the font size of the electronic device. The target item includes: the icon or logo corresponding to the volume of the electronic device, or the icon or logo corresponding to the screen brightness of the electronic device, or the icon or logo corresponding to the font size of the electronic device Logo.
在本发明实施例中,参照图2,在触摸屏上显示各目标项对应的图标,可以采用触控笔选择其中一图标进行点击,当触控笔点击其中一个目标项时,即选中该目标项对应的目标参数进行调节,例如,采用触控笔点击音量对应的图标,则对音量的大小进行调节。In the embodiment of the present invention, referring to FIG. 2, the icons corresponding to each target item are displayed on the touch screen, and a stylus can be used to select one of the icons to click. When the stylus clicks on one of the target items, the target item is selected The corresponding target parameter is adjusted, for example, the volume level is adjusted by clicking on the icon corresponding to the volume with a stylus.
在本发明实施例中,转动终止位置的持续时长是指触控笔转动一定角度并停止后,在转动终止位置的停留时长。In the embodiment of the present invention, the duration of the rotation end position refers to the length of time the stylus stays at the rotation end position after the stylus rotates a certain angle and stops.
其中,本发明实施例通过触控笔通过点击目标项,以该目标项为定点进行转动一定的转动角度,然后停止后,在转动终止位置停留一段时间,来完成目标项对应的目标参数的调整。在此,用户只需要执行在点击目标项的情况下转动触控笔这个操作步骤。Among them, in the embodiment of the present invention, the stylus is used to click on the target item, and the target item is used as a fixed point to rotate a certain angle of rotation, and then after stopping, stay at the rotation end position for a period of time to complete the adjustment of the target parameter corresponding to the target item. . Here, the user only needs to perform the operation step of turning the stylus while clicking the target item.
在本发明实施例中,目标项也可以是指示目标参数的增大或减小所对应的图标或标识,参照图3,例如,目标项是音量增大对应的图标“+”或音量减小对应的图标“-”;当用户进入音量调整界面,通过触控笔点击目标项“+”,则是对音量进行增大,触控笔点击目标项“-”,则是对音量进行减小。In the embodiment of the present invention, the target item may also be an icon or mark corresponding to the increase or decrease of the target parameter. Referring to FIG. 3, for example, the target item is the icon "+" corresponding to the increase or decrease of the volume. The corresponding icon "-"; when the user enters the volume adjustment interface and taps the target item "+" with the stylus pen, the volume is increased, and the stylus taps the target item "-" to decrease the volume .
在本发明实施例中,目标项还可以是其他需要调整参数对应的图标或标识,在此不加以限定。In the embodiment of the present invention, the target item may also be another icon or logo corresponding to the parameter to be adjusted, which is not limited herein.
步骤102,根据所述目标项对应的目标参数当前的第一参数值、所述 触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度。Step 102: Determine the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle. The target adjustment speed of the target parameter.
在本发明实施例中,所述目标参数包括:所述音量的分贝值、所述屏幕的亮度值和所述字号大小的字号中的一项。In the embodiment of the present invention, the target parameter includes one of the decibel value of the volume, the brightness value of the screen, and the font size of the font size.
在本发明实施例中,目标参数当前的第一参数值,是指使用触控笔调节前的第一参数值;例如,当目标参数为音量的分贝值时,对应的第一参数值为当前音量的分贝值,即使用触控笔调节之前的音量的分贝值。In the embodiment of the present invention, the current first parameter value of the target parameter refers to the first parameter value before adjustment with the stylus; for example, when the target parameter is the decibel value of the volume, the corresponding first parameter value is the current The decibel value of the volume, that is, the decibel value of the volume before adjustment with the stylus.
在本发明实施例中,第一角度是指触控笔点击目标项,但是还未旋转前与触摸屏之间的角度值。参照图4,D1为触控笔点击目标项的初始位置,则第一角度为A。In the embodiment of the present invention, the first angle refers to the angle value between the stylus pen and the touch screen before clicking the target item, but not rotating. Referring to FIG. 4, D1 is the initial position of the touch pen to click on the target item, and the first angle is A.
在本发明实施例中,触控笔与触摸屏之间的角度选取触控笔与触摸屏指定方向之间的角度,在图4中,触控笔与触摸屏之间的角度选取的是触控笔与触摸屏下屏幕之间的角度。In the embodiment of the present invention, the angle between the stylus and the touch screen is selected as the angle between the stylus and the touch screen in the specified direction. In FIG. 4, the angle between the stylus and the touch screen is selected as the angle between the stylus and the touch screen. The angle between the screens under the touch screen.
在本发明实施例中,转动角度是指触控笔点击目标项,以该目标项为定点进行转动的角度。参照图4,当触控笔从D1位置转动到D2位置时,触控笔在D2位置时与触摸屏之间的角度为B,则转动角度为(B-A)。In the embodiment of the present invention, the rotation angle refers to the angle at which the stylus clicks on the target item and rotates the target item as a fixed point. 4, when the stylus is rotated from the D1 position to the D2 position, the angle between the stylus and the touch screen when the stylus is in the D2 position is B, and the rotation angle is (B-A).
在本发明实施例中,当目标项为图3中的“+”和“-”时,则可以选择第一角度为小于或等于90°的角,也可以选择大于或等于90°的角,用户可以根据自己的习惯进行设定,在此不加以限定。In the embodiment of the present invention, when the target items are "+" and "-" in FIG. 3, the first angle can be selected as an angle less than or equal to 90°, or an angle greater than or equal to 90° can be selected. Users can set according to their own habits, which is not limited here.
在本发明实施例中,可以事先采用第一参数值、第一角度值、转动角度和目标调节速度建立对应关系或比例关系,则可根据第一参数值、第一角度值和转动角度及对应关系或比例关系确定目标调节速度。其中,目标调节速度是指对第一参数值调节速度的大小。In the embodiment of the present invention, the first parameter value, the first angle value, the rotation angle, and the target adjustment speed may be used in advance to establish the corresponding relationship or proportional relationship, and then the first parameter value, the first angle value, the rotation angle and the corresponding The relationship or proportional relationship determines the target adjustment speed. Among them, the target adjustment speed refers to the size of the adjustment speed of the first parameter value.
步骤103,根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值。Step 103: Adjust the target parameter to a second parameter value according to the target adjustment speed and the duration.
在本发明实施例中,步骤103包括:按照目标调节速度,将目标参数进行所述持续时长的增大或者减小。In the embodiment of the present invention, step 103 includes: increasing or decreasing the duration of the target parameter according to the target adjustment speed.
例如,当目标调节速度为5分贝/s,触控笔在转动终止位置持续时间为3s,则目标参数的调整以每秒5分贝的速度进行增大或减小,一共增大 或减小了3s,则调整值为15分贝。For example, when the target adjustment speed is 5 decibels/s, and the duration of the stylus at the end of rotation is 3s, the adjustment of the target parameters will increase or decrease at a speed of 5 decibels per second, which increases or decreases in total. 3s, the adjusted value is 15 decibels.
在本发明实施例中,当确定目标调节速度后,确定触控笔在转动终止位置的持续时长,确定目标参数的调整值,然后根据调整值和第一参数值确定调整后的第二参数值,其中,第二参数值为用户需要调整到的目标参数的最终值。In the embodiment of the present invention, after the target adjustment speed is determined, the duration of the stylus at the rotation end position is determined, the adjustment value of the target parameter is determined, and then the adjusted second parameter value is determined according to the adjustment value and the first parameter value , Where the second parameter value is the final value of the target parameter that the user needs to adjust.
例如,当目标调节速度为5分贝/s,触控笔在转动终止位置持续了3s,则目标参数的调整值为15分贝,将第一参数值加上或减去15分贝即为第二参数值。其中,加上或者减去可根据触控笔的转动方向确定,如在图4中,当触控笔向触摸屏的下屏转动时,则为减去调整值,当触控笔向触摸屏的上屏转动时,则为加上调整值。For example, when the target adjustment speed is 5 decibels/s and the stylus is at the end of rotation for 3 seconds, the adjustment value of the target parameter is 15 decibels, and the first parameter value plus or minus 15 decibels is the second parameter value. Among them, adding or subtracting can be determined according to the direction of rotation of the stylus. For example, in Figure 4, when the stylus rotates to the bottom of the touch screen, the adjustment value is subtracted. When the screen rotates, the adjustment value is added.
在本发明实施例中,当确定了目标调节速度及第二参数值后,则按照目标调节速度,将目标参数从第一参数值调整到第二参数值,例如,按照5分贝/s的速度将音量从第一参数值调整到第二参数值。In the embodiment of the present invention, after the target adjustment speed and the second parameter value are determined, the target parameter is adjusted from the first parameter value to the second parameter value according to the target adjustment speed, for example, at a speed of 5 decibels/s. Adjust the volume from the first parameter value to the second parameter value.
在本发明实施例中,通过在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值。本发明实施例中用户只需要在点击目标项的情况下旋转触控笔即可完成对目标参数的调整,并不需对目标项使用触控笔进行多次点击,从而提高了参数的调整效率。此外,通过目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,能够灵活的调整目标参数的目标调节速度,提高目标参数的调整效率。In the embodiment of the present invention, when a target item is clicked on the touch screen of the electronic device by the stylus, the rotation angle of the stylus and the duration of time that the stylus is at the rotation end position are determined; Determine the target parameter according to the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle The target adjustment speed; according to the target adjustment speed and the duration, the target parameter is adjusted to a second parameter value. In the embodiment of the present invention, the user only needs to rotate the stylus while clicking the target item to complete the adjustment of the target parameter, and does not need to use the stylus to perform multiple clicks on the target item, thereby improving the parameter adjustment efficiency . In addition, through the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle, the target can be flexibly adjusted The target adjustment speed of the parameters improves the adjustment efficiency of the target parameters.
实施例二Example two
图5所示的流程图示意性地示出了本发明实施例二的参数调整方法,参数调整方法具体可以包括如下步骤:步骤201至步骤206。The flowchart shown in FIG. 5 schematically shows the parameter adjustment method according to the second embodiment of the present invention. The parameter adjustment method may specifically include the following steps: step 201 to step 206.
步骤201,在所述触控笔处于转动初始位置的情况下,确定所述触控笔与预设坐标中的目标坐标轴之间的第二角度,以及所述触摸屏与所述预 设坐标中的所述目标坐标轴之间的第三角度。Step 201: When the stylus is in the initial position of rotation, determine the second angle between the stylus and the target coordinate axis in the preset coordinates, and determine the second angle between the touch screen and the preset coordinates The third angle between the target coordinate axes.
在本发明实施例中,通过在触摸屏所在的电子设备内及触控笔内均设置Android方向传感器,获得触摸屏和触控笔各自的倾角状态。In the embodiment of the present invention, by setting the Android direction sensor in the electronic device where the touch screen is located and in the stylus pen, the respective inclination states of the touch screen and the stylus pen are obtained.
参照图6,在电子设备上建立坐标系(x轴,y轴,z轴),坐标系原点设置在触摸屏上,x轴沿触摸屏水平方向从左到右;y轴的方向从触摸屏的第二边缘指向触摸屏的第一边缘,与x轴垂直;z轴的方向垂直触摸屏并指向远离触摸屏的一侧。Referring to Figure 6, a coordinate system (x axis, y axis, z axis) is established on the electronic device, the origin of the coordinate system is set on the touch screen, and the x axis runs from left to right along the horizontal direction of the touch screen; the direction of the y axis is from the second of the touch screen. The edge points to the first edge of the touch screen, which is perpendicular to the x axis; the direction of the z axis is perpendicular to the touch screen and points to the side away from the touch screen.
在电子设备中,第一边缘和第二边缘相对设置,第一边缘为电子设备的顶部,第二边缘为电子设备的底部。In the electronic device, the first edge and the second edge are arranged oppositely, the first edge is the top of the electronic device, and the second edge is the bottom of the electronic device.
Android方向传感器包括:地磁场传感器和加速度计。电子设备通过地磁场传感器和加速度计计算显示屏的俯仰角(绕x轴旋转的角度),为平行于触摸屏所在的平面与平行于地面所在的平面之间的角度。Android direction sensors include: geomagnetic field sensor and accelerometer. The electronic device calculates the pitch angle (the angle of rotation around the x-axis) of the display screen through the geomagnetic field sensor and the accelerometer, which is the angle between the plane parallel to the touch screen and the plane parallel to the ground.
第一俯仰角的确定方法可以包括:将电子设备放置为触摸屏所在的平面和地面所在的平面平行,且触摸屏的第二边缘靠近用户,将触摸屏的第一边缘向地面倾斜,则触摸屏的第一俯仰角为正值;将触摸屏的第一边缘向远离地面的方向倾斜,则触摸屏的第一俯仰角为负值。则触摸屏的第一俯仰角的范围为-180°到+180°之间。The method for determining the first pitch angle may include: placing the electronic device such that the plane where the touch screen is located is parallel to the plane where the ground is located, and the second edge of the touch screen is close to the user, and the first edge of the touch screen is tilted toward the ground. The pitch angle is a positive value; if the first edge of the touch screen is tilted away from the ground, the first pitch angle of the touch screen is a negative value. The range of the first pitch angle of the touch screen is between -180° and +180°.
在本发明实施例中,触控笔的第二俯仰角的确定方法与电子设备的触摸屏的第一俯仰角的确定方法是一致的。对于触控笔,在实际应用中,可以将触控笔的笔尾作为第一俯仰角确定方法中触摸屏的第一边缘,笔尖作为第一俯仰角确定方法中触摸屏的第二边缘。则触控笔的第二俯仰角的范围也为-180°到+180°之间。In the embodiment of the present invention, the method for determining the second pitch angle of the stylus is the same as the method for determining the first pitch angle of the touch screen of the electronic device. For a stylus, in practical applications, the tail of the stylus can be used as the first edge of the touch screen in the first pitch angle determination method, and the pen tip can be used as the second edge of the touch screen in the first pitch angle determination method. The range of the second pitch angle of the stylus is also between -180° and +180°.
在本发明实施例中,参照图7,(a)中示出了触摸屏在倾斜时的第一俯仰角的范围,为-180°到+180°之间;为了方便计算,将图7(a)的第一俯仰角进行修正得到图7(b)的第三角度,其中,第三角度为以触摸屏的第一边缘为定点旋转时,触摸屏与X轴的负方向所成的夹角。In the embodiment of the present invention, referring to FIG. 7, (a) shows the range of the first pitch angle when the touch screen is tilted, which is between -180° and +180°; The first pitch angle of) is corrected to obtain the third angle in FIG. 7(b), where the third angle is the angle formed by the touch screen and the negative direction of the X axis when the first edge of the touch screen is rotated at a fixed point.
在本发明实施例中,参照图8,采用与触摸屏的第一俯仰角同样的修正方法,对触控笔的第二俯仰角修正,得到图8中的第二角度,其中,第二角度为以触控笔的笔尖为定点旋转时,触控笔与X轴的负方向所成的夹 角。In the embodiment of the present invention, referring to FIG. 8, the same correction method as the first pitch angle of the touch screen is used to correct the second pitch angle of the stylus to obtain the second angle in FIG. 8, where the second angle is When rotating with the tip of the stylus as a fixed point, the angle formed by the stylus and the negative direction of the X axis.
在本发明实施例中,在图7和图8中,目标坐标轴选择了X轴,其中,也可以采用其他轴作为修正标准,来确定第二角度和第三角度,在此不加以限定。In the embodiment of the present invention, in FIGS. 7 and 8, the X axis is selected as the target coordinate axis, wherein other axes may also be used as the correction standard to determine the second angle and the third angle, which is not limited here.
步骤202,根据所述第二角度和所述第三角度,确定所述触控笔处于所述转动初始位置的情况下与所述触摸屏之间的第一角度。Step 202: Determine a first angle between the stylus and the touch screen when the stylus is in the initial position of rotation according to the second angle and the third angle.
在本发明实施例中,参照图9,其中第二角度为触控笔与X轴负方向之间的角度,为图9中的newPenPitch。第三角度为触控笔与X轴负方向之间的角度,为图9中的newPhonePitch,则第一角度=180°-(第二角度-第三角度),第一角度为图4中的角度A,即为触控笔处于所述转动初始位置的情况下与所述触摸屏之间的角度。In the embodiment of the present invention, referring to FIG. 9, the second angle is the angle between the stylus pen and the negative direction of the X-axis, which is newPenPitch in FIG. 9. The third angle is the angle between the stylus and the negative direction of the X axis, which is the newPhonePitch in Figure 9, then the first angle = 180°-(the second angle-the third angle), and the first angle is the one in Figure 4 Angle A is the angle between the stylus and the touch screen when the stylus is in the initial position of rotation.
在本发明实施例中,触控笔在转动后与触摸屏之间的角度,也可以通过上述方式进行计算,在此不再赘述。In the embodiment of the present invention, the angle between the stylus pen and the touch screen after being rotated can also be calculated in the above-mentioned manner, which will not be repeated here.
步骤203,在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长。Step 203: When the stylus pen clicks the target item on the touch screen of the electronic device, determine the rotation angle of the stylus pen and the duration of the stylus pen in the rotation termination position.
在本发明实施例中,可以在触控笔在电子设备的触摸屏上点击目标项,且以触控笔在目标项的点击处为定点沿目标方向进行转动的情况下,确定触控笔的转动角度和触控笔处于转动终止位置的持续时长。其中,所述目标方向用于指示所述目标参数的增大或减小。In the embodiment of the present invention, the rotation of the stylus can be determined when the stylus is clicked on the target item on the touch screen of the electronic device, and the stylus is clicked on the target item as a fixed point to rotate in the target direction The angle and the duration of the stylus at the end of the rotation position. Wherein, the target direction is used to indicate the increase or decrease of the target parameter.
在本发明实施例中,参照图4,触摸屏包括相对设置的第一边缘A和第二边缘B,通常第一边缘A是指向电子设备摄像头的一边,第二边缘B是指向home键的一边。目标方向包括触控笔向触摸屏的第一边缘或者第二边缘的转动。其中,触控笔向触摸屏的第一边缘转动时,指示目标参数需要增大,触控笔向触摸屏的第二边缘转动时,指示目标参数需要减小。In the embodiment of the present invention, referring to FIG. 4, the touch screen includes a first edge A and a second edge B that are arranged oppositely. Generally, the first edge A is the side pointing to the camera of the electronic device, and the second edge B is the side pointing to the home button. The target direction includes the rotation of the stylus to the first edge or the second edge of the touch screen. Wherein, when the stylus is rotated to the first edge of the touch screen, the indicating target parameter needs to be increased, and when the stylus is rotated to the second edge of the touch screen, the indicating target parameter needs to be decreased.
步骤204,根据所述目标项对应的目标参数当前的第一参数值,以及所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,确定所述目标参数的单位调节速度。Step 204: Determine the unit of the target parameter according to the current first parameter value of the target parameter corresponding to the target item and the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation Adjust the speed.
在本发明实施例中,当目标方向指示目标参数增大时,目标调节速度为目标参数增大时的调节速度。当目标方向指示目标参数减小时,目标调 节速度为目标参数减小时的调节速度。In the embodiment of the present invention, when the target direction indicates that the target parameter increases, the target adjustment speed is the adjustment speed when the target parameter increases. When the target direction indicates that the target parameter decreases, the target adjustment speed is the adjustment speed when the target parameter decreases.
在所述目标方向用于指示所述目标参数的增大,和/或所述目标项用于指示所述目标参数的增大的情况下,步骤204,包括:获取所述目标参数对应的极大值;确定所述极大值与所述第一参数值之间的第一差值;确定预设最大角度值与所述第一角度之间的第二差值,所述预设最大角度值为所述触控笔与所述触摸屏之间的最大角度值;根据所述第一差值和所述第二差值,确定所述目标参数的单位调节速度。In the case where the target direction is used to indicate the increase of the target parameter, and/or the target item is used to indicate the increase of the target parameter, step 204 includes: obtaining the pole corresponding to the target parameter. A large value; determine a first difference between the maximum value and the first parameter value; determine a second difference between a preset maximum angle value and the first angle, the preset maximum angle The value is the maximum angle value between the stylus pen and the touch screen; according to the first difference and the second difference, the unit adjustment speed of the target parameter is determined.
在本发明实施例中,当需要对目标参数调大时,参照图4,可以向触摸屏的第一边缘A的方向转动触控笔;参照图3,也可以点击目标参数对应的增大的图标,例如,点击音量对应增大的图标“+”,实现增大音量。In the embodiment of the present invention, when the target parameter needs to be increased, referring to FIG. 4, the stylus can be rotated in the direction of the first edge A of the touch screen; referring to FIG. 3, the increased icon corresponding to the target parameter can also be clicked For example, click the icon "+" corresponding to the increase in volume to increase the volume.
在本发明实施例中,电子设备具有目标参数默认的极大值,其中,极大值是指目标参数可调节到的最大值。例如,电子设备默认音量的极大值为100分贝,字体的字号大小的极大值为25号等。In the embodiment of the present invention, the electronic device has a default maximum value of the target parameter, where the maximum value refers to the maximum value to which the target parameter can be adjusted. For example, the maximum value of the default volume of the electronic device is 100 decibels, and the maximum value of the font size is 25 points.
在本发明实施例中,预设最大角度值为触控笔与触摸屏之间可形成的最大角度值,通常默认为180°。In the embodiment of the present invention, the preset maximum angle value is the maximum angle value that can be formed between the stylus pen and the touch screen, and is usually 180° by default.
在本发明实施例中,例如,当目标项为音量时,当前音量的第一参数值为50分贝,音量的极大值为100分贝,则极大值与第一参数值的第一差值为:极大值减去第一参数值即50分贝;当触控笔处于初始位置时与触摸屏的第一角度值为80°时,预设最大角度值为180°,则预设最大角度值与所述第一角度之间的第二差值为:预设最大角度值减去第一角度值即100°,那么单位调节速度为:第一差值除以第二差值即0.5分贝/s。In the embodiment of the present invention, for example, when the target item is volume, the first parameter value of the current volume is 50 decibels, and the maximum value of the volume is 100 decibels, then the first difference between the maximum value and the first parameter value It is: the maximum value minus the first parameter value, which is 50 decibels; when the first angle value between the stylus and the touch screen is 80° when the stylus is in the initial position, the preset maximum angle value is 180°, then the preset maximum angle value The second difference between the first angle and the first angle is: the preset maximum angle value minus the first angle value, which is 100°, then the unit adjustment speed is: the first difference value divided by the second difference value, which is 0.5 decibels/ s.
在所述目标方向用于指示所述目标参数的减小,和/或所述目标项用于指示所述目标参数的减小的情况下,步骤204,包括:获取所述目标参数对应的极小值;确定所述第一参数值与所述极小值之间的第三差值;确定所述第一角度与预设最小角度值之间的第四差值,所述预设最小角度值为所述触控笔与所述触摸屏之间的最小角度值;根据所述第三差值和所述第四差值,确定所述目标参数的单位调节速度。In the case where the target direction is used to indicate the reduction of the target parameter, and/or the target item is used to indicate the reduction of the target parameter, step 204 includes: obtaining the pole corresponding to the target parameter. A small value; determine a third difference between the first parameter value and the minimum value; determine a fourth difference between the first angle and a preset minimum angle value, the preset minimum angle The value is the minimum angle value between the stylus pen and the touch screen; according to the third difference and the fourth difference, the unit adjustment speed of the target parameter is determined.
在本发明实施例中,当需要对目标参数调小时,参照图4,可以向触摸屏的第二边缘的方向转动触控笔;参照图3,也可以点击目标参数对应 的减小的图标,例如,点击音量对应增大的图标“-”,实现减小音量。In the embodiment of the present invention, when the target parameter needs to be adjusted smaller, referring to Figure 4, you can turn the stylus towards the second edge of the touch screen; referring to Figure 3, you can also click the reduced icon corresponding to the target parameter, for example , Click the icon "-" corresponding to the increase in volume to decrease the volume.
在本发明实施例中,极小值是指电子设备默认的目标参数可调节到的最小值,也可以默认为均为0。例如,音量的极小值为0分贝,字号大小的极小值为5字号等。In the embodiment of the present invention, the minimum value refers to the minimum value to which the default target parameter of the electronic device can be adjusted, and it can also be set to 0 by default. For example, the minimum value of the volume is 0 decibels, the minimum value of the font size is 5 fonts, etc.
在本发明实施例中,预设最小角度值为触控笔与触摸屏之间可形成的最小角度值,通常默认为0°。In the embodiment of the present invention, the preset minimum angle value is the minimum angle value that can be formed between the stylus pen and the touch screen, and is usually 0° by default.
在本发明实施例中,例如,当目标项为音量时,当前音量的第一参数值为50分贝,音量的极大值为0分贝,则第一参数值与极大值的第三差值为:第一参数值减去极大值即50分贝;当触控笔处于初始位置时与触摸屏的第一角度值为80°时,预设最小角度值为0°,则所述第一角度与预设最小角度值之间的第四差值为:第一角度值减去预设最小角度值即80°,那么单位调节速度为:第三差值除以第四差值即0.625分贝/s。In the embodiment of the present invention, for example, when the target item is volume, the first parameter value of the current volume is 50 decibels, and the maximum value of the volume is 0 decibels, then the third difference between the first parameter value and the maximum value It is: the first parameter value minus the maximum value, which is 50 decibels; when the first angle value between the stylus and the touch screen is 80° when the stylus is in the initial position, the preset minimum angle value is 0°, then the first angle The fourth difference from the preset minimum angle value is: the first angle value minus the preset minimum angle value, which is 80°, then the unit adjustment speed is: the third difference value divided by the fourth difference value, which is 0.625 dB/ s.
步骤205,根据所述单位调节速度和所述转动角度,确定所述目标参数的目标调节速度。Step 205: Determine a target adjustment speed of the target parameter according to the unit adjustment speed and the rotation angle.
在本发明实施例中,当目标方向指示对目标参数调大,和/或目标项指示对目标参数增大时,则可以根据上述获得的调大时的单位调节速度和转动角度确定目标调节速度。具体的,通过单位调节速度乘以转动角度获得目标调节速度。In the embodiment of the present invention, when the target direction indicates to increase the target parameter, and/or the target item indicates to increase the target parameter, the target adjustment speed can be determined according to the unit adjustment speed and rotation angle obtained when the target parameter is increased. . Specifically, the target adjustment speed is obtained by multiplying the unit adjustment speed by the rotation angle.
其中,当用户需要目标调节速度大时,即可以增大转动角度。例如,当转动角度为5°时,则音量的目标调节速度为:5乘以0.5分贝/s即2.5分贝/s。当转动角度为10°时,则音量的目标调节速度为:10乘以0.5分贝/s即5分贝/s。Among them, when the user needs the target adjustment speed to be large, the rotation angle can be increased. For example, when the rotation angle is 5°, the target adjustment speed of the volume is: 5 times 0.5 decibels/s, that is, 2.5 decibels/s. When the rotation angle is 10°, the target adjustment speed of the volume is: 10 times 0.5 decibels/s, that is, 5 decibels/s.
在本发明实施例中,当目标方向指示对目标参数减小,和/或目标项指示对目标参数减小时,则可以根据上述获得的减小时的单位调节速度和转动角度确定目标调节速度。具体的,通过单位调节速度乘以转动角度获得目标调节速度。In the embodiment of the present invention, when the target direction indicates a decrease in the target parameter, and/or the target item indicates a decrease in the target parameter, the target adjustment speed can be determined according to the unit adjustment speed and the rotation angle obtained during the decrease. Specifically, the target adjustment speed is obtained by multiplying the unit adjustment speed by the rotation angle.
例如,当转动角度为5°时,则音量减小时的目标调节速度为:5乘以0.625分贝/s即3.125分贝/s。当转动角度为10°时,则音量的目标调节速度为:10乘以0.625分贝/s即6.25分贝/s。For example, when the rotation angle is 5°, the target adjustment speed when the volume is reduced is: 5 times 0.625 decibels/s, that is, 3.125 decibels/s. When the rotation angle is 10°, the target adjustment speed of the volume is: 10 times 0.625 decibels/s, that is, 6.25 decibels/s.
在本发明实施例中,用户可以通过触控笔的初始放置位置及转动角度来确定目标参数调整的快慢,更方便用户根据实际需要调整目标参数,提高目标参数调整的精确度。In the embodiment of the present invention, the user can determine the speed of the target parameter adjustment through the initial placement position and the rotation angle of the stylus, which is more convenient for the user to adjust the target parameter according to actual needs and improve the accuracy of the target parameter adjustment.
步骤206,根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值。Step 206: Adjust the target parameter to a second parameter value according to the target adjustment speed and the duration.
在本发明实施例中,步骤206包括:根据所述目标调节速度和所述转动时长,确定所述目标参数的调整值;在所述目标方向用于指示所述目标参数的增大,和/或所述目标项用于指示所述目标参数的增大的情况下,将所述第一参数值与所述调整值相加,得到所述目标参数调整后的第二参数值;在所述目标方向用于指示所述目标参数的减小,和/或所述目标项用于指示所述目标参数的减小的情况下,将所述第一参数值与所述调整值相减,得到所述目标参数调整后的第二参数值;按照所述目标调节速度,将所述目标参数调整至所述第二参数值。In the embodiment of the present invention, step 206 includes: determining the adjustment value of the target parameter according to the target adjustment speed and the rotation duration; in the target direction, it is used to indicate the increase of the target parameter, and/ Or when the target item is used to indicate the increase of the target parameter, the first parameter value and the adjustment value are added to obtain the second parameter value after the target parameter adjustment; When the target direction is used to indicate the reduction of the target parameter, and/or the target term is used to indicate the reduction of the target parameter, the first parameter value is subtracted from the adjustment value to obtain The second parameter value after the adjustment of the target parameter; and the target parameter is adjusted to the second parameter value according to the target adjustment speed.
当对目标参数进行调大时,即将触控笔向触摸屏第一边缘的方向转动,和/或点击目标参数对应的增大的图标时,可以将所述第一参数值与所述调整值相加,得到所述目标参数调整后的第二参数值。其中,将目标参数当前的第一参数值加上调整值,即获得第二参数值。When the target parameter is adjusted larger, that is, when the stylus is rotated to the direction of the first edge of the touch screen, and/or the increased icon corresponding to the target parameter is clicked, the first parameter value can be compared with the adjustment value. Plus, the second parameter value after the adjustment of the target parameter is obtained. Wherein, the current first parameter value of the target parameter is added to the adjusted value to obtain the second parameter value.
当对目标参数进行调小时,即将触控笔向触摸屏第二边缘的方向转动,和/或点击目标参数对应的减小的图标时,可以将所述第一参数值与所述调整值相减,得到所述目标参数调整后的第二参数值。其中,将目标参数当前的第一参数值减去调整值,即获得第二参数值。When the target parameter is adjusted to be small, that is, when the stylus is rotated to the second edge of the touch screen, and/or the icon corresponding to the target parameter is clicked, the first parameter value can be subtracted from the adjustment value , The second parameter value after the adjustment of the target parameter is obtained. Wherein, the current first parameter value of the target parameter is subtracted from the adjusted value to obtain the second parameter value.
在本发明实施例中,当确定了目标调节速度及第二参数值后,则按照目标调节速度,将目标参数从第一参数值调整到第二参数值,例如,按照5分贝/s的速度将音量从第一参数值调整到第二参数值。In the embodiment of the present invention, after the target adjustment speed and the second parameter value are determined, the target parameter is adjusted from the first parameter value to the second parameter value according to the target adjustment speed, for example, at a speed of 5 decibels/s. Adjust the volume from the first parameter value to the second parameter value.
在本发明实施例中,通过在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;根据所述目标调节速度 和所述持续时长,将所述目标参数调整至第二参数值。本发明实施例中用户只需要在点击目标项的情况下旋转触控笔即可完成对目标参数的调整,并不需对目标项使用触控笔进行多次点击,从而提高了参数的调整效率。此外,通过目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,能够灵活的调整目标参数的目标调节速度,提高目标参数的调整效率。In the embodiment of the present invention, when a target item is clicked on the touch screen of the electronic device by the stylus, the rotation angle of the stylus and the duration of time that the stylus is at the rotation end position are determined; Determine the target parameter according to the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle The target adjustment speed; according to the target adjustment speed and the duration, the target parameter is adjusted to a second parameter value. In the embodiment of the present invention, the user only needs to rotate the stylus while clicking the target item to complete the adjustment of the target parameter, and does not need to use the stylus to perform multiple clicks on the target item, thereby improving the parameter adjustment efficiency . In addition, through the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle, the target can be flexibly adjusted The target adjustment speed of the parameters improves the adjustment efficiency of the target parameters.
实施例三Example three
图10所示的结构框图示意性地示出了本发明实施例三的电子设备,电子设备300具体可以包括:The structural block diagram shown in FIG. 10 schematically shows an electronic device according to Embodiment 3 of the present invention. The electronic device 300 may specifically include:
第一确定模块301,用于在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;The first determining module 301 is configured to determine the rotation angle of the stylus and the duration of time that the stylus is in the rotation termination position when the stylus clicks a target item on the touch screen of the electronic device;
第二确定模块302,用于根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;The second determining module 302 is configured to, according to the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the Rotation angle, determining the target adjustment speed of the target parameter;
调整模块303,用于根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值。The adjustment module 303 is configured to adjust the target parameter to a second parameter value according to the target adjustment speed and the duration.
可选地,所述第二确定模块302包括:Optionally, the second determining module 302 includes:
第一确定子模块,用于根据所述目标项对应的目标参数当前的第一参数值,以及所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,确定所述目标参数的单位调节速度;The first determining submodule is configured to determine the current first parameter value of the target parameter corresponding to the target item and the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation. The unit adjustment speed of the target parameter;
第二确定子模块,用于根据所述单位调节速度和所述转动角度,确定所述目标参数的目标调节速度。The second determining sub-module is configured to determine the target adjustment speed of the target parameter according to the unit adjustment speed and the rotation angle.
可选地,所述第一确定模块301包括:Optionally, the first determining module 301 includes:
第三确定子模块,用于在触控笔在所述电子设备的触摸屏上点击目标项,且以所述触控笔在所述目标项的点击处为定点沿目标方向进行转动的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;The third determining sub-module is used for when the touch pen clicks on the target item on the touch screen of the electronic device, and the touch pen is clicked on the target item as a fixed point to rotate along the target direction, Determining the rotation angle of the stylus and the duration of time that the stylus is in the rotation end position;
所述第二确定模块302包括:The second determining module 302 includes:
第四确定子模块,用于根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下沿所述目标方向与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;The fourth determining sub-module is configured to determine the first parameter value between the target direction and the touch screen according to the current first parameter value of the target parameter corresponding to the target item and when the stylus is in the initial position of rotation. The angle, and the rotation angle, determine the target adjustment speed of the target parameter;
其中,所述目标方向用于指示所述目标参数的增大或减小。Wherein, the target direction is used to indicate the increase or decrease of the target parameter.
可选地,在所述目标方向用于指示所述目标参数的增大,和/或,所述目标项用于指示所述目标参数的增大的情况下,所述第一确定子模块包括:Optionally, when the target direction is used to indicate an increase in the target parameter, and/or the target item is used to indicate an increase in the target parameter, the first determining submodule includes :
第一获取单元,用于获取所述目标参数对应的极大值;The first obtaining unit is configured to obtain the maximum value corresponding to the target parameter;
第一确定单元,用于确定所述极大值与所述第一参数值之间的第一差值;A first determining unit, configured to determine a first difference between the maximum value and the first parameter value;
第二确定单元,用于确定预设最大角度值与所述第一角度之间的第二差值,所述预设最大角度值为所述触控笔与所述触摸屏之间的最大角度值;The second determining unit is configured to determine a second difference between a preset maximum angle value and the first angle, where the preset maximum angle value is the maximum angle value between the stylus pen and the touch screen ;
第三确定单元,用于根据所述第一差值和所述第二差值,确定所述目标参数的单位调节速度;A third determining unit, configured to determine the unit adjustment speed of the target parameter according to the first difference and the second difference;
在所述目标方向用于指示所述目标参数的减小,和/或,所述目标项用于指示所述目标参数的减小的情况下,所述第一确定子模块包括:In the case where the target direction is used to indicate the decrease of the target parameter, and/or the target item is used to indicate the decrease of the target parameter, the first determining submodule includes:
第二获取单元,用于获取所述目标参数对应的极小值;The second acquiring unit is configured to acquire the minimum value corresponding to the target parameter;
第四确定单元,用于确定所述第一参数值与所述极小值之间的第三差值;A fourth determining unit, configured to determine a third difference between the first parameter value and the minimum value;
第五确定单元,用于确定所述第一角度与预设最小角度值之间的第四差值,所述预设最小角度值为所述触控笔与所述触摸屏之间的最小角度值;The fifth determining unit is configured to determine a fourth difference between the first angle and a preset minimum angle value, where the preset minimum angle value is the minimum angle value between the stylus pen and the touch screen ;
第六确定单元,用于根据所述第三差值和所述第四差值,确定所述目标参数的单位调节速度。The sixth determining unit is configured to determine the unit adjustment speed of the target parameter according to the third difference and the fourth difference.
可选地,所述调整模块303包括:Optionally, the adjustment module 303 includes:
第五确定子模块,用于根据所述目标调节速度和所述转动时长,确定所述目标参数的调整值;A fifth determining sub-module, configured to determine the adjustment value of the target parameter according to the target adjustment speed and the rotation duration;
第一计算子模块,用于在所述目标方向用于指示所述目标参数的增大,和/或所述目标项用于指示所述目标参数的增大的情况下,将所述第一参数值与所述调整值相加,得到所述目标参数调整后的第二参数值;The first calculation sub-module is configured to: when the target direction is used to indicate the increase of the target parameter, and/or the target item is used to indicate the increase of the target parameter, the first Adding the parameter value and the adjustment value to obtain the second parameter value after the target parameter adjustment;
第二计算子模块,用于在所述目标方向用于指示所述目标参数的减小,和/或所述目标项用于指示所述目标参数的减小的情况下,将所述第一参数值与所述调整值相减,得到所述目标参数调整后的第二参数值;The second calculation sub-module is configured to: when the target direction is used to indicate the reduction of the target parameter, and/or the target item is used to indicate the reduction of the target parameter, the first The parameter value is subtracted from the adjusted value to obtain the adjusted second parameter value of the target parameter;
调整子模块,用于按照所述目标调节速度,将所述目标参数调整至所述第二参数值。The adjustment sub-module is configured to adjust the target parameter to the second parameter value according to the target adjustment speed.
在本发明实施例中本发明实施例提供的电子设备300能够实现图1至图9的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。In the embodiment of the present invention, the electronic device 300 provided in the embodiment of the present invention can implement various processes implemented by the electronic device in the method embodiments of FIGS. 1 to 9. To avoid repetition, details are not described herein again.
在本发明实施例中,通过在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值。本发明实施例中用户只需要在点击目标项的情况下旋转触控笔即可完成对目标参数的调整,并不需对目标项使用触控笔进行多次点击,从而提高了参数的调整效率。此外,通过目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,能够灵活的调整目标参数的目标调节速度,提高目标参数的调整效率。In the embodiment of the present invention, when a target item is clicked on the touch screen of the electronic device by the stylus, the rotation angle of the stylus and the duration of time that the stylus is at the rotation end position are determined; Determine the target parameter according to the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle The target adjustment speed; according to the target adjustment speed and the duration, the target parameter is adjusted to a second parameter value. In the embodiment of the present invention, the user only needs to rotate the stylus while clicking the target item to complete the adjustment of the target parameter, and does not need to use the stylus to perform multiple clicks on the target item, thereby improving the parameter adjustment efficiency . In addition, through the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle, the target can be flexibly adjusted The target adjustment speed of the parameters improves the adjustment efficiency of the target parameters.
实施例四Example four
图11为实现本发明各个实施例的一种电子设备的硬件结构示意图。如图11所示,电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 11 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention. As shown in FIG. 11, the electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, The processor 410, and the power supply 411 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiment of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,处理器410,用于在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值。Wherein, the processor 410 is configured to determine the rotation angle of the stylus and the duration of time that the stylus is at the rotation end position when the stylus clicks a target item on the touch screen of the electronic device; Determine the target parameter according to the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle The target adjustment speed; according to the target adjustment speed and the duration, the target parameter is adjusted to a second parameter value.
在本发明实施例中,通过在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值。本发明实施例中用户只需要在点击目标项的情况下旋转触控笔即可完成对目标参数的调整,并不需对目标项使用触控笔进行多次点击,从而提高了参数的调整效率。此外,通过目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,能够灵活的调整目标参数的目标调节速度,提高目标参数的调整效率。In the embodiment of the present invention, when a target item is clicked on the touch screen of the electronic device by the stylus, the rotation angle of the stylus and the duration of time that the stylus is at the rotation end position are determined; Determine the target parameter according to the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle The target adjustment speed; according to the target adjustment speed and the duration, the target parameter is adjusted to a second parameter value. In the embodiment of the present invention, the user only needs to rotate the stylus while clicking the target item to complete the adjustment of the target parameter, and does not need to use the stylus to perform multiple clicks on the target item, thereby improving the parameter adjustment efficiency . In addition, through the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle, the target can be flexibly adjusted The target adjustment speed of the parameters improves the adjustment efficiency of the target parameters.
应理解的是,本发明实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与电子设备400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包 括扬声器、蜂鸣器以及受话器等。The audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic device 400 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 406. The image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
电子设备400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在电子设备400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light. The proximity sensor can close the display panel 4061 and the display panel 4061 when the electronic device 400 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元407可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的 操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operate). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed. In addition, the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图11中,触控面板4071与显示面板4061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 4071 can cover the display panel 4061. When the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of touch event, and then the processor 410 determines the type of touch event according to the touch The type of event provides corresponding visual output on the display panel 4061. Although in FIG. 11, the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元408为外部装置与电子设备400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备400内的一个或多个元件或者可以用于在电子设备400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device and the electronic device 400. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 408 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 400 or can be used to connect the electronic device 400 to an external device. Transfer data between devices.
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存 储器件。The memory 409 can be used to store software programs and various data. The memory 409 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器410是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器410可包括一个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 409, and calls the data stored in the memory 409 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
电子设备400还可以包括给各个部件供电的电源411(比如电池),优选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 400 may also include a power source 411 (such as a battery) for supplying power to various components. Preferably, the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备400包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 400 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种电子设备,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的计算机程序,该计算机程序被处理器410执行时实现上述参数调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides an electronic device, including a processor 410, a memory 409, and a computer program stored on the memory 409 and running on the processor 410. When the computer program is executed by the processor 410, Each process of the above-mentioned parameter adjustment method embodiment is realized, and the same technical effect can be achieved. In order to avoid repetition, it will not be repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述参数调整方法的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质的示例包括非暂态计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned parameter adjustment method is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here. Wherein, examples of the computer-readable storage medium include non-transitory computer-readable storage media, such as read-only memory (Read-Only Memory, ROM for short), Random Access Memory (RAM for short), and magnetic CD or CD, etc.
上面参考根据本发明的实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本发明的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的 一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。The various aspects of the present invention have been described above with reference to the flowcharts and/or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present invention. It should be understood that each block in the flowcharts and/or block diagrams and combinations of blocks in the flowcharts and/or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine that enables the execution of these instructions via the processor of the computer or other programmable data processing device Implementation of the functions/actions specified in one or more blocks of the flowcharts and/or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a dedicated processor, a special application processor, or a field programmable logic circuit. It can also be understood that each block in the block diagram and/or flowchart and the combination of the blocks in the block diagram and/or flowchart can also be implemented by dedicated hardware that performs the specified function or action, or can be implemented by dedicated hardware and A combination of computer instructions.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, and they all fall within the protection of the present invention.

Claims (14)

  1. 一种参数调整方法,应用于电子设备,所述方法包括:A parameter adjustment method applied to an electronic device, the method including:
    在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;When the stylus clicks the target item on the touch screen of the electronic device, determining the rotation angle of the stylus and the duration that the stylus is in the rotation termination position;
    根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;Determine the target parameter according to the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle The target adjustment speed;
    根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值。According to the target adjustment speed and the duration, the target parameter is adjusted to a second parameter value.
  2. 根据权利要求1所述的方法,其中,所述根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度,包括:The method according to claim 1, wherein the current first parameter value of the target parameter corresponding to the target item and the first parameter value between the stylus and the touch screen when the stylus is in the initial position of rotation The angle, and the rotation angle, determine the target adjustment speed of the target parameter, including:
    根据所述目标项对应的目标参数当前的第一参数值,以及所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,确定所述目标参数的单位调节速度;Determine the unit adjustment speed of the target parameter according to the current first parameter value of the target parameter corresponding to the target item and the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation;
    根据所述单位调节速度和所述转动角度,确定所述目标参数的目标调节速度。Determine the target adjustment speed of the target parameter according to the unit adjustment speed and the rotation angle.
  3. 根据权利要求2所述的方法,其中,所述在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长,包括:The method according to claim 2, wherein, in the case that the stylus is clicked on the target item on the touch screen of the electronic device, it is determined that the rotation angle of the stylus and that the stylus is at the end of rotation The duration of the location, including:
    在触控笔在所述电子设备的触摸屏上点击目标项,且以所述触控笔在所述目标项的点击处为定点沿目标方向进行转动的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;When the stylus clicks a target item on the touch screen of the electronic device, and the stylus is clicked on the target item as a fixed point to rotate along the target direction, the rotation of the stylus is determined The angle and the duration that the stylus is in the rotation end position;
    所述根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度,包括:The determining the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation angle, and determining the Target adjustment speed of target parameters, including:
    根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下沿所述目标方向与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;其中,所述目标方向用于指示所述目标参数的增大或减小。According to the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen in the target direction when the stylus is in the initial position of rotation, and the rotation angle, The target adjustment speed of the target parameter is determined; wherein the target direction is used to indicate the increase or decrease of the target parameter.
  4. 根据权利要求3所述的方法,其中,在所述目标方向用于指示所述目标参数的增大,和/或,所述目标项用于指示所述目标参数的增大的情况下,所述根据所述目标项对应的目标参数当前的第一参数值,以及所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,确定所述目标参数的单位调节速度,包括:The method according to claim 3, wherein, in the case that the target direction is used to indicate the increase of the target parameter, and/or the target item is used to indicate the increase of the target parameter, the According to the current first parameter value of the target parameter corresponding to the target item, and the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, the unit adjustment speed of the target parameter is determined ,include:
    获取所述目标参数对应的极大值;Obtaining the maximum value corresponding to the target parameter;
    确定所述极大值与所述第一参数值之间的第一差值;Determine the first difference between the maximum value and the first parameter value;
    确定预设最大角度值与所述第一角度之间的第二差值,所述预设最大角度值为所述触控笔与所述触摸屏之间的最大角度值;Determining a second difference between a preset maximum angle value and the first angle, where the preset maximum angle value is a maximum angle value between the stylus pen and the touch screen;
    根据所述第一差值和所述第二差值,确定所述目标参数的单位调节速度;Determine the unit adjustment speed of the target parameter according to the first difference and the second difference;
    在所述目标方向用于指示所述目标参数的减小,和/或,所述目标项用于指示所述目标参数的减小的情况下,所述根据所述目标项对应的目标参数当前的第一参数值,以及所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,确定所述目标参数的单位调节速度,包括:In the case that the target direction is used to indicate the decrease of the target parameter, and/or the target item is used to indicate the decrease of the target parameter, the current target parameter corresponding to the target item is The first parameter value of and the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and determining the unit adjustment speed of the target parameter includes:
    获取所述目标参数对应的极小值;Obtaining the minimum value corresponding to the target parameter;
    确定所述第一参数值与所述极小值之间的第三差值;Determining a third difference between the first parameter value and the minimum value;
    确定所述第一角度与预设最小角度值之间的第四差值,所述预设最小角度值为所述触控笔与所述触摸屏之间的最小角度值;Determining a fourth difference between the first angle and a preset minimum angle value, where the preset minimum angle value is the minimum angle value between the stylus pen and the touch screen;
    根据所述第三差值和所述第四差值,确定所述目标参数的单位调节速度。Determine the unit adjustment speed of the target parameter according to the third difference and the fourth difference.
  5. 根据权利要求4所述的方法,其中,所述根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值,包括:The method according to claim 4, wherein the adjusting the target parameter to a second parameter value according to the target adjusting speed and the duration time comprises:
    根据所述目标调节速度和所述转动时长,确定所述目标参数的调整值;Determine the adjustment value of the target parameter according to the target adjustment speed and the rotation duration;
    在所述目标方向用于指示所述目标参数的增大,和/或,所述目标项用于指示所述目标参数的增大的情况下,将所述第一参数值与所述调整值相加,得到所述目标参数调整后的第二参数值;In the case where the target direction is used to indicate the increase of the target parameter, and/or the target item is used to indicate the increase of the target parameter, the first parameter value is compared with the adjustment value Add up to obtain the adjusted second parameter value of the target parameter;
    在所述目标方向用于指示所述目标参数的减小,和/或,所述目标项用于指示所述目标参数的减小的情况下,将所述第一参数值与所述调整值相减,得到所述目标参数调整后的第二参数值;In the case where the target direction is used to indicate a decrease in the target parameter, and/or the target item is used to indicate a decrease in the target parameter, the first parameter value is combined with the adjustment value Subtracted to obtain the adjusted second parameter value of the target parameter;
    按照所述目标调节速度,将所述目标参数调整至所述第二参数值。Adjust the target parameter to the second parameter value according to the target adjustment speed.
  6. 一种电子设备,包括:An electronic device including:
    第一确定模块,用于在触控笔在所述电子设备的触摸屏上点击目标项的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;The first determining module is configured to determine the rotation angle of the stylus and the duration of the stylus in the rotation termination position when the stylus clicks the target item on the touch screen of the electronic device;
    第二确定模块,用于根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;The second determining module is used to determine the current first parameter value of the target parameter corresponding to the target item, the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation, and the rotation Angle, determining the target adjustment speed of the target parameter;
    调整模块,用于根据所述目标调节速度和所述持续时长,将所述目标参数调整至第二参数值。The adjustment module is configured to adjust the target parameter to a second parameter value according to the target adjustment speed and the duration.
  7. 根据权利要求6所述的电子设备,其中,所述第二确定模块包括:The electronic device according to claim 6, wherein the second determining module comprises:
    第一确定子模块,用于根据所述目标项对应的目标参数当前的第一参数值,以及所述触控笔处于转动初始位置的情况下与所述触摸屏之间的第一角度,确定所述目标参数的单位调节速度;The first determining submodule is configured to determine the current first parameter value of the target parameter corresponding to the target item and the first angle between the stylus and the touch screen when the stylus is in the initial position of rotation. The unit adjustment speed of the target parameter;
    第二确定子模块,用于根据所述单位调节速度和所述转动角度,确定所述目标参数的目标调节速度。The second determining sub-module is configured to determine the target adjustment speed of the target parameter according to the unit adjustment speed and the rotation angle.
  8. 根据权利要求7所述的电子设备,其中,所述第一确定模块包括:The electronic device according to claim 7, wherein the first determining module comprises:
    第三确定子模块,用于在触控笔在所述电子设备的触摸屏上点击目标项,且以所述触控笔在所述目标项的点击处为定点沿目标方向进行转动的情况下,确定所述触控笔的转动角度和所述触控笔处于转动终止位置的持续时长;The third determining sub-module is used for when the touch pen clicks on the target item on the touch screen of the electronic device, and the touch pen is clicked on the target item as a fixed point to rotate along the target direction, Determining the rotation angle of the stylus and the duration of time that the stylus is in the rotation end position;
    所述第二确定模块包括:The second determining module includes:
    第四确定子模块,用于根据所述目标项对应的目标参数当前的第一参数值、所述触控笔处于转动初始位置的情况下沿所述目标方向与所述触摸屏之间的第一角度,以及所述转动角度,确定所述目标参数的目标调节速度;The fourth determining sub-module is configured to determine the first parameter value between the target direction and the touch screen according to the current first parameter value of the target parameter corresponding to the target item and when the stylus is in the initial position of rotation. The angle, and the rotation angle, determine the target adjustment speed of the target parameter;
    其中,所述目标方向用于指示所述目标参数的增大或减小。Wherein, the target direction is used to indicate the increase or decrease of the target parameter.
  9. 根据权利要求8所述的电子设备,其中,所述目标方向用于指示所述目标参数的增大,和/或,所述目标项用于指示所述目标参数的增大;The electronic device according to claim 8, wherein the target direction is used to indicate an increase in the target parameter, and/or the target item is used to indicate an increase in the target parameter;
    所述第一确定子模块包括:The first determining submodule includes:
    第一获取单元,用于获取所述目标参数对应的极大值;The first obtaining unit is configured to obtain the maximum value corresponding to the target parameter;
    第一确定单元,用于确定所述极大值与所述第一参数值之间的第一差值;A first determining unit, configured to determine a first difference between the maximum value and the first parameter value;
    第二确定单元,用于确定预设最大角度值与所述第一角度之间的第二差值,所述预设最大角度值为所述触控笔与所述触摸屏之间的最大角度值;The second determining unit is configured to determine a second difference between a preset maximum angle value and the first angle, where the preset maximum angle value is the maximum angle value between the stylus pen and the touch screen ;
    第三确定单元,用于根据所述第一差值和所述第二差值,确定所述目标参数的单位调节速度;A third determining unit, configured to determine the unit adjustment speed of the target parameter according to the first difference and the second difference;
    所述目标方向用于指示所述目标参数的减小,和/或,所述目标项用于指示所述目标参数的减小;The target direction is used to indicate a decrease in the target parameter, and/or the target item is used to indicate a decrease in the target parameter;
    所述第一确定子模块包括:The first determining submodule includes:
    第二获取单元,用于获取所述目标参数对应的极小值;The second acquiring unit is configured to acquire the minimum value corresponding to the target parameter;
    第四确定单元,用于确定所述第一参数值与所述极小值之间的第三差值;A fourth determining unit, configured to determine a third difference between the first parameter value and the minimum value;
    第五确定单元,用于确定所述第一角度与预设最小角度值之间的第四差值,所述预设最小角度值为所述触控笔与所述触摸屏之间的最小角度值;The fifth determining unit is configured to determine a fourth difference between the first angle and a preset minimum angle value, where the preset minimum angle value is the minimum angle value between the stylus pen and the touch screen ;
    第六确定单元,用于根据所述第三差值和所述第四差值,确定所述目标参数的单位调节速度。The sixth determining unit is configured to determine the unit adjustment speed of the target parameter according to the third difference and the fourth difference.
  10. 根据权利要求9所述的电子设备,其中,所述调整模块包括:The electronic device according to claim 9, wherein the adjustment module comprises:
    第五确定子模块,用于根据所述目标调节速度和所述转动时长,确定所述目标参数的调整值;A fifth determining sub-module, configured to determine the adjustment value of the target parameter according to the target adjustment speed and the rotation duration;
    第一计算子模块,用于在所述目标方向用于指示所述目标参数的增大,和/或,所述目标项用于指示所述目标参数的增大的情况下,将所述第一参数值与所述调整值相加,得到所述目标参数调整后的第二参数值;The first calculation sub-module is configured to: when the target direction is used to indicate the increase of the target parameter, and/or the target item is used to indicate the increase of the target parameter, the first Adding a parameter value to the adjustment value to obtain a second parameter value after the target parameter adjustment;
    第二计算子模块,用于在所述目标方向用于指示所述目标参数的减小,和/或,所述目标项用于指示所述目标参数的减小的情况下,将所述第一参数值与所述调整值相减,得到所述目标参数调整后的第二参数值;The second calculation sub-module is configured to: when the target direction is used to indicate the decrease of the target parameter, and/or the target item is used to indicate the decrease of the target parameter, the first A parameter value is subtracted from the adjustment value to obtain a second parameter value after the target parameter adjustment;
    调整子模块,用于按照所述目标调节速度,将所述目标参数调整至所述第二参数值。The adjustment sub-module is configured to adjust the target parameter to the second parameter value according to the target adjustment speed.
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行实现如权利要求1至5中任一项所述的参数调整方法的步骤。An electronic device, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor to implement any one of claims 1 to 5 The steps of the parameter adjustment method described in the item.
  12. 一种电子设备,被配置为用于执行如权利要求1至5中任一项所述的参数调整方法的步骤。An electronic device configured to perform the steps of the parameter adjustment method according to any one of claims 1 to 5.
  13. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的参数调整方法的步骤。A computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the parameter adjustment method according to any one of claims 1 to 5 are realized.
  14. 一种计算机程序产品,所述计算机程序产品可被处理器执行以实现如权利要求1至5中任一项所述的参数调整方法的步骤。A computer program product, which can be executed by a processor to implement the steps of the parameter adjustment method according to any one of claims 1 to 5.
PCT/CN2021/077025 2020-02-21 2021-02-20 Parameter adjustment method and electronic device WO2021164760A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010109123.4 2020-02-21
CN202010109123.4A CN111338489B (en) 2020-02-21 2020-02-21 Parameter adjustment method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021164760A1 true WO2021164760A1 (en) 2021-08-26

Family

ID=71185433

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/077025 WO2021164760A1 (en) 2020-02-21 2021-02-20 Parameter adjustment method and electronic device

Country Status (2)

Country Link
CN (1) CN111338489B (en)
WO (1) WO2021164760A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338489B (en) * 2020-02-21 2024-03-22 维沃移动通信有限公司 Parameter adjustment method and electronic equipment
CN112198996B (en) * 2020-09-04 2023-08-01 深圳市中视典数字科技有限公司 Rotation angle acquisition method and device and computer readable storage medium
CN114578989A (en) * 2022-01-18 2022-06-03 清华大学 Man-machine interaction method and device based on fingerprint deformation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140035886A1 (en) * 2012-07-31 2014-02-06 Research In Motion Limited Apparatus and Method to Determine an Angle of Inclination and/or Rotation of a Stylus
CN104918121A (en) * 2014-03-13 2015-09-16 阿里巴巴集团控股有限公司 Media stream play control method and client
US20150346886A1 (en) * 2014-05-28 2015-12-03 Kabushiki Kaisha Toshiba Electronic device, method and computer readable medium
CN108572765A (en) * 2018-04-20 2018-09-25 北京硬壳科技有限公司 Touch control identification method and device
CN111338489A (en) * 2020-02-21 2020-06-26 维沃移动通信有限公司 Parameter adjusting method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9448643B2 (en) * 2013-03-11 2016-09-20 Barnes & Noble College Booksellers, Llc Stylus sensitive device with stylus angle detection functionality
EP3144774A1 (en) * 2015-09-15 2017-03-22 Thomson Licensing Methods and apparatus of transmitting a rotation angle information to a set of actuators associated with a surface
WO2018098960A1 (en) * 2016-12-01 2018-06-07 华为技术有限公司 Method for operating touchscreen device, and touchscreen device
CN110456959B (en) * 2019-07-31 2021-04-23 维沃移动通信有限公司 Terminal control method and terminal
CN110806832A (en) * 2019-10-24 2020-02-18 维沃移动通信有限公司 Parameter adjusting method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140035886A1 (en) * 2012-07-31 2014-02-06 Research In Motion Limited Apparatus and Method to Determine an Angle of Inclination and/or Rotation of a Stylus
CN104918121A (en) * 2014-03-13 2015-09-16 阿里巴巴集团控股有限公司 Media stream play control method and client
US20150346886A1 (en) * 2014-05-28 2015-12-03 Kabushiki Kaisha Toshiba Electronic device, method and computer readable medium
CN108572765A (en) * 2018-04-20 2018-09-25 北京硬壳科技有限公司 Touch control identification method and device
CN111338489A (en) * 2020-02-21 2020-06-26 维沃移动通信有限公司 Parameter adjusting method and electronic equipment

Also Published As

Publication number Publication date
CN111338489B (en) 2024-03-22
CN111338489A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN108073343B (en) display interface adjusting method and mobile terminal
WO2021164760A1 (en) Parameter adjustment method and electronic device
CN107943390B (en) Character copying method and mobile terminal
CN111142991A (en) Application function page display method and electronic equipment
US11354017B2 (en) Display method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
WO2020238497A1 (en) Icon moving method and terminal device
WO2020207379A1 (en) Screen splitting method and terminal device
CN108897473B (en) Interface display method and terminal
WO2019184947A1 (en) Image viewing method and mobile terminal
WO2021068885A1 (en) Control method and electronic device
CN107728923B (en) Operation processing method and mobile terminal
CN107741814B (en) Display control method and mobile terminal
CN110825295B (en) Application program control method and electronic equipment
CN110096203B (en) Screenshot method and mobile terminal
WO2021164716A1 (en) Display method and electronic device
CN111147919A (en) Play adjustment method, electronic equipment and computer readable storage medium
CN108600544B (en) Single-hand control method and terminal
CN110058686B (en) Control method and terminal equipment
CN109597546B (en) Icon processing method and terminal equipment
CN109445589B (en) Multimedia file playing control method and terminal equipment
CN108536513B (en) Picture display direction adjusting method and mobile terminal
CN111443860B (en) Touch control method and electronic equipment
CN111261128B (en) Screen brightness adjusting method and electronic equipment
CN110740265B (en) Image processing method and terminal equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21757867

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21757867

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21757867

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01/03/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21757867

Country of ref document: EP

Kind code of ref document: A1