WO2018098960A1 - 一种触屏设备操作方法及触屏设备 - Google Patents

一种触屏设备操作方法及触屏设备 Download PDF

Info

Publication number
WO2018098960A1
WO2018098960A1 PCT/CN2017/079175 CN2017079175W WO2018098960A1 WO 2018098960 A1 WO2018098960 A1 WO 2018098960A1 CN 2017079175 W CN2017079175 W CN 2017079175W WO 2018098960 A1 WO2018098960 A1 WO 2018098960A1
Authority
WO
WIPO (PCT)
Prior art keywords
state parameter
graphic
displayed
touch screen
starting
Prior art date
Application number
PCT/CN2017/079175
Other languages
English (en)
French (fr)
Inventor
姚鑫
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780009052.7A priority Critical patent/CN108604142B/zh
Publication of WO2018098960A1 publication Critical patent/WO2018098960A1/zh

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

Definitions

  • the present invention relates to the field of touch screen devices, and in particular, to a touch screen device operating method and a touch screen device.
  • touch-screen devices such as mobile phones and tablet computers have become indispensable electronic products in people's daily lives.
  • the user can operate the touch screen device by sliding, dragging, clicking, etc.
  • the touch screen device needs to detect the coordinates of the sliding operation or the drag operation through the touch screen, according to the detection.
  • the coordinate calculation position according to the calculated position layout interface, the graphic processing according to the layout interface, and the display processing graphics.
  • the duration of this process is affected by factors such as hardware time consumption and system load, so that the change of the interface pattern of the touch screen device is always delayed by the change of the finger, which increases the delay of the graphic display.
  • the embodiment of the invention discloses a touch screen device operating method and a touch screen device for reducing the delay of the graphic display.
  • the first aspect discloses a touch screen device operation method for detecting a first operation on a target operation interface; acquiring a start state parameter of the first operation; and drawing a graphic to be displayed according to the initial state parameter; The graphic to be displayed is displayed, and the graphic to be displayed is pre-drawn due to the initial state parameter that can be operated, thereby reducing the delay of the graphic display.
  • the initial state parameter may include a starting operating direction, a starting speed, a starting pressure value, a starting position, a starting displacement, a starting rotational direction, a starting rotational speed, and a starting rotational angle. At least one of them is configured to draw a graphic to be displayed according to the state parameters, and the graphic to be displayed can be drawn in advance, thereby reducing the delay of the graphic display.
  • coordinates of each of the first N touch points of the first operation may be acquired, where N is positive An integer; calculating a starting operation direction of the first operation according to coordinates of each of the first N touch points.
  • the current coordinates of the first operation may be acquired; the target display graphic may be determined and displayed according to the current coordinates and the graphic to be displayed. Thereby, the real-time performance of the graphic display can be improved.
  • the first touch operation when it is detected that the first touch operation ends, acquiring an end state parameter of the first operation; determining a last desired display graphic according to the end state parameter, so that the first can be accurately determined At the end of the operation, stop switching the display graphic or continue switching.
  • the end state parameter may include at least one of an end speed, an end pressure, a displacement of the first operation, and a duration of the first operation. According to these end state parameters, it is possible to accurately determine whether to stop switching the display graphic when the first operation ends or to continue switching the display graphic.
  • the prediction model may be retrieved from the initial state parameters; the graphics to be displayed are rendered in accordance with the prediction model.
  • a corresponding learning record may be acquired according to the initial state parameter, the learning record being generated and stored according to a historical operation of the target operation interface; and the graphic to be displayed is drawn according to the learning record.
  • the learning record may be a curve containing state parameters.
  • an operation state parameter of the second operation when the 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 an operation direction of the second operation, The operating speed of the second operation, the displacement of the second operation, the operating pressure value of the second operation, the operating position of the second operation, the rotational direction of the second operation, and the second At least one of a rotation angle of the operation; saving the operation state parameter 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 may be pre-stored, so that when the user subsequently operates for a certain operation interface, the graphic to be displayed may be pre-drawn according to the stored operation learning record, thereby reducing the delay of the graphic display.
  • the operation state parameter of the third operation may be acquired; when the operation state parameter of the third operation and the operation of the second operation.
  • the absolute value of the difference between the state parameters is less than the preset value
  • the operation state parameter of the third operation and the target operation interface are saved in the record group.
  • the graphic to be displayed can be pre-drawn more accurately according to the stored record group, so that the delay of the graphic display can be reduced.
  • a second aspect discloses a touch screen device comprising means for performing the touch screen device operating method provided by the first aspect or any of the possible implementations of the first aspect.
  • a third aspect discloses a touch screen device including 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 configured to receive a first operation, where the output device is one of a display screen, a touch screen, and a display panel, for displaying a graphic;
  • the memory stores a set of program codes
  • the processor is configured to call the program code stored in the memory to perform the following operations:
  • the output device is controlled to display according to the graphic to be displayed.
  • a fourth aspect discloses a readable storage medium storing program code for a touch screen device for performing the method of operating a touch screen device as disclosed in any of the possible implementations of the first aspect or the first aspect.
  • FIG. 1 is a schematic diagram of a graphic display when a touch screen device is operated by sliding or dragging according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a method for operating a touch screen device according to an embodiment of the present invention
  • 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 graphic according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of another method for operating a touch screen device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a touch screen device according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another touch screen device according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of still another touch screen device according to an embodiment of the present invention.
  • the embodiment of the invention discloses a touch screen device operating method and a touch screen device for reducing the delay of the graphic display.
  • FIG. 1 is a schematic diagram of a graphic display when a touch screen device is operated by sliding or dragging according to an embodiment of the present invention.
  • the system software calculates the position according to the coordinates, the position layout interface according to the calculation, the graphic according to the layout interface, and the display through the display screen. Steps such as drawing graphics can be finally displayed to the user.
  • the touch screen and the display screen are all hardware in the touch screen device; calculating the position according to the coordinates, drawing the layout interface according to the calculation, and drawing the graphic according to the interface of the layout are implemented by software on the touch screen device. Therefore, the time for displaying the graphics can be shortened by means of software optimization, that is, the processing time for calculating the position according to the coordinates, the layout layout interface according to the calculation, and the drawing of the graphics according to the interface of the layout can be shortened.
  • the above method can shorten the processing cycle of the entire process, due to the hardware and some necessary time consuming, the movement of the interface is always behind the movement of the finger, or the ideal hand-to-hand experience is not achieved.
  • FIG. 2 is a schematic flowchart diagram of a method for operating a touch screen device according to an embodiment of the present invention.
  • the touch screen device operation method is applicable to a touch screen device provided with a touch screen, such as a mobile phone or a tablet computer.
  • the touch screen device operating method may include the following steps.
  • the target operation interface may be a desktop of the touch screen device, an interface of the application displayed on the touch screen device, or the like
  • the first operation may be a sliding operation, a drag operation, or the like performed in the touch screen device. Specifically, it may be sliding to the right, sliding to the left, sliding up and down, and the like.
  • the initial state parameter is a parameter when starting the first operation, and may include a starting operation direction, a starting speed, a starting pressure value, a starting position, a starting displacement, and a starting rotation. At least one of a direction, a starting rotational speed, and a starting rotational angle. It should be noted that the initial state parameter of the first operation is not limited to the above examples, and other manners, such as initial acceleration, initial rotational acceleration, and the like, may be used.
  • the acquiring the initial state parameter of the first operation includes: acquiring each of the first N touch points of the first operation
  • the coordinates of the control point, the N is a positive integer.
  • the acquisition of the N touch points in the Android mobile phone may be obtained after the first operation is performed for 24 ms, and the three N touch points are obtained according to the first N touch points.
  • the coordinates of each touch point are used to calculate the starting operation direction of the first operation.
  • the time at which the N touch points are touched can be detected, and the starting speed of the first operation is calculated according to the time.
  • the initial pressure value of the first operation may be detected using a pressure sensor on the touch screen device, and the initial pressure may be an average of the pressure values of the N touch points before the first operation.
  • the starting rotation direction and/or the starting rotation angle are determined according to the time of the touch of the first N touch points and the coordinates of the first N touch points.
  • the starting position may also be calculated according to the coordinates of each of the first N touch points of the first operation.
  • a graphic to be displayed that may need to be displayed may be drawn according to the initial state parameter of the first operation, and the order of the drawing may be according to the time that may be displayed.
  • the drawing is performed sequentially, so that the graphic to be displayed first can be drawn as soon as possible, thereby shortening the display delay of the graphic.
  • the prediction model may be retrieved according to the initial state parameter; and the graphic to be displayed is drawn according to the prediction model.
  • the prediction model is associated with a target operation interface, and the prediction model may be obtained and saved by acquiring at least one of historical actions, behaviors, habits, data, and the like of the user's previous operations on the target operation interface.
  • the characteristics of the above historical operations are analyzed and counted by machine learning, and the process can be performed by a special predictive model generation module.
  • the left sliding operation of the Home desktop user may be analyzed and counted to generate a prediction model, and the prediction model may include a graphic to be displayed to be drawn, and may also include a display mode and a switching speed of the graphic to be displayed. , display time and other parameters.
  • the prediction model can predict the display to be displayed when the user performs the first operation by using the prediction model, and the display of the graphics to be displayed can also be predicted. Speed, time and other parameters.
  • the historical operation may include a time dimension operation on the target operation interface, such as a left sliding operation in a machine learning phase for a period of time, or a spatial dimension operation on the target operation interface, such as a machine learning phase. Slide to the left in a certain area on the operation interface for a period of time.
  • the historical operations used to generate the predictive model can increase over time, resulting in an increase in the amount of data used to generate the predictive model.
  • a larger amount of data can produce a more accurate predictive model due to statistical samples. The more, the higher the accuracy.
  • the generated graph to be displayed corresponding to the first operation may be accurately predicted by the generated prediction model.
  • more than one prediction model may be retrieved according to the initial state parameter, and all the to-be-displayed graphics corresponding to the prediction model may be drawn, or the order of the graphics to be displayed corresponding to all the prediction models may be sorted. .
  • a corresponding learning record may be acquired 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 the graphic to be displayed is drawn according to the learning record.
  • the learning record may be a curve including a state parameter.
  • FIG. 3 is a schematic diagram of a method for determining a graphic 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 the touch screen, the initial state parameter may be an operation direction, a starting speed, a starting pressure value, a starting position, a starting displacement, a starting rotation direction, and a starting direction obtained according to the first N touch points 3011, At least one of a starting rotation speed and a starting rotation angle, 302 is a pre-stored learning record, and the learning record may be obtained by the terminal including the touch screen device passing through the learning process according to the input operation and analyzing the learning rule, and Saved in the learning record library, according to the starting state
  • the parameter retrieves, in the learning record library, a learning record that is the same as the initial state parameter or that has an absolute value that is different from the initial state parameter, and is less than a preset threshold, specifically, as retrieved
  • the matching degree between the initial touch trajectory of the first operation and the curve trajectory in the learning record library may be detected.
  • the matching degree is greater than the preset threshold, the curve is indicated as the learning record corresponding to the initial state parameter.
  • the degree of matching of the starting touch trajectory with the curved trajectory in the learning record bank can be obtained by the initial state parameter calculation.
  • the to-be-displayed graphic 303 that may need to be displayed may be drawn according to the learning record, and the graphic to be displayed corresponding to each learning record in the obtained three learning records may be drawn. And stored in the memory, the order of drawing all the graphics to be displayed can be drawn according to the order in which the time can be displayed, so that the graphics to be displayed can be drawn as soon as possible, thereby shortening the display delay of the graphics.
  • the examples are merely illustrative of the embodiments of the invention and should not be construed as limiting.
  • each learning record may be correspondingly obtained with a set of graphics to be displayed, and each set of graphics to be displayed may include at least one graphic to be displayed, and the graphics to be displayed obtained by all learning records may be stored, and according to the current operation.
  • the coordinates are obtained corresponding to the graphic to be displayed; on the other hand, each learning record can be correspondingly obtained with a graphic to be displayed, and each of the graphic to be displayed can be a graphic including all the interfaces to be displayed, and can be obtained according to the current coordinate of the first operation.
  • the learning record may be obtained by: acquiring, in a learning process of the terminal that includes the touch screen device, an operation state parameter of the second operation when detecting the second operation of the target operation interface,
  • the operation state parameter of the second operation may include 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, the first At least one of 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 parameter of the second operation and the target operation interface as a record group;
  • the learning record is generated and saved according to the record group.
  • an operation state parameter of the third operation may be acquired; between the operation state parameter of the third operation and the operation state parameter of the second operation.
  • the absolute value of the difference is less than the preset value, the operation state parameter of the third operation and the target operation interface are saved in the record group.
  • the operation state parameter of the second operation may be obtained by acquiring the coordinates of all the touch points of the second operation, and calculating the coordinates of each touch point according to the touch points.
  • the direction of operation of the second operation may be detected, and the operation speed of the second operation is calculated according to the time.
  • the operating pressure value of the second operation may be detected using a pressure sensor on the touch screen device, and the operating pressure value may be an average of the pressure values of all the touch points of the second operation.
  • 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 the touch points are touched and the coordinates of all the touch points.
  • the operating position of the second operation may be calculated by coordinates of all touch points of the second operation.
  • the operation state parameter acquisition manner of the third operation is the same as the operation state parameter acquisition manner of the second operation.
  • the examples are merely used to explain the embodiments of the present invention, and should not be construed as limiting, and the state parameters of the second operation/third operation may further include state parameters of other second operations/third operations.
  • the two operations when the absolute value of the difference between the state parameters of the two operations is less than the preset value, the two operations may be stored as a record group, when the difference between the state parameters of the two operations is absolute Value is greater than or equal to the preset value
  • These two operations need to be stored separately as two record groups.
  • the state parameter is the operation direction
  • the target operation interface and the operation direction of the two operations may be recorded in one record group.
  • the target operation interface and the operation direction of the two operations can be recorded in the two record groups, respectively.
  • the terminal including the touch screen device acquires sufficient operation parameters of the touch screen device operation during the learning process, that is, when sufficient state parameters are acquired in each record group, the terminal may be in each record group.
  • the status parameters are analyzed and counted to obtain a learning record.
  • the current coordinate of the first operation may be acquired, and the target display graphic is determined and displayed according to the current coordinate and the graphic to be displayed.
  • the current coordinate refers to the current touch position of the first operation on the touch screen, and the current touch position can be determined by detecting the current touch position of the first operation in real time to improve the real-time performance of the graphic display.
  • the target display graphic may be included in the graphic to be displayed, or may not be included in the graphic to be displayed, but may continue to be drawn.
  • the operation after the initial state in the first operation may be only Considering the influence on the graphic to be displayed, the display of the graphic to be displayed may be performed, and the influence of the graphic to be displayed other than the graphic to be displayed may be performed, and the graphic may be continuously drawn and displayed as needed.
  • the graphics to be displayed include graphics 3031, 3032, and 3033 corresponding to the learning record 3022.
  • the learning record 3022 is a curve
  • the coordinates of the points 30221, 30222, and 30223 on the learning record 3022 are
  • the drawn graphics to be displayed 3031, 3032 and 3033 establish a corresponding relationship, and according to the coordinates of the current coordinates and the corresponding points in the learning record, real-time select the graphic display from the graphic to be displayed according to the touch point of the first operation.
  • the corresponding coordinate 30222 in the corresponding learning record is obtained according to the current coordinate, and the corresponding graphic 3032 to be displayed is found in the graphic to be displayed, and the graphic is displayed. 3032.
  • the to-be-displayed graphic 3031 is drawn according to the corresponding learning record 3022.
  • the examples are merely illustrative of the embodiments of the invention and should not be construed as limiting.
  • an end state parameter of the first operation when it is detected that the first operation ends, an end state parameter of the first operation may be acquired; and a last desired display graphic is determined according to the end state parameter.
  • the end state parameter includes at least one of an end speed, an end pressure value, a displacement of the first operation, and a duration of the first operation.
  • the obtaining of the end state parameter is similar to the process of acquiring the second operating state parameter, and is not described in this embodiment.
  • the determined last desired display graphic is the graphic currently being displayed, indicating that the effect of the first operation on the operation of the touch screen device has ended; when the last desired desired display graphic is not currently being displayed.
  • the graphic to be displayed that has not been displayed before the last desired display graphic and needs to be displayed will continue to be displayed until the last one is displayed. The graphic needs to be displayed.
  • FIG. 4 is a schematic diagram of a method for determining a last required display graphic according to an embodiment of the present invention.
  • 401 is a first operation
  • the first operation 401 Starting at 4011, ending at 4012, if it is detected that the first operation 401 ends at 4012
  • the end state parameter such as speed
  • the last desired display graphic can be obtained according to the speed.
  • the last desired display graphic 402 can be the bottom of the browser interface, if the currently displayed graphic 403 is not the last required display image.
  • Form 402 then continue to display the graphic between the current display graphic 403 and the last desired display graphic 402 in chronological order until the last desired display graphic 402 is displayed, and keep the last desired display graphic displayed. 402.
  • the manner of acquiring and displaying the last desired display graphic in the desktop of the terminal having the touch screen device can also be performed in the above manner.
  • the examples are only used to explain the embodiment of the present invention, and should not be construed as limiting. .
  • the last required display graphic 402 may be included in the graphic to be displayed, or may not be included in the graphic to be displayed, and needs to be drawn. If the last desired display graphic 402 is not included in the graphic to be displayed, the graphic that is not displayed in the graphic to be displayed may be drawn and displayed during display.
  • detecting a first operation on the target operation interface acquiring a start state parameter of the first operation; and drawing a graphic to be displayed according to the initial state parameter;
  • the graphic to be displayed is displayed. Since the graphic to be displayed can be pre-drawn by the initial state parameter of the first operation, the delay of the graphic display can be reduced.
  • FIG. 5 is a schematic flowchart diagram of another method for operating a touch screen device according to an embodiment of the present invention.
  • the touch screen device operation method is applicable to a touch screen device provided with a touch screen, such as a mobile phone or a tablet computer.
  • the touch screen device operating method may include the following steps.
  • the first touch operation is one of the first operations, and when the first touch operation is detected through the touch screen, each of the first N touch points of the first touch operation is acquired.
  • the coordinates of the point that is, the coordinates of each touch point in the first N touch points, the starting coordinates may be determined according to the coordinates of each touch point, where N may be an integer greater than or equal to 3,
  • a touch operation can be a sliding operation or a drag operation.
  • the first direction is a starting state parameter, and after acquiring the starting coordinates of the first N touch points of the first touch operation, the first touch operation is calculated according to the starting coordinates.
  • the direction may be that the curve of the N touch points is determined first, and then the tangential direction of the curve is determined, and the tangential direction is determined as the first direction of the first touch operation.
  • the curve corresponding to the operation interface may be used to determine a graphic to be displayed, and the stored curve may be obtained by acquiring all touch points of the second touch operation when the second touch operation is detected.
  • a third coordinate calculating a second direction of the second touch operation according to the third coordinate, storing a second direction, a curve of the third coordinate, and an operation interface of the second touch operation, that is, storing the curve of the second direction and the third coordinate
  • the parameter of the second touch operation may be calculated according to the third coordinate, that is, the parameter of the second touch operation is calculated according to the third coordinate and the touch time of all the touch points of the second touch operation, and the parameter may include the second speed.
  • a second displacement ie a speed of the second touch operation and/or a displacement of the second touch operation.
  • the parameters may be stored together.
  • graphics displayed during the second touch operation can also be stored.
  • the fourth coordinates of all the touch points of the third touch operation are acquired, and the third touch is calculated according to the fourth coordinate In the third direction of the touch operation, when the absolute value of the difference between the third direction and the second direction is less than the preset value, determining that the curve of the third coordinate is the curve of the fourth coordinate, when the third direction and the second direction
  • the absolute value of the difference is greater than or equal to the preset value
  • determining that the curve of the third coordinate is not the curve of the fourth coordinate
  • the two touch operations may be stored as one touch operation, when the absolute value of the difference between the directions of the two touch operations When the value is greater than or equal to the preset value, the two touch operations need to be separately stored as two touch operations for subsequent calls.
  • the curve corresponding to the first direction and the operation interface of the first touch operation may be acquired from the stored curve, that is, from the stored direction. And a curve corresponding to the operation direction of the first direction and the first touch operation, and the absolute value of the difference between the direction of the first direction and the corresponding relationship is less than a preset value.
  • the graphic to be displayed that may need to be displayed may be drawn according to the curve, and the order of drawing may be displayed according to possible
  • the time sequence is drawn so that the graphics to be displayed can be drawn as quickly as possible, thereby shortening the display delay of the graphics.
  • the first touch time of the first N touch points may be acquired, and the first direction and the first speed of the first touch operation are calculated according to the start coordinate and the first touch time, according to the curve and the first
  • the graphics to be displayed are drawn at a speed, so that the number of graphics to be displayed drawn can be reduced without drawing all the graphics that may be displayed, and the graphics to be displayed can be drawn more accurately according to the first speed.
  • the graphics to be displayed may be displayed according to the display order, and all the graphics to be displayed may be sequentially displayed according to the display order, or some graphics to be displayed may be displayed in the display order.
  • the second coordinate of the touch point other than the first N touch points of the touch point of the first touch operation may be acquired, and the target graphic is selected and displayed from the graphic to be displayed according to the second coordinate, and the target graphic is displayed. It is the graphic that needs to be displayed at present, so that the displayed graphic can be adjusted in real time according to the touch point of the touch operation.
  • the last desired display graphic is determined from the graphic to be displayed according to the first speed, and when the determined last desired display graphic is the graphic currently being displayed When it is indicated that the impact of the first touch operation on the operation of the touch screen device has ended; when the last desired desired display graphic is not the currently displayed graphic, indicating the operation of the first touch operation on the touch screen device The effect is not over yet, and the last graphic to be displayed that has not been displayed before the desired graphic display and needs to be displayed will continue to be displayed until the last desired graphic display is displayed.
  • the first displacement of the first touch operation may be acquired, and the last desired display graphic is determined from the graphic to be displayed according to the first displacement, when the last one is determined.
  • the desired display graphic is the graphic currently being displayed, it indicates that the influence of the first touch operation on the operation of the touch screen device has ended; when the last desired desired display graphic is not the graphic currently being displayed, indicating The influence of the first touch operation on the operation of the touch screen device has not ended, and the graphic to be displayed that has not been displayed before the last desired display graphic and needs to be displayed is displayed until the last desired display graphic is displayed. It is over.
  • the start coordinates of the first N touch points of the first touch operation are acquired, and the first touch operation is calculated according to the start coordinates.
  • a curve corresponding to the first direction and the operation interface of the first touch operation is obtained from the stored curve, and the graphic to be displayed is drawn according to the curve, and the graphic to be displayed is displayed.
  • the first touch operation may be a sliding operation or a drag operation, and N is an integer greater than or equal to 3. Since the graphic to be displayed can be pre-drawn according to the first few touch points of the sliding operation or the drag operation and the stored curve, the delay of the graphic display can be reduced.
  • FIG. 6 is a schematic structural diagram of a touch screen device according to an embodiment of the present invention.
  • the touch screen device can be a device equipped with a touch screen, such as a mobile phone or a tablet computer. As shown in FIG. 6, the touch screen device can include:
  • the detecting unit 601 is configured to detect a first operation on the target operation interface
  • the obtaining unit 602 is configured to acquire a starting state parameter of the first operation.
  • a drawing unit 603 configured to draw a graphic to be displayed according to the initial state parameter
  • the display unit 604 is configured to display according to the graphic to be displayed.
  • detecting a first operation on the target operation interface acquiring a start state parameter of the first operation; drawing a graphic to be displayed according to the initial state parameter; The graphic is displayed. Since the graphic to be displayed can be pre-drawn by the initial state parameter of the first operation, the delay of the graphic display can be reduced.
  • FIG. 7 is a schematic structural diagram of another touch screen device according to an embodiment of the present invention.
  • the touch screen device can be a device equipped with a touch screen, such as a mobile phone or a tablet computer.
  • the touch screen device shown in FIG. 7 is optimized by the touch screen device shown in FIG. 3, wherein:
  • the initial state parameter may include at least one of a starting operating direction, an initial speed, a starting pressure value, a starting position, a starting displacement, a starting rotational direction, an initial rotational speed, and a starting rotational angle.
  • the acquiring unit 601 is specifically configured to acquire each of the first N touch points of the first operation.
  • the coordinates of the touch points, the N is a positive integer; the starting operation direction of the first operation is calculated according to the coordinates of each of the first N touch points.
  • the acquiring unit 602 is further configured to acquire current coordinates of the first operation
  • the display unit 604 is specifically configured to determine and display a target display graphic according to the current coordinate and the graphic to be displayed.
  • the acquiring unit 602 is further configured to acquire an end state parameter of the first operation when detecting that the first operation ends;
  • the touch screen device further includes:
  • the determining unit 605 is configured to determine a last desired display graphic according to the end state parameter.
  • the end state parameter includes at least one of an end speed, an end pressure, a displacement of the first operation, and a duration of the first operation.
  • the drawing unit 603 is specifically configured to: retrieve a prediction model according to the initial state parameter; and draw a graphic to be displayed according to the prediction model.
  • the drawing unit 603 is specifically configured to acquire according to the initial state parameter.
  • the learning record is generated and stored according to a historical operation of the target operation interface; and the graphic to be displayed is drawn according to the learning record.
  • the learning record is a curve containing state parameters.
  • the acquiring unit 602 is further configured to: when detecting the second operation of the target operation interface, acquire an operation state parameter of the second operation, and operate the second operation
  • the state parameter includes 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, and a At least one of 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 parameter 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.
  • the acquiring unit 602 is further configured to: when detecting the third operation of the target operation interface, acquire an operation state parameter of the third operation;
  • the saving unit 606 is further configured to: when the absolute value of the difference between the operating state parameter of the third operation and the operating state parameter of the second operation is less than a preset value, The operational status parameter and the target operational interface are saved in the record group.
  • detecting a first operation on the target operation interface acquiring a start state parameter of the first operation; drawing a graphic to be displayed according to the initial state parameter; The graphic is displayed. Since the graphic to be displayed can be pre-drawn by the initial state parameter of the first operation, the delay of the graphic display can be reduced.
  • FIG. 8 is a schematic structural diagram of still another touch screen device according to an embodiment of the present invention.
  • the touch screen device can be a device equipped with a touch screen, such as a mobile phone or a tablet computer.
  • the touch screen device can include a processor 801, a memory 802, an input device 803, an output device 804, and a bus 805.
  • the processor 801 can be a general purpose central processing unit (CPU), a plurality of CPUs, a microprocessor, an application-specific integrated circuit (ASIC), or one or more for controlling the execution of the program of the present invention. integrated circuit.
  • CPU general purpose central processing unit
  • ASIC application-specific integrated circuit
  • the memory 502 can be 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 that can store information and instructions.
  • the dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this.
  • Memory 802 can exist independently and bus 805 is coupled to processor 801.
  • Memory 802 can also be integrated with processor 801.
  • Bus 805 can include a path for communicating information between the above components.
  • the output device 804 can be integrated with the input device 803 as a touch screen, and the output device 804 and the input device 803 can also 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 graphic to be displayed;
  • the memory 802 stores a set of program codes, and the processor 801 is configured to invoke the program code stored in the memory 802 to perform the following operations:
  • the output device 804 is controlled to display according to the graphic to be displayed.
  • the initial state parameter includes a starting operation direction, an initial speed, a starting pressure value, a starting position, a starting displacement, a starting rotation direction, a starting rotation speed, and a starting rotation. At least one of the angles.
  • the acquiring, by the processor 801, the initial state parameter of the first operation includes:
  • the processor 801 is further configured to invoke the program code stored in the memory 802 to perform the following operations:
  • the processor 801 is further configured to invoke the program code stored in the memory 802 to perform the following operations:
  • a last desired display graphic is determined based on the end state parameter.
  • the end state parameter includes at least one of an end speed, an end pressure, a displacement of the first operation, and a duration of the first operation.
  • the processor 801 according to the initial state parameter, to draw a graphic to be displayed includes:
  • a graphic to be displayed is drawn according to the prediction model.
  • the processor 801 according to the initial state parameter, to draw a graphic to be displayed includes:
  • a graphic to be displayed is drawn based on the learning record.
  • the learning record is a curve containing state parameters.
  • the processor 801 is further configured to invoke the program code stored in the memory 802 to perform the following operations:
  • the operation state parameter of the second operation includes an operation direction of the second operation, and the second operation Operating speed, displacement of the second operation, operating pressure value of the second operation, operating position of the second operation, the second operation At least one of a rotation direction and a rotation angle of the second operation;
  • the learning record is generated and saved according to the record group.
  • the processor 801 is further configured to invoke the program code stored in the memory 802 to perform the following operations:
  • detecting a first operation on the target operation interface acquiring a start state parameter of the first operation; drawing a graphic to be displayed according to the initial state parameter; The graphic is displayed. Since the graphic to be displayed can be pre-drawn by the initial state parameter of the first operation, the delay of the graphic display can be reduced.
  • the embodiment of the invention further discloses a readable storage medium, which stores program code of the touch screen device for executing the touch screen device operation method shown in FIG. 2 .
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • a software program it 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.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium such as a solid state disk (SSD)
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

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)。该触屏设备操作方法及触屏设备可以降低图形显示的时延。

Description

一种触屏设备操作方法及触屏设备
本申请要求于2016年12月01日提交中国专利局、申请号为201611091679.5发明名称为“一种改善触屏设备跟手性的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及触屏设备技术领域,具体涉及一种触屏设备操作方法及触屏设备。
背景技术
随着电子技术的不断发展,手机、平板电脑等触屏设备已成为人们日常生活中必不可少的电子产品。用户可以通过滑动、拖动、点击等方式对触屏设备进行操作,当用户通过滑动或拖动操作触屏设备时,触屏设备需要通过触摸屏检测滑动操作或拖动操作的坐标,根据检测到的坐标计算位置,按照计算的位置布局界面,根据布局后的界面进行图形处理,以及显示处理的图形。这个过程的时长受硬件耗时以及***负载等因素的影响,以致触屏设备界面图形的变化总是延迟于手指的变化,增加了图形显示的时延。
发明内容
本发明实施例公开了一种触屏设备操作方法及触屏设备,用于降低图形显示的时延。
第一方面公开了一种触屏设备操作方法,检测目标操作界面上的第一操作;获取所述第一操作的起始状态参数;根据所述起始状态参数绘制待显示图形;根据所述待显示图形进行显示,由于可以操作的起始状态参数预先绘制待显示图形,从而可以降低图形显示的时延。
在一个实施例中,所述起始状态参数可以包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种,以便根据这些状态参数绘制待显示图形,可以预先绘制待显示图形,从而可以降低图形显示的时延。
在一个实施例中,当所述起始状态参数包含所述起始操作方向时,可以获取所述第一操作的前N个触控点中每个触控点的坐标,所述N为正整数;根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。
在一个实施例中,可以获取所述第一操作的当前坐标;可以根据所述当前坐标和所述待显示图形确定目标显示图形并显示。从而可以提高图形显示的实时性。
在一个实施例中,当检测到第一触摸操作结束时,获取所述第一操作的结束状态参数;根据所述结束状态参数确定最后一张所需显示图形,以便可以准确地确定当第一操作结束时,是停止切换显示图形,还是继续切换。
在一个实施例中,所述结束状态参数可以包括结束速度、结束压力、所述第一操作的位移、所述第一操作的时长中的至少一种。根据这些结束状态参数可以准确地确定当第一操作结束时,是停止切换显示图形,还是继续切换显示图形。
在一个实施例中,可以根据所述起始状态参数检索预测模型;根据所述预测模型绘制待显示图形。
在一个实施例中,可以根据所述起始状态参数获取对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;根据所述学习记录绘制待显示图形。通过预先绘制待显示图形,可以降低图形显示的时延。
在一个实施例中,所述学习记录可以为包含状态参数的曲线。
在一个实施例中,当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的位移、所述第二操作的操作压力值、所述第二操作的的操作位置、所述第二操作的旋转方向和所述第二操作的旋转角度中的至少一种;将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;根据所述记录组,生成并保存所述学习记录。可以将用户针对每个操作界面的操作预先存储,以便当用户在后续针对某一个操作界面进行操作时,可以根据存储的操作学习记录预先绘制待显示的图形,从而可以降低图形显示的时延。
在一个实施例中,当检测到所述目标操作界面的第三操作时,可以获取所述第三操作的操作状态参数;当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。可以根据存储的记录组更准确地预先绘制待显示的图形,从而可以降低图形显示的时延。第二方面公开一种触屏设备,该触屏设备包括用于执行第一方面或第一方面的任一种可能实现方式所提供的触屏设备操作方法的单元。
第三方面公开一种触屏设备,包括处理器、存储器、输入装置和输出装置,其中:
所述输入装置为触摸屏、触摸面板中的一种,用于接收第一操作,所述输出装置为显示屏、触摸屏、显示面板中的一种,用于显示图形;
所述存储器中存储有一组程序代码,所述处理器用于调用所述存储器中存储的程序代码执行以下操作:
接收所述输入装置发送的所述第一操作;
获取所述第一操作的起始状态参数;
根据所述起始状态参数绘制所述待显示图形;
根据所述待显示图形控制所述输出装置进行显示。
第四方面公开一种可读存储介质,该可读存储介质存储了触屏设备用于执行第一方面或第一方面的任一种可能实现方式所公开的触屏设备操作方法的程序代码。
附图说明
图1是本发明实施例公开的一种通过滑动或拖动操作触屏设备时图形显示的示意图;
图2是本发明实施例公开的一种触屏设备操作方法的流程示意图;
图3是本发明实施例公开的一种确定待显示图形的方法示意图;
图4是本发明实施例公开的一种确定最后一张所需显示图形的方法示意图;
图5是本发明实施例公开的另一种触屏设备操作方法的流程示意图;
图6是本发明实施例公开的一种触屏设备的结构示意图;
图7是本发明实施例公开的另一种触屏设备的结构示意图;
图8是本发明实施例公开的又一种触屏设备的结构示意图。
具体实施方式
本发明实施例公开了一种触屏设备操作方法及触屏设备,用于降低图形显示的时延。
为了更好地理解本发明实施例公开的一种触屏设备操作方法及触屏设备,下面先对本发明实施例使用的应用场景进行描述。请参阅图1,图1是本发明实施例公开的一种通过滑动或拖动操作触屏设备时图形显示的示意图。如图1所示,当用户通过滑动或拖动操作触屏设备时,需要经过触摸屏上报坐标、***软件根据坐标计算位置、按照计算的位置布局界面、按照布局的界面绘制图形、通过显示屏显示绘制的图形等步骤才能最终显示到用户眼前。其中,触摸屏和显示屏均为触屏设备中的硬件;根据坐标计算位置、按照计算的位置布局界面以及按照布局的界面绘制图形通过触屏设备上的软件来实现。因此,可以通过软件优化的方式缩短显示图形的时间,即缩短根据坐标计算位置、按照计算的位置布局界面以及按照布局的界面绘制图形的处理时间。然而,上述方式虽然可以缩短整个流程的处理周期,但是由于硬件和一些必要的耗时,界面的移动总是要落后手指的移动,还是达不到理想的跟手性体验。
请参阅图2,图2是本发明实施例公开的一种触屏设备操作方法的流程示意图。其中,该触屏设备操作方法适用于手机、平板电脑等设置有触摸屏的触屏设备。如图2所示,该触屏设备操作方法可以包括以下步骤。
201、检测目标操作界面上的第一操作。
本实施例中,目标操作界面可以是触屏设备的桌面、触屏设备上显示的应用的界面等,所述第一操作可以是在所述触屏设备中执行的滑动操作、拖动操作等,具体地,可以是向右滑动、向左滑动、向上滑动和向下滑动等。
202、获取所述第一操作的起始状态参数。
本实施例中,所述起始状态参数为开始执行所述第一操作时的参数,可以包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种。需要说明的,所述第一操作的起始状态参数不仅仅限于上述举例,还可以有其他方式,例如起始加速度、起始旋转加速度等。
例如,当所述起始状态参数包含所述起始操作方向时,所述获取所述第一操作的起始状态参数包括:获取所述第一操作的前N个触控点中每个触控点的坐标,所述N为正整数,具体地,如安卓手机中N个触控点的获取可以是第一操作执行24ms后获得3个触控点;根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。另外,可以检测到的N个触控点触控完成的时间,并根据该时间计算得到所述第一操作的起始速度。另外,可以使用触屏设备上的压力传感器检测该第一操作的起始压力值,该起始压力可以是第一操作前N个触控点的压力值的平均值。另外,可以根据所述前N个触控点的坐标确 定起始旋转方向和/或起始旋转角度。也可以根据前N个触控点触控完成的时间和前N个触控点的坐标确定起始旋转速度。也可以根据所述第一操作的前N个触控点中每个触控点的坐标计算起始位置。示例仅仅用于解释本发明实施例,不应构成限定,所述起始状态参数还可以包含其他第一操作起始时的状态参数。
203、根据所述起始状态参数绘制待显示图形。
本实施例中,获取所述第一操作的起始状态参数之后,将根据所述第一操作的起始状态参数绘制后续可能需要显示的待显示图形,绘制的顺序可以根据可能显示的时间的先后顺序进行绘制,以便可以将先要显示的图形尽快绘制出来,从而缩短图形的显示延时。
本实施例中,可以根据所述起始状态参数检索预测模型;根据所述预测模型绘制待显示图形。其中,所述预测模型是与目标操作界面相关联的,该预测模型可以是通过以下方式获得并保存:获取用户先前对目标操作界面操作的历史动作、行为、习惯、数据等中的至少一种,通过机器学习对上述历史操作中的特征进行分析和统计,该过程可以通过专门的预测模型生成模块执行。
例如,在机器学习阶段,可以分析并统计在Home桌面用户过去的向左滑动操作,来生成预测模型,预测模型可以包含需绘制的待显示图形,也可以包含待显示图形的显示方式、切换速度、显示时间等参数。生成预测模型后,当用户在Home桌面执行向左滑动时,可以通过该预测该模型预测用户执行所述第一操作时,想要显示的待显示图形,也可以预测出这些待显示图形的显示速度、时间等参数。
其中,历史操作可以包含在该目标操作界面上的时间维度的操作,如机器学习阶段一段时间内的向左滑动操作,也可以包含在该目标操作界面上的空间维度的操作,如机器学习阶段一段时间内在该操作界面上一定区域范围内的向左滑动操作。
另一方面,用于生成预测模型的历史操作可以随时间的增长而增多,从而使用于生成预测模型的数据量增多,一般地,更大的数据量可以生成更准确的预测模型,因统计样本越多,准确度越高。在数据量足够大时,可以通过生成的预测模型准确预测出所述第一操作对应的需绘制的待显示图形。
其中,可以根据所述起始状态参数检索到一个以上的预测模型,并绘制全部的预测模型对应的需绘制的待显示图形,也可以对全部的预测模型对应的待显示图形绘制的顺序进行排序。
另外,示例仅仅用于解释本发明实施例,不应构成限定。
本实施例中,可以根据所述起始状态参数获取对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;根据所述学习记录绘制待显示图形。其中,所述学习记录可以为包含状态参数的曲线。
例如,请参阅图3,图3是本发明实施例公开的一种确定待显示图形的方法示意图,如图3所示,其中,301为在目标操作界面检测到的第一操作,可以为在触摸屏上执行的触摸操作,所述起始状态参数可以是根据前N个触控点3011获得的操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种,302为预存的学习记录,该学习记录可以是包含有触屏设备的终端预先根据输入的操作经过学习过程并分析学习规律得到的,并保存在学习记录库中,可以根据起始状态 参数在学习记录库中检索与所述起始状态参数相同、或者与所述起始状态参数相差的绝对值小于预设阈值的学习记录,具体地,如在学习记录库中根据上述条件检索到满足起始状态参数3021的三条学习记录。
另外,也可以通过检测第一操作的起始触摸轨迹与学习记录库中的曲线轨迹的匹配度,当所述匹配度大于预设阈值时,表明该曲线为起始状态参数对应的学习记录。起始触摸轨迹与所述学习记录库中的曲线轨迹的匹配度可以通过所述起始状态参数计算获得。
获取对应的学习记录之后,如图3所示,将根据所述学习记录绘制后续可能需要显示的待显示图形303,可以将得到的三条学习记录中每条学习记录对应的待显示图形绘制出来,并保存在内存中,所有的待显示图形的绘制的顺序可以根据可能显示的时间的先后顺序进行绘制,以便可以将先要显示的图形尽快绘制出来,从而缩短图形的显示延时。另外,示例仅仅用于解释本发明实施例,不应构成限定。
本实施例中,每条学习记录可以对应得到一组待显示图形,每组待显示图形可以包含至少一个待显示图形,可以将全部学习记录得到的待显示图形存储,并根据第一操作当前的坐标获得对应的待显示图形;另一方面,每条学习记录可以对应得到一个待显示图形,每个所述待显示图形可以是包含所有待显示界面的图形,可以根据第一操作当前的坐标获取对应待显示图形中的对应显示区域,并显示所述显示区域。
其中,所述学习记录可以通过如下方式得到:在包含有触屏设备的终端的学习过程中,当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数可以包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的位移、所述第二操作的操作压力值、所述第二操作的操作位置、所述第二操作的旋转方向和所述第二操作的旋转角度中的至少一种;将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;根据所述记录组,生成并保存所述学习记录。另外,当检测到所述目标操作界面的第三操作时,可以获取所述第三操作的操作状态参数;当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。
例如,所述第二操作的操作状态参数可以通过以下方式获取:可以通过获取所述第二操作的所有触控点的坐标,根据所述全部触控点中每个触控点的坐标计算所述第二操作的操作方向。另外,可以检测全部触控点触控完成的时间,或者所述第二操作完成的时间,并根据该时间计算得到所述第二操作的操作速度。另外,可以使用触屏设备上的压力传感器检测该第二操作的操作压力值,该操作压力值可以是第二操作全部的触控点的压力值的平均值。另外,可以根据所述全部触控点的坐标确定所述第二操作的旋转方向和/或旋转角度。也可以根据全部触控点触控完成的时间和全部触控点的坐标确定旋转速度。可以通过所述第二操作的全部触控点的坐标计算出所述所述第二操作的的操作位置。同样地,所述第三操作的操作状态参数获取方式与所述第二操作的操作状态参数的获取方式相同。另外,示例仅仅用于解释本发明实施例,不应构成限定,所述第二操作/第三操作的状态参数还可以包含其他第二操作/第三操作的状态参数。
其中,当两个操作的状态参数之间的差值的绝对值小于预设值时,可以将这两个操作作为一个记录组进行存储,当两个操作的状态参数之间的差值的绝对值大于或等于预设值 时,需要将这两个操作作为两个记录组分别进行存储。例如,当所述状态参数为操作方向时,当两个操作的操作方向的差值的绝对值小于15度时,可以将这两个操作的目标操作界面和操作方向记录在一个记录组中,当两个操作的操作方向的差值的绝对值大于或等于15度时,可以将这两个操作的目标操作界面和操作方向分别记录在两个记录组中。
当包含有触屏设备的终端在学习过程中获取到足够的触屏设备操作的操作参数时,即每个记录组中获取到足够的状态参数时,所述终端可以对每个记录组中的状态参数进行分析和统计,得到学习记录。
204、根据所述待显示图形进行显示。
本实施例中,根据所述起始状态参数绘制待显示图形之后,可以获取所述第一操作的当前坐标,并根据所述当前坐标和所述待显示图形确定目标显示图形并显示。其中,所述当前坐标是指所述第一操作在触摸屏上当前的触摸位置,可以通过实时检测第一操作当前的触摸位置来确定当前要显示的图形,以提高图形显示的实时性。
其中,所述目标显示图形可以是包含在所述待显示图形中的,也可以不包含在所述待显示图形中,而是继续绘制的,第一操作中起始状态之后的操作可以是仅仅考虑对所述待显示图形的影响,来进行待显示图形的显示,也可以对所述待显示图形之外的、需要绘制的图形的影响,需要时可以继续绘制图形并显示。
例如,前例中,如图3所示,待显示图形中包含学习记录3022对应的图形3031、3032和3033,当学习记录3022为曲线时,学习记录3022上的点30221、30222和30223的坐标与绘制的待显示图形3031、3032和3033建立对应关系,并根据当前坐标与学习记录中对应点的坐标,实现实时根据第一操作的触摸点从待显示图形中选取图形显示。例如,如果检测到所述第一操作的当前坐标在3012,根据该当前坐标获取对应的学习记录中对应的坐标30222,并对应的在待显示图形中找到当前要显示的图形3032,并显示图形3032。所述待显示图形3031是根据对应的学习记录3022绘制的。另外,示例仅仅用于解释本发明实施例,不应构成限定。
本实施例中,当检测到所述第一操作结束时,可以获取所述第一操作的结束状态参数;根据所述结束状态参数确定最后一张所需显示图形。其中,所述结束状态参数包括结束速度、结束压力值、所述第一操作的位移、所述第一操作的时长中的至少一种。另外,示例仅仅用于解释本发明实施例,不应构成限定。
其中,所述结束状态参数的获取与所述第二操作状态参数的获取过程类似,本实施例不再赘述。当确定的最后一张所需显示图形是当前正在显示的图形时,表明第一操作对触屏设备的操作带来的影响已结束;当确定的最后一张所需显示图形不是当前正在显示的图形时,表明第一操作对触屏设备的操作带来的影响还未结束,将继续显示最后一张所需显示图形之前还未显示且需要显示的待显示图形,直到显示到最后一张所需显示图形才结束。
例如,请参阅图4,图4是本发明实施例公开的一种确定最后一张所需显示图形的方法示意图,如图4所示,其中,401为第一操作,所述第一操作401起始于4011、结束于4012,如果检测到第一操作401结束于4012时的结束状态参数,如速度,当该速度大于预设速度阈值时,可以根据该速度获取最后一张所需显示图形402,该最后一张所需显示图形402可以是浏览器界面的底部,如果当前显示的图形403不是所述最后一张所需显示图 形402,则继续按照时间顺序显示当前显示图形403与最后一张所需显示图形402之间的图形,直到显示到最后一张所需显示图形402,并保持显示该最后一张所需显示图形402。同样地,在有触屏设备的终端的桌面、各类应用中获取和显示最后一张所需显示图形的方式也可按照以上方式进行,示例仅仅用于解释本发明实施例,不应构成限定。
其中,所述最后一张所需显示图形402可以是包含在待显示图形中的,也可以不包含在所述待显示图形中,需要进行绘制的。若所述最后一张所需显示图形402不包含在所述待显示图形中,则在显示过程中,所需显示的未包含在所述待显示图形中的图形,可以进行绘制并显示。
在图2所描述的触屏设备操作方法中,检测目标操作界面上的第一操作;获取所述第一操作的起始状态参数;根据所述起始状态参数绘制待显示图形;根据所述待显示图形进行显示。由于可以第一操作的起始状态参数预先绘制待显示图形,从而可以降低图形显示的时延。
请参阅图5,图5是本发明实施例公开的另一种触屏设备操作方法的流程示意图。其中,该触屏设备操作方法适用于手机、平板电脑等设置有触摸屏的触屏设备。如图5所示,该触屏设备操作方法可以包括以下步骤。
501、当检测到第一触摸操作时,获取第一触摸操作的前N个触控点中每个触控点的坐标,以确定起始坐标。
本实施例中,所述第一触摸操作为所述第一操作的一种,当通过触摸屏检测到第一触摸操作时,将获取第一触摸操作的前N个触控点中每个触控点的坐标,即获取前N个触控点中每个触控点的坐标,可以根据所述每个触控点的坐标确定起始坐标,其中,N可以为大于或等于3的整数,第一触摸操作可以为滑动操作,也可以为拖动操作。
502、根据起始坐标,计算第一触摸操作的第一方向。
本实施例中,所述第一方向为一种起始状态参数,获取到第一触摸操作的前N个触控点的起始坐标之后,将根据起始坐标计算第一触摸操作的第一方向,可以是先确定这N个触控点所在的曲线,再确定该曲线的切线方向,将这切线方向确定为第一触摸操作的第一方向。
503、从存储的曲线中,获取与第一方向和第一触摸操作的操作界面对应的曲线。
本实施例中,所述操作界面对应的曲线可以用于确定待显示图形,所述存储的曲线可以通过以下方式获得:当检测到第二触摸操作时,获取第二触摸操作的所有触控点的第三坐标,根据第三坐标计算第二触摸操作的第二方向,存储第二方向、第三坐标所在曲线和第二触摸操作的操作界面,即存储第二方向、第三坐标所在曲线和第二触摸操作的操作界面之间的对应关系,以便后续进行调用。此外,还可以根据第三坐标计算第二触摸操作的参数,即根据第三坐标和第二触摸操作的所有触控点的触控时间计算第二触摸操作的参数,该参数可以包括第二速度和/或第二位移,即第二触摸操作的速度和/或第二触摸操作的位移。此外,除了存储第二方向、第三坐标所在曲线和第二触摸操作的操作界面之外,还可以将该参数存储的一起。此外,还可以存储第二触摸操作的过程中显示的图形。当检测到第三触摸操作时,获取第三触摸操作的所有触控点的第四坐标,根据第四坐标计算第三触 摸操作的第三方向,当第三方向与第二方向之间的差值的绝对值小于预设值时,确定第三坐标所在曲线为第四坐标所在曲线,当第三方向与第二方向之间的差值的绝对值大于或等于预设值时,确定第三坐标所在曲线不是第四坐标所在曲线,将存储第三方向、第四坐标所在曲线和第三触摸操作的操作界面,即当两个触摸操作的方向之间的差值的绝对值小于预设值时,可以将这两个触摸操作作为一个触摸操作进行存储,当两个触摸操作的方向之间的差值的绝对值大于或等于预设值时,需要将这两个触摸操作作为两个触摸操作分别进行存储,用于后续调用。
本实施例中,根据起始坐标计算得到第一触摸操作的第一方向之后,可以从存储的曲线中,获取与第一方向和第一触摸操作的操作界面对应的曲线,即从存储的方向、曲线和操作界面的对应关系中,获取与第一方向和第一触摸操作的操作界面对应的曲线,第一方向与该对应关系中的方向的差的绝对值要小于预设值。
504、根据该曲线绘制待显示图形。
本实施例中,从存储的曲线中获取到与第一方向和第一触摸操作的操作界面对应的曲线之后,将根据该曲线绘制后续可能需要显示的待显示图形,绘制的顺序可以根据可能显示的时间的先后顺序进行绘制,以便可以将先要显示的图形尽快绘制出来,从而缩短图形的显示延时。
本实施例中,可以获取这前N个触控点的第一触控时间,根据起始坐标和第一触控时间计算第一触摸操作的第一方向和第一速度,根据该曲线和第一速度绘制待显示图形,从而可以减少绘制的待显示图形的数量,而不需要绘制所有可能显示的图形,可以根据第一速度更准确度绘制待显示图形。
505、显示待显示图形。
本实施例中,根据该曲线绘制得到待显示图形之后,可以根据显示顺序显示待显示图形,可以是按照显示顺序依次显示全部的待显示图形,也可以是按照显示顺序显示部分待显示图形。其中,可以获取第一触摸操作的触控点中除这前N个触控点之外的触控点的第二坐标,并根据第二坐标从待显示图形中选择目标图形并显示,目标图形是当前需要显示的图形,从而可以根据触摸操作的触控点实时的调整显示的图形。
在一个实施例中,当检测到第一触摸操作结束时,根据第一速度从待显示图形中确定最后一张所需显示图形,当确定的最后一张所需显示图形是当前正在显示的图形时,表明第一触摸操作对触屏设备的操作带来的影响已结束;当确定的最后一张所需显示图形不是当前正在显示的图形时,表明第一触摸操作对触屏设备的操作带来的影响还未结束,将继续显示最后一张所需显示图形之前还未显示且需要显示的待显示图形,直到显示到最后一张所需显示图形才结束。
在一个实施例中,当检测到第一触摸操作结束时,可以获取第一触摸操作的第一位移,根据第一位移从待显示图形中确定最后一张所需显示图形,当确定的最后一张所需显示图形是当前正在显示的图形时,表明第一触摸操作对触屏设备的操作带来的影响已结束;当确定的最后一张所需显示图形不是当前正在显示的图形时,表明第一触摸操作对触屏设备的操作带来的影响还未结束,将继续显示最后一张所需显示图形之前还未显示且需要显示的待显示图形,直到显示到最后一张所需显示图形才结束。
本实施例中,示例仅仅用于解释本发明实施例,不应构成限定。
在图5所描述的触屏设备操作方法中,当检测到第一触摸操作时,获取第一触摸操作的前N个触控点的起始坐标,根据起始坐标,计算第一触摸操作的第一方向,从存储的曲线中,获取与第一方向和第一触摸操作的操作界面对应的曲线,根据该曲线绘制待显示图形,显示待显示图形。其中,第一触摸操作可以为滑动操作或拖动操作,N为大于或等于3的整数。由于可以根据滑动操作或拖动操作的前几个触控点和存储的曲线预先绘制待显示图形,从而可以降低图形显示的时延。
请参阅图6,图6是本发明实施例公开的一种触屏设备的结构示意图。其中,该触屏设备可以为手机、平板电脑等设置有触摸屏的设备。如图6所示,该触屏设备可以包括:
检测单元601,用于检测目标操作界面上的第一操作;
获取单元602,用于获取所述第一操作的起始状态参数;
绘制单元603,用于根据所述起始状态参数绘制待显示图形;
显示单元604,用于根据所述待显示图形进行显示。
在图6所描述的触屏设备中,检测目标操作界面上的第一操作;获取所述第一操作的起始状态参数;根据所述起始状态参数绘制待显示图形;根据所述待显示图形进行显示。由于可以第一操作的起始状态参数预先绘制待显示图形,从而可以降低图形显示的时延。
请参阅图7,图7是本发明实施例公开的另一种触屏设备的结构示意图。其中,该触屏设备可以为手机、平板电脑等设置有触摸屏的设备。其中,图7所示的触屏设备是由图3所示的触屏设备优化得到的,其中:
所述起始状态参数可以包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种。
作为一种可能的实施方式,当所述起始状态参数包含所述起始操作方向时,所述获取所单元601,具体用于,获取所述第一操作的前N个触控点中每个触控点的坐标,所述N为正整数;根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。
作为一种可能的实施方式,所述获取单元602,还用于获取所述第一操作的当前坐标;
所述显示单元604,具体用于,根据所述当前坐标和所述待显示图形确定目标显示图形并显示。
作为一种可能的实施方式,所述获取单元602,还用于当检测到所述第一操作结束时,获取所述第一操作的结束状态参数;
所述触屏设备还包括:
确定单元605,用于根据所述结束状态参数确定最后一张所需显示图形。
作为一种可能的实施方式,所述结束状态参数包括结束速度、结束压力、所述第一操作的位移、所述第一操作的时长中的至少一种。
作为一种可能的实施方式,所述绘制单元603,具体用于,根据所述起始状态参数检索预测模型;根据所述预测模型绘制待显示图形。
作为一种可能的实施方式,所述绘制单元603,具体用于,根据所述起始状态参数获取 对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;根据所述学习记录绘制待显示图形。
作为一种可能的实施方式,所述学习记录为包含状态参数的曲线。
作为一种可能的实施方式,所述获取单元602,还用于,当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的位移、所述第二操作的操作压力值、所述第二操作的的操作位置、所述第二操作的旋转方向和所述第二操作的旋转角度中的至少一种;
所述触屏设备还可以包括:
保存单元606,用于将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;
所述触屏设备还可以包括:
生成单元607,用于根据所述记录组,生成并保存所述学习记录。
作为一种可能的实施方式,所述获取单元602,还用于,当检测到所述目标操作界面的第三操作时,获取所述第三操作的操作状态参数;
所述保存单元606,还用于,当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。
在图7所描述的触屏设备中,检测目标操作界面上的第一操作;获取所述第一操作的起始状态参数;根据所述起始状态参数绘制待显示图形;根据所述待显示图形进行显示。由于可以第一操作的起始状态参数预先绘制待显示图形,从而可以降低图形显示的时延。
请参阅图8,图8是本发明实施例公开的又一种触屏设备的结构示意图。其中,该触屏设备可以为手机、平板电脑等设置有触摸屏的设备。如图8所示,该触屏设备可以包括处理器801、存储器802、输入装置803、输出装置804和总线805。处理器801可以是一个通用中央处理器(CPU),多个CPU,微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本发明方案程序执行的集成电路。存储器502可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器802可以是独立存在,总线805与处理器801相连接。存储器802也可以和处理器801集成在一起。总线805可包括一通路,在上述组件之间传送信息。其中:所述输出装置804可以和所述输入装置803集成一体,为触摸屏,所述输出装置804和所述输入装置803也可以分别为触摸面板和显示器。所述输入装置803用于接收第一操作,所述输出装置804用于对待显示图形进行显示;
所述存储器802中存储有一组程序代码,所述处理器801用于调用所述存储器802中存储的程序代码执行以下操作:
接收所述输入装置803发送的所述第一操作;
获取所述第一操作的起始状态参数;
根据所述起始状态参数绘制待显示图形;
根据所述待显示图形控制所述输出装置804进行显示。
作为一种可能的实施方式,所述起始状态参数包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种。
作为一种可能的实施方式,当所述起始状态参数包含所述起始操作方向时,所述处理器801获取所述第一操作的起始状态参数包括:
获取所述第一操作的前N个触控点中每个触控点的坐标,所述N为正整数;
根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。
作为一种可能的实施方式,所述处理器801还用于调用所述存储器802中存储的程序代码执行以下操作:
获取所述第一操作的当前坐标;
根据所述当前坐标和所述待显示图形确定目标显示图形并控制所述输出装置804显示。
作为一种可能的实施方式,所述处理器801还用于调用所述存储器802中存储的程序代码执行以下操作:
检测到所述第一操作结束时,获取所述第一操作的结束状态参数;
根据所述结束状态参数确定最后一张所需显示图形。
作为一种可能的实施方式,所述结束状态参数包括结束速度、结束压力、所述第一操作的位移、所述第一操作的时长中的至少一种。
作为一种可能的实施方式,所述处理器801根据所述起始状态参数绘制待显示图形包括:
根据所述起始状态参数检索预测模型;
根据所述预测模型绘制待显示图形。
作为一种可能的实施方式,所述处理器801根据所述起始状态参数绘制待显示图形包括:
根据所述起始状态参数获取对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;
根据所述学习记录绘制待显示图形。
作为一种可能的实施方式,所述学习记录为包含状态参数的曲线。
作为一种可能的实施方式,所述处理器801还用于调用所述存储器802中存储的程序代码执行以下操作:
当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的位移、所述第二操作的操作压力值、所述第二操作的的操作位置、所述第二操 作的旋转方向和所述第二操作的旋转角度中的至少一种;
将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;
根据所述记录组,生成并保存所述学习记录。
作为一种可能的实施方式,所述处理器801还用于调用所述存储器802中存储的程序代码执行以下操作:
当检测到所述目标操作界面的第三操作时,获取所述第三操作的操作状态参数;
当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。
在图8所描述的触屏设备中,检测目标操作界面上的第一操作;获取所述第一操作的起始状态参数;根据所述起始状态参数绘制待显示图形;根据所述待显示图形进行显示。由于可以第一操作的起始状态参数预先绘制待显示图形,从而可以降低图形显示的时延。
本发明实施例还公开了一种可读存储介质,该可读存储介质存储了触屏设备用于执行图2所示的触屏设备操作方法的程序代码。
在上述实施例中,可以全部或部分的通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或者数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或半导体介质(例如固态硬盘Solid State Disk(SSD))等。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。

Claims (33)

  1. 一种触屏设备操作方法,其特征在于,包括:
    检测目标操作界面上的第一操作;
    获取所述第一操作的起始状态参数;
    根据所述起始状态参数绘制待显示图形;
    根据所述待显示图形进行显示。
  2. 根据权利要求1所述的方法,其特征在于,所述起始状态参数包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种。
  3. 根据权利要求2所述的方法,其特征在于,当所述起始状态参数包含所述起始操作方向时,所述获取所述第一操作的起始状态参数包括:
    获取所述第一操作的前N个触控点中每个触控点的坐标,所述N为正整数;
    根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    获取所述第一操作的当前坐标;
    所述根据所述待显示图形进行显示包括:
    根据所述当前坐标和所述待显示图形确定目标显示图形并显示。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当检测到所述第一操作结束时,获取所述第一操作的结束状态参数;
    根据所述结束状态参数确定最后一张所需显示图形。
  6. 根据权利要求5所述的方法,其特征在于,所述结束状态参数包括结束速度、结束压力、所述第一操作的位移、所述第一操作的时长中的至少一种。
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述根据所述起始状态参数绘制待显示图形包括:
    根据所述起始状态参数检索预测模型;
    根据所述预测模型绘制待显示图形。
  8. 根据权利要求1至6任一项所述的方法,其特征在于,所述根据所述起始状态参数绘制待显示图形包括:
    根据所述起始状态参数获取对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;
    根据所述学习记录绘制待显示图形。
  9. 根据权利要求8所述的方法,其特征在于,所述学习记录为包含状态参数的曲线。
  10. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的位移、所述第二操作的操作压力值、所述第二操作的的操作位置、所述第二操作的旋转方向和所述第二操作的旋转角度中的至少一种;
    将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;
    根据所述记录组生成并保存所述学习记录。
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:
    当检测到所述目标操作界面的第三操作时,获取所述第三操作的操作状态参数;
    当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。
  12. 一种触屏设备,其特征在于,包括:
    检测单元,用于检测目标操作界面上的第一操作;
    获取单元,用于获取所述第一操作的起始状态参数;
    绘制单元,用于根据所述起始状态参数绘制待显示图形;
    显示单元,用于根据所述待显示图形进行显示。
  13. 根据权利要求12所述的触屏设备,其特征在于,所述起始状态参数包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种。
  14. 根据权利要求13所述的触屏设备,其特征在于,当所述起始状态参数包含所述起始操作方向时,所述获取所单元,具体用于,获取所述第一操作的前N个触控点中每个触控点的坐标,所述N为正整数;根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。
  15. 根据权利要求13所述的触屏设备,其特征在于,所述获取单元,还用于获取所述第一操作的当前坐标;
    所述显示单元,具体用于,根据所述当前坐标和所述待显示图形确定目标显示图形并显示。
  16. 根据权利要求12所述的触屏设备,其特征在于,所述获取单元,还用于当检测到所述第一操作结束时,获取所述第一操作的结束状态参数;
    所述触屏设备还包括:
    确定单元,用于根据所述结束状态参数确定最后一张所需显示图形。
  17. 根据权利要求16所述的触屏设备,其特征在于,所述结束状态参数包括结束速度、结束压力、所述第一操作的位移、所述第一操作的时长中的至少一种。
  18. 根据权利要求12至17任一项所述的触屏设备,其特征在于,所述绘制单元具体用于,根据所述起始状态参数检索预测模型;根据所述预测模型绘制待显示图形。
  19. 根据权利要求12至17任一项所述的触屏设备,其特征在于,所述绘制单元,具体用于,根据所述起始状态参数获取对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;根据所述学习记录绘制待显示图形。
  20. 根据权利要求19所述的触屏设备,其特征在于,所述学习记录为包含状态参数的曲线。
  21. 根据权利要求19所述的触屏设备,其特征在于,所述获取单元,还用于,当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的 位移、所述第二操作的操作压力值、所述第二操作的的操作位置、所述第二操作的旋转方向和所述第二操作的旋转角度中的至少一种;
    所述触屏设备还包括:
    保存单元,用于将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;
    所述触屏设备还包括:
    生成单元,用于根据所述记录组,生成并保存所述学习记录。
  22. 根据权利要求21所述的触屏设备,其特征在于,所述获取单元,还用于,当检测到所述目标操作界面的第三操作时,获取所述第三操作的操作状态参数;
    所述保存单元,还用于,当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。
  23. 一种触屏设备,其特征在于,包括处理器、存储器、输入装置和输出装置,其中:
    所述输入装置为触摸屏、触摸面板中的一种,用于接收第一操作,所述输出装置为显示屏、显示面板中的一种,用于对待显示图形进行显示;
    所述存储器中存储有一组程序代码,所述处理器用于调用所述存储器中存储的程序代码执行以下操作:
    接收所述输入装置发送的所述第一操作;
    获取所述第一操作的起始状态参数;
    根据所述起始状态参数绘制所述待显示图形;
    根据所述待显示图形控制所述输出装置进行显示。
  24. 根据权利要求23所述的触屏设备,其特征在于,所述起始状态参数包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种。
  25. 根据权利要求24所述的触屏设备,其特征在于,当所述起始状态参数包含所述起始操作方向时,所述处理器获取所述第一操作的起始状态参数包括:
    获取所述第一操作的前N个触控点中每个触控点的坐标,所述N为正整数;
    根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。
  26. 根据权利要求23所述的触屏设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:
    获取所述第一操作的当前坐标;
    根据所述当前坐标和所述待显示图形确定目标显示图形并控制所述输出装置进行显示。
  27. 根据权利要求23所述的触屏设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:
    检测到所述第一操作结束时,获取所述第一操作的结束状态参数;
    根据所述结束状态参数确定最后一张所需显示图形。
  28. 根据权利要求27所述的触屏设备,其特征在于,所述结束状态参数包括结束速度、 结束压力、所述第一操作的位移、所述第一操作的时长中的至少一种。
  29. 根据权利要求23至28任一项所述的触屏设备,其特征在于,所述处理器根据所述起始状态参数绘制待显示图形包括:
    根据所述起始状态参数检索预测模型;
    根据所述预测模型绘制待显示图形。
  30. 根据权利要求23至28任一项所述的触屏设备,其特征在于,所述处理器根据所述起始状态参数绘制待显示图形包括:
    根据所述起始状态参数获取对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;
    根据所述学习记录绘制待显示图形。
  31. 根据权利要求30所述的触屏设备,其特征在于,所述学习记录为包含状态参数的曲线。
  32. 根据权利要求30所述的触屏设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:
    当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的位移、所述第二操作的操作压力值、所述第二操作的的操作位置、所述第二操作的旋转方向和所述第二操作的旋转角度中的至少一种;
    将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;
    根据所述记录组,生成并保存所述学习记录。
  33. 根据权利要求32所述的触屏设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:
    当检测到所述目标操作界面的第三操作时,获取所述第三操作的操作状态参数;
    当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。
PCT/CN2017/079175 2016-12-01 2017-03-31 一种触屏设备操作方法及触屏设备 WO2018098960A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780009052.7A CN108604142B (zh) 2016-12-01 2017-03-31 一种触屏设备操作方法及触屏设备

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611091679 2016-12-01
CN201611091679.5 2016-12-01

Publications (1)

Publication Number Publication Date
WO2018098960A1 true WO2018098960A1 (zh) 2018-06-07

Family

ID=62242299

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/079175 WO2018098960A1 (zh) 2016-12-01 2017-03-31 一种触屏设备操作方法及触屏设备

Country Status (2)

Country Link
CN (1) CN108604142B (zh)
WO (1) WO2018098960A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338489A (zh) * 2020-02-21 2020-06-26 维沃移动通信有限公司 参数调整方法、电子设备
CN112506413A (zh) * 2020-12-16 2021-03-16 Oppo广东移动通信有限公司 触控点预测方法、装置、终端设备及计算机可读存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117215426A (zh) * 2023-01-28 2023-12-12 荣耀终端有限公司 一种显示方法及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110254785A1 (en) * 2010-04-14 2011-10-20 Qisda Corporation System and method for enabling multiple-point actions based on single-point detection panel
CN102929433A (zh) * 2012-11-06 2013-02-13 山东大学 一种通过触点预测降低嵌入式设备上拖拽延迟的方法
CN105353906A (zh) * 2015-10-21 2016-02-24 业成光电(深圳)有限公司 轨迹预测***及轨迹预测方法
CN105518587A (zh) * 2014-05-30 2016-04-20 华为技术有限公司 终端设备显示方法和终端设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100122383A (ko) * 2009-05-12 2010-11-22 삼성전자주식회사 좌표 예측을 통한 이미지의 출력 속도 향상 방법 및 장치
CN103105957B (zh) * 2011-11-14 2016-10-05 联想(北京)有限公司 显示方法和电子设备
JP6015452B2 (ja) * 2013-01-07 2016-10-26 株式会社リコー 画像処理装置、方法およびプログラム
US20150355740A1 (en) * 2013-01-09 2015-12-10 Sharp Kabushiki Kaisha Touch panel system
MX2016003408A (es) * 2013-09-18 2016-06-30 Tactual Labs Co Sistemas y metodos para proporcionar respuesta a una entrada de usuario utilizando informacion sobre cambios de estado que predicen una entrada de usuario futura.

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110254785A1 (en) * 2010-04-14 2011-10-20 Qisda Corporation System and method for enabling multiple-point actions based on single-point detection panel
CN102929433A (zh) * 2012-11-06 2013-02-13 山东大学 一种通过触点预测降低嵌入式设备上拖拽延迟的方法
CN105518587A (zh) * 2014-05-30 2016-04-20 华为技术有限公司 终端设备显示方法和终端设备
CN105353906A (zh) * 2015-10-21 2016-02-24 业成光电(深圳)有限公司 轨迹预测***及轨迹预测方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338489A (zh) * 2020-02-21 2020-06-26 维沃移动通信有限公司 参数调整方法、电子设备
CN111338489B (zh) * 2020-02-21 2024-03-22 维沃移动通信有限公司 参数调整方法、电子设备
CN112506413A (zh) * 2020-12-16 2021-03-16 Oppo广东移动通信有限公司 触控点预测方法、装置、终端设备及计算机可读存储介质
CN112506413B (zh) * 2020-12-16 2022-06-07 Oppo广东移动通信有限公司 触控点预测方法、装置、终端设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN108604142B (zh) 2021-05-18
CN108604142A (zh) 2018-09-28

Similar Documents

Publication Publication Date Title
US9612675B2 (en) Emulating pressure sensitivity on multi-touch devices
US9372577B2 (en) Method and device to reduce swipe latency
US10684768B2 (en) Enhanced target selection for a touch-based input enabled user interface
US11429272B2 (en) Multi-factor probabilistic model for evaluating user input
US9632693B2 (en) Translation of touch input into local input based on a translation profile for an application
US20150186004A1 (en) Multimode gesture processing
US20120131513A1 (en) Gesture Recognition Training
WO2017202287A1 (zh) 一种页面滑动方法及装置
WO2010067194A1 (en) Method and apparatus for providing a predictive model for drawing using touch screen devices
US20150070283A1 (en) Techniques for providing a scrolling carousel
KR20160003683A (ko) 시각화된 데이터를 상호작용에 기초하여 자동으로 조작하는 기법
US20140215393A1 (en) Touch-based multiple selection
WO2018098960A1 (zh) 一种触屏设备操作方法及触屏设备
US10394442B2 (en) Adjustment of user interface elements based on user accuracy and content consumption
US10345932B2 (en) Disambiguation of indirect input
TW201913299A (zh) 終端設備的操作方法、裝置以及電子設備
WO2017092584A1 (zh) 一种用于操控操作对象的方法与设备
JP6212201B2 (ja) マルチフィンガータッチインタラクション中のパンおよびスケーリングの検出
CN109074189A (zh) 用于对输入感测、渲染及显示进行定时以便最小化时延的***和方法
JP6662861B2 (ja) ユーザアクションに応答して直接操作の有効化を決定するためのヒットテスト
CN114510308B (zh) 移动终端存储应用页面的方法、装置、设备和介质
CN114092556A (zh) 用于确定人体姿态的方法、装置、电子设备、介质
US20220004298A1 (en) Prediction control method, input system and computer readable recording medium
US20170262167A1 (en) Method and apparatus for brush input recognition and display for touchscreen devices
KR101485907B1 (ko) 확률모델에 기반한 데이터 프리로드 방법 및 장치

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: 17875186

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17875186

Country of ref document: EP

Kind code of ref document: A1