Movatterモバイル変換


[0]ホーム

URL:


CN108604142A - A kind of touch-screen equipment operating method and touch-screen equipment - Google Patents

A kind of touch-screen equipment operating method and touch-screen equipment
Download PDF

Info

Publication number
CN108604142A
CN108604142ACN201780009052.7ACN201780009052ACN108604142ACN 108604142 ACN108604142 ACN 108604142ACN 201780009052 ACN201780009052 ACN 201780009052ACN 108604142 ACN108604142 ACN 108604142A
Authority
CN
China
Prior art keywords
initial
state parameter
touch
touch screen
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.)
Granted
Application number
CN201780009052.7A
Other languages
Chinese (zh)
Other versions
CN108604142B (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 LtdfiledCriticalHuawei Technologies Co Ltd
Publication of CN108604142ApublicationCriticalpatent/CN108604142A/en
Application grantedgrantedCritical
Publication of CN108604142BpublicationCriticalpatent/CN108604142B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

A kind of touch-screen equipment operating method and touch-screen equipment, this method include:Detect the first operation (201) on object run interface;Obtain the initial state parameter (202) of first operation;Figure (203) to be shown is drawn according to initial state parameter;It is shown (204) according to figure to be shown.The touch-screen equipment operating method and touch-screen equipment can reduce the time delay of graphical display.

Description

A kind of touch-screen equipment operating method and touch-screen equipment
This application claims Patent Office of the People's Republic of China is submitted on December 01st, 2016, application No. is the priority of the Chinese patent application of 201611091679.5 entitled " a kind of the touch-screen equipment that improves with chiral method and apparatus ", entire contents are hereby incorporated by reference in the application.
Technical field
The present invention relates to touch-screen equipment technical fields, and in particular to a kind of touch-screen equipment operating method and touch-screen equipment.
Background technique
With the continuous development of electronic technology, the touch-screen equipments such as mobile phone, tablet computer have become essential electronic product in people's daily life.User can operate touch-screen equipment by modes such as sliding, dragging, clicks, when user is by sliding or drag operation touch-screen equipment, touch-screen equipment needs to detect the coordinate of slide or drag operation by touch screen, according to the coordinate calculating position detected, according to the location layout interface of calculating, graphics process, and the figure of display processing are carried out according to the interface after layout.The duration of this process is influenced by factors such as hardware time-consuming and system loads, so that the variation of touch-screen equipment interface figure always postpones the variation in finger, increases the time delay of graphical display.
Summary of the invention
The embodiment of the invention discloses a kind of touch-screen equipment operating method and touch-screen equipments, for reducing the time delay of graphical display.
First aspect discloses a kind of touch-screen equipment operating method, detects the first operation on object run interface;Obtain the initial state parameter of first operation;Figure to be shown is drawn according to the initial state parameter;It is shown according to the figure to be shown, due to the pre-rendered figure to be shown of manipulable initial state parameter, so as to reduce the time delay of graphical display.
In one embodiment, the initial state parameter may include at least one of startup operation direction, starting velocity, initial pressure value, initial position, starting displacement, starting direction of rotation, starting rotation speed and starting rotation angle, to draw figure to be shown according to these state parameters, it can be with pre-rendered figure to be shown, so as to reduce the time delay of graphical display.
In one embodiment, when the initial state parameter includes the startup operation direction, the coordinate of each touch point in the top n touch point of available first operation, the N is positive integer;The startup operation direction of first operation is calculated according to the coordinate of each touch point in the top n touch point.
In one embodiment, the changing coordinates of available first operation;It can determine that target shows figure and shows according to the changing coordinates and the figure to be shown.So as to improve the real-time of graphical display.
In one embodiment, at the end of detecting the first touch operation, the end state parameter of first operation is obtained;Figure is shown needed for determining last according to the end state parameter, so as to accurately determine at the end of the first operation, is off switching display figure, is also to continue with switching.
In one embodiment, the state parameter that terminates may include terminating speed, terminating at least one of pressure, the displacement of first operation, the duration of first operation.Terminating state parameter according to these can accurately determine at the end of the first operation, be off switching display figure, also be to continue with switching display figure.
It in one embodiment, can be according to the initial state parameter search prediction model;Figure to be shown is drawn according to the prediction model.
In one embodiment, can obtain corresponding learning records according to the initial state parameter, the learning records be generated according to the historical operation at the object run interface and storage;Figure to be shown is drawn according to the learning records.By pre-rendered figure to be shown, the time delay of graphical display can be reduced.
In one embodiment, the learning records can be the curve comprising state parameter.
In one embodiment, when detecting second operation at the object run interface, the mode of operation parameter of second operation is obtained, the mode of operation parameter of second operation includes at least one of the operation direction of second operation, the service speed of second operation, the displacement of second operation, the operating pressure value of second operation, the operating position of second operation, the direction of rotation of second operation and rotation angle of second operation;The mode of operation parameter and the object run interface saving that described second is operated are record group;According to the record group, generates and save the learning records.User can be stored in advance for the operation of each operation interface, so as to when user it is subsequent operated for some operation interface when, can be according to the pre-rendered figure to be shown of operation learning records of storage, so as to reduce the time delay of graphical display.
In one embodiment, when the third for detecting the object run interface operates, the mode of operation parameter of the available third operation;When the absolute difference between the mode of operation parameter of third operation and the mode of operation parameter of second operation is less than preset value, the mode of operation parameter and the object run interface saving that the third is operated are in the record group.It can be according to the record group of storage more accurately pre-rendered figure to be shown, so as to reduce the time delay of graphical display.Second aspect discloses a kind of touch-screen equipment, which includes the unit for executing touch-screen equipment operating method provided by any possible implementation of first aspect or first aspect.
The third aspect discloses a kind of touch-screen equipment, including processor, memory, input unit and output device, in which:
The input unit is one of touch screen, touch panel, and for receiving the first operation, the output device is one of display screen, touch screen, display panel, for showing figure;
Batch processing code is stored in the memory, the processor is for calling the program code stored in the memory to execute following operation:
Receive first operation that the input unit is sent;
Obtain the initial state parameter of first operation;
The figure to be shown is drawn according to the initial state parameter;
It is shown according to output device described in the Graph Control to be shown.
Fourth aspect discloses a kind of readable storage medium storing program for executing, which stores touch-screen equipment for executing the program code of touch-screen equipment operating method disclosed in any possible implementation of first aspect or first aspect.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram by graphical display when sliding or drag operation touch-screen equipment disclosed by the embodiments of the present invention;
Fig. 2 is a kind of flow diagram of touch-screen equipment operating method disclosed by the embodiments of the present invention;
Fig. 3 is a kind of method schematic diagram for determining figure to be shown disclosed by the embodiments of the present invention;
Fig. 4 is a kind of method schematic diagram for determining last required display figure disclosed by the embodiments of the present invention;
Fig. 5 is the flow diagram of another touch-screen equipment operating method disclosed by the embodiments of the present invention;
Fig. 6 is a kind of structural schematic diagram of touch-screen equipment disclosed by the embodiments of the present invention;
Fig. 7 is the structural schematic diagram of another touch-screen equipment disclosed by the embodiments of the present invention;
Fig. 8 is the structural schematic diagram of another touch-screen equipment disclosed by the embodiments of the present invention.
Specific embodiment
The embodiment of the invention discloses a kind of touch-screen equipment operating method and touch-screen equipments, for reducing the time delay of graphical display.
A kind of touch-screen equipment operating method and touch-screen equipment disclosed in embodiment for a better understanding of the present invention, is below first described the application scenarios that the embodiment of the present invention uses.Referring to Fig. 1, Fig. 1 is a kind of schematic diagram by graphical display when sliding or drag operation touch-screen equipment disclosed by the embodiments of the present invention.As shown in Figure 1, when user is by sliding or when drag operation touch-screen equipment, need to report by touch screen coordinate, system software according to coordinate calculating position, the location layout interface according to calculating, the interface graphing according to layout, the figure drawn by display screen display and etc. could finally be shown to user at the moment.Wherein, touch screen and display screen are the hardware in touch-screen equipment;It is realized according to coordinate calculating position, the location layout interface according to calculating and the interface graphing according to layout by the software on touch-screen equipment.Therefore, the time of display figure can be shortened by way of software optimization, that is, shorten the processing time according to coordinate calculating position, the location layout interface according to calculating and the interface graphing according to layout.Although, due to hardware and some necessary time-consumings, the movement at interface will always fall behind the movement of finger however, aforesaid way can shorten the process cycle of whole flow process, still it is not achieved and is preferably experienced with chirality.
Referring to Fig. 2, Fig. 2 is a kind of flow diagram of touch-screen equipment operating method disclosed by the embodiments of the present invention.Wherein, which is suitable for the touch-screen equipment that mobile phone, tablet computer etc. are provided with touch screen.As shown in Fig. 2, the touch-screen equipment operating method may comprise steps of.
201, the first operation on object run interface is detected.
In the present embodiment, object run interface can be the desktop of touch-screen equipment, the interface of application shown on touch-screen equipment etc., first operation can be the slide executed in the touch-screen equipment, drag operation etc., specifically, sliding to the right, to the left sliding, upward sliding and slide downward etc. be can be.
202, the initial state parameter of first operation is obtained.
In the present embodiment, the initial state parameter is parameter when starting to execute the described first operation, may include at least one of startup operation direction, starting velocity, initial pressure value, initial position, starting displacement, starting direction of rotation, starting rotation speed and starting rotation angle.It should be noted that the initial state parameter of first operation is not limited only to the example above, can also there are other modes, such as starting acceleration, starting rotary acceleration etc..
Such as, when the initial state parameter includes the startup operation direction, the initial state parameter for obtaining first operation includes: the coordinate of each touch point in the top n touch point for obtain first operation, the N is positive integer, specifically, 3 touch points are obtained as the acquisition of touch point N number of in Android mobile phone can be after the first operation executes 24ms;The startup operation direction of first operation is calculated according to the coordinate of each touch point in the top n touch point.Furthermore it is possible to the time that the N number of touch point touch-control detected is completed, and the described first starting velocity operated is calculated according to the time.Further, it is possible to use the pressure sensor on touch-screen equipment detects the initial pressure value of first operation, which can be the average value of the pressure value of the first operation top n touch point.Furthermore it is possible to true according to the coordinate of the top n touch pointSurely direction of rotation and/or starting rotation angle are originated.Starting rotation speed can also be determined according to the coordinate for the time and top n touch point that top n touch point touch-control is completed.Initial position can also be calculated according to the coordinate of each touch point in the top n touch point of first operation.Example is used only for explaining the embodiment of the present invention, should not constitute restriction, the state parameter when initial state parameter can also be comprising other the first operation startings.
203, figure to be shown is drawn according to the initial state parameter.
In the present embodiment, after the initial state parameter for obtaining first operation, figure to be shown to be shown is needed by subsequent possibility is drawn according to the initial state parameter of first operation, the sequence of drafting can be drawn according to the sequencing for the time that may be shown, so as to draw out first figure to be shown as early as possible, so as to shorten the display delayed of figure.
It, can be according to the initial state parameter search prediction model in the present embodiment;Figure to be shown is drawn according to the prediction model.Wherein, the prediction model is associated with object run interface, the prediction model, which can be, to be obtained in the following manner and saves: obtaining user previously at least one of the historical action of object run interface operation, behavior, habit, data etc., the feature in above-mentioned historical operation is analyzed and counted by machine learning, which can be executed by special prediction model generation module.
Such as, in the machine learning stage, it can analyze and count in the past slide to the left of Home desktop user, Lai Shengcheng prediction model, prediction model may include the figure to be shown that need to be drawn, and also may include the parameters such as display mode, switch speed, the display time of figure to be shown.After generating prediction model, when user is when the execution of Home desktop is slided to the left, when can execute the described first operation by prediction model prediction user, it is desirable to the figure to be shown of display, it is also predicted that going out the parameters such as the display speed of these figures to be shown, time.
Wherein, historical operation may be embodied in the operation of the time dimension on the object run interface, such as the slide to the left that the machine learning stage is interior for a period of time, also the operation that may be embodied in the Spatial Dimension on the object run interface, as the machine learning stage for a period of time in slide to the left in the operation interface in certain area coverage.
On the other hand, can increase over time for generating the historical operation of prediction model, so that the data volume for being used in generation prediction model increases, generally, more accurate prediction model can be generated in bigger data volume, and because statistical sample is more, accuracy is higher.When data volume is sufficiently large, the corresponding figure to be shown that need to be drawn of first operation can be gone out by the prediction model Accurate Prediction of generation.
Wherein it is possible to according to the initial state parameter search to more than one prediction model, and the corresponding figure to be shown that need to be drawn of whole prediction models is drawn, the sequence of whole corresponding graphic plottings to be shown of prediction model can also be ranked up.
In addition, example is used only for explaining the embodiment of the present invention, restriction should not be constituted.
In the present embodiment, corresponding learning records can be obtained according to the initial state parameter, the learning records be generated according to the historical operation at the object run interface and storage;Figure to be shown is drawn according to the learning records.Wherein, the learning records can be the curve comprising state parameter.
Such as, please refer to Fig. 3, Fig. 3 is a kind of method schematic diagram for determining figure to be shown disclosed by the embodiments of the present invention, as shown in Figure 3, wherein, 301 the first operation to be arrived in object run Interface detection, it can be the touch operation executed on the touchscreen, the initial state parameter can be the operation direction obtained according to top n touch point 3011, starting velocity, initial pressure value, initial position, starting displacement, originate direction of rotation, originate at least one of rotation speed and starting rotation angle, 302 be the learning records prestored, the learning records can be include touch-screen equipment terminal previously according to input operation is by learning process and analytic learning rule obtains, and it is stored in learning records library, it can be according to initial stateParameter retrieves learning records that are identical as the initial state parameter or being less than preset threshold with the initial state parameter phase absolute value of the difference in learning records library, specifically, three learning records for meeting initial state parameter 3021 are retrieved according to above-mentioned condition such as in learning records library.
Alternatively, it is also possible to by detection first operation initial touch track and learning records library in curvilinear path matching degree, when it is described match degree is greater than the preset threshold when, show the curve be the corresponding learning records of initial state parameter.The matching degree of curvilinear path in initial touch track and the learning records library can be calculated by the initial state parameter and be obtained.
After obtaining corresponding learning records, as shown in Figure 3, subsequent possibility will be drawn according to the learning records needs figure 303 to be shown to be shown, the corresponding graphic plotting to be shown of every learning records in obtain three learning records can be come out, and it saves in memory, the sequence of the drafting of all figures to be shown can be drawn according to the sequencing for the time that may be shown, so as to draw out first figure to be shown as early as possible, so as to shorten the display delayed of figure.In addition, example is used only for explaining the embodiment of the present invention, restriction should not be constituted.
In the present embodiment, every learning records can correspond to obtain one group of figure to be shown, every group of figure to be shown may include at least one figure to be shown, the figure to be shown that whole learning records obtain can be stored, and obtain corresponding figure to be shown according to the current coordinate of the first operation;On the other hand, every learning records can correspond to obtain a figure to be shown, each figure to be shown can be the figure comprising all interfaces to be shown, the correspondence display area in corresponding figure to be shown can be obtained according to the current coordinate of the first operation, and show the display area.
Wherein, the learning records can obtain in the following way: in the learning process of terminal for including touch-screen equipment, when detecting second operation at the object run interface, obtain the mode of operation parameter of second operation, the mode of operation parameter of second operation may include the operation direction of second operation, the service speed of second operation, the displacement of second operation, the operating pressure value of second operation, the operating position of second operation, at least one of the rotation angle of the direction of rotation of second operation and second operation;The mode of operation parameter and the object run interface saving that described second is operated are record group;According to the record group, generates and save the learning records.In addition, when the third for detecting the object run interface operates, the mode of operation parameter of the available third operation;When the absolute difference between the mode of operation parameter of third operation and the mode of operation parameter of second operation is less than preset value, the mode of operation parameter and the object run interface saving that the third is operated are in the record group.
For example, the mode of operation parameter of second operation can obtain in the following manner: the operation direction of second operation can be calculated according to the coordinate of each touch point in whole touch points by the coordinate of all touch points of acquisition second operation.Furthermore it is possible to detect the time that whole touch point touch-controls are completed or the time that second operation is completed, and the service speed of second operation is calculated according to the time.Further, it is possible to use the pressure sensor on touch-screen equipment detects the operating pressure value of second operation, which can be the average value of the pressure value of the touch point of the second operation whole.Furthermore it is possible to determine direction of rotation and/or the rotation angle of second operation according to the coordinate of whole touch points.The coordinate of the time and whole touch points that can also be completed according to whole touch point touch-controls determine rotation speed.The coordinate for the whole touch points that can be operated by described second calculates the operating position of second operation.Similarly, the mode of operation parameter acquisition modes of the third operation are identical as the acquisition modes of mode of operation parameter of second operation.In addition, example is used only for explaining the embodiment of the present invention, restriction should not be constituted, second operation/third operation state parameter can also include other second operations/third operation state parameter.
Wherein, when the absolute value of the difference between state parameter operated when two is less than preset value, the two operations can be stored as a record group, when the absolute value of the difference between the state parameter that two operate is greater than or equal to preset valueWhen, it needs as two record groups to store the two operations respectively.Such as, when the state parameter is operation direction, when the absolute value of the difference in the operation direction that two operate is less than 15 degree, the object run interface of the two operations and operation direction can be recorded in a record group, when the absolute value of the difference in the operation direction that two operate is greater than or equal to 15 degree, the object run interface of the two operations and operation direction can be separately recorded in two record groups.
When the terminal for including touch-screen equipment gets the operating parameter of enough touch-screen equipment operations in learning process, when getting enough state parameters in i.e. each record group, the terminal can be analyzed and be counted to the state parameter in each record group, and learning records are obtained.
204, it is shown according to the figure to be shown.
In the present embodiment, after drawing figure to be shown according to the initial state parameter, the changing coordinates of available first operation, and target display figure is determined according to the changing coordinates and the figure to be shown and is shown.Wherein, the changing coordinates refer to that described first operates touch location current on the touchscreen, can operate current touch location by real-time detection first to determine current figure to be shown, to improve the real-time of graphical display.
Wherein, it includes in the figure to be shown that the target, which shows that figure can be, it can also be not included in the figure to be shown, and it is to continue with drafting, operation in first operation after initial state can be the influence only considered to the figure to be shown, the display of figure to be shown is carried out, the influence of figure except the figure to be shown, needing draw can also can be continued by graphing when needing and shows.
Such as, in precedent, as shown in Figure 3, it include the corresponding figure 3031,3032 and 3033 of learning records 3022 in figure to be shown, when learning records 3022 are curve, the coordinate of point 30221,30222 and 30223 in learning records 3022 and the figure to be shown 3031,3032 and 3033 of drafting establish corresponding relationship, and according to the coordinate of corresponding points in changing coordinates and learning records, realize and choose graphical display from figure to be shown according to the touch point of the first operation in real time.For example, if the changing coordinates for detecting first operation obtain corresponding coordinate 30222 in corresponding learning records according to the changing coordinates 3012, and it is corresponding current figure 3032 to be shown is found in figure to be shown, and show figure 3032.The figure to be shown 3031 is drawn according to corresponding learning records 3022.In addition, example is used only for explaining the embodiment of the present invention, restriction should not be constituted.
In the present embodiment, at the end of detecting first operation, the end state parameter of available first operation;Figure is shown needed for determining last according to the end state parameter.Wherein, the state parameter that terminates includes terminating speed, terminating at least one of pressure value, the displacement of first operation, the duration of first operation.In addition, example is used only for explaining the embodiment of the present invention, restriction should not be constituted.
Wherein, the acquisition for terminating state parameter is similar with the acquisition process of the second mode of operation parameter, and this embodiment is not repeated.When showing that figure is the figure being currently displaying needed for last determining, show that the first operation has terminated the influence of the operation bring of touch-screen equipment;When to show figure needed for last determining not be the figure being currently displaying, show that the influence of the operation bring of touch-screen equipment is also not finished in the first operation, to continue to show show figure needed for last before have not yet been displayed and need figure to be shown to be shown, show that figure just terminates needed for being shown to last.
Such as, please refer to Fig. 4, Fig. 4 is a kind of method schematic diagram for determining last required display figure disclosed by the embodiments of the present invention, as shown in Figure 4, wherein, 401 be the first operation, first operation 401 originates in 4011, end at 4012, if detecting end state parameter when the first operation 401 ends at 4012, such as speed, when the speed is greater than pre-set velocity threshold value, figure 402 is shown needed for last being obtained according to the speed, last required display figure 402 can be the bottom of browser interface, if the figure 403 currently shown is not last described required display figureShape 402 then continues to show figure between currently display figure 403 and display figure 402 needed for last sequentially in time, figure 402 is shown needed for being shown to last, and keeps showing last required display figure 402.Similarly, it obtains and shows in the desktop for the terminal for having touch-screen equipment, types of applications and show that the mode of figure can also carry out in the above manner needed for last, example is used only for explaining the embodiment of the present invention, should not constitute restriction.
Wherein, it includes that can also be not included in the figure to be shown, be drawn in figure to be shown that last described required display figure 402, which can be,.If last described required display figure 402 is not included in the figure to be shown, during display, the figure of required display being not included in the figure to be shown can be drawn and be shown.
In the touch-screen equipment operating method described in Fig. 2, the first operation on object run interface is detected;Obtain the initial state parameter of first operation;Figure to be shown is drawn according to the initial state parameter;It is shown according to the figure to be shown.Due to the pre-rendered figure to be shown of initial state parameter that can be operated with first, so as to reduce the time delay of graphical display.
Referring to Fig. 5, Fig. 5 is the flow diagram of another touch-screen equipment operating method disclosed by the embodiments of the present invention.Wherein, which is suitable for the touch-screen equipment that mobile phone, tablet computer etc. are provided with touch screen.As shown in figure 5, the touch-screen equipment operating method may comprise steps of.
501, when detecting the first touch operation, the coordinate of each touch point in the top n touch point of the first touch operation is obtained, to determine origin coordinates.
In the present embodiment, first touch operation is one kind of first operation, when detecting the first touch operation by touch screen, it will acquire the coordinate of each touch point in the top n touch point of the first touch operation, i.e., the coordinate of each touch point, can determine origin coordinates according to the coordinate of each touch point in acquisition top n touch point, wherein, N can be the integer more than or equal to 3, and the first touch operation can be slide, or drag operation.
502, according to origin coordinates, the first direction of the first touch operation is calculated.
In the present embodiment, the first direction is a kind of initial state parameter, after getting the origin coordinates of top n touch point of the first touch operation, the first direction of the first touch operation will be calculated according to origin coordinates, it can be the curve first determined where this N number of touch point, the curve near tangent direction is determined again, this tangential direction is determined as to the first direction of the first touch operation.
503, from the curve of storage, curve corresponding with the operation interface of first direction and the first touch operation is obtained.
In the present embodiment, the corresponding curve of the operation interface is determined for figure to be shown, the curve of the storage can obtain in the following manner: when detecting the second touch operation, obtain the third coordinate of all touch points of the second touch operation, the second direction of the second touch operation is calculated according to third coordinate, the operation interface of curve and the second touch operation where storing second direction, third coordinate, the corresponding relationship between second direction, third coordinate place curve and the operation interface of the second touch operation is stored, is called so as to subsequent.Furthermore, the parameter of the second touch operation can also be calculated according to third coordinate, the parameter of the second touch operation is calculated according to the touch-control time of third coordinate and all touch points of the second touch operation, the parameter may include second speed and/or second displacement, the i.e. displacement of the speed of the second touch operation and/or the second touch operation.In addition, the parameter can also be stored together other than curve where storage second direction, third coordinate and the operation interface of the second touch operation.Further, it is also possible to the figure shown during storing the second touch operation.When detecting third touch operation, the 4-coordinate of all touch points of third touch operation is obtained, third touching is calculated according to 4-coordinateTouch the third direction of operation, when the absolute value of the difference between third direction and second direction is less than preset value, curve where determining third coordinate is curve where 4-coordinate, when the absolute value of the difference between third direction and second direction is greater than or equal to preset value, determine that curve where third coordinate is not curve where 4-coordinate, third direction will be stored, the operation interface of curve and third touch operation where 4-coordinate, i.e. when the absolute value of the difference between the direction of two touch operations is less than preset value, it can be stored the two touch operations as a touch operation, when the absolute value of the difference between the direction of two touch operations is greater than or equal to preset value, it needs to store the two touch operations as two touch operations respectively, for subsequent calls.
In the present embodiment, it is calculated according to origin coordinates after the first direction of the first touch operation, it can be from the curve of storage, obtain curve corresponding with the operation interface of first direction and the first touch operation, i.e. from the corresponding relationship of the direction of storage, curve and operation interface, curve corresponding with the operation interface of first direction and the first touch operation is obtained, the absolute value of the difference in the direction in first direction and the corresponding relationship is less than preset value.
504, according to Drawing of Curve figure to be shown.
In the present embodiment, after getting curve corresponding with the operation interface of first direction and the first touch operation in the curve of storage, figure to be shown to be shown will be needed according to the subsequent possibility of the Drawing of Curve, the sequence of drafting can be drawn according to the sequencing for the time that may be shown, so as to draw out first figure to be shown as early as possible, so as to shorten the display delayed of figure.
In the present embodiment, the first touch-control time of this available top n touch point, the first direction and First Speed of the first touch operation are calculated according to origin coordinates and the first touch-control time, figure to be shown is drawn according to the curve and First Speed, so as to reduce drafting figure to be shown quantity, figure without drawing all possible displays can draw figure to be shown according to the more acurrate degree of First Speed.
505, figure to be shown is shown.
In the present embodiment, after obtaining figure to be shown according to the Drawing of Curve, figure to be shown can be shown according to display order, can be and successively show whole figures to be shown according to display order, is also possible to according to display order display portion figure to be shown.Wherein, second coordinate of the touch point in the touch point of available first touch operation in addition to this top n touch point, and it selection target figure and is shown from figure to be shown according to the second coordinate, targeted graphical is currently to need figure to be shown, so as to adjust the figure of display in real time according to the touch point of touch operation.
In one embodiment, at the end of detecting the first touch operation, figure is shown needed for determining last in figure to be shown according to First Speed, when showing that figure is the figure being currently displaying needed for last determining, show that the first touch operation has terminated the influence of the operation bring of touch-screen equipment;When to show figure needed for last determining not be the figure being currently displaying, show that the influence of the operation bring of touch-screen equipment is also not finished in the first touch operation, to continue to show show figure needed for last before have not yet been displayed and need figure to be shown to be shown, show that figure just terminates needed for being shown to last.
In one embodiment, at the end of detecting the first touch operation, first displacement of available first touch operation, figure is shown needed for determining last in figure to be shown according to the first displacement, when showing that figure is the figure being currently displaying needed for last determining, show that the first touch operation has terminated the influence of the operation bring of touch-screen equipment;When to show figure needed for last determining not be the figure being currently displaying, show that the influence of the operation bring of touch-screen equipment is also not finished in the first touch operation, to continue to show show figure needed for last before have not yet been displayed and need figure to be shown to be shown, show that figure just terminates needed for being shown to last.
In the present embodiment, example is used only for explaining the embodiment of the present invention, should not constitute restriction.
In the touch-screen equipment operating method described in Fig. 5, when detecting the first touch operation, obtain the origin coordinates of the top n touch point of the first touch operation, according to origin coordinates, the first direction for calculating the first touch operation obtains curve corresponding with the operation interface of first direction and the first touch operation from the curve of storage, according to Drawing of Curve figure to be shown, figure to be shown is shown.Wherein, the first touch operation can be slide or drag operation, and N is the integer more than or equal to 3.Due to can be according to several touch points before slide or drag operation and the pre-rendered figure to be shown of the curve of storage, so as to reduce the time delay of graphical display.
Referring to Fig. 6, Fig. 6 is a kind of structural schematic diagram of touch-screen equipment disclosed by the embodiments of the present invention.Wherein, the equipment which can be provided with touch screen for mobile phone, tablet computer etc..As shown in fig. 6, the touch-screen equipment may include:
Detection unit 601, for detecting the first operation on object run interface;
Acquiring unit 602, for obtaining the initial state parameter of first operation;
Drawing unit 603, for drawing figure to be shown according to the initial state parameter;
Display unit 604, for being shown according to the figure to be shown.
In the touch-screen equipment described in Fig. 6, the first operation on object run interface is detected;Obtain the initial state parameter of first operation;Figure to be shown is drawn according to the initial state parameter;It is shown according to the figure to be shown.Due to the pre-rendered figure to be shown of initial state parameter that can be operated with first, so as to reduce the time delay of graphical display.
Referring to Fig. 7, Fig. 7 is the structural schematic diagram of another touch-screen equipment disclosed by the embodiments of the present invention.Wherein, the equipment which can be provided with touch screen for mobile phone, tablet computer etc..Wherein, touch-screen equipment shown in Fig. 7 is that touch-screen equipment as shown in Figure 3 optimizes, in which:
The initial state parameter may include at least one of startup operation direction, starting velocity, initial pressure value, initial position, starting displacement, starting direction of rotation, starting rotation speed and starting rotation angle.
As a kind of possible embodiment, when the initial state parameter includes the startup operation direction, acquisition institute unit 601 is specifically used for, and obtains the coordinate of each touch point in the top n touch point of first operation, and the N is positive integer;The startup operation direction of first operation is calculated according to the coordinate of each touch point in the top n touch point.
As a kind of possible embodiment, the acquiring unit 602 is also used to obtain the changing coordinates of first operation;
The display unit 604, is specifically used for, and determines target display figure according to the changing coordinates and the figure to be shown and shows.
As a kind of possible embodiment, the acquiring unit 602 is also used to obtain the end state parameter of first operation at the end of detecting first operation;
The touch-screen equipment further include:
Determination unit 605, for showing figure needed for determining last according to the end state parameter.
As a kind of possible embodiment, the state parameter that terminates includes terminating speed, terminating at least one of pressure, the displacement of first operation, the duration of first operation.
As a kind of possible embodiment, the drawing unit 603, is specifically used for, according to the initial state parameter search prediction model;Figure to be shown is drawn according to the prediction model.
As a kind of possible embodiment, the drawing unit 603, is specifically used for, and is obtained according to the initial state parameterCorresponding learning records, the learning records be generated according to the historical operation at the object run interface and storage;Figure to be shown is drawn according to the learning records.
As a kind of possible embodiment, the learning records are the curve comprising state parameter.
As a kind of possible embodiment, the acquiring unit 602, it is also used to, when detecting second operation at the object run interface, the mode of operation parameter of second operation is obtained, the mode of operation parameter of second operation includes at least one of the operation direction of second operation, the service speed of second operation, the displacement of second operation, the operating pressure value of second operation, the operating position of second operation, the direction of rotation of second operation and rotation angle of second operation;
The touch-screen equipment can also include:
Storage unit 606, mode of operation parameter and the object run interface saving for operating described second are record group;
The touch-screen equipment can also include:
Generation unit 607, for generating and saving the learning records according to the record group.
As a kind of possible embodiment, the acquiring unit 602, is also used to, and when the third for detecting the object run interface operates, obtains the mode of operation parameter of the third operation;
The storage unit 606, it is also used to, when the absolute difference between the mode of operation parameter of third operation and the mode of operation parameter of second operation is less than preset value, the mode of operation parameter and the object run interface saving that the third is operated are in the record group.
In the touch-screen equipment described in Fig. 7, the first operation on object run interface is detected;Obtain the initial state parameter of first operation;Figure to be shown is drawn according to the initial state parameter;It is shown according to the figure to be shown.Due to the pre-rendered figure to be shown of initial state parameter that can be operated with first, so as to reduce the time delay of graphical display.
Referring to Fig. 8, Fig. 8 is the structural schematic diagram of another touch-screen equipment disclosed by the embodiments of the present invention.Wherein, the equipment which can be provided with touch screen for mobile phone, tablet computer etc..As shown in figure 8, the touch-screen equipment may include processor 801, memory 802, input unit 803, output device 804 and bus 805.Processor 801 can be a general central processor (CPU), multiple CPU, microprocessor, application-specific integrated circuit (application-specific integrated circuit, ASIC), or it is one or more for controlling the integrated circuit of the present invention program program execution.Memory 502 can be read-only memory (read-only memory, ROM) or the other kinds of static storage device of static information and instruction can be stored, random access memory (random access memory, RAM) or the other kinds of dynamic memory of information and instruction can be stored, it is also possible to Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, ) or other optical disc storages CD-ROM, optical disc storage (including compression optical disc, laser Dish, optical disc, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store the desired program code with instruction or data structure form and can by any other medium of computer access, but not limited to this.Memory 802, which can be, to be individually present, and bus 805 is connected with processor 801.Memory 802 can also be integrated with processor 801.Bus 805 may include an access, and information is transmitted between said modules.Wherein: the output device 804 can be integrated with the input unit 803, is touch screen, the output device 804 and the input unit 803 can also be respectively touch panel and display.The input unit 803 is for receiving the first operation, and the output device 804 is for showing figure to be shown;
Batch processing code is stored in the memory 802, the processor 801 is for calling the program code stored in the memory 802 to execute following operation:
Receive first operation that the input unit 803 is sent;
Obtain the initial state parameter of first operation;
Figure to be shown is drawn according to the initial state parameter;
It is shown according to output device 804 described in the Graph Control to be shown.
As a kind of possible embodiment, the initial state parameter includes at least one of startup operation direction, starting velocity, initial pressure value, initial position, starting displacement, starting direction of rotation, starting rotation speed and starting rotation angle.
As a kind of possible embodiment, when the initial state parameter includes the startup operation direction, the initial state parameter that the processor 801 obtains first operation includes:
The coordinate of each touch point in the top n touch point of first operation is obtained, the N is positive integer;
The startup operation direction of first operation is calculated according to the coordinate of each touch point in the top n touch point.
As a kind of possible embodiment, the processor 801 is also used to that the program code stored in the memory 802 is called to execute following operation:
Obtain the changing coordinates of first operation;
It determines that target shows figure and controls the output device 804 according to the changing coordinates and the figure to be shown to show.
As a kind of possible embodiment, the processor 801 is also used to that the program code stored in the memory 802 is called to execute following operation:
At the end of detecting first operation, the end state parameter of first operation is obtained;
Figure is shown needed for determining last according to the end state parameter.
As a kind of possible embodiment, the state parameter that terminates includes terminating speed, terminating at least one of pressure, the displacement of first operation, the duration of first operation.
As a kind of possible embodiment, the processor 801 includes: according to initial state parameter drafting figure to be shown
According to the initial state parameter search prediction model;
Figure to be shown is drawn according to the prediction model.
As a kind of possible embodiment, the processor 801 includes: according to initial state parameter drafting figure to be shown
Obtain corresponding learning records according to the initial state parameter, the learning records be generated according to the historical operation at the object run interface and storage;
Figure to be shown is drawn according to the learning records.
As a kind of possible embodiment, the learning records are the curve comprising state parameter.
As a kind of possible embodiment, the processor 801 is also used to that the program code stored in the memory 802 is called to execute following operation:
When detecting second operation at the object run interface, the mode of operation parameter of second operation is obtained, the mode of operation parameter of second operation includes the operation direction of second operation, the service speed of second operation, the displacement of second operation, the operating pressure value of second operation, the operating position of second operation, second behaviourAt least one of the rotation angle of the direction of rotation of work and second operation;
The mode of operation parameter and the object run interface saving that described second is operated are record group;
According to the record group, generates and save the learning records.
As a kind of possible embodiment, the processor 801 is also used to that the program code stored in the memory 802 is called to execute following operation:
When the third for detecting the object run interface operates, the mode of operation parameter of the third operation is obtained;
When the absolute difference between the mode of operation parameter of third operation and the mode of operation parameter of second operation is less than preset value, the mode of operation parameter and the object run interface saving that the third is operated are in the record group.
In the touch-screen equipment described in Fig. 8, the first operation on object run interface is detected;Obtain the initial state parameter of first operation;Figure to be shown is drawn according to the initial state parameter;It is shown according to the figure to be shown.Due to the pre-rendered figure to be shown of initial state parameter that can be operated with first, so as to reduce the time delay of graphical display.
The embodiment of the invention also discloses a kind of readable storage medium storing program for executing, which stores touch-screen equipment for executing the program code of touch-screen equipment operating method shown in Fig. 2.
In the above-described embodiments, it all or part of can be realized by software, hardware, firmware or any combination thereof.When being realized using software program, can entirely or partly realize in the form of a computer program product.The computer program product includes one or more computer instructions.When loading on computers and executing the computer program instructions, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or it is transmitted from a computer readable storage medium to another computer readable storage medium, for example, the computer instruction can be transmitted from a web-site, computer, server or data center by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or data center.The computer readable storage medium can be any usable medium that computer can access or include the data storage devices such as one or more usable mediums integrated server, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, it is that relevant hardware can be instructed to complete by computer program, the program can be stored in computer-readable storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..

Claims (33)

Translated fromChinese
一种触屏设备操作方法,其特征在于,包括:A method for operating a touch screen device, characterized in that it comprises:检测目标操作界面上的第一操作;detecting the first operation on the target operation interface;获取所述第一操作的起始状态参数;Acquiring an initial state parameter of the first operation;根据所述起始状态参数绘制待显示图形;Drawing graphics to be displayed according to the initial state parameters;根据所述待显示图形进行显示。Display according to the graphics to be displayed.根据权利要求1所述的方法,其特征在于,所述起始状态参数包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种。The method according to claim 1, wherein the initial state parameters include initial operating direction, initial speed, initial pressure value, initial position, initial displacement, initial rotation direction, initial rotation At least one of velocity and starting rotation angle.根据权利要求2所述的方法,其特征在于,当所述起始状态参数包含所述起始操作方向时,所述获取所述第一操作的起始状态参数包括: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为正整数;Obtain the coordinates of each touch point in the first N touch points of the first operation, where N is a positive integer;根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。The initial operation direction of the first operation is calculated according to the coordinates of each touch point in the first N touch points.根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:获取所述第一操作的当前坐标;obtaining the current coordinates of the first operation;所述根据所述待显示图形进行显示包括:The displaying according to the graphics to be displayed includes:根据所述当前坐标和所述待显示图形确定目标显示图形并显示。Determine and display a target display graphic according to the current coordinates and the graphic to be displayed.根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:当检测到所述第一操作结束时,获取所述第一操作的结束状态参数;When it is detected that the first operation ends, acquiring an end state parameter of the first operation;根据所述结束状态参数确定最后一张所需显示图形。Determine the last required display graphic according to the end state parameter.根据权利要求5所述的方法,其特征在于,所述结束状态参数包括结束速度、结束压力、所述第一操作的位移、所述第一操作的时长中的至少一种。The method according to claim 5, wherein the end state parameter includes at least one of end speed, end pressure, displacement of the first operation, and duration of the first operation.根据权利要求1至6任一项所述的方法,其特征在于,所述根据所述起始状态参数绘制待显示图形包括:The method according to any one of claims 1 to 6, wherein said drawing graphics to be displayed according to said initial state parameters comprises:根据所述起始状态参数检索预测模型;Retrieving a predictive model according to the initial state parameters;根据所述预测模型绘制待显示图形。Draw the graphics to be displayed according to the prediction model.根据权利要求1至6任一项所述的方法,其特征在于,所述根据所述起始状态参数绘制待显示图形包括:The method according to any one of claims 1 to 6, wherein said drawing graphics to be displayed according to said initial state parameters comprises:根据所述起始状态参数获取对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;Obtaining a corresponding learning record according to the initial state parameter, the learning record is generated and stored according to historical operations of the target operation interface;根据所述学习记录绘制待显示图形。Draw graphics to be displayed according to the learning records.根据权利要求8所述的方法,其特征在于,所述学习记录为包含状态参数的曲线。The method according to claim 8, wherein the learning record is a curve containing state parameters.根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, characterized in that the method further comprises:当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的位移、所述第二操作的操作压力值、所述第二操作的的操作位置、所述第二操作的旋转方向和所述第二操作的旋转角度中的至少一种;When a second operation on 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 an operation direction of the second operation, an operation direction of the second operation, The operating speed, the displacement of the second operation, the operating pressure value of the second operation, the operating position of the second operation, the rotation direction of the second operation, and the rotation angle of the second operation at least one;将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;saving the operation state parameters of the second operation and the target operation interface as a record group;根据所述记录组生成并保存所述学习记录。The learning record is generated and saved according to the record set.根据权利要求10所述的方法,其特征在于,所述方法还包括:The method according to claim 10, characterized in that the method further comprises:当检测到所述目标操作界面的第三操作时,获取所述第三操作的操作状态参数;When a third operation on the target operation interface is detected, acquiring an operation state parameter of the third operation;当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。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, saving the operating state parameter of the third operation and the target operation interface in the record group.一种触屏设备,其特征在于,包括:A touch screen device, characterized in that it comprises:检测单元,用于检测目标操作界面上的第一操作;a detection unit, configured to detect a first operation on the target operation interface;获取单元,用于获取所述第一操作的起始状态参数;an acquisition unit, configured to acquire the initial state parameter of the first operation;绘制单元,用于根据所述起始状态参数绘制待显示图形;a drawing unit, configured to draw graphics to be displayed according to the initial state parameters;显示单元,用于根据所述待显示图形进行显示。A display unit, configured to display according to the graphics to be displayed.根据权利要求12所述的触屏设备,其特征在于,所述起始状态参数包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种。The touch screen device according to claim 12, wherein the initial state parameters include initial operating direction, initial velocity, initial pressure value, initial position, initial displacement, initial rotation direction, initial At least one of the initial rotation speed and the initial rotation angle.根据权利要求13所述的触屏设备,其特征在于,当所述起始状态参数包含所述起始操作方向时,所述获取所单元,具体用于,获取所述第一操作的前N个触控点中每个触控点的坐标,所述N为正整数;根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。The touch screen device according to claim 13, wherein when the initial state parameter includes the initial operation direction, the acquisition unit is specifically configured to acquire the first N of the first operation The coordinates of each touch point in the first N touch points, where N is a positive integer; the initial operation direction of the first operation is calculated according to the coordinates of each touch point in the first N touch points.根据权利要求13所述的触屏设备,其特征在于,所述获取单元,还用于获取所述第一操作的当前坐标;The touch screen device according to claim 13, wherein the acquiring unit is further configured to acquire the current coordinates of the first operation;所述显示单元,具体用于,根据所述当前坐标和所述待显示图形确定目标显示图形并显示。The display unit is specifically configured to determine and display a target display graphic according to the current coordinates and the graphic to be displayed.根据权利要求12所述的触屏设备,其特征在于,所述获取单元,还用于当检测到所述第一操作结束时,获取所述第一操作的结束状态参数;The touch screen device according to claim 12, wherein the acquiring unit is further configured to acquire an end state parameter of the first operation when it is detected that the first operation ends;所述触屏设备还包括:The touch screen device also includes:确定单元,用于根据所述结束状态参数确定最后一张所需显示图形。A determining unit, configured to determine the last required display graphic according to the end state parameter.根据权利要求16所述的触屏设备,其特征在于,所述结束状态参数包括结束速度、结束压力、所述第一操作的位移、所述第一操作的时长中的至少一种。The touch screen device according to claim 16, wherein the end state parameter includes at least one of end speed, end pressure, displacement of the first operation, and duration of the first operation.根据权利要求12至17任一项所述的触屏设备,其特征在于,所述绘制单元具体用于,根据所述起始状态参数检索预测模型;根据所述预测模型绘制待显示图形。The touch screen device according to any one of claims 12 to 17, wherein the drawing unit is specifically configured to retrieve a prediction model according to the initial state parameters; and draw graphics to be displayed according to the prediction model.根据权利要求12至17任一项所述的触屏设备,其特征在于,所述绘制单元,具体用于,根据所述起始状态参数获取对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;根据所述学习记录绘制待显示图形。The touch screen device according to any one of claims 12 to 17, wherein the drawing unit is specifically configured to obtain a corresponding learning record according to the initial state parameter, and the learning record is based on the The historical operation of the target operation interface is generated and stored; the graphics to be displayed are drawn according to the learning records.根据权利要求19所述的触屏设备,其特征在于,所述学习记录为包含状态参数的曲线。The touch screen device according to claim 19, wherein the learning record is a curve containing state parameters.根据权利要求19所述的触屏设备,其特征在于,所述获取单元,还用于,当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的位移、所述第二操作的操作压力值、所述第二操作的的操作位置、所述第二操作的旋转方向和所述第二操作的旋转角度中的至少一种;The touch screen device according to claim 19, wherein the acquisition unit is further configured to, when a second operation on the target operation interface is detected, acquire an operation state parameter of the second operation, the The operation state parameters of the second operation include the operation direction of the second operation, the operation speed of the second operation, theat least one of a displacement, an operating pressure value of the second operation, an operating position of the second operation, a rotation direction of the second operation, and a rotation angle of the second operation;所述触屏设备还包括:The touch screen device also includes:保存单元,用于将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;a saving unit, configured to save the operation state parameters 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.根据权利要求21所述的触屏设备,其特征在于,所述获取单元,还用于,当检测到所述目标操作界面的第三操作时,获取所述第三操作的操作状态参数;The touch screen device according to claim 21, wherein the acquisition unit is further configured to, when a third operation on the target operation interface is detected, acquire an operation state parameter of the third operation;所述保存单元,还用于,当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。The saving unit 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, set the operating state parameter of the third operation to State parameters and the target operation interface are stored in the record group.一种触屏设备,其特征在于,包括处理器、存储器、输入装置和输出装置,其中:A touch screen device is characterized in that it includes 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 for receiving the first operation, and the output device is one of a display screen and a display panel for displaying graphics to be displayed;所述存储器中存储有一组程序代码,所述处理器用于调用所述存储器中存储的程序代码执行以下操作:A set of program codes is stored in the memory, and the processor is used to call the program codes stored in the memory to perform the following operations:接收所述输入装置发送的所述第一操作;receiving the first operation sent by the input device;获取所述第一操作的起始状态参数;Acquiring an initial state parameter of the first operation;根据所述起始状态参数绘制所述待显示图形;drawing the graphics to be displayed according to the initial state parameters;根据所述待显示图形控制所述输出装置进行显示。The output device is controlled to display according to the graphics to be displayed.根据权利要求23所述的触屏设备,其特征在于,所述起始状态参数包含起始操作方向、起始速度、起始压力值、起始位置、起始位移、起始旋转方向、起始旋转速度和起始旋转角度中的至少一种。The touch screen device according to claim 23, wherein the initial state parameters include initial operating 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.根据权利要求24所述的触屏设备,其特征在于,当所述起始状态参数包含所述起始操作方向时,所述处理器获取所述第一操作的起始状态参数包括:The touch screen device according to claim 24, wherein when the initial state parameter includes the initial operation direction, obtaining the initial state parameter of the first operation by the processor comprises:获取所述第一操作的前N个触控点中每个触控点的坐标,所述N为正整数;Obtain the coordinates of each touch point in the first N touch points of the first operation, where N is a positive integer;根据所述前N个触控点中每个触控点的坐标计算所述第一操作的起始操作方向。The initial operation direction of the first operation is calculated according to the coordinates of each touch point in the first N touch points.根据权利要求23所述的触屏设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:The touch screen device according to claim 23, wherein the processor is further configured to call the program code stored in the memory to perform the following operations:获取所述第一操作的当前坐标;obtaining the current coordinates of the first operation;根据所述当前坐标和所述待显示图形确定目标显示图形并控制所述输出装置进行显示。Determining target display graphics according to the current coordinates and the graphics to be displayed and controlling the output device to display.根据权利要求23所述的触屏设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:The touch screen device according to claim 23, wherein the processor is further configured to call the program code stored in the memory to perform the following operations:检测到所述第一操作结束时,获取所述第一操作的结束状态参数;When the end of the first operation is detected, acquiring an end state parameter of the first operation;根据所述结束状态参数确定最后一张所需显示图形。Determine the last required display graphic according to the end state parameter.根据权利要求27所述的触屏设备,其特征在于,所述结束状态参数包括结束速度、结束压力、所述第一操作的位移、所述第一操作的时长中的至少一种。The touch screen device according to claim 27, wherein the end state parameters include end speed,At least one of end pressure, displacement of the first operation, and duration of the first operation.根据权利要求23至28任一项所述的触屏设备,其特征在于,所述处理器根据所述起始状态参数绘制待显示图形包括:The touch screen device according to any one of claims 23 to 28, wherein said processor drawing graphics to be displayed according to said initial state parameters comprises:根据所述起始状态参数检索预测模型;Retrieving a predictive model according to the initial state parameters;根据所述预测模型绘制待显示图形。Draw the graphics to be displayed according to the prediction model.根据权利要求23至28任一项所述的触屏设备,其特征在于,所述处理器根据所述起始状态参数绘制待显示图形包括:The touch screen device according to any one of claims 23 to 28, wherein said processor drawing graphics to be displayed according to said initial state parameters includes:根据所述起始状态参数获取对应的学习记录,所述学习记录为根据所述目标操作界面的历史操作生成的并存储的;Obtaining a corresponding learning record according to the initial state parameter, the learning record is generated and stored according to historical operations of the target operation interface;根据所述学习记录绘制待显示图形。Draw graphics to be displayed according to the learning records.根据权利要求30所述的触屏设备,其特征在于,所述学习记录为包含状态参数的曲线。The touch screen device according to claim 30, wherein the learning record is a curve containing state parameters.根据权利要求30所述的触屏设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:The touch screen device according to claim 30, wherein the processor is further configured to call the program code stored in the memory to perform the following operations:当检测到所述目标操作界面的第二操作时,获取所述第二操作的操作状态参数,所述第二操作的操作状态参数包括所述第二操作的操作方向、所述第二操作的操作速度、所述第二操作的位移、所述第二操作的操作压力值、所述第二操作的的操作位置、所述第二操作的旋转方向和所述第二操作的旋转角度中的至少一种;When a second operation on 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 an operation direction of the second operation, an operation direction of the second operation, The operating speed, the displacement of the second operation, the operating pressure value of the second operation, the operating position of the second operation, the rotation direction of the second operation, and the rotation angle of the second operation at least one;将所述第二操作的操作状态参数和所述目标操作界面保存为记录组;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.根据权利要求32所述的触屏设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码执行以下操作:The touch screen device according to claim 32, wherein the processor is further configured to call the program code stored in the memory to perform the following operations:当检测到所述目标操作界面的第三操作时,获取所述第三操作的操作状态参数;When a third operation on the target operation interface is detected, acquiring an operation state parameter of the third operation;当所述第三操作的操作状态参数和所述第二操作的操作状态参数之间的差值绝对值小于预设值时,将所述第三操作的操作状态参数和所述目标操作界面保存在所述记录组中。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, saving the operating state parameter of the third operation and the target operation interface in the record group.
CN201780009052.7A2016-12-012017-03-31Touch screen device operation method and touch screen deviceActiveCN108604142B (en)

Applications Claiming Priority (3)

Application NumberPriority DateFiling DateTitle
CN2016110916792016-12-01
CN20161109167952016-12-01
PCT/CN2017/079175WO2018098960A1 (en)2016-12-012017-03-31Method for operating touchscreen device, and touchscreen device

Publications (2)

Publication NumberPublication Date
CN108604142Atrue CN108604142A (en)2018-09-28
CN108604142B CN108604142B (en)2021-05-18

Family

ID=62242299

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201780009052.7AActiveCN108604142B (en)2016-12-012017-03-31Touch screen device operation method and touch screen device

Country Status (2)

CountryLink
CN (1)CN108604142B (en)
WO (1)WO2018098960A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116069187A (en)*2023-01-282023-05-05荣耀终端有限公司Display method and electronic equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111338489B (en)*2020-02-212024-03-22维沃移动通信有限公司Parameter adjustment method and electronic equipment
CN112506413B (en)*2020-12-162022-06-07Oppo广东移动通信有限公司Touch point prediction method and device, terminal equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20100289826A1 (en)*2009-05-122010-11-18Samsung Electronics Co., Ltd.Method and apparatus for display speed improvement of image
CN103105957A (en)*2011-11-142013-05-15联想(北京)有限公司Display method and electronic equipment
US20140192058A1 (en)*2013-01-072014-07-10Yu KODAMAImage processing apparatus, image processing method, and recording medium storing an image processing program
WO2014109262A1 (en)*2013-01-092014-07-17シャープ株式会社Touch panel system
CN105518587A (en)*2014-05-302016-04-20华为技术有限公司Terminal device display method and terminal device
CN105556438A (en)*2013-09-182016-05-04触觉实验室股份有限公司Systems and methods for providing response to user input using information about state changes predicting future user input

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
TW201135550A (en)*2010-04-142011-10-16Qisda CorpSystem and method for enabling multiple-point actions based on single-point touch panel
CN102929433A (en)*2012-11-062013-02-13山东大学Method for reducing dragging delay on embedded device through contact prediction
CN105353906B (en)*2015-10-212018-08-28业成光电(深圳)有限公司Trajectory predictions system and trajectory predictions method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20100289826A1 (en)*2009-05-122010-11-18Samsung Electronics Co., Ltd.Method and apparatus for display speed improvement of image
CN103105957A (en)*2011-11-142013-05-15联想(北京)有限公司Display method and electronic equipment
US20140192058A1 (en)*2013-01-072014-07-10Yu KODAMAImage processing apparatus, image processing method, and recording medium storing an image processing program
WO2014109262A1 (en)*2013-01-092014-07-17シャープ株式会社Touch panel system
CN105556438A (en)*2013-09-182016-05-04触觉实验室股份有限公司Systems and methods for providing response to user input using information about state changes predicting future user input
CN105518587A (en)*2014-05-302016-04-20华为技术有限公司Terminal device display method and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116069187A (en)*2023-01-282023-05-05荣耀终端有限公司Display method and electronic equipment
CN116069187B (en)*2023-01-282023-09-01荣耀终端有限公司 A display method and electronic device

Also Published As

Publication numberPublication date
CN108604142B (en)2021-05-18
WO2018098960A1 (en)2018-06-07

Similar Documents

PublicationPublication DateTitle
US9501219B2 (en)2D line data cursor
KR101892315B1 (en)Touch event anticipation in a computing device
US7190348B2 (en)Method for touchscreen data input
TWI569171B (en)Gesture recognition
US9612675B2 (en)Emulating pressure sensitivity on multi-touch devices
CN105094411B (en) Electronic device, drawing method thereof, and computer program product
US11429272B2 (en)Multi-factor probabilistic model for evaluating user input
US9268484B2 (en)Push-pull type gestures
EP2366142A1 (en)Method and apparatus for providing a predictive model for drawing using touch screen devices
EP2776905B1 (en)Interaction models for indirect interaction devices
WO2013180687A1 (en)Translation of touch input into local input based on a translation profile for an application
CN104166553A (en)Display method and electronic device
US10345932B2 (en)Disambiguation of indirect input
CN108604142A (en)A kind of touch-screen equipment operating method and touch-screen equipment
CN113961106B (en) Predictive control method, input system, and computer readable recording medium
CN104978135B (en)A kind of icon display method, device and mobile terminal
WO2018191084A1 (en)Continued selection during scrolling
CN110275639A (en) Touch data processing method, device, terminal and storage medium
US9927917B2 (en)Model-based touch event location adjustment
WO2017092584A1 (en)Method and device for controlling operation object
CN114092556A (en) Method, apparatus, electronic device, medium for determining human posture
US20170262167A1 (en)Method and apparatus for brush input recognition and display for touchscreen devices
WO2018132971A1 (en)Interactive control method and terminal
KR20130081163A (en)Method for smart-controlling speed of scroll, and computer-readable recording medium with smart-controlling program of scroll speed
CN104866166A (en)Information processing method and electronic equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp