[go: up one dir, main page]

CN108604142B - Touch screen device operation method and touch screen device - Google Patents

Touch screen device operation method and touch screen device Download PDF

Info

Publication number
CN108604142B
CN108604142B CN201780009052.7A CN201780009052A CN108604142B CN 108604142 B CN108604142 B CN 108604142B CN 201780009052 A CN201780009052 A CN 201780009052A CN 108604142 B CN108604142 B CN 108604142B
Authority
CN
China
Prior art keywords
initial
state parameter
touch screen
target
screen device
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201780009052.7A
Other languages
Chinese (zh)
Other versions
CN108604142A (en
Inventor
姚鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN108604142A publication Critical patent/CN108604142A/en
Application granted granted Critical
Publication of CN108604142B publication Critical patent/CN108604142B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

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

一种触屏设备操作方法及触屏设备,该方法包括:检测目标操作界面上的第一操作(201);获取该第一操作的起始状态参数(202);根据起始状态参数绘制待显示图形(203);根据待显示图形进行显示(204)。该触屏设备操作方法及触屏设备可以降低图形显示的时延。

Figure 201780009052

A touch screen device operating method and touch screen device, the method comprising: detecting a first operation on a target operation interface (201); acquiring an initial state parameter of the first operation (202); Display graphics (203); display according to the graphics to be displayed (204). The touch screen device operating method and the touch screen device can reduce the time delay of graphic display.

Figure 201780009052

Description

Touch screen device operation method and touch screen device
The present application claims priority of chinese patent application entitled "a method and apparatus for improving handedness of touch screen device" filed by the chinese patent office on 2016, 12, month 01, and application No. 201611091679.5, the entire contents of which are incorporated herein by reference.
Technical Field
The invention relates to the technical field of touch screen equipment, in particular to a touch screen equipment operation method and touch screen equipment.
Background
With the continuous development of electronic technology, touch screen devices such as mobile phones and tablet computers have become essential electronic products in daily life. The user can operate the touch screen device by sliding, dragging, clicking and the like, when the user operates the touch screen device by sliding or dragging, the touch screen device needs to detect coordinates of the sliding operation or the dragging operation through the touch screen, calculate a position according to the detected coordinates, arrange an interface according to the calculated position, perform graphic processing according to the arranged interface, and display a processed graphic. The duration of the process is affected by factors such as hardware time consumption and system load, so that the change of the interface graph of the touch screen device is always delayed from the change of the finger, and the time delay of the graph display is increased.
Disclosure of Invention
The embodiment of the invention discloses an operation method of touch screen equipment and the touch screen equipment, which are used for reducing time delay of graphic display.
The first aspect discloses an operation method of touch screen equipment, which comprises the steps of detecting a first operation on a target operation interface; acquiring initial state parameters of the first operation; drawing a graph to be displayed according to the initial state parameter; and displaying according to the graph to be displayed, and pre-drawing the graph to be displayed according to the operable initial state parameter, so that the time delay of graph display can be reduced.
In one embodiment, the initial state parameter may include at least one of an initial operation direction, an initial speed, an initial pressure value, an initial position, an initial displacement, an initial rotation direction, an initial rotation speed, and an initial rotation angle, so that the graphic to be displayed is drawn according to the state parameters, and the graphic to be displayed may be drawn in advance, so that a time delay of graphic display may be reduced.
In one embodiment, when the initial state parameter includes the initial operation direction, the coordinates of each of the first N touch points of the first operation may be obtained, where N is a positive integer; and calculating the initial operation direction of the first operation according to the coordinates of each touch point in the first N touch points.
In one embodiment, current coordinates of the first operation may be obtained; and determining and displaying a target display graph according to the current coordinate and the graph to be displayed. Thereby improving the real-time performance of the graphic display.
In one embodiment, when the end of a first touch operation is detected, the end state parameter of the first operation is acquired; and determining the last required display graph according to the ending state parameter so as to accurately determine whether to stop switching the display graphs or continue switching when the first operation is ended.
In one embodiment, the ending status parameter may include at least one of an ending speed, an ending pressure, a displacement of the first operation, a duration of the first operation. It is possible to accurately determine whether to stop switching the display figure or to continue switching the display figure when the first operation is ended, based on these end state parameters.
In one embodiment, a predictive model may be retrieved based on the starting state parameters; and drawing a graph to be displayed according to the prediction model.
In one embodiment, a corresponding learning record may be obtained according to the initial state parameter, where the learning record is generated and stored according to the historical operation of the target operation interface; and drawing a graph to be displayed according to the learning record. By pre-drawing the graph to be displayed, the time delay of graph display can be reduced.
In one embodiment, the learning record may be a curve containing state parameters.
In one embodiment, when a second operation of the target operation interface is detected, acquiring an operation state parameter of the second operation, wherein the operation state parameter of the second operation comprises at least one of an operation direction of the second operation, an operation speed of the second operation, a displacement of the second operation, an operation pressure value of the second operation, an operation position of the second operation, a rotation direction of the second operation and a rotation angle of the second operation; saving the operation state parameters of the second operation and the target operation interface as a record group; and generating and saving the learning record according to the record group. The operation of the user for each operation interface can be stored in advance, so that when the user operates for a certain operation interface in the following, the graph to be displayed can be drawn in advance according to the stored operation learning record, and the time delay of graph display can be reduced.
In one embodiment, when a third operation of the target operation interface is detected, an operation state parameter of the third operation may be acquired; and when the absolute value of the difference value between the operation state parameter of the third operation and the operation state parameter of the second operation is smaller than a preset value, storing the operation state parameter of the third operation and the target operation interface in the record group. The graph to be displayed can be accurately drawn in advance according to the stored record group, so that the time delay of graph display can be reduced. A second aspect discloses a touch screen device comprising means for performing the method of operating a touch screen device provided in the first aspect or any one of its possible implementations.
A third aspect discloses a touch screen device comprising a processor, a memory, an input means, and an output means, wherein:
the input device is one of a touch screen and a touch panel and is used for receiving a first operation, and the output device is one of a display screen, a touch screen and a display panel and is used for displaying a graph;
the memory has stored therein a set of program code, and the processor is configured to invoke the program code stored in the memory to perform the following operations:
receiving the first operation sent by the input device;
acquiring initial state parameters of the first operation;
drawing the graph to be displayed according to the initial state parameter;
and controlling the output device to display according to the graph to be displayed.
A fourth aspect discloses a readable storage medium storing program code for a touch screen device to perform the touch screen device operating method disclosed in the first aspect or any one of the possible implementations of the first aspect.
Drawings
FIG. 1 is a schematic diagram of a graphical display of a touch screen device operated by sliding or dragging according to an embodiment of the present disclosure;
FIG. 2 is a schematic flowchart illustrating a method for operating a touch screen device according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a method for determining a graphic to be displayed according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a method for determining a last desired display pattern according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart illustrating another method for operating a touch screen device according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of a touch screen device according to an embodiment of the present disclosure;
FIG. 7 is a schematic structural diagram of another touch screen device according to an embodiment of the disclosure;
fig. 8 is a schematic structural diagram of another touch screen device according to an embodiment of the disclosure.
Detailed Description
The embodiment of the invention discloses an operation method of touch screen equipment and the touch screen equipment, which are used for reducing time delay of graphic display.
In order to better understand the touch screen device and the operation method thereof disclosed by the embodiment of the invention, an application scenario used by the embodiment of the invention is described below. Referring to fig. 1, fig. 1 is a schematic diagram illustrating a graphical display when a touch screen device is operated by sliding or dragging according to an embodiment of the present invention. As shown in fig. 1, when a user operates a touch screen device by sliding or dragging, the coordinates need to be reported through a touch screen, the system software calculates a position according to the coordinates, lays out an interface according to the calculated position, draws a graph according to the laid-out interface, displays the drawn graph through a display screen, and the like, and then the drawn graph can be finally displayed to the front of the user. The touch screen and the display screen are both hardware in the touch screen device; calculating a position according to the coordinates, laying out an interface according to the calculated position, and drawing a graphic according to the laid out interface are implemented by software on the touch screen device. Therefore, the time for displaying the graphic can be shortened by software optimization, that is, the processing time for calculating the position from the coordinates, laying out the interface in accordance with the calculated position, and drawing the graphic in accordance with the laid out interface can be shortened. However, although the above method can shorten the processing period of the whole process, the movement of the interface always lags behind the movement of the fingers due to hardware and some necessary time consumption, and the ideal following experience is not achieved.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an operation method of a touch screen device according to an embodiment of the present invention. The touch screen device operation method is suitable for touch screen devices with touch screens, such as mobile phones and tablet computers. As shown in fig. 2, the touch screen device operation method may include the following steps.
201. A first operation on a target operation interface is detected.
In this embodiment, the target operation interface may be a desktop of the touch screen device, an interface of an application displayed on the touch screen device, and the like, and the first operation may be a sliding operation, a dragging operation, and the like performed in the touch screen device, and specifically may be a right sliding, a left sliding, an up sliding, a down sliding, and the like.
202. And acquiring initial state parameters of the first operation.
In this embodiment, the initial state parameter is a parameter when the first operation is started, and may include at least one of an initial operation direction, an initial speed, an initial pressure value, an initial position, an initial displacement, an initial rotation direction, an initial rotation speed, and an initial rotation angle. It should be noted that the initial state parameter of the first operation is not limited to the above example, and other modes, such as initial acceleration, initial rotation acceleration, etc., may also be used.
For example, when the start state parameter includes the start operation direction, the obtaining the start state parameter of the first operation includes: acquiring coordinates of each touch point in the first N touch points of the first operation, where N is a positive integer, and specifically, for example, acquiring the N touch points in the android phone may be to acquire 3 touch points after the first operation is executed for 24 ms; and calculating the initial operation direction of the first operation according to the coordinates of each touch point in the first N touch points. In addition, the time for completing the touch of the N touch points can be detected, and the initial speed of the first operation can be calculated according to the time. In addition, a pressure sensor on the touch screen device may be used to detect a starting pressure value of the first operation, where the starting pressure value may be an average value of pressure values of N touch points before the first operation. In addition, the initial rotation direction and/or the initial rotation angle may be determined according to the coordinates of the first N touch points. The initial rotation speed can also be determined according to the touch completion time of the first N touch points and the coordinates of the first N touch points. The initial position may also be calculated according to coordinates of each of the first N touch points of the first operation. The examples are only used to explain the embodiments of the present invention, and should not be construed as limiting, and the starting status parameter may also include other status parameters at the start of the first operation.
203. And drawing a graph to be displayed according to the initial state parameter.
In this embodiment, after the initial state parameter of the first operation is obtained, the graph to be displayed, which may be displayed subsequently, is drawn according to the initial state parameter of the first operation, and the drawing sequence may be drawn according to the sequence of the time that may be displayed, so that the graph to be displayed first can be drawn as soon as possible, thereby shortening the display delay of the graph.
In this embodiment, a prediction model may be retrieved according to the initial state parameter; and drawing a graph to be displayed according to the prediction model. Wherein the prediction model is associated with the target operation interface, and the prediction model can be obtained and stored by the following means: at least one of historical actions, behaviors, habits, data and the like of the user on the previous operation of the target operation interface is obtained, characteristics in the historical operation are analyzed and counted through machine learning, and the process can be executed through a special prediction model generation module.
For example, in the machine learning stage, the past left sliding operation of the user on the Home desktop may be analyzed and counted to generate a prediction model, and the prediction model may include a to-be-displayed graph to be drawn, or may include parameters such as a display mode, a switching speed, and a display time of the to-be-displayed graph. After the prediction model is generated, when the user performs leftward sliding on the Home desktop, the model can be used for predicting the graph to be displayed, which is desired to be displayed when the user performs the first operation, and parameters such as the display speed and the time of the graph to be displayed can also be predicted.
The historical operation may include a time dimension operation on the target operation interface, such as a leftward sliding operation in a machine learning stage for a period of time, or a space dimension operation on the target operation interface, such as a leftward sliding operation in a certain area range on the operation interface in a machine learning stage for a period of time.
On the other hand, historical operations for generating a prediction model may increase over time, thereby increasing the amount of data used to generate the prediction model, and in general, a larger amount of data may generate a more accurate prediction model, with more statistical samples, the higher the accuracy. And when the data volume is large enough, accurately predicting the graph to be displayed, which is required to be drawn and corresponds to the first operation, through the generated prediction model.
More than one prediction model can be retrieved according to the initial state parameters, the graphs to be displayed and to be drawn corresponding to all the prediction models can be drawn, and the drawing sequence of the graphs to be displayed and corresponding to all the prediction models can be sequenced.
In addition, the examples are only for explaining the embodiments of the present invention and should not be construed as limiting.
In this embodiment, a corresponding learning record may be obtained according to the initial state parameter, where the learning record is generated and stored according to the historical operation of the target operation interface; and drawing a graph to be displayed according to the learning record. Wherein the learning record may be a curve containing a state parameter.
For example, please refer to fig. 3, fig. 3 is a schematic diagram of a method for determining a graph to be displayed according to an embodiment of the present invention, as shown in fig. 3, where 301 is a first operation detected on a target operation interface, which may be a touch operation performed on a touch screen, the initial state parameter may be at least one of an operation direction, an initial speed, an initial pressure value, an initial position, an initial displacement, an initial rotation direction, an initial rotation speed, and an initial rotation angle obtained according to a first N touch points 3011, 302 is a pre-stored learning record, which may be obtained by a terminal including a touch screen device through a learning process according to an input operation and analyzing a learning rule, and is stored in a learning record library, a learning record that is the same as the initial state parameter or has an absolute value different from the initial state parameter and is smaller than a preset threshold may be retrieved from the learning record library according to the initial state parameter, specifically, three learning records satisfying the initial state parameter 3021 are retrieved according to the above conditions as in the learning record library.
In addition, the matching degree of the initial touch track of the first operation and the curve track in the learning record library can be detected, and when the matching degree is greater than a preset threshold value, the curve is the learning record corresponding to the initial state parameter. The matching degree of the initial touch trajectory and the curve trajectory in the learning record library can be obtained by calculating the initial state parameters.
After the corresponding learning record is obtained, as shown in fig. 3, a graph 303 to be displayed, which may be displayed subsequently, is drawn according to the learning record, the graph to be displayed, which corresponds to each of the three learning records obtained, may be drawn and stored in the memory, and the drawing sequence of all the graphs to be displayed may be drawn according to the sequence of the time that may be displayed, so that the graph to be displayed first may be drawn as soon as possible, thereby shortening the display delay of the graph. In addition, the examples are only for explaining the embodiments of the present invention and should not be construed as limiting.
In this embodiment, each learning record may correspond to obtain a group of to-be-displayed graphs, each group of to-be-displayed graphs may include at least one to-be-displayed graph, the to-be-displayed graphs obtained from all the learning records may be stored, and the corresponding to-be-displayed graph is obtained according to the current coordinate of the first operation; on the other hand, each learning record may correspond to obtain a to-be-displayed graph, each to-be-displayed graph may include all to-be-displayed interfaces, a corresponding display area in the corresponding to-be-displayed graph may be obtained according to the current coordinates of the first operation, and the display area is displayed.
Wherein the learning record can be obtained by: in a learning process of a terminal including a touch screen device, when a second operation of the target operation interface is detected, acquiring an operation state parameter of the second operation, where the operation state parameter of the second operation may include at least one of an operation direction of the second operation, an operation speed of the second operation, a displacement of the second operation, an operation pressure value of the second operation, an operation position of the second operation, a rotation direction of the second operation, and a rotation angle of the second operation; saving the operation state parameters of the second operation and the target operation interface as a record group; and generating and saving the learning record according to the record group. In addition, when a third operation of the target operation interface is detected, an operation state parameter of the third operation can be acquired; and when the absolute value of the difference value between the operation state parameter of the third operation and the operation state parameter of the second operation is smaller than a preset value, storing the operation state parameter of the third operation and the target operation interface in the record group.
For example, the operation state parameter of the second operation may be acquired by: the operation direction of the second operation may be calculated according to the coordinates of each of the all touch points by acquiring the coordinates of all touch points of the second operation. In addition, the time for completing touch of all touch points or the time for completing the second operation may be detected, and the operation speed of the second operation may be calculated according to the time. In addition, an operation pressure value of the second operation may be detected using a pressure sensor on the touch screen device, and the operation pressure value may be an average value of pressure values of all touch points of the second operation. In addition, the rotation direction and/or the rotation angle of the second operation may be determined according to the coordinates of all the touch points. The rotation speed can also be determined according to the time when all touch points finish touch and the coordinates of all touch points. The operation position of the second operation can be calculated through the coordinates of all the touch points of the second operation. Likewise, the operation state parameters of the third operation are acquired in the same manner as the operation state parameters of the second operation. In addition, the examples are only for explaining the embodiments of the present invention, and should not be construed as limiting, and the status parameters of the second operation/third operation may also include other status parameters of the second operation/third operation.
When the absolute value of the difference between the state parameters of two operations is greater than or equal to the preset value, the two operations need to be stored as two record groups respectively. For example, when the state parameter is the operation direction, when the absolute value of the difference between the operation directions of two operations is less than 15 degrees, the target operation interface and the operation direction of the two operations may be recorded in one recording group, and when the absolute value of the difference between the operation directions of two operations is greater than or equal to 15 degrees, the target operation interface and the operation direction of the two operations may be recorded in two recording groups, respectively.
When a terminal including the touch screen device acquires enough operation parameters of the touch screen device operation in the learning process, namely, when enough state parameters are acquired in each record group, the terminal can analyze and count the state parameters in each record group to obtain a learning record.
204. And displaying according to the graph to be displayed.
In this embodiment, after the graph to be displayed is drawn according to the initial state parameter, the current coordinate of the first operation may be acquired, and a target display graph is determined and displayed according to the current coordinate and the graph to be displayed. The current coordinate refers to a current touch position of the first operation on the touch screen, and a current graph to be displayed can be determined by detecting the current touch position of the first operation in real time, so that the real-time performance of graph display is improved.
The target display graph may be included in the graph to be displayed, or may not be included in the graph to be displayed, but is drawn continuously, and the operation after the initial state in the first operation may be to display the graph to be displayed by only considering the influence on the graph to be displayed, or may be to continue drawing and displaying the graph in need, in addition to the graph to be displayed, which is influenced by the graph to be drawn.
For example, in the previous example, as shown in fig. 3, the graph to be displayed includes graphs 3031, 3032 and 3033 corresponding to the learning record 3022, when the learning record 3022 is a curve, the coordinates of points 30221, 30222 and 30223 on the learning record 3022 establish a corresponding relationship with the drawn graph 3031, 3032 and 3033 to be displayed, and a graph display is selected from the graph to be displayed according to the touch point of the first operation in real time according to the current coordinate and the coordinate of the corresponding point in the learning record. For example, if it is detected that the current coordinate of the first operation is at 3012, the corresponding coordinate 30222 in the corresponding learning record is obtained according to the current coordinate, and the graph 3032 to be displayed currently is found in the graph to be displayed correspondingly, and the graph 3032 is displayed. The graph 3031 to be displayed is drawn according to the corresponding learning record 3022. In addition, the examples are only for explaining the embodiments of the present invention and should not be construed as limiting.
In this embodiment, when it is detected that the first operation is ended, an ending state parameter of the first operation may be acquired; and determining the last graph required to be displayed according to the ending state parameter. Wherein the ending state parameter comprises at least one of an ending speed, an ending pressure value, a displacement of the first operation, and a duration of the first operation. In addition, the examples are only for explaining the embodiments of the present invention and should not be construed as limiting.
The process of acquiring the ending state parameter is similar to the process of acquiring the second operation state parameter, and details are not repeated in this embodiment. When the determined last graph needing to be displayed is the graph which is currently displayed, indicating that the influence of the first operation on the operation of the touch screen device is finished; and when the determined last required display graph is not the graph which is currently displayed, the influence of the first operation on the operation of the touch screen device is not finished, and the graph which is not displayed before the last required display graph and is required to be displayed is continuously displayed until the last required display graph is displayed, so that the end is not realized.
For example, referring to fig. 4, fig. 4 is a schematic diagram of a method for determining a last required display pattern according to an embodiment of the present invention, as shown in fig. 4, where 401 is a first operation, the first operation 401 starting at 4011 and ending at 4012, if an end state parameter, such as speed, when the speed is greater than the preset speed threshold, the last desired display graphic 402 may be obtained according to the speed, the last desired display graphic 402 may be the bottom of the browser interface, if the currently displayed graphic 403 is not the last desired display graphic 402, the display of the graphics between the current display graphic 403 and the last desired display graphic 402 continues in chronological order until the last desired display graphic 402 is displayed and the last desired display graphic 402 remains displayed. Similarly, the manner of obtaining and displaying the last required display graphic in the desktop of the terminal with the touch screen device and various applications can also be performed in the above manner, and the examples are only used for explaining the embodiments of the present invention, and should not be construed as limiting.
The last required display graph 402 may be included in the graph to be displayed, or may not be included in the graph to be displayed, and needs to be drawn. If the last required display graph 402 is not included in the graph to be displayed, the graph which is required to be displayed and is not included in the graph to be displayed can be drawn and displayed in the display process.
In the operation method of the touch screen device depicted in fig. 2, a first operation on a target operation interface is detected; acquiring initial state parameters of the first operation; drawing a graph to be displayed according to the initial state parameter; and displaying according to the graph to be displayed. The time delay of graphic display can be reduced because the graphic to be displayed can be drawn in advance by the initial state parameter of the first operation.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating another operation method of a touch screen device according to an embodiment of the disclosure. The touch screen device operation method is suitable for touch screen devices with touch screens, such as mobile phones and tablet computers. As shown in fig. 5, the touch screen device operating method may include the following steps.
501. When the first touch operation is detected, the coordinates of each touch point in the first N touch points of the first touch operation are obtained to determine the initial coordinates.
In this embodiment, the first touch operation is one of the first operations, and when the first touch operation is detected through the touch screen, the coordinates of each of the first N touch points of the first touch operation are obtained, that is, the coordinates of each of the first N touch points are obtained, and the start coordinates may be determined according to the coordinates of each touch point, where N may be an integer greater than or equal to 3, and the first touch operation may be a sliding operation or a dragging operation.
502. And calculating a first direction of the first touch operation according to the starting coordinate.
In this embodiment, the first direction is an initial state parameter, and after the initial coordinates of the first N touch points of the first touch operation are acquired, the first direction of the first touch operation is calculated according to the initial coordinates, where the first direction may be determined by first determining a curve where the N touch points are located, then determining a tangential direction of the curve, and determining the tangential direction as the first direction of the first touch operation.
503. And acquiring a curve corresponding to the first direction and the operation interface of the first touch operation from the stored curves.
In this embodiment, the curve corresponding to the operation interface may be used to determine a graph to be displayed, and the stored curve may be obtained in the following manner: when the second touch operation is detected, obtaining third coordinates of all touch points of the second touch operation, calculating a second direction of the second touch operation according to the third coordinates, and storing curves of the second direction and the third coordinates and an operation interface of the second touch operation, namely storing corresponding relations among the second direction, the curves of the third coordinates and the operation interface of the second touch operation, so as to call the second touch operation in the subsequent process. Furthermore, the parameter of the second touch operation may also be calculated according to the third coordinate, that is, the parameter of the second touch operation may be calculated according to the third coordinate and the touch time of all touch points of the second touch operation, and the parameter may include the second speed and/or the second displacement, that is, the speed of the second touch operation and/or the displacement of the second touch operation. In addition, the parameters may be stored together in addition to the second direction, the curve of the third coordinate, and the operation interface of the second touch operation. In addition, the graphics displayed during the second touch operation may also be stored. When a third touch operation is detected, obtaining fourth coordinates of all touch points of the third touch operation, calculating a third direction of the third touch operation according to the fourth coordinates, when the absolute value of the difference between the third direction and the second direction is smaller than a preset value, determining that a curve where the third coordinate is located is a curve where the fourth coordinate is located, when the absolute value of the difference between the third direction and the second direction is larger than or equal to the preset value, determining that the curve where the third coordinate is located is not the curve where the fourth coordinate is located, storing the curves where the third direction and the fourth coordinate are located and an operation interface where the third touch operation is stored, namely when the absolute value of the difference between the directions of the two touch operations is smaller than the preset value, storing the two touch operations as one touch operation, and when the absolute value of the difference between the directions of the two touch operations is larger than or equal to the preset value, storing the two touch operations as the two touch operations respectively, for subsequent invocation.
In this embodiment, after the first direction of the first touch operation is calculated according to the start coordinate, a curve corresponding to the first direction and the operation interface of the first touch operation may be obtained from the stored curves, that is, a curve corresponding to the first direction and the operation interface of the first touch operation may be obtained from the stored correspondence between the direction, the curve and the operation interface, where an absolute value of a difference between the first direction and a direction in the correspondence is smaller than a preset value.
504. And drawing the graph to be displayed according to the curve.
In this embodiment, after the curve corresponding to the first direction and the operation interface of the first touch operation is acquired from the stored curves, the subsequent graph to be displayed, which may need to be displayed, is drawn according to the curve, and the drawing sequence may be drawn according to the sequence of the time that may be displayed, so that the graph that needs to be displayed first can be drawn as soon as possible, thereby shortening the display delay of the graph.
In this embodiment, the first touch time of the first N touch points may be obtained, the first direction and the first speed of the first touch operation may be calculated according to the start coordinate and the first touch time, and the graph to be displayed may be drawn according to the curve and the first speed, so that the number of the drawn graphs to be displayed may be reduced without drawing all the graphs that may be displayed, and the graph to be displayed may be drawn more accurately according to the first speed.
505. And displaying the graph to be displayed.
In this embodiment, after the graph to be displayed is obtained by drawing according to the curve, the graph to be displayed may be displayed according to a display order, all the graphs to be displayed may be sequentially displayed according to the display order, or a part of the graphs to be displayed may be displayed according to the display order. The second coordinates of the touch points of the first touch operation except the first N touch points can be obtained, and a target graph is selected from the graphs to be displayed according to the second coordinates and displayed, wherein the target graph is a graph which needs to be displayed currently, so that the displayed graph can be adjusted in real time according to the touch points of the touch operation.
In one embodiment, when the end of the first touch operation is detected, the last required display graph is determined from the graphs to be displayed according to the first speed, and when the determined last required display graph is the graph currently being displayed, the end of the influence of the first touch operation on the operation of the touch screen device is indicated; and when the determined last graph needing to be displayed is not the graph currently being displayed, the influence of the first touch operation on the operation of the touch screen device is not finished, the graph to be displayed which is not displayed before the last graph needing to be displayed and needs to be displayed is continuously displayed, and the display is not finished until the last graph needing to be displayed is displayed.
In one embodiment, when the end of the first touch operation is detected, a first displacement of the first touch operation may be acquired, a last required display graph is determined from the graphs to be displayed according to the first displacement, and when the determined last required display graph is a graph currently being displayed, it is indicated that the influence of the first touch operation on the operation of the touch screen device is ended; and when the determined last graph needing to be displayed is not the graph currently being displayed, the influence of the first touch operation on the operation of the touch screen device is not finished, the graph to be displayed which is not displayed before the last graph needing to be displayed and needs to be displayed is continuously displayed, and the display is not finished until the last graph needing to be displayed is displayed.
In the present embodiment, the examples are only for explaining the embodiments of the present invention and should not be construed as limiting.
In the touch screen device operation method described in fig. 5, when a first touch operation is detected, starting coordinates of first N touch points of the first touch operation are obtained, a first direction of the first touch operation is calculated according to the starting coordinates, a curve corresponding to the first direction and an operation interface of the first touch operation is obtained from stored curves, a to-be-displayed graph is drawn according to the curve, and the to-be-displayed graph is displayed. The first touch operation may be a sliding operation or a dragging operation, and N is an integer greater than or equal to 3. The graph to be displayed can be drawn in advance according to the first touch points of the sliding operation or the dragging operation and the stored curve, so that the time delay of graph display can be reduced.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a touch screen device according to an embodiment of the present disclosure. The touch screen device can be a device provided with a touch screen, such as a mobile phone and a tablet computer. As shown in fig. 6, the touch screen device may include:
a detection unit 601, configured to detect a first operation on a target operation interface;
an obtaining unit 602, configured to obtain a starting state parameter of the first operation;
a drawing unit 603, configured to draw a to-be-displayed graph according to the initial state parameter;
and a display unit 604, configured to display according to the to-be-displayed graph.
In the touch screen device depicted in fig. 6, a first operation on a target operation interface is detected; acquiring initial state parameters of the first operation; drawing a graph to be displayed according to the initial state parameter; and displaying according to the graph to be displayed. The time delay of graphic display can be reduced because the graphic to be displayed can be drawn in advance by the initial state parameter of the first operation.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another touch screen device according to an embodiment of the disclosure. The touch screen device can be a device provided with a touch screen, such as a mobile phone and a tablet computer. The touch screen device shown in fig. 7 is optimized from the touch screen device shown in fig. 3, where:
the start state parameter may include at least one of a start operation direction, a start speed, a start pressure value, a start position, a start displacement, a start rotation direction, a start rotation speed, and a start rotation angle.
As a possible implementation manner, when the initial state parameter includes the initial operation direction, the obtaining unit 601 is specifically configured to obtain coordinates of each touch point in the first N touch points of the first operation, where N is a positive integer; and calculating the initial operation direction of the first operation according to the coordinates of each touch point in the first N touch points.
As a possible implementation manner, the obtaining unit 602 is further configured to obtain current coordinates of the first operation;
the display unit 604 is specifically configured to determine and display a target display graph according to the current coordinate and the graph to be displayed.
As a possible implementation manner, the obtaining unit 602 is further configured to obtain an end state parameter of the first operation when the end of the first operation is detected;
the touch screen device further includes:
a determining unit 605, configured to determine a last required display pattern according to the ending status parameter.
As a possible implementation, the ending state parameter includes at least one of an ending speed, an ending pressure, a displacement of the first operation, and a duration of the first operation.
As a possible implementation, the drawing unit 603 is specifically configured to retrieve a prediction model according to the initial state parameter; and drawing a graph to be displayed according to the prediction model.
As a possible implementation manner, the drawing unit 603 is specifically configured to obtain a corresponding learning record according to the initial state parameter, where the learning record is generated and stored according to a historical operation of the target operation interface; and drawing a graph to be displayed according to the learning record.
As a possible embodiment, the learning record is a curve containing the state parameters.
As a possible implementation manner, the obtaining unit 602 is further configured to, when a second operation of the target operation interface is detected, obtain an operation state parameter of the second operation, where the operation state parameter of the second operation includes at least one of an operation direction of the second operation, an operation speed of the second operation, a displacement of the second operation, an operation pressure value of the second operation, an operation position of the second operation, a rotation direction of the second operation, and a rotation angle of the second operation;
the touch screen device may further include:
a saving unit 606, configured to save the operation state parameters of the second operation and the target operation interface as a record group;
the touch screen device may further include:
the generating unit 607 is configured to generate and save the learning record according to the record group.
As a possible implementation manner, the obtaining unit 602 is further configured to, when a third operation of the target operation interface is detected, obtain an operation state parameter of the third operation;
the saving unit 606 is further configured to, when an absolute value of a difference between the operation state parameter of the third operation and the operation state parameter of the second operation is smaller than a preset value, save the operation state parameter of the third operation and the target operation interface in the record group.
In the touch screen device depicted in fig. 7, a first operation on a target operation interface is detected; acquiring initial state parameters of the first operation; drawing a graph to be displayed according to the initial state parameter; and displaying according to the graph to be displayed. The time delay of graphic display can be reduced because the graphic to be displayed can be drawn in advance by the initial state parameter of the first operation.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another touch screen device according to an embodiment of the disclosure. The touch screen device can be a device provided with a touch screen, such as a mobile phone and a tablet computer. As shown in fig. 8, the touch screen device may include a processor 801, a memory 802, an input means 803, an output means 804 and a bus 805. The processor 801 may be a general purpose Central Processing Unit (CPU), multiple CPUs, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs in accordance with the present invention. The Memory 502 may be, but is not limited to, a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 802 may be self-contained and the bus 805 may be coupled to the processor 801. The memory 802 may also be integrated with the processor 801. Bus 805 may include a path that transfers information between the above components. Wherein: the output device 804 may be integrated with the input device 803 to form a touch screen, and the output device 804 and the input device 803 may be a touch panel and a display, respectively. The input device 803 is configured to receive a first operation, and the output device 804 is configured to display a to-be-displayed graph;
the memory 802 stores a set of program codes, and the processor 801 is configured to call the program codes stored in the memory 802 to perform the following operations:
receiving the first operation sent by the input device 803;
acquiring initial state parameters of the first operation;
drawing a graph to be displayed according to the initial state parameter;
and controlling the output device 804 to display according to the graph to be displayed.
As a possible implementation, the initial state parameter includes at least one of an initial operation direction, an initial speed, an initial pressure value, an initial position, an initial displacement, an initial rotation direction, an initial rotation speed, and an initial rotation angle.
As a possible implementation manner, when the start state parameter includes the start operation direction, the obtaining, by the processor 801, the start state parameter of the first operation includes:
acquiring coordinates of each touch point in the first N touch points of the first operation, wherein N is a positive integer;
and calculating the initial operation direction of the first operation according to the coordinates of each touch point in the first N touch points.
As a possible implementation, the processor 801 is further configured to call the program code stored in the memory 802 to perform the following operations:
acquiring the current coordinate of the first operation;
and determining a target display graph according to the current coordinate and the graph to be displayed and controlling the output device 804 to display.
As a possible implementation, the processor 801 is further configured to call the program code stored in the memory 802 to perform the following operations:
when the first operation is detected to be finished, acquiring a finished state parameter of the first operation;
and determining the last graph required to be displayed according to the ending state parameter.
As a possible implementation, the ending state parameter includes at least one of an ending speed, an ending pressure, a displacement of the first operation, and a duration of the first operation.
As a possible implementation manner, the processor 801 drawing the graph to be displayed according to the starting state parameter includes:
retrieving a prediction model according to the initial state parameters;
and drawing a graph to be displayed according to the prediction model.
As a possible implementation manner, the processor 801 drawing the graph to be displayed according to the starting state parameter includes:
acquiring a corresponding learning record according to the initial state parameter, wherein the learning record is generated and stored according to the historical operation of the target operation interface;
and drawing a graph to be displayed according to the learning record.
As a possible embodiment, the learning record is a curve containing the state parameters.
As a possible implementation, the processor 801 is further configured to call the program code stored in the memory 802 to perform the following operations:
when a second operation of the target operation interface is detected, acquiring operation state parameters of the second operation, wherein the operation state parameters of the second operation comprise at least one of an operation direction of the second operation, an operation speed of the second operation, a displacement of the second operation, an operation pressure value of the second operation, an operation position of the second operation, a rotation direction of the second operation and a rotation angle of the second operation;
saving the operation state parameters of the second operation and the target operation interface as a record group;
and generating and saving the learning record according to the record group.
As a possible implementation, the processor 801 is further configured to call the program code stored in the memory 802 to perform the following operations:
when a third operation of the target operation interface is detected, acquiring an operation state parameter of the third operation;
and when the absolute value of the difference value between the operation state parameter of the third operation and the operation state parameter of the second operation is smaller than a preset value, storing the operation state parameter of the third operation and the target operation interface in the record group.
In the touch screen device depicted in fig. 8, a first operation on a target operation interface is detected; acquiring initial state parameters of the first operation; drawing a graph to be displayed according to the initial state parameter; and displaying according to the graph to be displayed. The time delay of graphic display can be reduced because the graphic to be displayed can be drawn in advance by the initial state parameter of the first operation.
The embodiment of the invention also discloses a readable storage medium, which stores a program code of the touch screen device for executing the operation method of the touch screen device shown in fig. 2.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.

Claims (24)

1.一种触屏设备操作方法,其特征在于,包括:1. A method for operating a touch screen device, comprising: 检测目标操作界面上的第一操作;所述第一操作包含在所述触屏设备中执行的滑动操作、拖动操作;Detecting a first operation on the target operation interface; the first operation includes a sliding operation and a dragging operation performed in the touch screen device; 获取所述第一操作的起始状态参数;obtaining the initial state parameter of the first operation; 根据所述起始状态参数获取对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;Acquire a corresponding learning record according to the initial state parameter, and the learning record is generated and stored according to the historical operation of the target operation interface; 根据所述学习记录绘制待显示图形;所述待显示图形包含一张或多张图形,所述一张或多张图形分别对应于所述学习记录中的坐标;Drawing the graphics to be displayed according to the learning record; the graphics to be displayed includes one or more graphics, and the one or more graphics respectively correspond to the coordinates in the learning record; 获取所述第一操作的当前坐标;obtaining the current coordinates of the first operation; 确定所述学习记录中和所述当前坐标所对应的目标坐标,从所述待显示图形中找到和所述目标坐标对应的目标显示图形,并对所述目标显示图形进行显示。Determine the target coordinates corresponding to the current coordinates in the learning record, find the target display graphics corresponding to the target coordinates from the graphics to be displayed, and display the target display graphics. 2.根据权利要求1所述的方法,其特征在于,所述起始状态参数包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种。2. The method according to claim 1, wherein the initial state parameters comprise initial operation direction, initial speed, initial pressure value, initial position, initial displacement, initial rotation direction, initial at least one of the initial rotation speed and the initial rotation angle. 3.根据权利要求2所述的方法,其特征在于,当所述起始状态参数包含所述起始操作方向时,所述获取所述第一操作的起始状态参数包括:3. The method according to claim 2, wherein when the initial state parameter includes the initial operation direction, the acquiring the initial state parameter of the first operation comprises: 获取所述第一操作的前N个触控点中每个触控点的坐标,所述N为正整数;obtaining the coordinates of each touch point in the first N touch points of the first operation, where N is a positive integer; 根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。The starting operation direction of the first operation is calculated according to the coordinates of each of the first N touch points. 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises: 当检测到所述第一操作结束时,获取所述第一操作的结束状态参数;When it is detected that the first operation ends, the end state parameter of the first operation is obtained; 根据所述结束状态参数确定最后一张所需显示图形。The last required display graphic is determined according to the end state parameter. 5.根据权利要求4所述的方法,其特征在于,所述结束状态参数包括结束速度、结束压力、所述第一操作的位移、所述第一操作的时长中的至少一种。5. The method according to claim 4, wherein the end state parameter comprises at least one of end speed, end pressure, displacement of the first operation, and duration of the first operation. 6.根据权利要求1-5任一项所述的方法,其特征在于,所述学习记录为包含状态参数的曲线。6. The method according to any one of claims 1-5, wherein the learning record is a curve including state parameters. 7.根据权利要求1所述的方法,其特征在于,所述方法还包括:7. The method of claim 1, wherein the method further comprises: 当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的位移、所述第二操作的操作压力值、所述第二操作的操作位置、所述第二操作的旋转方向和所述第二操作的旋转角度中的至少一种;When a second operation of the target operation interface is detected, an operation state parameter of the second operation is acquired, and the operation state parameter of the second operation includes the operation direction of the second operation, the operation direction of the second operation At least one of the operation speed, the displacement of the second operation, the operation pressure value of the second operation, the operation position of the second operation, the rotation direction of the second operation, and the rotation angle of the second operation A sort of; 将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;Save the operating state parameters of the second operation and the target operating interface as a record group; 根据所述记录组生成并保存所述学习记录。The learning record is generated and saved according to the record group. 8.根据权利要求7所述的方法,其特征在于,所述方法还包括:8. The method according to claim 7, wherein the method further comprises: 当检测到所述目标操作界面的第三操作时,获取所述第三操作的操作状态参数;When a third operation of the target operation interface is detected, acquiring an operation state parameter of the third operation; 当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。When the absolute value of the difference between the operation state parameter of the third operation and the operation state parameter of the second operation is less than a preset value, save the operation state parameter of the third operation and the target operation interface in the record group. 9.一种触屏设备,其特征在于,包括:9. A touch screen device, comprising: 检测单元,用于检测目标操作界面上的第一操作;所述第一操作包含在所述触屏设备中执行的滑动操作、拖动操作;a detection unit, configured to detect a first operation on the target operation interface; the first operation includes a sliding operation and a dragging operation performed in the touch screen device; 获取单元,用于获取所述第一操作的起始状态参数;an acquisition unit for acquiring the initial state parameter of the first operation; 绘制单元,用于根据所述起始状态参数获取对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;根据所述学习记录绘制待显示图形;所述待显示图形包含一张或多张图形,所述一张或多张图形分别对应于所述学习记录中的坐标;a drawing unit, configured to obtain a corresponding learning record according to the initial state parameter, where the learning record is generated and stored according to the historical operation of the target operation interface; draw a graph to be displayed according to the learning record; the The graphics to be displayed include one or more graphics, and the one or more graphics respectively correspond to the coordinates in the learning record; 所述获取单元,还用于获取所述第一操作的当前坐标;The obtaining unit is further configured to obtain the current coordinates of the first operation; 显示单元,用于确定所述学习记录中和所述当前坐标所对应的目标坐标,从所述待显示图形中找到和所述目标坐标对应的目标显示图形,并对所述目标显示图形进行显示。A display unit, used to determine the target coordinates corresponding to the current coordinates in the learning record, find the target display graphics corresponding to the target coordinates from the graphics to be displayed, and display the target display graphics . 10.根据权利要求9所述的触屏设备,其特征在于,所述起始状态参数包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种。10 . The touch screen device according to claim 9 , wherein the initial state parameters comprise initial operation direction, initial speed, initial pressure value, initial position, initial displacement, and initial rotation direction. 11 . , at least one of the initial rotation speed and the initial rotation angle. 11.根据权利要求10所述的触屏设备,其特征在于,当所述起始状态参数包含所述起始操作方向时,所述获取单元,具体用于,获取所述第一操作的前N个触控点中每个触控点的坐标,所述N为正整数;根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。11 . The touch screen device according to claim 10 , wherein, when the initial state parameter includes the initial operation direction, the acquiring unit is specifically configured to acquire the previous operation direction of the first operation. 12 . The coordinates of each touch point in the N touch points, where N is a positive integer; the starting operation direction of the first operation is calculated according to the coordinates of each touch point in the first N touch points. 12.根据权利要求9所述的触屏设备,其特征在于,所述获取单元,还用于当检测到所述第一操作结束时,获取所述第一操作的结束状态参数;12 . The touch screen device according to claim 9 , wherein the obtaining unit is further configured to obtain an end state parameter of the first operation when it is detected that the first operation ends; 12 . 所述触屏设备还包括:The touch screen device also includes: 确定单元,用于根据所述结束状态参数确定最后一张所需显示图形。A determining unit, configured to determine the last required display graphic according to the end state parameter. 13.根据权利要求12所述的触屏设备,其特征在于,所述结束状态参数包括结束速度、结束压力、所述第一操作的位移、所述第一操作的时长中的至少一种。13 . The touch screen device according to claim 12 , wherein the end state parameter comprises at least one of end speed, end pressure, displacement of the first operation, and duration of the first operation. 14 . 14.根据权利要求9-13任一项所述的触屏设备,其特征在于,所述学习记录为包含状态参数的曲线。14. The touch screen device according to any one of claims 9-13, wherein the learning record is a curve including state parameters. 15.根据权利要求9所述的触屏设备,其特征在于,所述获取单元,还用于,当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的位移、所述第二操作的操作压力值、所述第二操作的操作位置、所述第二操作的旋转方向和所述第二操作的旋转角度中的至少一种;15 . The touch screen device according to claim 9 , wherein the obtaining unit is further configured to, when a second operation of the target operation interface is detected, obtain an operation state parameter of the second operation. 16 . , the operation state parameters of the second operation include the operation direction of the second operation, the operation speed of the second operation, the displacement of the second operation, the operation pressure value of the second operation, the at least one of the operation position of the second operation, the rotation direction of the second operation, and the rotation angle of the second operation; 所述触屏设备还包括:The touch screen device also includes: 保存单元,用于将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;a saving unit, configured to save the operation state parameter of the second operation and the target operation interface as a record group; 所述触屏设备还包括:The touch screen device also includes: 生成单元,用于根据所述记录组,生成并保存所述学习记录。A generating unit, configured to generate and save the learning record according to the record group. 16.根据权利要求15所述的触屏设备,其特征在于,所述获取单元,还用于,当检测到所述目标操作界面的第三操作时,获取所述第三操作的操作状态参数;16 . The touch screen device according to claim 15 , wherein the obtaining unit is further configured to, when a third operation of the target operation interface is detected, obtain an operation state parameter of the third operation. 17 . ; 所述保存单元,还用于,当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。The saving unit is further configured to, when the absolute value of the difference between the operation state parameter of the third operation and the operation state parameter of the second operation is smaller than a preset value, save the operation of the third operation. The state parameters and the target operation interface are stored in the record group. 17.一种触屏设备,其特征在于,包括处理器、存储器、输入装置和输出装置,其中:17. A touch screen device, comprising a processor, a memory, an input device and an output device, wherein: 所述输入装置为触摸屏、触摸面板中的一种,用于接收第一操作,所述输出装置为显示屏、显示面板中的一种,用于对待显示图形进行显示;The input device is one of a touch screen and a touch panel, and is used for receiving a first operation, and the output device is one of a display screen and a display panel, and is used to display graphics to be displayed; 所述存储器中存储有一组程序代码,所述处理器用于调用所述存储器中存储的程序代码执行以下操作:A set of program codes are stored in the memory, and the processor is configured to call the program codes stored in the memory to perform the following operations: 接收所述输入装置在目标操作界面上的所述第一操作;所述第一操作包含在所述触屏设备中执行的滑动操作、拖动操作;receiving the first operation of the input device on the target operation interface; the first operation includes a sliding operation and a dragging operation performed in the touch screen device; 获取所述第一操作的起始状态参数;obtaining the initial state parameter of the first operation; 根据所述起始状态参数获取对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;Acquire a corresponding learning record according to the initial state parameter, and the learning record is generated and stored according to the historical operation of the target operation interface; 根据所述学习记录绘制待显示图形;所述待显示图形包含一张或多张图形,所述一张或多张图形分别对应于所述学习记录中的坐标;Drawing the graphics to be displayed according to the learning record; the graphics to be displayed includes one or more graphics, and the one or more graphics respectively correspond to the coordinates in the learning record; 获取所述第一操作的当前坐标;obtaining the current coordinates of the first operation; 确定所述学习记录中和所述当前坐标所对应的目标坐标,从所述待显示图形中找到和所述目标坐标对应的目标显示图形,并控制所述输出装置对所述目标显示图形进行显示。Determine the target coordinates corresponding to the current coordinates in the learning record, find the target display graphics corresponding to the target coordinates from the to-be-displayed graphics, and control the output device to display the target display graphics . 18.根据权利要求17所述的触屏设备,其特征在于,所述起始状态参数包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种。18. The touch screen device according to claim 17, wherein the initial state parameters comprise initial operation direction, initial speed, initial pressure value, initial position, initial displacement, and initial rotation direction , at least one of the initial rotation speed and the initial rotation angle. 19.根据权利要求18所述的触屏设备,其特征在于,当所述起始状态参数包含所述起始操作方向时,所述处理器获取所述第一操作的起始状态参数包括:19 . The touch screen device according to claim 18 , wherein when the initial state parameter includes the initial operation direction, the processor acquiring the initial state parameter of the first operation comprises: 19 . 获取所述第一操作的前N个触控点中每个触控点的坐标,所述N为正整数;obtaining the coordinates of each touch point in the first N touch points of the first operation, where N is a positive integer; 根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。The starting operation direction of the first operation is calculated according to the coordinates of each of the first N touch points. 20.根据权利要求17所述的触屏设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:20. The touch screen device according to claim 17, wherein the processor is further configured to invoke the program code stored in the memory to perform the following operations: 检测到所述第一操作结束时,获取所述第一操作的结束状态参数;When it is detected that the first operation ends, the end state parameter of the first operation is obtained; 根据所述结束状态参数确定最后一张所需显示图形。The last required display graphic is determined according to the end state parameter. 21.根据权利要求20所述的触屏设备,其特征在于,所述结束状态参数包括结束速度、结束压力、所述第一操作的位移、所述第一操作的时长中的至少一种。21. The touch screen device according to claim 20, wherein the end state parameter comprises at least one of end speed, end pressure, displacement of the first operation, and duration of the first operation. 22.根据权利要求17-21任一项所述的触屏设备,其特征在于,所述学习记录为包含状态参数的曲线。22. The touch screen device according to any one of claims 17-21, wherein the learning record is a curve including state parameters. 23.根据权利要求17所述的触屏设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:23. The touch screen device according to claim 17, wherein the processor is further configured to invoke the program code stored in the memory to perform the following operations: 当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的位移、所述第二操作的操作压力值、所述第二操作的操作位置、所述第二操作的旋转方向和所述第二操作的旋转角度中的至少一种;When a second operation of the target operation interface is detected, an operation state parameter of the second operation is acquired, and the operation state parameter of the second operation includes the operation direction of the second operation, the operation direction of the second operation At least one of the operation speed, the displacement of the second operation, the operation pressure value of the second operation, the operation position of the second operation, the rotation direction of the second operation, and the rotation angle of the second operation A sort of; 将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;saving the operation state parameters of the second operation and the target operation interface as a record group; 根据所述记录组,生成并保存所述学习记录。According to the record group, the learning record is generated and saved. 24.根据权利要求23所述的触屏设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:24. The touch screen device according to claim 23, wherein the processor is further configured to invoke the program code stored in the memory to perform the following operations: 当检测到所述目标操作界面的第三操作时,获取所述第三操作的操作状态参数;When a third operation of the target operation interface is detected, acquiring an operation state parameter of the third operation; 当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。When the absolute value of the difference between the operation state parameter of the third operation and the operation state parameter of the second operation is less than a preset value, save the operation state parameter of the third operation and the target operation interface in the record group.
CN201780009052.7A 2016-12-01 2017-03-31 Touch screen device operation method and touch screen device Active CN108604142B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201611091679 2016-12-01
CN2016110916795 2016-12-01
PCT/CN2017/079175 WO2018098960A1 (en) 2016-12-01 2017-03-31 Method for operating touchscreen device, and touchscreen device

Publications (2)

Publication Number Publication Date
CN108604142A CN108604142A (en) 2018-09-28
CN108604142B true CN108604142B (en) 2021-05-18

Family

ID=62242299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780009052.7A Active CN108604142B (en) 2016-12-01 2017-03-31 Touch screen device operation method and touch screen device

Country Status (2)

Country Link
CN (1) CN108604142B (en)
WO (1) WO2018098960A1 (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
CN112506413B (en) * 2020-12-16 2022-06-07 Oppo广东移动通信有限公司 Touch point prediction method and device, terminal equipment and computer readable storage medium
CN116069187B (en) * 2023-01-28 2023-09-01 荣耀终端有限公司 A display method and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103105957A (en) * 2011-11-14 2013-05-15 联想(北京)有限公司 Display method and electronic equipment
CN105518587A (en) * 2014-05-30 2016-04-20 华为技术有限公司 Terminal device display method and terminal device
CN105556438A (en) * 2013-09-18 2016-05-04 触觉实验室股份有限公司 Systems and methods for providing response to user input using information about state changes predicting future user input

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100122383A (en) * 2009-05-12 2010-11-22 삼성전자주식회사 Method and apparatus for display speed improvement of image
TW201135550A (en) * 2010-04-14 2011-10-16 Qisda Corp System and method for enabling multiple-point actions based on single-point touch panel
CN102929433A (en) * 2012-11-06 2013-02-13 山东大学 Method for reducing dragging delay on embedded device through contact prediction
JP6015452B2 (en) * 2013-01-07 2016-10-26 株式会社リコー Image processing apparatus, method, and program
US20150355740A1 (en) * 2013-01-09 2015-12-10 Sharp Kabushiki Kaisha Touch panel system
CN105353906B (en) * 2015-10-21 2018-08-28 业成光电(深圳)有限公司 Trajectory predictions system and trajectory predictions method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103105957A (en) * 2011-11-14 2013-05-15 联想(北京)有限公司 Display method and electronic equipment
CN105556438A (en) * 2013-09-18 2016-05-04 触觉实验室股份有限公司 Systems and methods for providing response to user input using information about state changes predicting future user input
CN105518587A (en) * 2014-05-30 2016-04-20 华为技术有限公司 Terminal device display method and terminal device

Also Published As

Publication number Publication date
CN108604142A (en) 2018-09-28
WO2018098960A1 (en) 2018-06-07

Similar Documents

Publication Publication Date Title
CN110325949B (en) Multi-task machine learning for predicting touch interpretation
TWI543069B (en) Electronic apparatus and drawing method and computer products thereof
US9612675B2 (en) Emulating pressure sensitivity on multi-touch devices
US20100153890A1 (en) Method, Apparatus and Computer Program Product for Providing a Predictive Model for Drawing Using Touch Screen Devices
US11429272B2 (en) Multi-factor probabilistic model for evaluating user input
KR20160088631A (en) Method for controlling display and an electronic device thereof
CN112506413A (en) Touch point prediction method and device, terminal equipment and computer readable storage medium
WO2013180687A1 (en) Translation of touch input into local input based on a translation profile for an application
US12045458B2 (en) Device and method with trained neural network to identify touch input
CN108604142B (en) Touch screen device operation method and touch screen device
JP6102575B2 (en) Performance measurement method, performance measurement program, and performance measurement apparatus
CN110275639B (en) Touch data processing method and device, terminal and storage medium
CN108984097A (en) Touch operation method, device, storage medium and electronic device
US20220004298A1 (en) Prediction control method, input system and computer readable recording medium
TW201913299A (en) Method for operating terminal device, apparatus, and electronic device
CN107943536B (en) Method and device for adjusting threshold, storage medium and electronic equipment
TWI472967B (en) The method of transmitting the coordinates of the touch device, the method of transmitting the resist vector by the touch device, and the computer readable medium
CN107515821B (en) Control testing method and device
CN110262864B (en) Application processing method and device, storage medium and terminal
CN110989895B (en) Control display state detection method and device
CN114092556A (en) Method, apparatus, electronic device, medium for determining human body posture
CN113485629A (en) Touch event processing method and device, storage medium and electronic equipment
CN114489461A (en) Touch response method, device, equipment and storage medium
JP2021124968A (en) Information processing device, information processing method, and program
CN107102808B (en) Desktop returning method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant