CN112764616B - Method, device and equipment for accelerating handwriting of electronic ink screen and storage medium - Google Patents

Method, device and equipment for accelerating handwriting of electronic ink screen and storage medium Download PDF

Info

Publication number
CN112764616B
CN112764616B CN202110091285.4A CN202110091285A CN112764616B CN 112764616 B CN112764616 B CN 112764616B CN 202110091285 A CN202110091285 A CN 202110091285A CN 112764616 B CN112764616 B CN 112764616B
Authority
CN
China
Prior art keywords
handwriting
point
ink screen
points
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110091285.4A
Other languages
Chinese (zh)
Other versions
CN112764616A (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.)
ONYX INTERNATIONAL Inc
Original Assignee
ONYX INTERNATIONAL Inc
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 ONYX INTERNATIONAL Inc filed Critical ONYX INTERNATIONAL Inc
Priority to CN202110091285.4A priority Critical patent/CN112764616B/en
Publication of CN112764616A publication Critical patent/CN112764616A/en
Application granted granted Critical
Publication of CN112764616B publication Critical patent/CN112764616B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a handwriting acceleration method, device and equipment for an electronic ink screen and a storage medium. According to the technical scheme, received points and the handwriting movement speed are determined according to the handwriting input information, when the handwriting movement speed reaches a set movement speed threshold value, a plurality of subsequent prediction points are predicted, handwriting lines are rendered based on the prediction points and/or the received points, the handwriting lines are drawn and displayed on an ink screen, input points next to handwriting input operation are predicted in advance, the handwriting lines are rendered according to the prediction points in advance and displayed on the ink screen, and the situation that user experience is reduced due to the fact that the handwriting lines are displayed too slowly due to the fact that the ink screen is slow in refreshing speed is reduced.

Description

Method, device and equipment for accelerating handwriting of electronic ink screen and storage medium
Technical Field
The embodiment of the application relates to the technical field of display, in particular to a handwriting acceleration method, device and equipment for an electronic ink screen and a storage medium.
Background
The electronic ink screen achieves a display effect close to that of the conventional paper using an electrophoresis technique, and thus is also called "electronic paper". Electronic ink screens generally display images by electronic ink, which is usually made into a thin film and composed of a large number of microcapsules, in which pigment particles having different charges are disposed. In the initial state, the pigment particles are suspended in the microcapsules, and when an electric field in a certain direction is applied, the corresponding pigment particles are pushed to the top, the microcapsules can display different colors, and the microcapsules with different colors form various characters and patterns.
As the electronic ink screen is similar to the eye protection characteristic of real paper, the wide application of various electronic ink screen devices and the derived note-taking purpose supporting a handwriting pen are promoted. However, due to the physical characteristics of the electronic ink screen, the screen refresh speed is relatively slow, so that the display of the handwriting is much slower than the actual handwriting input, and the user experience is affected.
Disclosure of Invention
The embodiment of the application provides a handwriting acceleration method, device and equipment for an electronic ink screen and a storage medium, so as to optimize the handwriting input experience of a user.
In a first aspect, an embodiment of the present application provides an electronic ink screen handwriting acceleration method, including:
determining a received point and a handwriting movement speed according to handwriting input information, wherein the handwriting input information is obtained by detecting handwriting input operation on an ink screen;
predicting a plurality of subsequent predicted points of the received points in response to the handwriting movement speed reaching a set movement speed threshold;
rendering handwriting lines based on the predicted points and/or the received points, and drawing and displaying the handwriting lines on the ink screen.
Further, the determining the received point and the handwriting moving speed according to the handwriting input information includes:
detecting a handwriting input operation performed on an ink screen to acquire handwriting input information corresponding to the handwriting input operation, wherein the handwriting input information comprises a point reporting coordinate and point reporting time;
determining a received point for performing handwriting input operation on an ink screen according to the point reporting coordinates corresponding to the acquired handwriting input information;
and determining the current handwriting movement speed and the current handwriting movement direction according to the point reporting coordinates and the point reporting time corresponding to the obtained handwriting input information.
Further, predicting a plurality of subsequent predicted points of the received point in response to the handwriting movement speed reaching a set movement speed threshold comprises:
judging whether the current handwriting movement speed reaches a set movement speed threshold value;
if yes, predicting a plurality of subsequent predicted points according to the current displacement distance of the received points and the handwriting moving direction.
Further, the predicting a plurality of subsequent predicted points according to the current displacement distance of the received point and the handwriting moving direction includes:
determining a current displacement distance according to the distance between the current received point and the last received point;
and predicting a plurality of subsequent predicted points of the received points according to the current displacement distance and the handwriting moving direction.
Further, the rendering a handwriting line based on the predicted point and/or the received point and displaying the handwriting line on the ink screen in a drawing manner includes:
respectively rendering a handwriting line corresponding to each prediction point based on the plurality of prediction points and/or the received points, and drawing the handwriting line to a display buffer area;
drawing and displaying the handwriting lines in the display buffer area on the ink screen.
Further, the handwriting input information further comprises handwriting pressure information and/or handwriting inclination information.
Further, the rendering handwriting lines based on the predicted points and/or the received points includes:
rendering a handwriting line based on the predicted point and/or the received point, and the handwriting pressure information and/or the handwriting inclination information.
In a second aspect, an embodiment of the present application provides an electronic ink screen handwriting acceleration apparatus, including a handwriting detection module, a handwriting prediction module, and a line drawing module, where:
the handwriting detection module is used for determining a received point and a handwriting movement speed according to handwriting input information, and the handwriting input information is obtained by detecting based on handwriting input operation on an ink screen;
the handwriting prediction module is used for predicting a plurality of subsequent prediction points of the received points in response to the handwriting movement speed reaching a set movement speed threshold;
and the line drawing module is used for rendering handwriting lines based on the predicted points and/or the received points and drawing and displaying the handwriting lines on the ink screen.
Further, the handwriting detection module is specifically configured to:
detecting a handwriting input operation performed on an ink screen to acquire handwriting input information corresponding to the handwriting input operation, wherein the handwriting input information comprises a point reporting coordinate and point reporting time;
determining a received point for performing handwriting input operation on an ink screen according to the point reporting coordinates corresponding to the acquired handwriting input information;
and determining the current handwriting movement speed and the current handwriting movement direction according to the point reporting coordinates and the point reporting time corresponding to the obtained handwriting input information.
Further, the handwriting prediction module is specifically configured to:
judging whether the current handwriting movement speed reaches a set movement speed threshold value;
if yes, predicting a plurality of subsequent predicted points according to the current displacement distance of the received points and the handwriting moving direction.
Further, when the handwriting prediction module predicts a plurality of subsequent prediction points according to the current displacement distance of the received point and the handwriting moving direction, the method specifically includes:
determining a current displacement distance according to the distance between the current received point and the last received point;
and predicting a plurality of subsequent predicted points of the received points according to the current displacement distance and the handwriting moving direction.
Further, the line drawing module is specifically configured to:
respectively rendering a handwriting line corresponding to each prediction point based on the plurality of prediction points and/or the received points, and drawing the handwriting line to a display buffer area;
drawing and displaying the handwriting lines in the display buffer area on the ink screen.
Further, the handwriting input information further comprises handwriting pressure information and/or handwriting inclination information.
Further, when rendering the handwriting line based on the predicted point and/or the received point, the line drawing module specifically includes:
rendering a handwriting line based on the predicted point and/or the received point, and the handwriting pressure information and/or the handwriting inclination information.
In a third aspect, an embodiment of the present application provides an electronic ink screen handwriting acceleration apparatus, including: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the electronic ink screen handwriting acceleration method of the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing the electronic ink screen handwriting acceleration method according to the first aspect when executed by a computer processor.
According to the method and the device, received points and the handwriting moving speed are determined according to the handwriting input information, when the handwriting moving speed reaches a set sum moving speed threshold value, a plurality of subsequent predicted points are predicted, handwriting lines are rendered based on the predicted points and/or the received points, the handwriting lines are drawn and displayed on an ink screen, input points next to handwriting input operation are predicted in advance, the handwriting lines are rendered according to the predicted points in advance and displayed on the ink screen, and the situation that user experience is lowered due to the fact that the handwriting lines are displayed too slowly due to the fact that the ink screen is slow in refreshing speed is reduced.
Drawings
FIG. 1 is a flowchart illustrating a handwriting acceleration method for an electronic ink screen according to an embodiment of the present disclosure;
FIG. 2 is a flowchart of another method for accelerating handwriting on an electronic ink screen according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a received point and a predicted point according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a trace line provided in an embodiment of the present application;
FIG. 5 is a schematic structural diagram of an electronic ink screen handwriting acceleration device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic ink screen handwriting acceleration device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of an electronic ink screen handwriting acceleration method according to an embodiment of the present disclosure, where the electronic ink screen handwriting acceleration method according to the embodiment of the present disclosure may be executed by an electronic ink screen handwriting acceleration apparatus, and the electronic ink screen handwriting acceleration apparatus may be implemented in a hardware and/or software manner and integrated in an electronic ink screen handwriting acceleration device.
The following description will be given by taking an example of the method for executing the handwriting acceleration of the electronic ink screen by the handwriting acceleration device of the electronic ink screen. Referring to fig. 1, the electronic ink screen handwriting acceleration method includes:
s101: and determining the received point and the handwriting movement speed according to handwriting input information, wherein the handwriting input information is detected based on handwriting input operation on an ink screen.
The handwriting input operation can be performed in a handwriting input mode of the electronic ink screen through modes of handwriting pen input, finger touch input and the like, and meanwhile, the handwriting acceleration device of the electronic ink screen detects the handwriting input operation on the ink screen to obtain handwriting input information.
Illustratively, the handwriting input operation is detected in real time to obtain handwriting input information, and the received point is determined according to the detected handwriting input information, and the handwriting movement speed corresponding to the handwriting input operation is performed on the ink screen.
It can be understood that the received point is a handwriting point through which a handwriting input operation is performed on the ink screen, the handwriting acceleration device of the electronic ink screen performs detection and report of handwriting input information based on a set detection frequency, and a latest received point can be determined according to latest reported handwriting input information. The handwriting moving speed can be determined according to the reporting time of the handwriting input information and/or the distance between adjacent received points.
S102: predicting a plurality of predicted points subsequent to the received point in response to the handwriting movement speed reaching a set movement speed threshold.
Comparing the handwriting movement speed with a set movement speed threshold, if the handwriting movement speed does not reach the set movement speed threshold, continuing to detect the handwriting input operation, and rendering and displaying handwriting lines based on the received points; and when the handwriting moving speed reaches a set moving speed threshold value, predicting a plurality of subsequent predicted points according to the received points.
Wherein the moving speed threshold is set according to the device parameter (such as screen refresh rate) of the electronic ink screen. It can be understood that when the handwriting movement speed is less than the movement speed threshold, the delay perception of the user on the display of the handwriting line is small, and the handwriting line can be rendered and displayed directly based on the received point.
And when the handwriting moving speed reaches a moving speed threshold value, if the delay perception of the handwriting line display by the user is obvious, predicting the predicted point, rendering and displaying the handwriting line based on the predicted point and/or the received point, and simultaneously, when the handwriting moving speed is large enough, the predicted result is more stable due to the inertia of handwriting input.
S103: rendering handwriting lines based on the predicted points and/or the received points, and drawing and displaying the handwriting lines on the ink screen.
Illustratively, after determining a plurality of subsequent predicted points of the received point, rendering handwriting lines based on the predicted points and/or the received point, and displaying the handwriting lines on the ink screen.
And the rendering number of the handwriting lines is consistent with the number of the predicted points, and the handwriting lines are positioned between the received points and the predicted points or between every two predicted points.
The received points and the handwriting moving speed are determined according to the handwriting input information, when the handwriting moving speed reaches the set value moving speed threshold value, the subsequent multiple prediction points are predicted, the handwriting lines are rendered based on the prediction points and/or the received points and displayed on the ink screen in a drawing mode, input points next to the handwriting input operation are predicted in advance, the handwriting lines are rendered according to the prediction points in advance and displayed on the ink screen, and the situation that user experience is reduced due to the fact that the handwriting lines are displayed too slowly due to the fact that the ink screen is slow in refreshing speed is reduced.
On the basis of the foregoing embodiment, fig. 2 is a flowchart of another method for accelerating handwriting on an electronic ink screen according to an embodiment of the present application, where the method for accelerating handwriting on an electronic ink screen is an embodiment of the method for accelerating handwriting on an electronic ink screen. Referring to fig. 2, the electronic ink screen handwriting acceleration method includes:
s201: the method comprises the steps of detecting a handwriting input operation performed on an ink screen to obtain handwriting input information corresponding to the handwriting input operation, wherein the handwriting input information comprises point reporting coordinates and point reporting time.
Specifically, the handwriting input operation performed on the ink screen is detected in real time, and the handwriting input information corresponding to the handwriting input operation is determined. The handwriting input information comprises point reporting coordinates and point reporting time, and in addition, the handwriting input information also comprises handwriting pressure information and/or handwriting inclination information.
Optionally, the handwriting pressure information and the handwriting tilt information may be obtained based on a handwriting pen, for example, the handwriting pen feeds back the corresponding handwriting pressure information and the corresponding handwriting tilt information to the electronic ink screen handwriting acceleration device in real time according to the self-detected pen head pressure and pen body tilt angle, and based on the pen head pressure and the pen body tilt angle; or the handwriting acceleration device of the electronic ink screen detects the pen point pressure and the pen body inclination angle of the handwriting pen to obtain handwriting pressure information and handwriting inclination information. Meanwhile, the handwriting acceleration device of the electronic ink screen determines report point coordinates and report point time based on handwriting operation, and determines handwriting input information based on the report point coordinates and the report point time, handwriting pressure information and/or handwriting inclination information.
S202: and determining the received point for performing the handwriting input operation on the ink screen according to the newspaper point coordinate corresponding to the acquired handwriting input information.
Specifically, the coordinates of the newspaper points corresponding to all the acquired handwriting input information corresponding to the current handwriting input operation are determined, so that the received points corresponding to the handwriting input operation on the ink screen are determined. It will be appreciated that a handwriting input operation starts with the detection of the first handwritten input information and ends with the last successive handwritten input information.
S203: and determining the current handwriting movement speed and the current handwriting movement direction according to the point reporting coordinates and the point reporting time corresponding to the obtained handwriting input information.
Specifically, a report point coordinate and a report point time corresponding to the obtained handwriting input information are determined, and a handwriting moving speed and a handwriting moving direction of the current handwriting input operation are determined according to the report point coordinate and the report point time.
Illustratively, according to the point coordinates corresponding to the last two pieces of handwritten input information, the displacement distance between the two point coordinates is determined, and the handwriting movement speed is determined according to the displacement distance and the time interval between the two point times, and meanwhile, the change direction of the last point coordinate relative to the last point coordinate is the handwriting movement direction.
S204: and judging whether the current handwriting movement speed reaches a set movement speed threshold value.
And comparing the determined handwriting movement speed with a set movement speed threshold, if the handwriting movement speed reaches the set movement speed threshold, skipping to the step S205, otherwise, rendering and displaying handwriting lines based on the received points, and returning to the step S201 to continue detecting the handwriting input operation.
In one possible embodiment, since the point reporting frequency of the handwriting acceleration device of the electronic ink screen is fixed, the handwriting movement speed can be replaced by the displacement distance between the coordinates of the last two points, and correspondingly, the movement speed threshold value used for comparing with the handwriting movement speed is also replaced by the corresponding displacement distance threshold value.
In a possible embodiment, it is determined whether the current handwriting movement speed reaches the set movement speed threshold, and it is also determined whether the number of currently detected received points reaches the set received point number threshold (for example, 3), if the number of currently detected received points does not reach the set received point number threshold, rendering and displaying the handwriting lines based on the received points is performed, and the step S201 is returned to continue detecting the handwriting input operation, and if the set received point number threshold is reached and the handwriting movement speed reaches the set movement speed threshold, the step S205 is skipped.
S205: and predicting a plurality of subsequent predicted points according to the current displacement distance of the received point and the handwriting moving direction.
And when the current handwriting movement speed reaches a set movement speed threshold, predicting a plurality of subsequent prediction points according to the current displacement distance of the received points and the handwriting movement direction. Specifically, the method comprises steps S2051-S2052:
s2051: and determining the current displacement distance according to the distance between the current received point and the last received point.
S2052: and predicting a plurality of subsequent predicted points of the received points according to the current displacement distance and the handwriting moving direction.
Specifically, the report point coordinates of the currently newly detected received point and the report point coordinates of the last received point are determined, and the current displacement distance and the handwriting movement direction from the last received point to the latest received point are calculated based on the two report point coordinates.
Furthermore, according to the determined current displacement distance and the handwriting moving direction, a plurality of prediction points subsequent to the latest received point are predicted, and the prediction coordinates of the prediction points are determined. In this embodiment, the distance and the changing direction of the predicted point relative to the previous received point or the predicted point are consistent with the current displacement distance and the handwriting moving direction.
Meanwhile, due to the inertia of the handwriting input operation when the current handwriting movement speed reaches the set movement speed threshold, the handwriting pressure information and/or the handwriting inclination information of the predicted points can be considered to be kept unchanged, and the handwriting pressure information and/or the handwriting inclination information corresponding to the predicted points are determined to be consistent with the latest received handwriting pressure information and/or the latest received handwriting inclination information corresponding to the received points.
S206: and respectively rendering the handwriting lines corresponding to each prediction point based on the plurality of prediction points and/or the received points, and drawing the handwriting lines to a display buffer area.
Specifically, a handwriting line is rendered based on the predicted point and/or the received point, and the handwriting pressure information and/or the handwriting inclination information.
After the prediction coordinates, the handwriting pressure information and/or the handwriting inclination information of the prediction points are determined, the handwriting lines corresponding to the prediction points are respectively rendered according to the prediction points and/or the received points, the color and/or the thickness of the handwriting lines correspond to the handwriting pressure information and/or the handwriting inclination information, and the handwriting lines are drawn to the display buffer area.
In one possible embodiment, for the first handwriting line, rendering may be performed based on the latest received point and the first predicted point, for example, rendering a handwriting line between the latest received point and the first predicted point as the first handwriting line.
In a possible embodiment, the first handwriting line may also be rendered based on the last predicted point obtained last time and the first predicted point obtained this time, for example, rendering a handwriting line between the last predicted point obtained last time and the first predicted point obtained this time as the first handwriting line.
S207: drawing and displaying the handwriting lines in the display buffer area on the ink screen.
Specifically, after rendering the handwriting line corresponding to each prediction point, when the ink screen is refreshed, the handwriting line in the display buffer area is drawn and displayed on the ink screen, so that the predicted handwriting line is displayed.
Fig. 3 is a schematic diagram of a received point and a predicted point according to an embodiment of the present disclosure, and fig. 4 is a schematic diagram of a trace line according to an embodiment of the present disclosure. As shown in fig. 3, for example, in the present embodiment, the following 3 predicted points of the received point are predicted as an example, and assuming that the latest detected received point corresponds to a point coordinate P (N), and the previous point coordinates are P (N-1), P (N-2), and P (N-3) in sequence, the distance between the current received point and the last received point determines the current displacement distance Δ P ═ P (N) — P (N-1), and it can be understood that Δ P records the current displacement distance from the last received point to the latest received point and the handwriting movement direction.
At this time, the predicted coordinate of the first predicted point P (N +1) is P (N +1) ═ P (N) +(P (N)) (N) -P (N-1)), the predicted coordinate of the second predicted point P (N +2) is P (N +2) ═ P (N) +(2 × (P (N)) + (N) -P (N-1)), and the predicted coordinate of the third predicted point P (N +3) is P (N +3) ═ P (N)) + (3 × (P) (N) -P (N-1)), and the handwriting pressure information and/or the handwriting tilt information of the three predicted points coincide with the latest handwriting pressure information and/or the latest handwriting tilt information of the received point. Rendering the handwriting line L corresponding to each predicted point according to the predicted point and/or the received point respectively, and drawing the handwriting line L into a display buffer area, wherein the received point and the predicted point cannot be displayed in an actual display effect, as the trajectory line L is shown in FIG. 4.
Assuming that the time required for predicting the predicted point is 1ms, the handwriting input information reporting rate is 3ms, the time for rendering the handwriting line is 3ms, and the screen refreshing rate is 90Hz, the time required for drawing and displaying the handwriting line on an ink screen from the display buffer area is 33ms, and the display time required for displaying the trajectory line corresponding to the (N +1) th point to the (N +3) th point is respectively compared under the conditions of prediction and non-prediction:
for the case of no prediction: the display time is 3ms (reception of N +1 corresponding to handwriting input information) +3ms (rendering of N +1 corresponding track line) +3ms (reception of N +2 corresponding to handwriting input information) +3ms (rendering of N +2 corresponding track line) +3ms (reception of N +3 corresponding to handwriting input information) +3ms (rendering of N +3 corresponding track line) +33ms (screen display of 3 track lines) ═ 51 ms.
For the predicted case: the display time is 1ms (prediction of predicted points corresponding to N +1, N +2, and N +3) +3ms (rendering of a trajectory line corresponding to N +1) +3ms (rendering of a trajectory line corresponding to N +2) +3ms (rendering of a trajectory line corresponding to N +3) +33ms (screen display of 3 trajectory lines) ═ 43 ms.
It can be seen that the display time for the predicted case is shortened from 51ms to 43ms, which is shortened by 8ms, and the performance improvement rate is 15%, compared with the case that the predicted case is not predicted, it can be understood that, by using the multi-core advantage of the modern processor, the predicted points are rendered in parallel, the display time is 1ms (prediction of predicted points corresponding to N +1, N +2, N +3) +3ms (rendering of trace lines corresponding to N +1, N +2, N +3) +33ms (screen display of 3 trace lines) () 37ms, which is shortened by 14ms, and the improvement rate is 27%.
The received points and the handwriting moving speed are determined according to the handwriting input information, when the handwriting moving speed reaches the set value moving speed threshold value, the subsequent multiple prediction points are predicted, the handwriting lines are rendered based on the prediction points and/or the received points and displayed on the ink screen in a drawing mode, input points next to the handwriting input operation are predicted in advance, the handwriting lines are rendered according to the prediction points in advance and displayed on the ink screen, and the situation that user experience is reduced due to the fact that the handwriting lines are displayed too slowly due to the fact that the ink screen is slow in refreshing speed is reduced. And the latest handwriting pressure information and/or handwriting inclination information of the received points are kept for rendering the handwriting lines, and the handwriting display effect is closer to the use habit of the user.
Fig. 5 is a schematic structural diagram of an electronic ink screen handwriting acceleration device according to an embodiment of the present application. Referring to fig. 5, the electronic ink screen handwriting acceleration apparatus includes a handwriting detection module 31, a handwriting prediction module 32, and a line drawing module 33.
The handwriting detection module 31 is configured to determine a received point and a handwriting movement speed according to handwriting input information, where the handwriting input information is detected based on a handwriting input operation on an ink screen; the handwriting prediction module 32 is configured to predict a plurality of subsequent predicted points of the received point in response to the handwriting movement speed reaching a set movement speed threshold; and the line drawing module 33 is configured to render a handwriting line based on the predicted point and/or the received point, and draw and display the handwriting line on the ink screen.
The received points and the handwriting moving speed are determined according to the handwriting input information, when the handwriting moving speed reaches the set value moving speed threshold value, the subsequent multiple prediction points are predicted, the handwriting lines are rendered based on the prediction points and/or the received points and displayed on the ink screen in a drawing mode, input points next to the handwriting input operation are predicted in advance, the handwriting lines are rendered according to the prediction points in advance and displayed on the ink screen, and the situation that user experience is reduced due to the fact that the handwriting lines are displayed too slowly due to the fact that the ink screen is slow in refreshing speed is reduced.
In a possible embodiment, the handwriting detection module 31 is specifically configured to:
detecting a handwriting input operation performed on an ink screen to acquire handwriting input information corresponding to the handwriting input operation, wherein the handwriting input information comprises a point reporting coordinate and point reporting time;
determining a received point for performing handwriting input operation on an ink screen according to the point reporting coordinates corresponding to the acquired handwriting input information;
and determining the current handwriting movement speed and the current handwriting movement direction according to the point reporting coordinates and the point reporting time corresponding to the obtained handwriting input information.
In one possible embodiment, the handwriting prediction module 32 is specifically configured to:
judging whether the current handwriting movement speed reaches a set movement speed threshold value;
if yes, predicting a plurality of subsequent predicted points according to the current displacement distance of the received points and the handwriting moving direction.
In a possible embodiment, when the handwriting prediction module 32 predicts a plurality of subsequent predicted points according to the current displacement distance of the received point and the handwriting moving direction, the method specifically includes:
determining a current displacement distance according to the distance between the current received point and the last received point;
and predicting a plurality of subsequent predicted points of the received points according to the current displacement distance and the handwriting moving direction.
In a possible embodiment, the line drawing module 33 is specifically configured to:
respectively rendering a handwriting line corresponding to each prediction point based on the plurality of prediction points and/or the received points, and drawing the handwriting line to a display buffer area;
drawing and displaying the handwriting lines in the display buffer area on the ink screen.
In a possible embodiment said handwritten input information further comprises handwriting pressure information and/or handwriting tilt information.
In a possible embodiment, when rendering the handwriting line based on the predicted point and/or the received point, the line drawing module 33 specifically includes:
rendering a handwriting line based on the predicted point and/or the received point, and the handwriting pressure information and/or the handwriting inclination information.
The embodiment of the application also provides handwriting acceleration equipment of the electronic ink screen, and the handwriting acceleration equipment of the electronic ink screen can be integrated with the handwriting acceleration device of the electronic ink screen provided by the embodiment of the application. Fig. 6 is a schematic structural diagram of an electronic ink screen handwriting acceleration device according to an embodiment of the present application. Referring to fig. 6, the electronic ink screen handwriting acceleration apparatus includes: an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 for storing one or more programs; when executed by the one or more processors 41, the one or more programs cause the one or more processors 41 to implement the method for accelerating handwriting on an electronic ink screen as provided in the embodiments above. Wherein the input device 43, the output device 44, the memory 42 and the processor 41 may be connected by a bus or other means, for example, in fig. 6.
The memory 42 may be used as a storage medium readable by a computing device and used for storing software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the handwriting acceleration method of the electronic ink screen according to any embodiment of the present application (for example, the handwriting detection module 31, the handwriting prediction module 32, and the line drawing module 33 in the handwriting acceleration apparatus of the electronic ink screen). The memory 42 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 42 may further include memory located remotely from processor 41, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 43 may be used to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 44 may include a display device such as a display screen.
The processor 41 executes various functional applications and data processing of the device by executing software programs, instructions and modules stored in the memory 42, namely, the above-mentioned handwriting acceleration method of the electronic ink screen is realized.
The electronic ink screen handwriting acceleration device, the electronic ink screen handwriting acceleration equipment and the computer can be used for executing the electronic ink screen handwriting acceleration method provided by any embodiment and have corresponding functions and beneficial effects.
Embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for accelerating handwriting on an electronic ink screen provided in the above embodiments, where the method for accelerating handwriting on an electronic ink screen includes: determining a received point and a handwriting movement speed according to handwriting input information, wherein the handwriting input information is obtained by detecting handwriting input operation on an ink screen; predicting a plurality of subsequent predicted points of the received points in response to the handwriting movement speed reaching a set movement speed threshold; rendering handwriting lines based on the predicted points and/or the received points, and drawing and displaying the handwriting lines on the ink screen.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the above-mentioned handwriting acceleration method for an electronic ink screen, and may also perform related operations in the handwriting acceleration method for an electronic ink screen provided in any embodiment of the present application.
The handwriting acceleration device, the apparatus, and the storage medium of the electronic ink screen provided in the foregoing embodiments may execute the handwriting acceleration method of the electronic ink screen provided in any embodiment of the present application, and reference may be made to the handwriting acceleration method of the electronic ink screen provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (7)

1. An electronic ink screen handwriting acceleration method is characterized by comprising the following steps:
detecting a handwriting input operation performed on an ink screen to acquire handwriting input information corresponding to the handwriting input operation, wherein the handwriting input information comprises a point reporting coordinate and point reporting time; determining a received point for performing handwriting input operation on an ink screen according to the point reporting coordinates corresponding to the acquired handwriting input information; determining the current handwriting movement speed and the current handwriting movement direction according to the point reporting coordinates and the point reporting time corresponding to the obtained handwriting input information, wherein the handwriting input information is obtained by detecting the handwriting input operation on an ink screen;
judging whether the current handwriting movement speed reaches a set movement speed threshold value; if yes, predicting a plurality of subsequent predicted points according to the current displacement distance of the received point and the handwriting moving direction, wherein the distance and the change direction of the predicted point relative to the previous received point or the predicted point are consistent with the current handwriting moving speed and the current handwriting moving direction;
respectively rendering a handwriting line corresponding to each prediction point based on the plurality of prediction points and/or the received points, and drawing the handwriting line to a display buffer area; drawing and displaying the handwriting lines in the display buffer area on the ink screen.
2. The method for accelerating handwriting on an electronic ink screen according to claim 1, wherein said predicting a plurality of subsequent predicted points according to the current displacement distance of the received point and the handwriting moving direction comprises:
determining a current displacement distance according to the distance between the current received point and the last received point;
and predicting a plurality of subsequent predicted points of the received points according to the current displacement distance and the handwriting moving direction.
3. The electronic ink screen handwriting acceleration method of claim 1, wherein the handwriting input information further comprises handwriting pressure information and/or handwriting tilt information.
4. The electronic ink screen handwriting acceleration method according to claim 3, wherein said rendering handwriting lines based on said predicted points and/or said received points comprises:
rendering a handwriting line based on the predicted point and/or the received point, and the handwriting pressure information and/or the handwriting inclination information.
5. The handwriting acceleration device of the electronic ink screen is characterized by comprising a handwriting detection module, a handwriting prediction module and a line drawing module, wherein:
the handwriting detection module is used for detecting handwriting input operation performed on an ink screen so as to obtain handwriting input information corresponding to the handwriting input operation, and the handwriting input information comprises point reporting coordinates and point reporting time; determining a received point for performing handwriting input operation on an ink screen according to the point reporting coordinates corresponding to the acquired handwriting input information; determining the current handwriting movement speed and the current handwriting movement direction according to the point reporting coordinates and the point reporting time corresponding to the obtained handwriting input information, wherein the handwriting input information is obtained by detecting the handwriting input operation on an ink screen;
the handwriting prediction module is used for judging whether the current handwriting movement speed reaches a set movement speed threshold value; if yes, predicting a plurality of subsequent predicted points according to the current displacement distance of the received point and the handwriting moving direction, wherein the distance and the change direction of the predicted point relative to the previous received point or the predicted point are consistent with the current handwriting moving speed and the current handwriting moving direction;
the line drawing module is used for respectively rendering handwriting lines corresponding to the prediction points based on the plurality of prediction points and/or the received points and drawing the handwriting lines to a display buffer area; drawing and displaying the handwriting lines in the display buffer area on the ink screen.
6. An electronic ink screen handwriting acceleration apparatus, comprising: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the electronic ink screen handwriting acceleration method of any of claims 1-4.
7. A storage medium containing computer-executable instructions for performing the electronic ink screen handwriting acceleration method of any of claims 1-4 when executed by a computer processor.
CN202110091285.4A 2021-01-22 2021-01-22 Method, device and equipment for accelerating handwriting of electronic ink screen and storage medium Active CN112764616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110091285.4A CN112764616B (en) 2021-01-22 2021-01-22 Method, device and equipment for accelerating handwriting of electronic ink screen and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110091285.4A CN112764616B (en) 2021-01-22 2021-01-22 Method, device and equipment for accelerating handwriting of electronic ink screen and storage medium

Publications (2)

Publication Number Publication Date
CN112764616A CN112764616A (en) 2021-05-07
CN112764616B true CN112764616B (en) 2021-11-26

Family

ID=75706786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110091285.4A Active CN112764616B (en) 2021-01-22 2021-01-22 Method, device and equipment for accelerating handwriting of electronic ink screen and storage medium

Country Status (1)

Country Link
CN (1) CN112764616B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113299247B (en) * 2021-06-08 2022-01-07 广州文石信息科技有限公司 Method and related device for optimizing display effect of color electronic ink screen
CN113190166B (en) * 2021-06-30 2021-09-21 广州文石信息科技有限公司 Handwriting display method and device based on ink screen
CN113918079B (en) * 2021-11-12 2022-04-08 掌阅科技股份有限公司 Interactive processing method of ink screen equipment, electronic equipment and storage medium
CN114153417B (en) * 2021-12-10 2022-10-28 广州文石信息科技有限公司 Screen updating method and device, storage medium and computer equipment
CN114092945B (en) * 2022-01-21 2022-04-19 广州文石信息科技有限公司 Handwriting input method and device based on ink screen
CN114675775B (en) * 2022-04-24 2022-11-18 广州文石信息科技有限公司 Writing display method and device of electronic ink screen, terminal equipment and storage medium
CN115237320A (en) * 2022-07-21 2022-10-25 京东方科技集团股份有限公司 Handwriting display method, touch display device, computer device and medium
CN115291791B (en) * 2022-08-17 2024-08-06 维沃移动通信有限公司 Text recognition method, device, electronic equipment and storage medium
CN117666911A (en) * 2022-08-30 2024-03-08 华为技术有限公司 Content display method and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101276249A (en) * 2007-03-30 2008-10-01 北京三星通信技术研究有限公司 Method and device for forecasting and discriminating hand-written characters
CN102521855A (en) * 2011-11-22 2012-06-27 广东威创视讯科技股份有限公司 Handwriting regulation method and device based on touch platform
CN103049188A (en) * 2012-12-10 2013-04-17 华映视讯(吴江)有限公司 System and method for optimizing touch trajectory
CN103164138A (en) * 2011-12-15 2013-06-19 英顺源(上海)科技有限公司 System for providing guide tracks to assist gesture input and method thereof
CN104346091A (en) * 2013-07-31 2015-02-11 北京壹人壹本信息科技有限公司 Handwriting displaying method and device
CN106373171A (en) * 2015-07-22 2017-02-01 鸿合科技有限公司 Drafting prediction compensation method and system
CN107219941A (en) * 2017-05-23 2017-09-29 中国科学院自动化研究所 Soft real-time track generation method, storage medium, processing equipment
CN107436700A (en) * 2016-05-26 2017-12-05 华为终端(东莞)有限公司 Data processing method and device
CN107562364A (en) * 2017-09-19 2018-01-09 青岛海信电器股份有限公司 The display methods and device of a kind of touch track

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298486A (en) * 2010-06-22 2011-12-28 广东国笔科技股份有限公司 Fast calling system and method based on touch screen
WO2014192157A1 (en) * 2013-05-31 2014-12-04 株式会社 東芝 Electronic apparatus, method and program
EP3072039B1 (en) * 2013-11-19 2019-08-14 Wacom Co., Ltd. Method and system for ink data generation, ink data rendering, ink data manipulation and ink data communication
CN110069148B (en) * 2019-04-16 2022-03-15 深圳腾千里科技有限公司 Handwriting offset compensation method for handwriting pen, storage medium and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101276249A (en) * 2007-03-30 2008-10-01 北京三星通信技术研究有限公司 Method and device for forecasting and discriminating hand-written characters
CN102521855A (en) * 2011-11-22 2012-06-27 广东威创视讯科技股份有限公司 Handwriting regulation method and device based on touch platform
CN103164138A (en) * 2011-12-15 2013-06-19 英顺源(上海)科技有限公司 System for providing guide tracks to assist gesture input and method thereof
CN103049188A (en) * 2012-12-10 2013-04-17 华映视讯(吴江)有限公司 System and method for optimizing touch trajectory
CN104346091A (en) * 2013-07-31 2015-02-11 北京壹人壹本信息科技有限公司 Handwriting displaying method and device
CN106373171A (en) * 2015-07-22 2017-02-01 鸿合科技有限公司 Drafting prediction compensation method and system
CN107436700A (en) * 2016-05-26 2017-12-05 华为终端(东莞)有限公司 Data processing method and device
CN107219941A (en) * 2017-05-23 2017-09-29 中国科学院自动化研究所 Soft real-time track generation method, storage medium, processing equipment
CN107562364A (en) * 2017-09-19 2018-01-09 青岛海信电器股份有限公司 The display methods and device of a kind of touch track

Also Published As

Publication number Publication date
CN112764616A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN112764616B (en) Method, device and equipment for accelerating handwriting of electronic ink screen and storage medium
US11360817B2 (en) Method and terminal for allocating system resource to application
CN112506413B (en) Touch point prediction method and device, terminal equipment and computer readable storage medium
US9665217B2 (en) Touch panel scan control
US7181697B2 (en) Method of implementing a plurality of system tray areas
CN110597414B (en) Touch detection method of touch screen and related equipment
WO2021092768A1 (en) Touch event processing method and apparatus, mobile terminal and storage medium
US20220413637A1 (en) Method and Device for Predicting Drawn Point of Stylus
CN113253878B (en) Touch screen report point determining method and device, electronic equipment and storage medium
CN105892877A (en) Multi-finger closing/opening gesture recognition method and device as well as terminal equipment
CN112596661A (en) Writing track processing method and device and interactive panel
CN111274039A (en) Memory recovery method and device, storage medium and electronic equipment
CN105278825A (en) Screen capturing method and mobile terminal
US9330482B2 (en) Display apparatus and display method for capturing hand-drawn images
CN108846339B (en) Character recognition method and device, electronic equipment and storage medium
US20170115866A1 (en) Method, device and terminal apparatus for recognizing multi-finger sliding gesture
CN101587436B (en) Method and system for regional restoration in embedded device
CN107562260A (en) A kind of method and device of touch control
CN113204305A (en) Holding mode detection method and device of mobile terminal, medium and mobile terminal
CN113296616A (en) Pen point selection method and device and intelligent terminal
CN111078405A (en) Memory allocation method and device, storage medium and electronic equipment
CN114153417B (en) Screen updating method and device, storage medium and computer equipment
CN111259694B (en) Gesture moving direction identification method, device, terminal and medium based on video
WO2022252872A1 (en) Device control method and apparatus, electronic device, and storage medium
CN116560557A (en) Handwriting display method, terminal equipment and computer readable storage medium

Legal Events

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