WO2022121637A1 - 圆形屏幕的触摸控制方法、终端设备及存储介质 - Google Patents
圆形屏幕的触摸控制方法、终端设备及存储介质 Download PDFInfo
- Publication number
- WO2022121637A1 WO2022121637A1 PCT/CN2021/131084 CN2021131084W WO2022121637A1 WO 2022121637 A1 WO2022121637 A1 WO 2022121637A1 CN 2021131084 W CN2021131084 W CN 2021131084W WO 2022121637 A1 WO2022121637 A1 WO 2022121637A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- point
- screen
- adjusted
- touch
- touch screen
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 230000006870 function Effects 0.000 claims description 161
- 230000003313 weakening effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Definitions
- the present application relates to the technical field of touch control and circular screen terminal devices, and in particular, to a touch control method for a circular screen, a terminal device and a storage medium.
- the shortcut operation method is mainly applied to a square smart device, and cannot be applied to a smart device with a round screen, such as a smart watch.
- the main purpose of the present application is to provide a touch control method for a circular screen, a terminal device and a storage medium, which aim to realize quick operation of a terminal device with a circular screen.
- an embodiment of the present application provides a touch control method for a circular screen, the touch control method for a circular screen is applied to a terminal device with a circular screen, and the touch control method for a circular screen includes:
- the relative positional relationship between the start touch screen point and the end point touch screen point determines the corresponding adjustment type; based on the angle between the start touch screen point and the connecting line formed by the center of the circular screen and the end point The angle between the touch screen point and the line formed by the center of the circular screen determines the corresponding value to be adjusted; the function to be adjusted is adjusted based on the value to be adjusted and the adjustment type.
- the step of adjusting the function to be adjusted based on the value to be adjusted and the adjustment type includes:
- determining the current function value of the function to be adjusted determining a corresponding target adjustment value based on the current function value, the value to be adjusted and the adjustment type; adjusting the current function value of the function to be adjusted to the target Adjustment value.
- the adjustment type includes an enhanced adjustment type and a weakened adjustment type
- the step of determining a corresponding target adjustment value based on the current function value, the to-be-adjusted value and the adjustment type includes:
- the adjustment type is an enhanced adjustment type
- the sum of the current function value and the to-be-adjusted value is determined as the target adjustment value; if the adjustment type is a weakened adjustment type, the current function value is determined as the target adjustment value. The difference between the function value and the to-be-adjusted value is determined as the target adjustment value.
- the step of determining the corresponding adjustment type based on the relative positional relationship between the initial touch screen point and the end point touch screen point includes:
- the angle between the connection line formed based on the starting touch screen point and the center of the circular screen and the connection line formed by the end touch screen point and the center of the circular screen is determined.
- the steps of determining the corresponding value to be adjusted by the angle between the two include:
- the angle between is determined as the second angle;
- the corresponding target adjustment angle is determined based on the first ordinate, the second ordinate, the first angle and the second angle; based on the target adjustment angle and
- the current function value of the function to be adjusted determines the value to be adjusted.
- the step of determining the function to be adjusted based on the location area of the initial touch screen point and the end point touch screen point on the circular screen includes:
- the method further includes:
- a preset circle radius is determined, and an edge area corresponding to the circular screen is determined based on the screen radius of the circular screen and the preset circle radius.
- the step of determining the initial touch screen point and the final touch screen point corresponding to the touch operation includes:
- the touch point is determined as the initial touch screen point of the user's finger;
- the end point of the sliding track is determined as the end point touching the screen of the user's finger.
- An embodiment of the present application further provides a terminal device, where the terminal device includes a memory, a processor, and a touch control program for a circular screen stored in the memory and running on the processor, and the circular screen has a touch control program.
- the touch control program is executed by the processor, the steps of the above-mentioned touch control method for a circular screen are realized.
- Embodiments of the present application further provide a storage medium, where a touch control program for a circular screen is stored on the storage medium, and when the touch control program for the circular screen is executed by a processor, the above-mentioned touch of the circular screen is realized The steps of the control method.
- the touch control method, terminal device, and storage medium for a circular screen determine the start touch point and end touch point corresponding to the touch operation, and determine the start touch point and end touch point based on the start touch point and end touch point.
- the position area on the circular screen determines the function to be adjusted; the corresponding adjustment type is determined based on the relative positional relationship between the initial touch screen point and the end touch screen point; based on the connection between the initial touch screen point and the center of the circular screen.
- the corresponding value to be adjusted is determined by determining the corresponding value to be adjusted based on the angle between the end point and the connecting line formed by the touch screen point at the end point and the center of the circular screen; the function to be adjusted is adjusted based on the value to be adjusted and the adjustment type. It can be seen from this that in the process of adjusting the function to be adjusted in the present application, the corresponding function to be adjusted, the adjustment type and the value to be adjusted are determined by the initial touch screen point and the end touch screen point, and the value to be adjusted is adjusted according to the value to be adjusted and the adjustment type.
- the adjustment function realizes the quick operation of the function to be adjusted in the terminal device with the circular screen.
- FIG. 1 is a schematic structural diagram of a terminal device of a hardware operating environment involved in a solution according to an embodiment of the present application
- FIG. 2 is a schematic flowchart of the first embodiment of the touch control method of the present application
- FIG. 3 is an application scenario diagram of an embodiment of the touch control method of the present application.
- FIG. 4 is a schematic diagram of a type of an edge touch screen event according to an embodiment of the touch control method of the present application
- FIG. 5 is a schematic diagram of a refinement flow of step S20 in the first embodiment of the touch control method of the present application
- FIG. 6 is a schematic diagram of a refinement flow of step S40 in the first embodiment of the touch control method of the present application.
- FIG. 7 is a schematic diagram of a refinement flow of step S50 in the first embodiment of the touch control method of the present application.
- the main solution of the embodiment of the present application is to determine the start touch screen point and the end touch screen point corresponding to the touch operation, and determine the function to be adjusted based on the position area of the start touch screen point and the end touch screen point on the circular screen ; Determine the corresponding adjustment type based on the relative positional relationship between the initial touch screen point and the end point The angle between the connecting lines formed by the center of the screen determines the corresponding value to be adjusted; the function to be adjusted is adjusted based on the value to be adjusted and the adjustment type.
- the corresponding function to be adjusted, the adjustment type and the value to be adjusted are determined by the initial touch screen point and the end touch screen point, and the value to be adjusted is adjusted according to the value to be adjusted and the adjustment type.
- the adjustment function realizes the quick operation of the function to be adjusted in the terminal device with the circular screen.
- FIG. 1 is a schematic structural diagram of a terminal device of a hardware operating environment involved in the solution of an embodiment of the present application.
- the terminal device may include: a processor 1001, such as a CPU (Central Processing Unit, central processing unit), a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002.
- the communication bus 1002 is used to implement the connection communication between these components.
- the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (board), and the user interface 1003 may optionally include a standard wired interface (such as a USB (Universal Serial Bus, Universal Serial Bus) interface), a wireless interface (eg Bluetooth interface).
- a standard wired interface such as a USB (Universal Serial Bus, Universal Serial Bus) interface
- a wireless interface eg Bluetooth interface
- the network interface 1004 may include a standard wired interface, a wireless interface (eg, a WI-FI ((Wireless-Fidelity)) interface).
- the memory 1005 may be high-speed RAM memory, or may be non-volatile memory, such as disk memory.
- the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
- the terminal device may further include an RF (Radio Frequency, radio frequency) circuit, a sensor, a WiFi module, and the like.
- the structure of the terminal device shown in FIG. 1 does not constitute a limitation on the terminal device, and may include more or less components than those shown in the figure, or combine some components, or arrange different components.
- the memory 1005 may include an operating system, a network communication module, a user interface module, and a touch control program for the shape screen.
- the operating system is a program that manages and controls the hardware and software resources of the terminal device, supports the touch control program of the circular screen, and the running of other software or programs.
- the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
- the user interface 1003 is mainly used to connect to the client and perform data communication with the client;
- the processor 1001 may Used to call the touch control program of the circular screen stored in the memory 1005, and perform the following operations:
- the function to be adjusted is adjusted based on the value to be adjusted and the adjustment type.
- processor 1001 can call the touch control program of the circular screen stored in the memory 1005, and also perform the following operations:
- the current function value of the function to be adjusted is adjusted to the target adjustment value.
- processor 1001 can call the touch control program of the circular screen stored in the memory 1005, and also perform the following operations:
- the adjustment type is an enhanced adjustment type, determining the sum of the current function value and the to-be-adjusted value as the target adjustment value;
- the adjustment type is a weakening adjustment type
- the difference between the current function value and the to-be-adjusted value is determined as the target adjustment value.
- processor 1001 can call the touch control program of the circular screen stored in the memory 1005, and also perform the following operations:
- the corresponding adjustment type is determined based on the relative positional relationship between the initial touch screen point and the end point touch screen point.
- processor 1001 can call the touch control program of the circular screen stored in the memory 1005, and also perform the following operations:
- the value to be adjusted is determined based on the target adjustment angle and the current function value of the function to be adjusted.
- processor 1001 can call the touch control program of the circular screen stored in the memory 1005, and also perform the following operations:
- the corresponding function to be adjusted is determined based on the first location area and the second location area.
- processor 1001 can call the touch control program of the circular screen stored in the memory 1005, and also perform the following operations:
- a preset circle radius is determined, and an edge area corresponding to the circular screen is determined based on the screen radius of the circular screen and the preset circle radius.
- processor 1001 can call the touch control program of the circular screen stored in the memory 1005, and also perform the following operations:
- the end point of the sliding track is determined as the end point of the user's finger touching the screen.
- the embodiment of the present application provides an embodiment of a touch control method for a circular screen. It should be noted that although the logical sequence is shown in the flowchart, some data In the following, steps shown or described may be performed in an order different from that herein.
- the execution body of the method in this embodiment of the present application may be a data adjustment device with a circular screen or a terminal device with a circular screen.
- a terminal device with a circular screen is used as the execution body for example.
- FIG. 2 is a schematic flowchart of a first embodiment of a touch control method for a circular screen of the present application.
- the touch control method of the circular screen is applied to the terminal device of the circular screen, and the touch control method of the circular screen includes:
- Step S10 Determine a preset circle radius, and determine an edge area corresponding to the circular screen based on the screen radius of the circular screen and the preset circle radius.
- a terminal device is used to represent a terminal device with a circular screen, for example, a smart watch with a circular screen.
- the terminal device needs to determine the edge area in the circular screen, as follows: The screen radius is determined, and the preset circle radius of the preset circle in the terminal device is determined, wherein the preset circle radius is set by the technician according to the size of the terminal device, which is not limited in this embodiment. Then, the terminal device determines an annular area of the circular screen according to the screen radius and the preset circle radius, and determines the annular area as an edge area of the circular screen.
- Figure 3 is one of the application scene diagrams in this embodiment.
- the coordinate system shown in Figure 3 is established with the upper left corner of the circular screen as the origin, the right side of the origin as the abscissa, and the bottom of the origin as the ordinate. Yes, the abscissa and ordinate are both greater than zero, therefore, the abscissa and ordinate of all points in the circular screen are greater than zero.
- the method for establishing the coordinate system in Fig. 3 is only for better illustration, and does not mean that this method is the only method.
- Other methods of establishing the coordinate system can also use the upper right corner of the circular screen as the origin, and the left side of the origin as The abscissa, the coordinate system established by the ordinate below the origin, the abscissa and the ordinate are both greater than zero; it can also be a coordinate established with the lower left corner of the circular screen as the origin, the right side of the origin as the abscissa, and the upper side of the origin as the ordinate
- the abscissa and ordinate are both greater than zero; it can also be a coordinate system established with the upper right corner of the circular screen as the origin, the left side of the origin as the abscissa, and the upper side of the origin as the ordinate, and both the abscissa and the ordinate are greater than zero , and similarly, in the coordinate system constructed above, the abscissa and ordinate of all points in the circular screen are greater than zero.
- the outer circle in Figure 3 is the circular screen of the terminal device, R is the screen radius of the circular screen, the inner circle is the preset circle in the terminal device, and r is the preset circle radius of the preset circle , between the outer circle and the inner circle is the annular area of the circular screen, that is, the edge area of the circular screen.
- Step S20 Determine the start touch point and end touch point corresponding to the touch operation, and determine the function to be adjusted based on the position area of the start touch point and the end touch point on the circular screen.
- the touch operation may be click by the user's finger, or click by the user with a click pen, which is not limited in this embodiment.
- this embodiment takes the user's finger click as an example for illustration.
- the terminal device determines the edge area of the circular screen, when it detects that the user's finger clicks on the circular screen, it determines whether the click point of the user's finger is within the edge area.
- the terminal device determines the click point of the user's finger as the initial touch screen point.
- the terminal device detects whether there is a sliding track of the user's finger within the edge area. If the terminal device detects that there is a sliding track of the user's finger within the edge area, the terminal device determines that the user's finger triggers the edge. area touch screen event, and determine the track end point of the sliding track, and determine the track end point as the end point touch screen point of the user's finger.
- the terminal device determines the abscissa corresponding to the start touch screen point and the abscissa corresponding to the end touch screen point, according to the size of the abscissa of the start touch screen point, the abscissa of the end touch screen point and the screen radius of the circular screen relationship, determine the position area of the start touch screen point and the end point touch screen point in the circular screen, and determine the function to be adjusted according to the position area.
- the functions to be adjusted include, but are not limited to, adjusting the brightness of the circular screen, adjusting the volume of the terminal device, and switching the theme of the circular screen.
- the edge region touch screen event is triggered. If the sliding trajectory of the user's finger is not completely within the edge area, the instantaneous trajectory point corresponding to the sliding trajectory departing from the edge area is determined as the end point of the user's finger touching the screen.
- the function to be adjusted corresponding to the left area of the circular screen is defined as adjusting the brightness of the circular screen
- the function to be adjusted corresponding to the right area of the circular screen is defined as adjusting the volume of the terminal device.
- the coordinate point of the initial touch screen point is (x1, y1)
- the coordinate point of the end touch screen point is (x2, y2)
- the abscissa x1 of the initial touch screen point is greater than R
- the horizontal coordinate of the end touch screen point is (x2, y2). If the coordinate x2 is greater than R, the terminal device determines that both the start touch screen point and the end point touch screen point are in the right area of the circular screen, and the terminal device determines that the function to be adjusted is to adjust the volume of the terminal device.
- step S20 includes:
- Step S201 detecting that the user's finger touches the circular screen, and determining that the touch point is in the edge area corresponding to the circular screen, determining the touch point as the initial touch screen point of the user's finger;
- Step S202 when it is detected that the sliding track of the user's finger starting from the initial touch screen point is in the edge region, the end point of the sliding track is determined as the end point of the user's finger touching the screen.
- the terminal device detects that the user's finger clicks on the circular screen, and determines that the touch point of the user's finger is within the edge area of the circular screen, and the terminal device determines that the touch point of the user's finger is the initial touch point. After the terminal device determines the initial touch screen point, if it detects a sliding trajectory of the user's finger starting from the initial touch screen point, and determines that the sliding trajectory is within the edge area, the terminal device determines that the user's finger triggers the touch screen in the edge area. event, and determine the end track point of the sliding track as the end point touch screen point of the user's finger.
- this embodiment can be a calculation method of the Pythagorean theorem, but is not limited to the calculation of the Pythagorean theorem method.
- the coordinate point of the trigger point of the user's finger is (x1, y1)
- the coordinate point of the end trajectory point of the sliding track is (x2, y2)
- R is the screen radius of the circular screen
- r is the preset circle. According to the preset circle radius, it can be understood that the center of the circular screen is (R, R).
- the trigger point is determined (x1, y1) is the starting touch screen point.
- (R-x2) 2 +(R–y2) 2 >r 2 determine the end track point (x2, y2) of the sliding track as the end touch screen point.
- the trigger points with (Rx) 2 +(R ⁇ y) 2 ⁇ r 2 are determined as non-edge area points, that is, non-start touch points and non-end touch points.
- Step S30 determining a corresponding adjustment type based on the relative positional relationship between the initial touch screen point and the end point touch screen point.
- the terminal device determines the ordinate corresponding to the initial touch screen point and the ordinate corresponding to the end touch screen point. In comparison, if the terminal device determines that the ordinate position of the end touch screen point is below the ordinate position of the start touch screen point, the terminal device determines that the sliding direction of the user's finger is from up to down, that is, the adjustment type is weakened. If the terminal device determines that the ordinate position of the end touch screen point is above the ordinate position of the start touch screen point, the terminal device determines that the sliding direction of the user's finger is from bottom to top, that is, the enhanced adjustment type.
- the ordinate of the initial touch screen point and the ordinate of the end touch screen point are compared in size, and the adjustment type corresponding to the function to be adjusted is determined according to the comparison result.
- the terminal device determines that the comparison result is that the ordinate of the end touch screen point is greater than the ordinate of the initial touch screen point, that is, it is determined that the ordinate position of the end touch screen point is below the ordinate position of the initial touch screen point.
- the terminal device determines that the sliding direction of the user's finger is from up to down, that is, the adjustment type is weakened. If the terminal device determines that the comparison result is that the ordinate of the end touch point is smaller than the ordinate of the start touch point, that is, it determines that the ordinate of the end touch point is above the ordinate of the start touch point, the terminal It is determined that the sliding direction of the user's finger is from bottom to top, that is, the enhanced adjustment type.
- the terminal device determines that the comparison result is that the ordinate of the end touch screen point is smaller than the ordinate of the initial touch screen point, that is, it is determined that the ordinate position of the end touch screen point is below the ordinate position of the initial touch screen point.
- the terminal device determines that the sliding direction of the user's finger is from up to down, that is, the adjustment type is weakened. If the terminal device determines that the comparison result is that the ordinate of the end touch point is greater than the ordinate of the start touch point, that is, the ordinate position of the end touch point is determined to be above the ordinate of the start touch point, the terminal device then It is determined that the sliding direction of the user's finger is from bottom to top, that is, the enhanced adjustment type.
- step S30 includes:
- Step S301 determining a first ordinate corresponding to the initial touch screen point, and determining a second ordinate corresponding to the end touch screen point;
- Step S302 based on the relative size of the first ordinate and the second ordinate, determine the relative positional relationship between the initial touch screen point and the end point touch screen;
- Step S303 determining a corresponding adjustment type based on the relative positional relationship between the initial touch screen point and the end point touch screen point.
- the terminal device determines the ordinate of the initial touch screen point and the ordinate of the end touch screen point, and sets the ordinate of the initial touch screen point and the ordinate of the end touch screen point Comparing the size, if the terminal device determines that the ordinate of the end touch screen point is greater than the ordinate of the start touch screen point, that is, it determines that the end point touch screen point is below the start touch screen point, and the terminal device determines the sliding direction of the user's finger. For reasons of up and down, the adjustment type is weakened.
- the terminal device determines that the ordinate of the end touch screen point is smaller than the ordinate of the start touch screen point, that is, it determines that the end point touch screen point is above the start touch screen point, and the terminal device determines that the sliding direction of the user's finger is from down to down Swipe up to enhance the adjustment type.
- the coordinate point of the initial touch screen point is (x1, y1)
- the coordinate point of the end touch screen point is (x2, y2)
- the function to be adjusted is to adjust the volume of the terminal device
- the terminal device determines that y2 is greater than y1, that is, determines that the end touch screen point is below the initial touch screen point, and determines that the sliding direction of the user's finger is from up to down, that is, reduces the volume of the terminal device.
- Step S40 based on the angle between the starting touch screen point and the connecting line formed by the center of the circular screen and the angle between the ending touch screen point and the connecting line forming the center of the circular screen Determine the corresponding value to be adjusted.
- the terminal device After determining the function to be adjusted and the adjustment type corresponding to the function to be adjusted, the terminal device connects the line connecting the starting touch screen point with the center of the circle of the circular screen, and the connecting line with the diameter perpendicular to the ordinate of the starting touch screen point.
- the included angle is determined as the angle of the initial touch screen point, and the angle value of the initial touch screen point is determined according to the ordinate of the initial touch screen point and the screen radius of the circular screen. Determine the angle between the connection line between the end touch screen point and the center of the circular screen and the connection line with the diameter perpendicular to the ordinate of the end touch screen point as the angle of the end touch screen point, and then according to the angle of the end touch screen point.
- the ordinate and the screen radius of the circular screen determine the angle value of the end touch screen point. Then, the terminal device determines the angle value that needs to be adjusted according to the ordinate of the initial touch screen point, the angle of the initial touch screen point, the ordinate of the end touch screen point, and the angle of the end touch screen point, and the angle to be adjusted according to the angle to be adjusted. The value is calculated with the current function value of the function to be adjusted to obtain the function value to be adjusted of the function to be adjusted.
- Step S50 Adjust the function to be adjusted based on the value to be adjusted and the adjustment type.
- the terminal device After determining the function to be adjusted, the adjustment type and the value to be adjusted, the terminal device determines the current function value of the function to be adjusted, calculates the corresponding target adjustment value according to the current function value, adjustment type and value to be adjusted, and calculates the current value of the function to be adjusted.
- the function value is adjusted to the target adjustment value.
- FIG. 4 is a type of edge touch screen event in this embodiment.
- the method of establishing the coordinate system in FIG. 4 can refer to the method of establishing the coordinate system in FIG. 3 .
- the upper left corner of the circular screen is used as the origin, the right side of the origin is the abscissa, and the bottom of the origin is the coordinate established by the ordinate. system, the abscissa and ordinate are both greater than zero, therefore, the abscissa and ordinate of all points in the circular screen are greater than zero. (x, y) in FIG.
- R 4 represents the abscissa value and ordinate value of the initial touch screen point and the end point touch screen point
- R represents the screen radius of the circular screen. If x ⁇ R of the start touch screen point and the end touch screen point, the terminal device determines that the type of the touch screen event is left-up slide or left slide. If x>R of the initial touch screen point and the end point touch screen point, the terminal device determines that the type of the touch screen event is up-right slide or right slide-down. If y ⁇ R of the start touch screen point and the end touch screen point, and one x>R and one x ⁇ R, the terminal device determines that the type of the touch screen event is slide up left or slide up right.
- the terminal device determines that the type of the touch screen event is down-left slide or down-right slide. If the sliding area is larger than the same area, it is considered as a full circle, such as sliding from the upper right to the lower left or upper left.
- the initial touch screen point and the end touch screen point corresponding to the touch operation are determined, and the function to be adjusted is determined based on the position area of the initial touch screen point and the end point touch screen point on the circular screen;
- the relative positional relationship between the touch point and the end point determines the corresponding adjustment type; based on the angle between the start touch point and the center of the circular screen and the connection between the end touch point and the center of the circular screen.
- the angle between the lines determines the corresponding value to be adjusted; the function to be adjusted is adjusted based on the value to be adjusted and the type of adjustment.
- the corresponding function to be adjusted, the adjustment type and the value to be adjusted are determined by the initial touch screen point and the end touch screen point, and the value to be adjusted is adjusted according to the value to be adjusted and the adjustment type.
- the adjustment function realizes the quick operation of the function to be adjusted in the terminal device with the circular screen.
- FIG. 5 is a schematic diagram of a detailed flow of step S20 in the first embodiment of the touch control method for a circular screen of the present application.
- the step S20 further includes:
- Step S203 determining the first abscissa corresponding to the initial touch screen point, and determining the second abscissa corresponding to the end touch screen point;
- Step S204 based on the relative size of the first abscissa and the screen radius of the circular screen, determine the first position area of the initial touch screen point on the circular screen;
- Step S205 based on the relative size of the second abscissa and the screen radius of the circular screen, determine the second position area of the end point touch screen point on the circular screen;
- Step S206 Determine the corresponding function to be adjusted based on the first location area and the second location area.
- the terminal device determines the abscissa corresponding to the initial touch screen point and the abscissa corresponding to the end touch point, according to the abscissa of the initial touch point and the abscissa of the end touch point and the screen radius of the circular screen respectively. Determine the size relationship of the start touch screen point and the end touch screen point respectively in the position area of the circular screen, and determine the function to be adjusted according to the position area of the start touch screen point and the end point touch screen point.
- the terminal device determines that the initial touch screen point is in the left area of the circular screen, and the abscissa x2 of the end touch screen point is less than R, the terminal device determines that the end touch screen point is in the circle In the left area of the circular screen, the start touch point and the end touch point are both in the left area of the circular screen, and the terminal device determines that the function to be adjusted is to adjust the brightness of the terminal device.
- the terminal device determines that the initial touch screen point is in the right area of the circular screen, and the abscissa x2 of the end touch screen point is greater than R, and the terminal device determines that the end touch screen point is in the circle In the right area of the circular screen, the start touch point and the end touch point are both in the right area of the circular screen, and the terminal device determines that the function to be adjusted is to adjust the volume of the terminal device.
- the terminal device determines that the initial touch screen point is in the right area of the circular screen, and the abscissa x2 of the end touch screen point is less than R, the terminal device determines that the end touch screen point is in the circle The left area of the circular screen, the start touch point is in the right area of the circular screen, the end touch point is in the left area of the circular screen, and the terminal device determines that the function to be adjusted is the theme of switching the circular screen.
- the terminal device determines that the initial touch screen point is in the left area of the circular screen, and the abscissa x2 of the end touch screen point is greater than R, the terminal device determines that the end touch screen point is in the circle the right area of the circular screen, the starting touch point is in the left area of the circular screen, the end touch point is in the right area of the circular screen, and the terminal device determines that the function to be adjusted is the theme of switching the circular screen.
- the first abscissa corresponding to the initial touch screen point is determined, and the second abscissa corresponding to the end touch screen point is determined; based on the relative size of the first abscissa and the screen radius of the circular screen, the initial touch point is determined.
- the function to be adjusted corresponding to the trigger event can be determined by the first abscissa of the initial touch screen point, the second abscissa of the end touch screen point, and the screen radius, thereby improving the terminal with a circular screen.
- the intelligence of the function to be adjusted in the device can be determined by the first abscissa of the initial touch screen point, the second abscissa of the end touch screen point, and the screen radius, thereby improving the terminal with a circular screen.
- FIG. 6 is a schematic diagram of a refined flow of step S40 in the first embodiment of the touch control method for a circular screen of the present application.
- the step S40 includes:
- Step S401 determining the angle between the starting touch screen point and the connecting line formed by the center of the circular screen as the first angle, and forming the final touch point and the center of the circular screen to form the first angle
- the angle between the connecting lines is determined as the second angle
- Step S402 determining a corresponding target adjustment angle based on the first ordinate, the second ordinate, the first angle and the second angle;
- Step S403 determining the to-be-adjusted value based on the target adjustment angle and the current function value of the to-be-adjusted function.
- the terminal device determines the angle between the starting touch screen point and the line connecting the center of the circular screen as the angle of the starting touch point, and determines the angle between the ending touch point and the center of the circle on the circular screen. The angle between them is determined as the angle of the end touch screen point.
- the terminal device calculates the ordinate and screen radius of the initial touch screen point through trigonometric functions to obtain the angle value of the initial touch screen point, and calculates the ordinate and screen radius of the end touch screen point through trigonometric functions to obtain the ordinate of the end touch screen point. angle value.
- the terminal device compares the ordinate of the initial touch screen point and the screen radius, and the ordinate of the end touch screen point and the screen radius, respectively, to obtain a corresponding comparison result, and according to the comparison result, the The angle and the angle of the end touch screen point determine the corresponding target adjustment angle.
- the terminal device determines that the comparison result is that the ordinate of the end touch screen point is greater than the screen radius, and the ordinate of the start touch screen point is smaller than the screen radius, the terminal device compares the angle of the start touch screen point with the end point touch screen. The angles of the points are summed, and the obtained sum is the target adjustment angle.
- the terminal device determines that the comparison result is that the ordinate of the end touch point is smaller than the screen radius, and the ordinate of the start touch point is smaller than the screen radius, the terminal device compares the angle of the start touch point with the angle of the end touch point. Calculate the difference, and the difference obtained is the target adjustment angle. After obtaining the target adjustment angle, the terminal device determines the corresponding adjustment ratio according to the target adjustment angle and the preset angle, and then multiplies the adjustment ratio by the current function value of the function to be adjusted, and the obtained product is the value to be adjusted, wherein the preset value is the value to be adjusted.
- the setting angle is set by technical personnel, and is not limited in this embodiment.
- the terminal device determines that the comparison result is that the ordinate of the end touch screen point is smaller than the screen radius, and the ordinate of the start touch screen point is greater than the screen radius, the terminal device will compare the angle of the start touch screen point with the screen radius. The angle of the touch screen point at the end point is summed, and the obtained sum value is the target adjustment angle. If the terminal device determines that the comparison result is that the ordinate of the end touch point is greater than the screen radius, and the ordinate of the start touch point is smaller than the screen radius, the terminal device compares the angle of the start touch point with the angle of the end touch point. The difference is calculated, and the difference obtained is the target adjustment angle. The method of calculating the target adjustment angle is determined by the coordinate system.
- the coordinate point of the initial touch screen point is (x1, y1)
- the coordinate point of the end touch screen point is (x2, y2)
- the current brightness value is C
- the preset angle is 180 degrees
- the angle of the starting touch screen point is a
- the angle of the end touch screen point is b.
- both the angle a and the angle b are positive values.
- the angle between the starting touch screen point and the connection line formed by the center of the circular screen is determined as the first angle
- the angle between the end touch screen point and the connection line formed by the center of the circular screen is determined as the first angle.
- Determine the second angle determine the corresponding target adjustment angle based on the first ordinate, the second ordinate, the first angle and the second angle; determine the to-be-adjusted value based on the target adjustment angle and the current function value of the function to be adjusted.
- the target adjustment angle is determined by the first ordinate, the second ordinate, the screen radius, the first angle and the second angle, and the to-be-adjusted value is automatically determined according to the target adjustment angle and the current function value, thereby improving the The intelligence in determining the value to be adjusted in a terminal device with a circular screen.
- FIG. 7 is a schematic diagram of a detailed flow of step S50 in the first embodiment of the touch control method for a circular screen of the present application.
- the step S50 includes:
- Step S501 determining the current function value of the function to be adjusted
- Step S502 determining a corresponding target adjustment value based on the current function value, the to-be-adjusted value and the adjustment type;
- Step S506 adjusting the current function value of the function to be adjusted to the target adjustment value.
- the terminal device determines the function to be adjusted, the adjustment type and the value to be adjusted, the current function value of the function to be adjusted is determined.
- the adjustment type and the current function value determine the target adjustment value, and adjust the current function value of the function to be adjusted to the target adjustment value.
- the step of determining the corresponding target adjustment value based on the current function value, the to-be-adjusted value and the adjustment type includes:
- Step S5021 if the adjustment type is an enhanced adjustment type, determine the sum of the current function value and the to-be-adjusted value as the target adjustment value; or,
- Step S5022 if the adjustment type is a weakening adjustment type, the difference between the current function value and the to-be-adjusted value is determined as the target adjustment value.
- the terminal device determines that the adjustment type is the enhanced adjustment type, it will sum the current function value of the function to be adjusted and the value to be adjusted, and the obtained sum value is the target adjustment value. If the terminal device determines that the adjustment type is the weakened adjustment type, it will calculate the difference between the current function value of the function to be adjusted and the value to be adjusted, and the difference obtained is the target adjustment value.
- the coordinate point of the initial touch screen point is (x1, y1)
- the coordinate point of the end touch screen point is (x2, y2)
- the function to be adjusted is to adjust the volume of the terminal device
- the current brightness value is C
- the preset angle is 180 degrees
- the angle of the start touch screen point is a
- the angle of the end touch screen point is b
- step S502 it also includes:
- Step S503 detecting whether the target adjustment value is greater than or equal to the maximum function value of the function to be adjusted
- Step S504 if it is detected that the target adjustment value is less than the maximum function value, step S506 is executed;
- Step S505 if it is detected that the target adjustment value is greater than or equal to the maximum function value, the maximum function value is determined as the target adjustment value, and step S506 is executed.
- the terminal device detects whether the target adjustment value is greater than or equal to the maximum function value of the function to be adjusted. If the terminal device detects that the target adjustment value is smaller than the maximum function value of the function to be adjusted, the terminal The device adjusts the current function value of the function to be adjusted to the target adjustment value. If the terminal device detects that the target adjustment value is greater than or equal to the maximum function value of the function to be adjusted, the terminal device determines the maximum function value as the target adjustment value, and adjusts the current function value of the function to be adjusted to the maximum function value.
- the current function value of the function to be adjusted is determined; the corresponding target adjustment value is determined based on the current function value, the value to be adjusted and the adjustment type; the current function value of the function to be adjusted is adjusted to the target adjustment value. It can be seen from this that the present embodiment automatically determines the corresponding target adjustment value according to the current function value, the value to be adjusted and the adjustment type, and automatically adjusts the current function value of the function to be adjusted to the target adjustment value, thereby improving the circular screen terminal.
- the intelligence of function value regulation in the device is provided.
- the present application also provides a touch control device for a circular screen.
- the touch control device for the circular screen is applied to a terminal device with a circular screen, and the touch control device for the circular screen includes:
- a determination module configured to determine the start touch screen point and the end point touch screen point corresponding to the touch operation, and determine the function to be adjusted based on the position area of the start touch screen point and the end point touch screen point on the circular screen ;
- the determining module is further configured to determine a corresponding adjustment type based on the relative positional relationship between the initial touch screen point and the end point touch screen point;
- the determining module is further configured to be based on the angle between the starting touch screen point and the connection line formed by the center of the circular screen and the connection line formed by the end touch screen point and the center of the circular screen. The angle between determines the corresponding value to be adjusted;
- An adjustment module configured to adjust the function to be adjusted based on the value to be adjusted and the adjustment type.
- each module in the above-mentioned circular screen touch control device corresponds to each step in the above-mentioned circular screen touch control method embodiment, and the functions and implementation process thereof will not be repeated here.
- the present application also provides a terminal device, the terminal device includes a memory, a processor, and a touch control program for a circular screen stored in the memory and running on the processor, where the touch control program for the circular screen is executed by the processor.
- the specific embodiments of the terminal device of the present application are basically the same as the above-mentioned embodiments of the touch control method for a circular screen, and will not be repeated here.
- the present application further provides a storage medium on which a touch control program for a circular screen is stored, and when the touch control program for the circular screen is executed by a processor, the circular screen according to any of the above embodiments can be implemented.
- the steps of the touch control method of the screen can be implemented.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请一些实施例公开了一种圆形屏幕的触摸控制方法、终端设备及存储介质,该方法的步骤包括:确定触摸操作对应的起始触屏点和终点触屏点,并基于起始触屏点和终点触屏点在圆形屏幕上的位置区域确定待调节功能;基于起始触屏点和终点触屏点的相对位置关系确定对应的调节类型;基于起始触屏点与圆形屏幕的圆心形成的连线之间的角度和终点触屏点与圆形屏幕的圆心形成的连线之间的角度确定对应的待调节值;基于待调节值和调节类型调节待调节功能。本申请通过起始触屏点和终点触屏点确定对应的待调节功能、调节类型和待调节值,并通过待调节值和调节类型调节待调节功能,实现了圆形屏幕的终端设备中待调节功能的快捷操作。
Description
本申请要求于2020年12月09日提交中国专利局、申请号为202011431583.5、发明名称为“圆形屏幕的触摸控制方法、终端设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及触摸控制和圆形屏幕终端设备技术领域,尤其涉及一种圆形屏幕的触摸控制方法、终端设备及存储介质。
随着智能设备的发展,以及快捷操作方式的出现,使得智能设备的功能调节越来越方便,比如,通过滑动智能手机屏幕的边缘区域,可以调节智能手机的声音和调节智能手机的亮度。但目前快捷操作方式主要应用于方形的智能设备中,不能应用于圆形屏幕的智能设备中,比如智能手表。
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。
发明内容
本申请的主要目的在于提供一种圆形屏幕的触摸控制方法、终端设备及存储介质,旨在实现圆形屏幕的终端设备的快捷操作。
为实现上述目的,本申请实施例提供一种圆形屏幕的触摸控制方法,所述圆形屏幕的触摸控制方法应用于圆形屏幕的终端设备,所述圆形屏幕的触摸控制方法包括:
确定触摸操作对应的起始触屏点和终点触屏点,并基于所述起始触屏点和所述终点触屏点在所述圆形屏幕上的位置区域确定待调节功能;基于所述起始触屏点和所述终点触屏点的相对位置关系确定对应的调节类型;基于所述起始触屏点与所述圆形屏幕的圆心形成的连线之间的角度和所述终点触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定对应的待调节值;基于所述待调节值和所述调节类型调节所述待调节功能。
可选地,所述基于所述待调节值和所述调节类型调节所述待调节功能的步骤包括:
确定所述待调节功能的当前功能值;基于所述当前功能值、所述待调节值和所述调节类型确定对应的目标调节值;将所述待调节功能的当前功能值调节至所述目标调节值。
可选地,所述调节类型包括增强调节类型和减弱调节类型,所述基于所述当前功能值、所述待调节值和所述调节类型确定对应的目标调节值的步骤包括:
若所述调节类型为增强调节类型,则将所述当前功能值与所述待调节值的 和值,确定为所述目标调节值;若所述调节类型为减弱调节类型,则将所述当前功能值与所述待调节值的差值,确定为所述目标调节值。
可选地,所述基于所述起始触屏点和所述终点触屏点的相对位置关系确定对应的调节类型的步骤包括:
确定所述起始触屏点对应的第一纵坐标,并确定所述终点触屏点对应的第二纵坐标;基于所述第一纵坐标和所述第二纵坐标的相对大小,确定所述起始触屏点和所述终点触屏点的相对位置关系;基于所述起始触屏点和所述终点触屏点的相对位置关系确定对应的调节类型。
可选地,所述基于所述起始触屏点与所述圆形屏幕的圆心形成的连线之间的角度和所述终点触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定对应的待调节值的步骤包括:
将所述起始触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定为第一角度,并将所述终点触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定为第二角度;基于所述第一纵坐标、所述第二纵坐标、所述第一角度和所述第二角度确定对应的目标调节角度;基于所述目标调节角度和所述待调节功能的当前功能值确定所述待调节值。
可选地,所述基于所述起始触屏点和所述终点触屏点在所述圆形屏幕上的位置区域确定待调节功能的步骤包括:
确定所述起始触屏点对应的第一横坐标,并确定所述终点触屏点对应的第二横坐标;基于所述第一横坐标与所述圆形屏幕的屏幕半径的相对大小,确定所述起始触屏点在所述圆形屏幕上的第一位置区域;基于所述第二横坐标与所述圆形屏幕的屏幕半径的相对大小,确定所述终点触屏点在所述圆形屏幕上的第二位置区域;基于所述第一位置区域和所述第二位置区域确定对应的待调节功能。
可选地,所述确定触摸操作对应的起始触屏点和终点触屏点的步骤之前,还包括:
确定预设圆半径,基于所述圆形屏幕的屏幕半径和所述预设圆半径确定所述圆形屏幕对应的边缘区域。
可选地,所述确定触摸操作对应的起始触屏点和终点触屏点的步骤包括:
侦测到用户手指触摸所述圆形屏幕,并确定触摸点在所述圆形屏幕对应的边缘区域时,将所述触摸点确定为用户手指的起始触屏点;侦测到用户手指以所述起始触屏点为起点的滑动轨迹在所述边缘区域时,将所述滑动轨迹的终点确定为用户手指的终点触屏点。
本申请实施例还提供一种终端设备,所述终端设备包括存储器、处理器和存储在所述存储器上并在所述处理器上运行的圆形屏幕的触摸控制程序,所述圆形屏幕的触摸控制程序被所述处理器执行时实现如上所述的圆形屏幕的触摸控制方法的步骤。
本申请实施例还提供一种存储介质,所述存储介质上存储有圆形屏幕的触 摸控制程序,所述圆形屏幕的触摸控制程序被处理器执行时实现如上所述的圆形屏幕的触摸控制方法的步骤。
本申请实施例提供的圆形屏幕的触摸控制方法、终端设备及存储介质,通过确定触摸操作对应的起始触屏点和终点触屏点,并基于起始触屏点和终点触屏点在圆形屏幕上的位置区域确定待调节功能;基于起始触屏点和终点触屏点的相对位置关系确定对应的调节类型;基于起始触屏点与圆形屏幕的圆心形成的连线之间的角度和终点触屏点与圆形屏幕的圆心形成的连线之间的角度确定对应的待调节值;基于待调节值和调节类型调节待调节功能。由此可知,本申请在调节待调节功能的过程中,通过起始触屏点和终点触屏点确定对应的待调节功能、调节类型和待调节值,并通过待调节值和调节类型调节待调节功能,实现圆形屏幕的终端设备中待调节功能的快捷操作。
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一部分附图,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。
图1是本申请实施例方案涉及的硬件运行环境的终端设备结构示意图;
图2是本申请触摸控制方法第一实施例的流程示意图;
图3是本申请触摸控制方法一实施例的应用场景图;
图4是本申请触摸控制方法一实施例的边缘触屏事件的类型示意图;
图5为本申请触摸控制方法第一实施例中步骤S20的细化流程示意图;
图6为本申请触摸控制方法第一实施例中步骤S40的细化流程示意图;
图7为本申请触摸控制方法第一实施例中步骤S50的细化流程示意图。
应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
本申请实施例的主要解决方案是:确定触摸操作对应的起始触屏点和终点触屏点,并基于起始触屏点和终点触屏点在圆形屏幕上的位置区域确定待调节功能;基于起始触屏点和终点触屏点的相对位置关系确定对应的调节类型;基于起始触屏点与圆形屏幕的圆心形成的连线之间的角度和终点触屏点与圆形屏幕的圆心形成的连线之间的角度确定对应的待调节值;基于待调节值和调节类型调节待调节功能。由此可知,本申请在调节待调节功能的过程中,通过起始触屏点和终点触屏点确定对应的待调节功能、调节类型和待调节值,并通过待调节值和调节类型调节待调节功能,实现了圆形屏幕的终端设备中待调节功能的快捷操作。
具体地,参照图1,图1为本申请实施例方案涉及的硬件运行环境的终端设备结构示意图。该终端设备可以包括:处理器1001,例如CPU(Central Processing Unit,中央处理器),存储器1005,用户接口1003,网络接口1004,通信总线1002。通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(board),用户接口1003可选的还可以包括标准的有线接口(如USB(Universal Serial Bus,通用串行总线)接口)、无线接口(如蓝牙接口)。网络接口1004可以包括标准的有线接口、无线接口(如WI-FI((Wireless-Fidelity))接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。可选地,终端设备还可以包括RF(Radio Frequency,射频)电路,传感器、WiFi模块等。
本领域技术人员可以理解,图1中示出的终端设备结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质(需说明的是,本申请中的计算机存储介质为计算机可读存储介质)的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及圆形屏幕的触摸控制程序。其中,操作系统是管理和控制终端设备硬件和软件资源的程序,支持圆形屏幕的触摸控制程序以及其它软件或程序的运行。
在图1所示的终端设备中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端,与客户端进行数据通信;其中,处理器1001可以用于调用存储器1005中存储的圆形屏幕的触摸控制程序,并执行如下操作:
确定触摸操作对应的起始触屏点和终点触屏点,并基于所述起始触屏点和所述终点触屏点在所述圆形屏幕上的位置区域确定待调节功能;
基于所述起始触屏点和所述终点触屏点的相对位置关系确定对应的调节类型;
基于所述起始触屏点与所述圆形屏幕的圆心形成的连线之间的角度和所述终点触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定对应的待调节值;
基于所述待调节值和所述调节类型调节所述待调节功能。
进一步地,处理器1001可以调用存储器1005中存储的圆形屏幕的触摸控制程序,还执行以下操作:
确定所述待调节功能的当前功能值;
基于所述当前功能值、所述待调节值和所述调节类型确定对应的目标调节值;
将所述待调节功能的当前功能值调节至所述目标调节值。
进一步地,处理器1001可以调用存储器1005中存储的圆形屏幕的触摸控制程序,还执行以下操作:
若所述调节类型为增强调节类型,则将所述当前功能值与所述待调节值的和值,确定为所述目标调节值;
若所述调节类型为减弱调节类型,则将所述当前功能值与所述待调节值的差值,确定为所述目标调节值。
进一步地,处理器1001可以调用存储器1005中存储的圆形屏幕的触摸控制程序,还执行以下操作:
确定所述起始触屏点对应的第一纵坐标,并确定所述终点触屏点对应的第二纵坐标;
基于所述第一纵坐标和所述第二纵坐标的相对大小,确定所述起始触屏点和所述终点触屏点的相对位置关系;
基于所述起始触屏点和所述终点触屏点的相对位置关系确定对应的调节类型。
进一步地,处理器1001可以调用存储器1005中存储的圆形屏幕的触摸控制程序,还执行以下操作:
将所述起始触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定为第一角度,并将所述终点触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定为第二角度;
基于所述第一纵坐标、所述第二纵坐标、所述第一角度和所述第二角度确定对应的目标调节角度;
基于所述目标调节角度和所述待调节功能的当前功能值确定所述待调节值。
进一步地,处理器1001可以调用存储器1005中存储的圆形屏幕的触摸控制程序,还执行以下操作:
确定所述起始触屏点对应的第一横坐标,并确定所述终点触屏点对应的第二横坐标;
基于所述第一横坐标与所述圆形屏幕的屏幕半径的相对大小,确定所述起始触屏点在所述圆形屏幕上的第一位置区域;
基于所述第二横坐标与所述圆形屏幕的屏幕半径的相对大小,确定所述终点触屏点在所述圆形屏幕上的第二位置区域;
基于所述第一位置区域和所述第二位置区域确定对应的待调节功能。
进一步地,处理器1001可以调用存储器1005中存储的圆形屏幕的触摸控制程序,还执行以下操作:
确定预设圆半径,基于所述圆形屏幕的屏幕半径和所述预设圆半径确定所述圆形屏幕对应的边缘区域。
进一步地,处理器1001可以调用存储器1005中存储的圆形屏幕的触摸控制程序,还执行以下操作:
侦测到用户手指触摸所述圆形屏幕,并确定触摸点在所述圆形屏幕对应的边缘区域时,将所述触摸点确定为用户手指的起始触屏点;
侦测到用户手指以所述起始触屏点为起点的滑动轨迹在所述边缘区域时,将所述滑动轨迹的终点确定为用户手指的终点触屏点。
基于上述的终端设备架构但不限于上述架构,本申请实施例提供了圆形屏幕的触摸控制方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些数据下,可以以不同于此处的顺序完成所示出或描述的步骤。
本申请本实施例方法的执行主体可以是一种圆形屏幕的数据调节装置,也可以是一种圆形屏幕的终端设备,本实施例以圆形屏幕的终端设备作为执行主体进行举例。
参照图2,图2为本申请圆形屏幕的触摸控制方法第一实施例的流程示意图。所述圆形屏幕的触摸控制方法应用于圆形屏幕的终端设备,所述圆形屏幕的触摸控制方法包括:
步骤S10,确定预设圆半径,基于所述圆形屏幕的屏幕半径和所述预设圆半径确定所述圆形屏幕对应的边缘区域。
需要说明的是,本实施例以终端设备表示圆形屏幕的终端设备,比如,圆形屏幕的智能手表。终端设备在确定触摸操作对应在圆形屏幕中的起始触屏点和终点触屏点之前,终端设备需要确定圆形屏幕中的边缘区域,具体如下:终端设备确定终端设备的圆形屏幕的屏幕半径,并确定终端设备中预设圆的预设圆半径,其中,预设圆半径是技术人员根据终端设备的大小进行设定的,本实施例不作限制。然后,终端设备根据屏幕半径和预设圆半径确定圆形屏幕的圆环区域,并将该圆环区域确定为圆形屏幕的边缘区域。
如图3所示,图3是本实施例中其一应用场景图,如图3所示的坐标系是以圆形屏幕的左上角为原点,原点右边为横坐标,原点下边为纵坐标建立的,横坐标和纵坐标都是大于零,因此,圆形屏幕内的所有点的横坐标和纵坐标均大于零。需要说明的是,图3中的坐标系的建立方法只是为了更好的举例说明,不代表只有本方法,其他建立坐标系的方法还可以为以圆形屏幕的右上角为原点,原点左边为横坐标,原点下边为纵坐标建立的坐标系,横坐标和纵坐标都是大于零;还可以为以圆形屏幕的左下角为原点,原点右边为横坐标,原点上边为纵坐标建立的坐标系,横坐标和纵坐标都是大于零;还可以为以圆形屏幕的右上角为原点,原点左边为横坐标,原点上边为纵坐标建立的坐标系,横坐标和纵坐标都是大于零,同理,以上构建的坐标系中,圆形屏幕内的所有点的横坐标和纵坐标均大于零。
图3中的外层圆即为终端设备的圆形屏幕,R即为圆形屏幕的屏幕半径,内层圆即为终端设备中的预设圆,r即为预设圆的预设圆半径,外层圆和内层圆之间即为圆形屏幕的圆环区域,即圆形屏幕的边缘区域。
步骤S20,确定触摸操作对应的起始触屏点和终点触屏点,并基于所述起始触屏点和所述终点触屏点在所述圆形屏幕上的位置区域确定待调节功能。
需要说明的是,触摸操作可以是用户手指点击,或者用户使用点击笔点击,本实施例不作限制,为了更好理解,本实施例以用户手指点击举例说明。
终端设备确定圆形屏幕的边缘区域后,当侦测到用户手指点击圆形屏幕时,确定用户手指的点击点是否在边缘区域之内,若终端设备用户手指的点击点在边缘区域之内,终端设备则确定用户手指的点击点为起始触屏点。终端设备在确定起始触屏点后,检测在边缘区域之内是否存在用户手指滑动的滑动轨迹,若终端设备检测在边缘区域之内存在用户手指的滑动轨迹,终端设备则确定用户手指触发边缘区域触屏事件,并确定该滑动轨迹的轨迹终点,将该轨迹终点确定为用户手指的终点触屏点。然后,终端设备确定起始触屏点对应的横坐标和终点触屏点对应的横坐标,根据起始触屏点的横坐标、终点触屏点的横坐标与圆形屏幕的屏幕半径的大小关系,确定起始触屏点和终点触屏点处于圆形屏幕的位置区域,根据位置区域确定待调节功能。其中,待调节功能包括但不限制于调节圆形屏幕的亮度、调节终端设备的音量和切换圆形屏幕的主题。
需要说明的是,只有当用户手指的起始触屏点和终点触屏点都在圆形屏幕的边缘区域之内时,才确定为触发边缘区域触屏事件。若用户手指的滑动轨迹不完全在边缘区域之内,则将滑动轨迹脱离边缘区域对应的瞬间轨迹点确定为用户手指的终点触屏点。
在本实施例中,比如,定义圆形屏幕中左侧区域对应的待调节功能为调节圆形屏幕的亮度,定义圆形屏幕中右侧区域对应的待调节功能为调节终端设备的音量,结合图3,起始触屏点的坐标点为(x1,y1),终点触屏点的坐标点为(x2,y2),起始触屏点的横坐标x1大于R,终点触屏点的横坐标x2大于R,终端设备确定起始触屏点和终点触屏点都是在圆形屏幕中右侧区域,终端设备确定待调节功能为调节终端设备的音量。
进一步地,所述步骤S20包括:
步骤S201,侦测到用户手指触摸所述圆形屏幕,并确定触摸点在所述圆形屏幕对应的边缘区域时,将所述触摸点确定为用户手指的起始触屏点;
步骤S202,侦测到用户手指以所述起始触屏点为起点的滑动轨迹在所述边缘区域时,将所述滑动轨迹的终点确定为用户手指的终点触屏点。
具体地,终端设备侦测到用户手指点击圆形屏幕,并确定用户手指的触摸点在圆形屏幕的边缘区域之内,终端设备则确定用户手指的触摸点为起始触屏点。终端设备在确定起始触屏点后,若检测到用户手指以起始触屏点为起点的滑动轨迹,并确定该滑动轨迹在边缘区域之内,终端设备则确定用户手指触发边缘区域触屏事件,将滑动轨迹的末端轨迹点确定为用户手指的终点触屏点。
其中,确定用户手指的触发点是否在边缘区域之内,以及确定用户手指的滑动轨迹是否在边缘区域之内的方法,本实施例可为勾股定理计算方法,但不只限制于勾股定理计算方法。结合图3,用户手指的触发点的坐标点为(x1,y1),滑动轨迹的末端轨迹点的坐标点为(x2,y2),R为圆形屏幕的屏幕半径,r为预设圆的预设圆半径根据,可以理解为,圆形屏幕的圆心为(R, R),根据勾股定理可知,若(R-x1)
2+(R–y1)
2>r
2,则确定触发点(x1,y1)为起始触屏点,同理,若(R-x2)
2+(R–y2)
2>r
2,则确定滑动轨迹的末端轨迹点(x2,y2)为终点触屏点。将(R-x)
2+(R–y)
2<r
2的触发点确定为非边缘区域点,即非起始触屏点和非终点触屏点。
步骤S30,基于所述起始触屏点和所述终点触屏点的相对位置关系确定对应的调节类型。
终端设备确定待调节功能后,确定起始触屏点对应的纵坐标和终点触屏点对应的纵坐标,终端设备将起始触屏点的纵坐标与终点触屏点的纵坐标进行位置关系比较,若终端设备确定终点触屏点的纵坐标位置在起始触屏点的纵坐标位置的下方,终端设备则确定用户手指的滑动方向为由上往下滑,即减弱调节类型。若终端设备确定终点触屏点的纵坐标位置在起始触屏点的纵坐标位置的上方,终端设备则确定用户手指的滑动方向为由下往上滑,即增强调节类型。
可以理解为,将起始触屏点的纵坐标与终点触屏点的纵坐标进行大小比较,根据比较结果确定待调节功能对应的调节类型。
进一步地,若终端设备确定比较结果为终点触屏点的纵坐标大于起始触屏点的纵坐标,即确定终点触屏点的纵坐标位置在起始触屏点的纵坐标位置的下方,终端设备则确定用户手指的滑动方向为由上往下滑,即减弱调节类型。若终端设备确定比较结果为终点触屏点的纵坐标小于起始触屏点的纵坐标,即确定终点触屏点的纵坐标位置在起始触屏点的纵坐标位置的上方,终端设备则确定用户手指的滑动方向为由下往上滑,即增强调节类型。
进一步地,若终端设备确定比较结果为终点触屏点的纵坐标小于起始触屏点的纵坐标,即确定终点触屏点的纵坐标位置在起始触屏点的纵坐标位置的下方,终端设备则确定用户手指的滑动方向为由上往下滑,即减弱调节类型。若终端设备确定比较结果为终点触屏点的纵坐标大于起始触屏点的纵坐标,即确定终点触屏点的纵坐标位置在起始触屏点的纵坐标位置的上方,终端设备则确定用户手指的滑动方向为由下往上滑,即增强调节类型。
需要说明的是,本实施例通过哪种方法确定调节类型,取决于坐标系的建立方法,本实施例不作限制。
进一步地,所述步骤S30包括:
步骤S301,确定所述起始触屏点对应的第一纵坐标,并确定所述终点触屏点对应的第二纵坐标;
步骤S302,基于所述第一纵坐标和所述第二纵坐标的相对大小,确定所述起始触屏点和所述终点触屏点的相对位置关系;
步骤S303,基于所述起始触屏点和所述终点触屏点的相对位置关系确定对应的调节类型。
具体地,结合图3以及图3的坐标系,终端设备确定起始触屏点的纵坐标 和终点触屏点的纵坐标,将起始触屏点的纵坐标与终点触屏点的纵坐标进行大小比较,若终端设备确定终点触屏点的纵坐标大于起始触屏点的纵坐标,即确定终点触屏点在起始触屏点的下方位置,终端设备则确定用户手指的滑动方向为由上往下滑,即减弱调节类型。若终端设备确定终点触屏点的纵坐标小于起始触屏点的纵坐标,即确定终点触屏点在起始触屏点的上方位置,终端设备则确定用户手指的滑动方向为由下往上滑,即增强调节类型。
在本实施例中,比如,结合图3,起始触屏点的坐标点为(x1,y1),终点触屏点的坐标点为(x2,y2),待调节功能为调节终端设备的音量,终端设备确定y2大于y1,即确定终点触屏点在起始触屏点的下方位置,则确定用户手指的滑动方向为由上往下滑,即减弱终端设备的音量。
步骤S40,基于所述起始触屏点与所述圆形屏幕的圆心形成的连线之间的角度和所述终点触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定对应的待调节值。
终端设备确定待调节功能和待调节功能对应的调节类型后,将起始触屏点与圆形屏幕的圆心的连线,与起始触屏点的纵坐标垂直的直径的连线之间的夹角确定为起始触屏点的角度,根据起始触屏点的纵坐标和圆形屏幕的屏幕半径确定起始触屏点的角度值。将终点触屏点与圆形屏幕的圆心的连线,与终点触屏点的纵坐标垂直的直径的连线之间的夹角确定为终点触屏点的角度,再根据终点触屏点的纵坐标和圆形屏幕的屏幕半径确定终点触屏点的角度值。然后,终端设备根据起始触屏点的纵坐标、起始触屏点的角度、终点触屏点的纵坐标和终点触屏点的角度确定所需要调节的角度值,根据所需要调节的角度值与待调节功能的当前功能值计算,得到待调节功能的待调节功能值。
步骤S50,基于所述待调节值和所述调节类型调节所述待调节功能。
终端设备确定待调节功能、调节类型和待调节值后,确定待调节功能的当前功能值,根据当前功能值、调节类型和待调节值计算得到对应的目标调节值,并将待调节功能的当前功能值调节至目标调节值。
进一步地,如图4,图4是本实施例中边缘触屏事件的类型。需要说明的是,图4中的坐标系的建立方法可参考图3中的坐标系的建立方法,以圆形屏幕的左上角为原点,原点右边为横坐标,原点下边为纵坐标建立的坐标系,横坐标和纵坐标都是大于零,因此,圆形屏幕内的所有点的横坐标和纵坐标均大于零。图4中的(x,y)代表起始触屏点和终点触屏点的横坐标值和纵坐标值,R代表圆形屏幕的屏幕半径。若起始触屏点和终点触屏点的x<R,终端设备则确定触屏事件的类型为左上滑或者左下滑。若起始触屏点和终点触屏点的x>R,终端设备则确定触屏事件的类型为右上滑或者右下滑。若起始触屏点和终点触屏点的y<R,且一个x>R,一个x<R,终端设备则确定触屏事件的类型为上左滑或者上右滑。若起始触屏点和终点触屏点的y>R,且一个x>R,一个x<R为,终端设备则确定触屏事件的类型为下左滑或者 下右滑。若滑动大于等个区域认定为全圆,如从右上正转滑动到左下或左上。
本实施例通过确定触摸操作对应的起始触屏点和终点触屏点,并基于起始触屏点和终点触屏点在圆形屏幕上的位置区域确定待调节功能;基于起始触屏点和终点触屏点的相对位置关系确定对应的调节类型;基于起始触屏点与圆形屏幕的圆心形成的连线之间的角度和终点触屏点与圆形屏幕的圆心形成的连线之间的角度确定对应的待调节值;基于待调节值和调节类型调节待调节功能。由此可知,本申请在调节待调节功能的过程中,通过起始触屏点和终点触屏点确定对应的待调节功能、调节类型和待调节值,并通过待调节值和调节类型调节待调节功能,实现了圆形屏幕的终端设备中待调节功能的快捷操作。
参照图5,图5为本申请圆形屏幕的触摸控制方法第一实施例中步骤S20的细化流程示意图。所述步骤S20还包括:
步骤S203,确定所述起始触屏点对应的第一横坐标,并确定所述终点触屏点对应的第二横坐标;
步骤S204,基于所述第一横坐标与所述圆形屏幕的屏幕半径的相对大小,确定所述起始触屏点在所述圆形屏幕上的第一位置区域;
步骤S205,基于所述第二横坐标与所述圆形屏幕的屏幕半径的相对大小,确定所述终点触屏点在所述圆形屏幕上的第二位置区域;
步骤S206,基于所述第一位置区域和所述第二位置区域确定对应的待调节功能。
具体地,终端设备确定起始触屏点对应的横坐标和终点触屏点对应的横坐标,根据起始触屏点的横坐标、终点触屏点的横坐标分别与圆形屏幕的屏幕半径的大小关系,确定起始触屏点和终点触屏点分别处于圆形屏幕的位置区域,根据起始触屏点和终点触屏点的位置区域确定待调节功能。结合图3,定义圆形屏幕中左侧区域对应的待调节功能为调节圆形屏幕的亮度,定义圆形屏幕中右侧区域对应的待调节功能为调节终端设备的音量,定义圆形屏幕从左往右或者从右往左对应的带调节功能为切换圆形屏幕的主题,起始触屏点的坐标点为(x1,y1),终点触屏点的坐标点为(x2,y2)。若起始触屏点的横坐标x1小于R,终端设备确定起始触屏点处于圆形屏幕的左侧区域,终点触屏点的横坐标x2小于R,终端设备确定终点触屏点处于圆形屏幕的左侧区域,起始触屏点和终点触屏点都是在圆形屏幕中左侧区域,终端设备确定待调节功能为调节终端设备的亮度。
若起始触屏点的横坐标x1大于R,终端设备确定起始触屏点处于圆形屏幕的右侧区域,终点触屏点的横坐标x2大于R,终端设备确定终点触屏点处于圆形屏幕的右侧区域,起始触屏点和终点触屏点都是在圆形屏幕中右侧区域,终端设备确定待调节功能为调节终端设备的音量。
若起始触屏点的横坐标x1大于R,终端设备确定起始触屏点处于圆形屏幕的右侧区域,终点触屏点的横坐标x2小于R,终端设备确定终点触屏点处 于圆形屏幕的左侧区域,起始触屏点在圆形屏幕中右侧区域,终点触屏点在圆形屏幕中左侧区域,终端设备确定待调节功能为切换圆形屏幕的主题。
若起始触屏点的横坐标x1小于R,终端设备确定起始触屏点处于圆形屏幕的左侧区域,终点触屏点的横坐标x2大于R,终端设备确定终点触屏点处于圆形屏幕的右侧区域,起始触屏点在圆形屏幕中左侧区域,终点触屏点在圆形屏幕中右侧区域,终端设备确定待调节功能为切换圆形屏幕的主题。
本实施例通过确定起始触屏点对应的第一横坐标,并确定终点触屏点对应的第二横坐标;基于第一横坐标与圆形屏幕的屏幕半径的相对大小,确定起始触屏点在圆形屏幕上的第一位置区域;第二横坐标与圆形屏幕的屏幕半径的相对大小,确定终点触屏点在圆形屏幕上的第二位置区域;基于第一位置区域和第二位置区域确定对应的待调节功能。由此可知,本实施例通过起始触屏点的第一横坐标、终点触屏点的第二横坐标和屏幕半径即可确定触发事件对应的待调节功能,从而提高了圆形屏幕的终端设备中待调节功能的智能性。
参照图6,图6为本申请圆形屏幕的触摸控制方法第一实施例中步骤S40的细化流程示意图。所述步骤S40包括:
步骤S401,将所述起始触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定为第一角度,并将所述终点触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定为第二角度;
步骤S402,基于所述第一纵坐标、所述第二纵坐标、所述第一角度和所述第二角度确定对应的目标调节角度;
步骤S403,基于所述目标调节角度和所述待调节功能的当前功能值确定所述待调节值。
具体地,终端设备将起始触屏点与圆形屏幕的圆心的连线之间的夹角确定为起始触屏点的角度,将终点触屏点与圆形屏幕的圆心的连线之间的夹角确定为终点触屏点的角度。终端设备通过三角函数计算起始触屏点的纵坐标和屏幕半径,得到起始触屏点的角度值,并通过三角函数计算终点触屏点的纵坐标和屏幕半径,得到终点触屏点的角度值。然后,终端设备将起始触屏点的纵坐标与屏幕半径,以及终点触屏点的纵坐标与屏幕半径分别进行大小对比,得到对应的比较结果,并根据比较结果、起始触屏点的角度和终点触屏点的角度确定对应的目标调节角度。结合图3,若终端设备确定比较结果为终点触屏点的纵坐标大于屏幕半径,且起始触屏点的纵坐标小于屏幕半径,终端设备则将起始触屏点的角度与终点触屏点的角度进行求和,得到的和值即为目标调节角度。若终端设备确定比较结果为终点触屏点的纵坐标小于屏幕半径,且起始触屏点的纵坐标小于屏幕半径,终端设备则将起始触屏点的角度与终点触屏点的角度进行求差,得到的差值即为目标调节角度。终端设备得到目标调节角度后,根据目标调节角度和预设角度确定对应的调整比例,再将该调整比例和待调节功能的当前功能值相乘,得到的乘积即为待调节值, 其中,预设角度由技术人员设定,本实施例不作限制。
进一步地,可以理解为,若终端设备确定比较结果为终点触屏点的纵坐标小于屏幕半径,且起始触屏点的纵坐标大于屏幕半径,终端设备则将起始触屏点的角度与终点触屏点的角度进行求和,得到的和值即为目标调节角度。若终端设备确定比较结果为终点触屏点的纵坐标大于屏幕半径,且起始触屏点的纵坐标小大于屏幕半径,终端设备则将起始触屏点的角度与终点触屏点的角度进行求差,得到的差值即为目标调节角度。计算目标调节角度的方法由坐标系决定。
在本实施例中,比如,结合图3,起始触屏点的坐标点为(x1,y1),终点触屏点的坐标点为(x2,y2),当前亮度值为C,预设角度为180度,起始触屏点的角度为a,终点触屏点的角度为b,需要说明的是,计算起始触屏点的角度a的三角函数公式为sin a=|R-y1|/R,计算终点触屏点的角度b的三角函数公式为sin b=|R-y2|/R,由于|R-y1|和|R-y2|均为大于零,根据三角函数的性质,则确定角度a和角度b均为正值。终点触屏点的纵坐标y2大于屏幕半径R,起始触屏点的纵坐标y1小于屏幕半径R,终端设备确定目标调节角度为(a+b),目标调节值为D=C*(a+b)/180。
本实施例通过将起始触屏点与圆形屏幕的圆心形成的连线之间的角度确定为第一角度,并将终点触屏点与圆形屏幕的圆心形成的连线之间的角度确定为第二角度;基于第一纵坐标、第二纵坐标、第一角度和第二角度确定对应的目标调节角度;基于目标调节角度和待调节功能的当前功能值确定待调节值。由此可知,本实施例通过第一纵坐标、第二纵坐标、屏幕半径、第一角度和第二角度确定目标调节角度,自动根据目标调节角度和当前功能值确定待调节值,从而提高了圆形屏幕的终端设备中确定待调节值的智能性。
参照图7,图7为本申请圆形屏幕的触摸控制方法第一实施例中步骤S50的细化流程示意图。所述步骤S50包括:
步骤S501,确定所述待调节功能的当前功能值;
步骤S502,基于所述当前功能值、所述待调节值和所述调节类型确定对应的目标调节值;
步骤S506,将所述待调节功能的当前功能值调节至所述目标调节值。
终端设备确定待调节功能、调节类型和待调节值后,确定待调节功能的当前功能值,然后,终端设备确定待调节功能对应的调节类型为增强调节类型或者减弱调节类型,根据待调节值、调节类型和当前功能值确定目标调节值,并将待调节功能的当前功能值调节至目标调节值。
进一步地,所述步骤S502,基于所述当前功能值、所述待调节值和所述调节类型确定对应的目标调节值的步骤包括:
步骤S5021,若所述调节类型为增强调节类型,则将所述当前功能值与所述待调节值的和值,确定为所述目标调节值;或者,
步骤S5022,若所述调节类型为减弱调节类型,则将所述当前功能值与所 述待调节值的差值,确定为所述目标调节值。
具体地,终端设备若确定调节类型为增强调节类型,则将待调节功能的当前功能值与待调节值进行求和,得到的和值即为目标调节值。终端设备若确定调节类型为减弱调节类型,则将待调节功能的当前功能值与待调节值进行求差,得到的差值即为目标调节值。
在本实施例中,比如,结合图3,起始触屏点的坐标点为(x1,y1),终点触屏点的坐标点为(x2,y2),待调节功能为调节终端设备的音量,当前亮度值为C,预设角度为180度,起始触屏点的角度为a,终点触屏点的角度为b,计算起始触屏点的角度a的三角函数公式为sin a=|R-y1|/R,计算终点触屏点的角度b的三角函数公式为sin b=|R-y2|/R,由于|R-y1|和|R-y2|均为大于零,根据三角函数的性质,则确定角度a和角度b均为正值。终点触屏点的纵坐标y2大于屏幕半径R,起始触屏点的纵坐标y1小于屏幕半径R,终端设备确定调节类型为减弱调节类型,目标调节角度为(a+b),目标调节值为D=C-C*(a+b)/180。
进一步地,所述步骤S502之后,还包括:
步骤S503,检测所述目标调节值是否大于或者等于所述待调节功能的最大功能值;
步骤S504,若检测到所述目标调节值小于所述最大功能值,则执行步骤S506;
步骤S505,若检测到所述目标调节值大于或者等于所述最大功能值,则将所述最大功能值确定为所述目标调节值,并执行步骤S506。
具体地,终端设备确定待调节功能对应的目标调节值后,检测目标调节值是否大于或者等于待调节功能的最大功能值,若终端设备检测到目标调节值小于待调节功能的最大功能值,终端设备则将待调节功能的当前功能值调节至目标调节值。若终端设备检测到目标调节值大于或者等于待调节功能的最大功能值,终端设备则将最大功能值确定为目标调节值,并将待调节功能的当前功能值调节至最大功能值。
本实施例通过确定待调节功能的当前功能值;基于当前功能值、待调节值和调节类型确定对应的目标调节值;将待调节功能的当前功能值调节至目标调节值。由此可知,本实施例自动通过当前功能值、待调节值和调节类型确定对应的目标调节值,并自动将待调节功能的当前功能值调节至目标调节值,从而提高了圆形屏幕的终端设备中功能值调节的智能性。
本申请还提供一种圆形屏幕的触摸控制装置。所述圆形屏幕的触摸控制装置应用于圆形屏幕的终端设备,所述圆形屏幕的触摸控制装置包括:
确定模块,用于确定触摸操作对应的起始触屏点和终点触屏点,基于所述起始触屏点和所述终点触屏点在所述圆形屏幕上的位置区域确定待调节功能;
所述确定模块还用于基于所述起始触屏点和所述终点触屏点的相对位置 关系确定对应的调节类型;
所述确定模块还用于基于所述起始触屏点与所述圆形屏幕的圆心形成的连线之间的角度和所述终点触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定对应的待调节值;
调节模块,用于基于所述待调节值和所述调节类型调节所述待调节功能。
其中,上述圆形屏幕的触摸控制装置中各个模块的功能实现与上述圆形屏幕的触摸控制方法实施例中各步骤相对应,其功能和实现过程在此处不再一一赘述。
本申请还提供一种终端设备,该终端设备包括存储器、处理器和存储在存储器上并在处理器上运行的圆形屏幕的触摸控制程序,所述圆形屏幕的触摸控制程序被处理器执行时实现如以上任一项实施例所述的圆形屏幕的触摸控制方法的步骤。
本申请终端设备的具体实施例与上述圆形屏幕的触摸控制方法各实施例基本相同,在此不作赘述。
本申请还提供一种存储介质,该存储介质上存储有圆形屏幕的触摸控制程序,所述圆形屏幕的触摸控制程序被处理器执行时实现如以上任一项实施例所述的圆形屏幕的触摸控制方法的步骤。
本申请存储介质的具体实施例与上述圆形屏幕的触摸控制方法各实施例基本相同,在此不作赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的数据下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多数据下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件货物的形式体现出来,该计算机软件货物存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备完成本申请各个实施例所述的方法。
Claims (10)
- 一种圆形屏幕的触摸控制方法,其特征在于,所述圆形屏幕的触摸控制方法应用于圆形屏幕的终端设备,所述圆形屏幕的触摸控制方法包括:确定触摸操作对应的起始触屏点和终点触屏点,并基于所述起始触屏点和所述终点触屏点在所述圆形屏幕上的位置区域确定待调节功能;基于所述起始触屏点和所述终点触屏点的相对位置关系确定对应的调节类型;基于所述起始触屏点与所述圆形屏幕的圆心形成的连线之间的角度和所述终点触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定对应的待调节值;基于所述待调节值和所述调节类型调节所述待调节功能。
- 如权利要求1所述的圆形屏幕的触摸控制方法,其特征在于,所述基于所述待调节值和所述调节类型调节所述待调节功能的步骤包括:确定所述待调节功能的当前功能值;基于所述当前功能值、所述待调节值和所述调节类型确定对应的目标调节值;将所述待调节功能的当前功能值调节至所述目标调节值。
- 如权利要求2所述的圆形屏幕的触摸控制方法,其特征在于,所述调节类型包括增强调节类型和减弱调节类型,所述基于所述当前功能值、所述待调节值和所述调节类型确定对应的目标调节值的步骤包括:若所述调节类型为增强调节类型,则将所述当前功能值与所述待调节值的和值,确定为所述目标调节值;若所述调节类型为减弱调节类型,则将所述当前功能值与所述待调节值的差值,确定为所述目标调节值。
- 如权利要求1所述的圆形屏幕的触摸控制方法,其特征在于,所述基于所述起始触屏点和所述终点触屏点的相对位置关系确定对应的调节类型的步骤包括:确定所述起始触屏点对应的第一纵坐标,并确定所述终点触屏点对应的第二纵坐标;基于所述第一纵坐标和所述第二纵坐标的相对大小,确定所述起始触屏点和所述终点触屏点的相对位置关系;基于所述起始触屏点和所述终点触屏点的相对位置关系确定对应的调节类型。
- 如权利要求4所述的圆形屏幕的触摸控制方法,其特征在于,所述基于所述起始触屏点与所述圆形屏幕的圆心形成的连线之间的角度和所述终点触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定对应的待调节值的步骤包括:将所述起始触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定为第一角度,并将所述终点触屏点与所述圆形屏幕的圆心形成的连线之间的角度确定为第二角度;基于所述第一纵坐标、所述第二纵坐标、所述第一角度和所述第二角度确定对应的目标调节角度;基于所述目标调节角度和所述待调节功能的当前功能值确定所述待调节值。
- 如权利要求1所述的圆形屏幕的触摸控制方法,其特征在于,所述基于所述起始触屏点和所述终点触屏点在所述圆形屏幕上的位置区域确定待调节功能的步骤包括:确定所述起始触屏点对应的第一横坐标,并确定所述终点触屏点对应的第二横坐标;基于所述第一横坐标与所述圆形屏幕的屏幕半径的相对大小,确定所述起始触屏点在所述圆形屏幕上的第一位置区域;基于所述第二横坐标与所述圆形屏幕的屏幕半径的相对大小,确定所述终点触屏点在所述圆形屏幕上的第二位置区域;基于所述第一位置区域和所述第二位置区域确定对应的待调节功能。
- 如权利要求1至6任一项所述的圆形屏幕的触摸控制方法,其特征在于,所述确定触摸操作对应的起始触屏点和终点触屏点的步骤之前,还包括:确定预设圆半径,基于所述圆形屏幕的屏幕半径和所述预设圆半径确定所述圆形屏幕对应的边缘区域。
- 如权利要求7所述的圆形屏幕的触摸控制方法,其特征在于,所述确定触摸操作对应的起始触屏点和终点触屏点的步骤包括:侦测到用户手指触摸所述圆形屏幕,并确定触摸点在所述圆形屏幕对应的边缘区域时,将所述触摸点确定为用户手指的起始触屏点;侦测到用户手指以所述起始触屏点为起点的滑动轨迹在所述边缘区域时,将所述滑动轨迹的终点确定为用户手指的终点触屏点。
- 一种终端设备,其特征在于,所述终端设备包括存储器、处理器和存储在所述存储器上并在所述处理器上运行的圆形屏幕的触摸控制程序,所述圆形屏幕的触摸控制程序被所述处理器执行时实现如权利要求1至8中任一项所述的圆形屏幕的触摸控制方法的步骤。
- 一种存储介质,其特征在于,所述存储介质上存储有圆形屏幕的触摸控制程序,所述圆形屏幕的触摸控制程序被处理器执行时实现如权利要求1至8中任一项所述的圆形屏幕的触摸控制方法的步骤。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US18/266,290 US20240103657A1 (en) | 2020-12-09 | 2021-11-17 | Touch control method for circular screen, terminal device and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011431583.5A CN112506376B (zh) | 2020-12-09 | 2020-12-09 | 圆形屏幕的触摸控制方法、终端设备及存储介质 |
CN202011431583.5 | 2020-12-09 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022121637A1 true WO2022121637A1 (zh) | 2022-06-16 |
Family
ID=74970285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/131084 WO2022121637A1 (zh) | 2020-12-09 | 2021-11-17 | 圆形屏幕的触摸控制方法、终端设备及存储介质 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20240103657A1 (zh) |
CN (1) | CN112506376B (zh) |
WO (1) | WO2022121637A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112506376B (zh) * | 2020-12-09 | 2023-01-20 | 歌尔科技有限公司 | 圆形屏幕的触摸控制方法、终端设备及存储介质 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110010933A (ko) * | 2009-07-27 | 2011-02-08 | (주)빅트론닉스 | 터치스크린 제어방법, 이를 이용하는 터치스크린 장치, 및 이를 포함하는 모바일 기기 |
CN102117178A (zh) * | 2009-12-30 | 2011-07-06 | Lg电子株式会社 | 移动终端的显示装置和控制该显示装置的方法 |
WO2016165077A1 (zh) * | 2015-04-14 | 2016-10-20 | 华为技术有限公司 | 可穿戴设备及其触摸屏、触摸操作方法和图形用户界面 |
CN106201311A (zh) * | 2016-06-30 | 2016-12-07 | 维沃移动通信有限公司 | 一种调节音量的方法及移动终端 |
CN106335368A (zh) * | 2015-07-10 | 2017-01-18 | 现代自动车株式会社 | 车辆和用于车辆的控制方法 |
KR20170024445A (ko) * | 2015-08-25 | 2017-03-07 | 엘지전자 주식회사 | 이동단말기 및 그 제어방법 |
CN107153503A (zh) * | 2017-01-04 | 2017-09-12 | 奇酷互联网络科技(深圳)有限公司 | 一种智能手表控制方法、智能手表控制装置及智能手表 |
CN112506376A (zh) * | 2020-12-09 | 2021-03-16 | 歌尔科技有限公司 | 圆形屏幕的触摸控制方法、终端设备及存储介质 |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2237140B1 (en) * | 2009-03-31 | 2018-12-26 | Lg Electronics Inc. | Mobile terminal and controlling method thereof |
US9201570B2 (en) * | 2009-08-21 | 2015-12-01 | Gvbb Holdings S.A.R.L. | Synchronous control system including a master device and a slave device, and synchronous control method for controlling the same |
DE102011084802A1 (de) * | 2011-10-19 | 2013-04-25 | Siemens Aktiengesellschaft | Anzeige- und Bedieneinrichtung |
CN103513879B (zh) * | 2013-04-26 | 2017-10-24 | 展讯通信(上海)有限公司 | 触控设备及其显示控制方法及装置 |
US9563262B2 (en) * | 2013-09-05 | 2017-02-07 | Lenovo (Beijing) Co., Ltd. | Electronic apparatus and information processing method |
CN104915142B (zh) * | 2015-05-29 | 2018-12-25 | 歌尔股份有限公司 | 一种触摸屏幕拨号键盘实现的方法和智能手表 |
CN105025630A (zh) * | 2015-07-28 | 2015-11-04 | 广东欧珀移动通信有限公司 | 一种亮度调节方法及智能手表 |
CN105487806A (zh) * | 2015-12-04 | 2016-04-13 | 广东欧珀移动通信有限公司 | 一种调节音量的方法及装置 |
CN106484304A (zh) * | 2016-11-04 | 2017-03-08 | 深圳铂睿智恒科技有限公司 | 触摸屏设备亮度和音量的控制方法、系统及触摸屏设备 |
CN109803209B (zh) * | 2018-12-19 | 2021-01-19 | 法法汽车(中国)有限公司 | 汽车中控系统音量的调节方法、存储介质和汽车中控系统 |
CN109947349A (zh) * | 2019-03-22 | 2019-06-28 | 思特沃克软件技术(北京)有限公司 | 一种基于车载触摸屏进行参数调节的方法和车载触摸屏 |
US11360651B2 (en) * | 2020-02-14 | 2022-06-14 | Dtoor Inc. Spc | Mobile communication system with charging station and circular user interface |
CN111427500A (zh) * | 2020-03-20 | 2020-07-17 | Oppo广东移动通信有限公司 | 触摸屏手势操作控制方法、装置、终端设备以及存储介质 |
-
2020
- 2020-12-09 CN CN202011431583.5A patent/CN112506376B/zh active Active
-
2021
- 2021-11-17 US US18/266,290 patent/US20240103657A1/en active Pending
- 2021-11-17 WO PCT/CN2021/131084 patent/WO2022121637A1/zh active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110010933A (ko) * | 2009-07-27 | 2011-02-08 | (주)빅트론닉스 | 터치스크린 제어방법, 이를 이용하는 터치스크린 장치, 및 이를 포함하는 모바일 기기 |
CN102117178A (zh) * | 2009-12-30 | 2011-07-06 | Lg电子株式会社 | 移动终端的显示装置和控制该显示装置的方法 |
WO2016165077A1 (zh) * | 2015-04-14 | 2016-10-20 | 华为技术有限公司 | 可穿戴设备及其触摸屏、触摸操作方法和图形用户界面 |
CN106335368A (zh) * | 2015-07-10 | 2017-01-18 | 现代自动车株式会社 | 车辆和用于车辆的控制方法 |
KR20170024445A (ko) * | 2015-08-25 | 2017-03-07 | 엘지전자 주식회사 | 이동단말기 및 그 제어방법 |
CN106201311A (zh) * | 2016-06-30 | 2016-12-07 | 维沃移动通信有限公司 | 一种调节音量的方法及移动终端 |
CN107153503A (zh) * | 2017-01-04 | 2017-09-12 | 奇酷互联网络科技(深圳)有限公司 | 一种智能手表控制方法、智能手表控制装置及智能手表 |
CN112506376A (zh) * | 2020-12-09 | 2021-03-16 | 歌尔科技有限公司 | 圆形屏幕的触摸控制方法、终端设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN112506376A (zh) | 2021-03-16 |
US20240103657A1 (en) | 2024-03-28 |
CN112506376B (zh) | 2023-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10866730B2 (en) | Touch screen-based control method and apparatus | |
US10786733B2 (en) | Information processing method, terminal, and computer storage medium for releasing virtual skill object based on user gesture | |
US10936011B2 (en) | Information processing apparatus, information processing method, and program | |
US11307760B2 (en) | Terminal interface display method and terminal | |
WO2017097097A1 (zh) | 触摸控制方法、用户设备、输入处理方法、移动终端及智能终端 | |
US10191869B2 (en) | Input device with multi-host switching | |
US20160349983A1 (en) | Terminal screen shot method and terminal | |
US10564759B2 (en) | Method and apparatus for providing touch interface | |
WO2013123876A1 (zh) | 一种触摸操作的处理方法及终端 | |
TW201504928A (zh) | 電子裝置及其配對方法 | |
CN103729109B (zh) | 一种界面显示方法和终端 | |
WO2021203815A1 (zh) | 页面操作方法、装置、终端及存储介质 | |
WO2022121637A1 (zh) | 圆形屏幕的触摸控制方法、终端设备及存储介质 | |
CN105487705A (zh) | 移动终端、输入处理方法及用户设备 | |
US20140009403A1 (en) | System and Method for Creating Optimal Command Regions for the Hand on a Touch Pad Device | |
US20120013556A1 (en) | Gesture detecting method based on proximity-sensing | |
US20160139767A1 (en) | Method and system for mouse pointer to automatically follow cursor | |
WO2019185007A1 (zh) | 一种窗口控制栏的布局方法、装置及设备 | |
US9875020B2 (en) | Method for capturing user input from a touch screen and device having a touch screen | |
CN104636068A (zh) | 应用图标的操作方法和触控终端 | |
CN105630279A (zh) | 一种快捷操作程序处理方法及系统 | |
US10691257B2 (en) | Method of changing identified type of touching object | |
WO2017163566A1 (ja) | プログラム、コンピュータ装置、プログラム実行方法、及び、システム | |
US10802618B2 (en) | Cursor control method and electronic apparatus | |
WO2013177761A1 (zh) | 显示控制方法和装置 |
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: 21902344 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 18266290 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21902344 Country of ref document: EP Kind code of ref document: A1 |