CN111475097A - Handwriting selection method and device, computer equipment and storage medium - Google Patents

Handwriting selection method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111475097A
CN111475097A CN202010264050.6A CN202010264050A CN111475097A CN 111475097 A CN111475097 A CN 111475097A CN 202010264050 A CN202010264050 A CN 202010264050A CN 111475097 A CN111475097 A CN 111475097A
Authority
CN
China
Prior art keywords
handwriting
touch operation
target area
touch
target
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
CN202010264050.6A
Other languages
Chinese (zh)
Other versions
CN111475097B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN202010264050.6A priority Critical patent/CN111475097B/en
Publication of CN111475097A publication Critical patent/CN111475097A/en
Priority to PCT/CN2020/134212 priority patent/WO2021203724A1/en
Application granted granted Critical
Publication of CN111475097B publication Critical patent/CN111475097B/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/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

Landscapes

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

Abstract

The embodiment of the invention discloses a handwriting selection method, a handwriting selection device, computer equipment and a storage medium, wherein the method comprises the following steps: displaying the handwriting on a writing interface; receiving a first touch operation occurring on a writing interface; determining that the first touch operation is a long-press operation; determining a target area on the writing interface based on the position of the long press operation, wherein the range of the target area is positively correlated with the duration of the long press operation; and selecting at least part of the handwriting according to the target area as the target handwriting. When a user writes handwriting, the long-press operation can be directly triggered, the target area is controlled through the long-press operation, so that the appropriate handwriting can be selected, the touch operation and the long-press operation of the user writing the handwriting belong to the touch operation, the touch operation and the long-press operation are smooth to link, the handwriting is selected through the long-press operation, the user does not need to click a control and freeze the handwriting, the continuity of the writing behavior of the user can be kept, and the efficiency of writing the handwriting is improved.

Description

Handwriting selection method and device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to a touch technology, in particular to a handwriting selection method, a handwriting selection device, computer equipment and a storage medium.
Background
In scenes such as education, meetings, and guests, users often use touch-control computer equipment, which generally has the function of an electronic whiteboard, and thus, the users can write directly on the screen of the computer equipment and explain the computer equipment by matching with handwriting.
Since the computer device usually supports multi-touch, if the user wants to write a handwriting, the user adjusts a part of the handwriting, such as dragging, usually clicking a designated control, freezing the handwriting, and selecting the part of the handwriting, thereby adjusting the selected handwriting.
However, the writing behavior of the user is a coherent operation, and the writing behavior is interrupted by clicking the control and freezing the handwriting selection, so that the efficiency of writing the handwriting is reduced.
Disclosure of Invention
The embodiment of the invention provides a handwriting selection method, a handwriting selection device, computer equipment and a storage medium, which are used for solving the problem of how to select partial handwriting when the handwriting is written so as to keep the continuity of writing behaviors and improve the efficiency of writing the handwriting.
In a first aspect, an embodiment of the present invention provides a method for selecting handwriting, including:
displaying the handwriting on a writing interface;
receiving a first touch operation occurring on the writing interface;
determining that the first touch operation is a long-press operation;
determining a target area on the writing interface based on the position where the long-press operation occurs, wherein the range of the target area is positively correlated with the duration of the long-press operation;
and selecting at least part of the handwriting as target handwriting according to the target area.
In a second aspect, an embodiment of the present invention further provides a method for selecting a handwriting, including:
the display screen displays handwriting on the writing interface;
the touch screen receives a first touch operation occurring on the writing interface;
the processor determines that the first touch operation is a long-press operation;
the processor determines a target area on the writing interface based on the position where the long press operation occurs, wherein the range of the target area is positively correlated with the duration of the long press operation;
and the processor selects at least part of the handwriting as the target handwriting according to the target area.
In a third aspect, an embodiment of the present invention further provides a device for selecting a handwriting, including:
the handwriting display module is used for displaying handwriting on the writing interface;
the first touch operation receiving module is used for receiving a first touch operation generated on the writing interface;
the long-press operation determining module is used for determining that the first touch operation is a long-press operation;
a target area determination module, configured to determine a target area on the writing interface based on a position where the long press operation occurs, where a range of the target area is positively correlated to a duration of the long press operation;
and the target handwriting selecting module is used for selecting at least part of the handwriting as the target handwriting according to the target area.
In a fourth aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of selecting handwriting as described in the first aspect.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method for selecting handwriting as described in the first aspect.
In the embodiment, handwriting is displayed on a writing interface, a first touch operation occurring on the writing interface is received, the first touch operation is determined to be a long-time press operation, a target area is determined on the writing interface based on the position of the long-time press operation, the range of the target area is positively correlated with the duration of the long-time press operation, at least part of the handwriting is selected according to the target area to serve as the target handwriting, the long-time press operation can be directly triggered when a user writes the handwriting, the target area is controlled through the long-time press operation, so that the proper handwriting is selected, the touch operation and the long-time press operation of the user writing are both touch operations, the two operations are connected smoothly, the user does not need to click a control or freeze the handwriting, the continuity of the writing behavior of the user can be kept, and the efficiency of writing the handwriting is improved.
Drawings
FIG. 1 is a flowchart of a handwriting selection method according to an embodiment of the present invention;
FIGS. 2A-2E are exemplary diagrams of a selected object script provided by an embodiment of the invention;
FIG. 3 is a flowchart of a handwriting selection method according to a second embodiment of the present invention;
FIGS. 4A to 4B are exemplary diagrams for displaying and canceling new handwriting according to a second embodiment of the present invention;
fig. 4C to fig. 4D are exemplary diagrams of a prompt identifier according to a second embodiment of the present invention;
FIGS. 5A to 5D are schematic diagrams of handwriting drawing according to a second embodiment of the present invention;
FIG. 6 is a flowchart of a handwriting selection method according to a third embodiment of the present invention;
FIGS. 7A to 7K are exemplary diagrams of an operation target writing according to a third embodiment of the present invention;
FIG. 8 is a flowchart of a handwriting selection method according to a fourth embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a handwriting selection apparatus according to a fifth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a computer device according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It is noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action or combination of actions or writing from another entity or action or combination of actions and writing without necessarily requiring or implying any such actual relationship or order between such entities or actions or writing combinations. For example, the "first" and "second" of the first touch operation and the second touch operation are used to distinguish two different touch operations.
The handwriting selection method provided in this embodiment may be executed by a handwriting selection device, where the handwriting selection device may be implemented by software and/or hardware, and may be configured in a computer device, and the computer device may be formed by two or more physical entities, or may be formed by one physical entity, for example, an intelligent interactive tablet, a notebook computer, a mobile phone, a tablet, and the like.
For the convenience of understanding, the intelligent interactive tablet is exemplarily described as the computer device in the embodiment. The intelligent interactive panel can be an integrated device which controls the content displayed on the display panel and realizes man-machine interaction operation through a touch technology, and integrates one or more functions of a projector, an electronic whiteboard, a curtain, a sound box, a television, a video conference terminal and the like.
Generally, the smart interactive tablet includes at least one screen, and when the smart interactive tablet configures two or more screens, the screens may be the same type of screen or different types of screens. The screens can be directly communicated with each other or indirectly communicated with each other through a processor (such as a central processing unit) of the intelligent interactive tablet. Meanwhile, the processor may control each screen individually. Furthermore, both the two screens have a touch function. The touch operation response modes of the two screens are the same, for example, when a user performs touch operation in one screen, the user can perform touch operation in a mode of touching the screen with a finger or a stylus, and accordingly, the intelligent interactive tablet detects the touch position of the touch operation in the screen, determines a response scheme according to the display content corresponding to the touch position, and then performs response to achieve the touch function. For example, the corresponding display content is determined to be a control of a certain function according to the touch position, and at this time, the response scheme is to execute the function. In practical applications, a user may perform touch operation on one screen or may perform touch operation on two screens simultaneously. Optionally, the specific manner of determining the touch position of the touch operation in the screen may be set in combination with an actual situation, for example, when a certain position of the screen receives the touch operation, a parameter collected by an electrical component responsible for detecting the position may change, and at this time, the intelligent interactive tablet may determine the touch position according to a parameter change situation. It can be understood that, in practical applications, the user may also implement control operations by means of a keyboard, a mouse, physical keys, and the like.
In the smart interactive tablet, the screen may generally include a display screen and a touch screen (touch screen).
The Display screen may Display User Interface (UI) elements, such as windows (including controls), on the screen, and specifically may include an L CD (L acquired Crystal Display, liquid Crystal Display) Display screen, a L ED (L light-Emitting Diode) Display screen, an AMO L ED (Active-matrix organic light-Emitting Diode) Display screen, and the like.
The touch screen may also be referred to as a "touch screen" or a "touch panel", and is an inductive device capable of receiving input signals such as a contact, and may specifically include a vector pressure sensing technology touch screen, a resistive technology touch screen, a capacitive technology touch screen, an infrared technology touch screen, a surface acoustic wave technology touch screen, and the like, which is not limited in this embodiment.
The smart interactive tablet typically has at least one type of operating system installed therein, wherein the operating system includes, but is not limited to, an iOS system, L inux system, and a Windows system, wherein the L inux system includes a plurality of operating systems, such as an Android system, an Ubuntu system, and so on, through which each screen can be individually controlled.
In the Ubuntu system, when a user touches a touch screen, collected touch information is packaged and sent to an operating system through a Universal Serial Bus (USB), at this time, the operating system can receive an INT _ TC interrupt message, switch to an XY coordinate conversion mode in an interrupt service, start an ADC (Analog-to-digital converter) conversion, trigger INT _ ADC interrupt after the conversion is completed, and report input _ event in an ADC interrupt processing method. In the application program layer, the files can be read circularly in a mode of reading/dev/input corresponding touch screen files, and the read contents are analyzed by an input _ event structure body to obtain touch information.
In a Windows system, the transmission of touch operations can be understood as: a user contacts the touch screen, the touch screen packages received touch information into an HID (Human Interface Device) standard touch information packet, the HID standard touch information packet is uploaded to a USB bus, and the HID standard touch information packet is processed and dispatched to a touch driving program by a built-in CPU for distribution. The touch message is distributed to a specific application through system layer scheduling. The transfer process is touch frame → USB → drive → Windows message drive → application software window → application software frame message distribution module → application software business module.
Example one
Fig. 1 is a flowchart of a handwriting selection method according to an embodiment of the present invention, where the embodiment is applicable to a case where a handwriting is selected by a long-press operation when the handwriting is written, and the method specifically includes the following steps:
and S101, displaying handwriting on a writing interface.
In the computer device, a user triggers a writing mode, at this time, an interface in the writing mode may be referred to as a writing interface, the user may select configuration parameters of handwriting, such as color, width, and the like, and trigger a specified touch operation on a screen of the computer device using a finger and a touch pen, where the specified touch operation may be used for writing the handwriting, such as a sliding operation in a single-point touch gesture. The computer equipment receives the specified touch operation and responds to the touch operation, and handwriting is displayed at the position where the specified touch operation occurs according to the configuration parameters.
By handwriting, it may be meant data points displayed on a screen of a computer device, which may appear in the form of lines, symbols, text, etc.
For example, as shown in fig. 2A, a user writes a handwriting on the screen of the computer device, representing six words "1", "2", "3", "4", "5", and "6", respectively.
Further, the coordinates of each data point are generally the position where the designated touch operation occurs, and of course, the data point may be a position where interpolation processing can be performed and the interpolation is performed between the positions where the designated touch operation occurs, or may be a position after optimization processing is performed and the position where the designated touch operation occurs is optimized, and the like, which is not limited in this embodiment.
In practical applications, the writing interface may be a separate interface, for example, the computer device provides an electronic whiteboard, the user triggers a control operation to display the electronic whiteboard in the computer device, the computer device receives the control operation, and displays the electronic whiteboard as the writing interface, at this time, the user may trigger a touch operation on the electronic whiteboard, and the computer device may display handwriting corresponding to the touch operation on a screen of the computer device, where the control operation to display the electronic whiteboard includes, but is not limited to, the touch operation, a keyboard operation, a mouse operation, and a physical key operation.
In addition, the writing interface may also be an interface with a background, for example, the computer device displays data of a local courseware, a screen image belonging to a source device (such as a notebook computer, etc.) and transmitted by a display device (USB Dongle), the user triggers an annotation operation in the computer device, the computer device receives the annotation operation, freezes the data of the courseware, the screen image and the like to be a background, that is, maintains a current frame image of the data of the courseware, the screen image and the like, and generates a mask layer on the data of the courseware, the screen image and the like, thereby being the writing interface, at this time, the user can trigger a touch operation on a screen of the computer device, and the computer device can display handwriting corresponding to the touch operation on the mask layer, wherein the annotation operation includes, but is not limited to, a touch operation, a keyboard operation, a handwriting corresponding to the touch operation, and a handwriting corresponding to, Mouse operation and physical key operation.
The courseware may refer to a course document that is created according to teaching requirements through links such as teaching target determination, teaching content and task analysis, teaching activity structure and interface design, for example, the courseware may be a document in a common format such as a Word document, a PPT (PowerPoint, presentation), or may be a custom page formed by combining elements such as a text, a table, and a picture, which is not limited in this embodiment.
S102, receiving a first touch operation generated on the writing interface.
In the writing mode, a user can perform operations such as clicking, sliding and the like on a screen of the computer device by using a finger, a touch pen and the like, so that a first touch operation is triggered on a writing interface.
It should be noted that the first touch operation still belongs to the touch operation, and if the user intends to use the first touch operation to select a part of handwriting, according to the operation of selecting handwriting in this embodiment, the user usually triggers the first touch operation near the handwriting that is intended to be selected.
For example, as shown in fig. 2B, if the user intends to select "1", "2", and "3", the first touch operation 201 may be triggered near "1", "2", and "3".
In addition, for large-scale computer equipment such as an intelligent interactive tablet, a touch area with a small area can be displayed at a position which is easily touched by a user, such as the lower right corner of a writing interface, and the like, the user can trigger a first touch operation in the touch area, at the moment, the first touch operation in the touch area in the writing interface can be received, at the moment, the position where the first touch operation occurs is a first coordinate, the first coordinate of the first touch operation is mapped to a second coordinate of the writing interface according to a preset mapping relation, and the second coordinate is located outside the touch area, so that the position where the first touch operation occurs is simulated to be the second coordinate.
S103, determining that the first touch operation is a long-press operation.
In the writing mode, the user can select handwriting and the like in addition to writing handwriting, so that the type of the first touch operation can be identified and corresponding processing is performed according to the type.
In this embodiment, if it is recognized that the type of the first touch operation is a long-press operation, that is, a press operation that continues for a period of time, the writing mode may be exited, and the handwriting operation mode may be entered.
It should be noted that, in different operating systems, the manner of identifying the long press operation is different, and a person skilled in the art may set a corresponding identification manner according to an actual operating system, which is not limited in this embodiment.
For example, in the Android system, the event predefined by the operating system already includes a long press event (On L ong click L istener), that is, the event provided by the Android system can be directly monitored, and if the long press event (On L ong click L istener) is monitored, it indicates that the first touch operation currently occurring is the long press operation.
For another example, in the iOS system, the predefined event of the operating system already includes the long press event (UI L onpressgestuturerecognizer), i.e. the event provided by the iOS system can be directly monitored, and if the long press gesture event (UI L onpressgestuturerecognizer) is monitored, it indicates that the first touch operation currently occurring is the long press operation.
Even if a long-press event is provided in the operating system, for better control, the long-press operation can be recognized by adding a timer to three events, namely a press-down event, a move event and a lift-up event, which can be abstracted from the touch operation.
The pressing event may indicate that the touch screen is pressed, not moved or not lifted, each touch point has one pressing event, that is, a multi-point pressing event occurs during a multi-point touch operation, the moving event may indicate that the touch screen is moved (or slid) after being pressed, and the lifting event may indicate that the touch screen is lifted.
In the Android system, press events are represented using ACTION _ Down, Move events are represented using ACTION _ Move, lift events are represented using ACTION _ Up, in the iOS system, press events are represented using touchbeam, Move events are represented using touchmoved, lift events are represented using touchend, in the Windows system, press events are represented using WM _ TOUCH _ Down, Move events are represented using WM _ TOUCH _ Move, lift events are represented using WM _ TOUCH _ Up, in the Ubuntu system, press events can be represented using GDK _ TOUCH _ ben, in the GTK (GIMP Toolkit, a set of source codes distributed in L GP L licensing protocol, a graphics Toolkit across platforms) framework, press events are represented using GDK _ TOUCH _ pointer, movement events are represented using GDK _ TOUCH _ UPDATE, and the like.
As can be seen, the three events, i.e., the press event, the move event, and the lift event, do not directly represent a long press operation, but different events may be combined to define a touch gesture, and the computer device may trigger a corresponding operation according to the touch gesture to complete a touch operation, i.e., a long press operation may be defined by the press event, the move event, and the lift event.
For example, the long-press operation is a single-point touch operation, whereas if the first touch operation is a multi-point touch operation, it may be determined that the first touch operation is not the long-press operation.
Specifically, when a press-down event is received, it is determined that the first touch operation occurs, and at this time, a timer for counting time may be started in a system, thread, timer, KeQueryTickCount function, KeSetTimer, or the like, and when the counted time exceeds a preset time period, the timer is stopped and a specified action is executed.
In this embodiment, the time period is used to indicate how long the user presses, and may be set freely by those skilled in the art according to actual conditions or user habits, such as 500ms, 700ms, and the like, which is not limited in this embodiment.
If the first touch operation is a single-point touch operation, a distance between the coordinates of the movement event and the coordinates of the pressing event can be calculated to determine a movement distance of the first touch operation.
Of course, in some cases, the long-press operation belongs to a multi-point touch operation, and if the first touch operation is the multi-point touch operation, it may be continuously detected whether the first touch operation is the long-press operation, which is not limited in this embodiment.
It should be noted that, when the first touch operation occurs, other control operations are generally not allowed to interrupt the first touch operation, for example, when the user clicks a certain control in the user interface, at this time, detection of whether the first touch operation is a long-press operation may be interrupted.
In addition, a Boolean Variable (True) is generated in memory and set to a first value (e.g., True).
If the distance is greater than or equal to the predetermined error value within the predetermined time period, the boolean variable is modified from the first value to a second value (e.g., False).
And when the timer finishes timing, designating an action of checking the Boolean variable, and at the moment, if the Boolean variable is a first value and indicates that the distance is less than a preset error value in a preset time period, determining that the first touch operation is a long-press operation. If the boolean variable is the second value, which indicates that the distance is greater than or equal to the preset error value within the preset time period, it is determined that the first touch operation is not a long-press operation.
And S104, determining a target area on the writing interface based on the position of the hair growing button operation.
In the handwriting operation mode, if the long press operation is detected, the operation parameters of the long press operation can be extracted, at least part of the operation parameters can be changed along with the change of the long press operation, and the operation parameters are converted into the target area according to a preset conversion relation.
In a specific implementation, at least the operation parameters of the position of the hair growth press operation and the duration of the hair growth press operation can be extracted, and the target area is generated on the writing interface based on the position of the hair growth press operation.
Further, the shape of the target area may be a regular pattern such as a circle, an ellipse, a prism, a square, or an irregular pattern, which is not limited in this embodiment.
Taking a circle as an example, as shown in fig. 2C, a radius may be determined based on a duration of the long press operation 201 with a position where the long press operation 201 occurs as a center of the circle, and a target area 202 having a circular shape may be generated, where the radius is positively correlated with the duration, that is, the longer the duration of the long press operation is, the larger the radius is, so that the range of the target area is larger, and conversely, the smaller the duration of the long press operation is, the smaller the radius is, so that the range of the target area is smaller.
Illustratively, the radius may be calculated by the following formula:
l=t*n
wherein l is a radius, t is a duration of the long press operation, n is a speed parameter, which can be used to adjust the expansion speed of the target area, and the two are positively correlated, i.e. the larger n is, the faster the expansion of the target area is, whereas the smaller n is, the slower the expansion of the target area is, which belongs to a constant, and can be set by a person skilled in the art according to actual conditions,
further, as shown in fig. 2D, when the user continues the long press operation 201, the duration of the long press operation increases, the radius increases, and the area of the target region 202 increases accordingly.
It should be noted that, since the target area is an area calculated in the memory of the computer device, in fig. 2C and fig. 2D, for convenience of describing the target area, the target area is indicated by a dashed line, but the visual area is not meant to be a visual element in the interface.
Of course, the target area and the determination method thereof are only examples, and when the embodiment of the present invention is implemented, other target areas and determination methods thereof may be set according to actual situations, for example, operation parameters such as a position, a duration, and a pressing direction of the long press operation may be extracted, and the target area may be determined based on the position of the long press operation, where a range of the target area is positively correlated with the duration of the long press operation, an expansion speed of the target area in the pressing direction is greater than that in other directions, and the like, and the embodiment of the present invention is not limited thereto. In addition, besides the target area and the determination method thereof, a person skilled in the art may also use other target areas and determination methods thereof according to actual needs, and the embodiment of the present invention is not limited thereto.
And S105, selecting at least part of handwriting according to the target area as target handwriting.
In the handwriting operation mode, when the target area is generated, part or all of the handwriting can be selected from the displayed handwriting as the target handwriting through the position relation between the target area and the handwriting.
Generally, the user may operate all the handwriting on the screen through other touch operations, such as multi-point touch, and therefore, in this embodiment, the user usually selects a part of the handwriting through the target area as the target handwriting to perform other operations on the user.
Of course, the user may also select all the handwriting through the target area as the target handwriting for the user to perform other operations, which is not limited in this embodiment.
In a particular implementation, the handwriting located within the target area may be selected as the target handwriting.
In addition, if the other handwriting has relevance with the handwriting in the target area, the handwriting with relevance can be selected as the target handwriting.
Users write handwriting on computer devices, usually to accomplish a specific drawing or writing task, such as writing a character, writing a piece of text, drawing a graphic, etc., which have independent meanings and can be called handwriting combination.
For example, as shown in fig. 2A, six characters "1", "2", "3", "4", "5", "6" may be respectively six handwriting combinations, and further, "1", "2", "3" may also belong to one handwriting combination, "4", "5", "6" belongs to another handwriting combination, and so on.
The relevance in this embodiment may refer to handwriting belonging to the same handwriting combination.
The user may have a larger possibility of performing uniform operation on the handwriting combinations, and then the handwriting combinations may be selected together in the embodiment, which is convenient for the user to operate.
Further, the handwriting can be grouped, the handwriting with relevance is determined to be the handwriting combination, whether the handwriting combination is intersected with the target area, whether the handwriting combination is located in the target area or not and whether the handwriting combination is located outside the target area or not can be detected through a hit test algorithm of the geometric figure, if the handwriting combination is intersected with the target area or the handwriting combination is located in the target area, the handwriting combination is determined to be the target handwriting, and otherwise, if the handwriting combination is located outside the target area, the handwriting combination cannot be selected.
In one mode, a user writes a handwriting combination in a short time, and based on the writing habit, the handwriting combination may be recognized in a time dimension, and specifically, a first handwriting, so-called the first handwriting, may be determined, where the first handwriting may refer to the first written handwriting after an interval exceeds a preset target time period, where the target time period is used to define the first handwriting, and may be set by a person skilled in the art according to actual conditions, such as 5 seconds, 10 seconds, and the like, which is not limited in this embodiment.
The time range is determined based on the first handwriting, and specifically, the time range is determined generally with the time for writing the first handwriting as a starting point, and the length of the time range is a preset time length, so that the handwriting drawn in the time range is determined to be a handwriting combination.
For example, as shown in fig. 2C and 2D, if the user writes "1", "2" and "3" in a short time, when the handwriting is grouped, it may be selected that "1", "2" and "3" belong to the same handwriting combination, and since part of the handwriting of "1" and "2" is located in the target area 202, it may be selected that "1", "2" and "3" are target handwriting.
In another way, a user writes a handwriting combination in a small range, based on the writing habit, the handwriting combination can be recognized on a two-dimensional plane, specifically, a first handwriting can be determined, and a handwriting range can be determined based on the first handwriting, where the handwriting range can be a circle with the first handwriting as a center and a preset value as a radius, or a rectangle with the first handwriting as a center and a preset value as a side length, and so on, and this embodiment is not limited thereto. Thereby determining the handwriting drawn in the handwriting range as a handwriting combination.
For example, as shown in fig. 2C and 2D, if the user writes "1", "2" and "3" in a small area, at this time, "1", "2" and "3" may be selected to belong to the same handwriting combination, and since part of the handwriting of "1" and "2" is located in the target area 202, "1", "2" and "3" may be selected as the target handwriting.
The geometry of the selected target handwriting is merged into a geometry through a plane geometry merging algorithm, and the geometry of the target handwriting is merged into a geometry in computer equipment and is processed in an interface rendering layer by default, namely, the geometry of the handwriting is merged into a rendering layer for display in interface display, so that the originally merged geometry is directly obtained in the embodiment, and no extra computing time is occupied.
The geometric figures combined by the handwriting on the whole page are continuously superposed with the target area generated based on the long press operation, the geometric figures of the handwriting and the geometric figures of the target area can be superposed into a figure by taking the intersection superposition mode, the figure is the intersection of the figures of the target area and the handwriting, the intersection is displayed on the uppermost layer of the page, and the original drawing of the geometric figures of the handwriting is not required to be changed.
Optionally, in order to distinguish the target writing selected based on the long-press operation from other non-selected writing, the display state of the target writing in the screen may be modified.
For example, as shown in fig. 2E, a circumscribed frame 203 is displayed outside the target writing "1", "2", "3", and the writing "1", "2", "3" in the circumscribed frame 203 is in a selected state, and so on.
In the embodiment, handwriting is displayed on a writing interface, a first touch operation occurring on the writing interface is received, the first touch operation is determined to be a long-time press operation, a target area is determined on the writing interface based on the position of the long-time press operation, the range of the target area is positively correlated with the duration of the long-time press operation, at least part of the handwriting is selected according to the target area to serve as the target handwriting, the long-time press operation can be directly triggered when a user writes the handwriting, the target area is controlled through the long-time press operation, so that the proper handwriting is selected, the touch operation and the long-time press operation of the user writing are both touch operations, the two operations are connected smoothly, the user does not need to click a control or freeze the handwriting, the continuity of the writing behavior of the user can be kept, and the efficiency of writing the handwriting is improved.
Secondly, because the long-time pressing operation is single, the controllability is poor, therefore, the embodiment determines that the handwriting with the relevance is the handwriting combination, if the handwriting combination is intersected with the target area or the handwriting combination is located in the target area, the handwriting combination is determined to be the target handwriting, the handwriting combination is formed by the handwriting with the relevance, the habit of writing the handwriting of a user is met, extra handwriting can be quickly selected to serve as the target handwriting, the accuracy is high, and the efficiency of selecting the target handwriting is improved.
Further, the embodiment identifies the handwriting combination in the dimension of time or space based on the habit of writing one handwriting combination in a short time or in a small area by the user, so that the identification accuracy of the handwriting combination can be improved, and the accuracy of the selected target handwriting can be ensured.
Example two
Fig. 3 is a flowchart of a handwriting selection method according to a second embodiment of the present invention, where the present embodiment further adds processing operations of optimizing handwriting display and displaying a prompt identifier based on the foregoing embodiment, and the method specifically includes the following steps:
and S301, displaying handwriting on the writing interface.
S302, receiving a first touch operation generated on the writing interface.
In the writing mode, the user triggers the touch operation, and the computer device cannot know what the user intends to trigger the touch operation, that is, when the user presses down the screen for the first time, the user cannot know whether the user wants to trigger a designated touch operation such as a sliding operation to write handwriting or trigger a long-time pressing operation to select handwriting.
For this purpose, in the computer device, an interaction filter layer is arranged, in the writing mode, if a first touch operation occurs on the writing interface, the first touch operation occurring on the writing interface can be transmitted to the preset interaction filter layer, the type of the first touch operation is identified in the interaction filter layer, and the type of the first touch operation is output for subsequent flow operation, wherein the type includes long-time pressing operation and touch operation for writing handwriting.
It should be noted that, in the present embodiment, since the manner of identifying the type of the touch operation in the interaction filter layer is substantially similar to the application of S102 in the first embodiment, the description is relatively simple, and for relevant points, reference may be made to the partial description of S102 in the first embodiment, which is not described in detail herein.
It should be noted that, when the computer device configures two or more screens, a user triggers a first touch operation on a certain screen, and may display the same new handwriting in response to the first touch operation in each screen, or may display a new handwriting in response to the first touch operation on a screen where the first touch operation occurs, and ignore the first touch operation on other screens, which is not limited in this embodiment.
And S303, displaying the new handwriting according to the first touch operation.
While the type of the first touch operation is recognized in the interaction filter layer, it may be assumed that the first touch operation is a touch operation for writing handwriting, such as a sliding operation, and not a long-time pressing operation, at this time, as shown in fig. 4A, a new handwriting 402 may be displayed in response to the first touch operation 401, so that when the type of the first touch operation is recognized in the interaction filter layer as a touch operation for writing handwriting, such as a sliding operation, the speed of responding to the first touch operation may be increased, thereby increasing the speed of displaying the handwriting, and thus improving user experience.
Specifically, many data points can be resolved from a touch operation, handwriting is displayed by converting the data points collected by touch into drawing commands, and the display process is generally divided into the following three steps:
1. framework
When the data points obtained through touch operation are substantially touch points, the data points are converted into lines when the skeleton is determined, and the segmentation of the data points and the drawing of the data points into the lines are included.
Specifically, as shown in fig. 5A, the centers of two adjacent data points are determined as fixed points (black data points) from the collected data points, the collected data points are used as control points (white data points), and a curve is plotted using the bezier algorithm.
As shown in fig. 5B, the data points are divided because there may be corners in the handwriting written by the user, and the corners are plotted by dividing the data points into different strokes, and the data points in a dashed box are a stroke.
For the chinese character, the chinese character has the edges and corners, and for english, english does not have the edges and corners, so the fillet is expected to be drawn, consequently, in this embodiment, according to the shape of the typeface of the different languages of affiliation, can judge that the handwriting that the user was currently written is edges and corners or fillet.
If the handwriting written by the user is English, such as "a", the user wants to draw round corners, but if the handwriting written by the user is Chinese characters, the user wants to draw corners. The computer equipment cannot know whether the current handwriting written by the user is Chinese characters or English, so that the handwriting written by the user can be judged to be English or Chinese characters by judging the angle of the corner, and the corner or the round corner can be determined to be drawn.
Specifically, as shown in fig. 5C, according to the method of connecting two data points into a line segment and calculating an included angle between adjacent line segments, as shown in α, if the included angle is an obtuse angle (greater than 90 °), the handwriting written by the user can be considered as english, and the handwriting is displayed by using the bezier algorithm, so as to draw a rounded corner, and if the included angle is less than 50 °, the handwriting written by the user can be considered as a chinese character, and a corner angle is drawn when the handwriting is displayed, so as to directly divide the data points into two line segments.
2. Width of
A line may be connected by determining the skeleton, but the line is not yet wide, and therefore the width of the line is determined by other calculations.
By applying the width calculation, the handwriting with larger width at two ends and smaller width in the middle can be written.
Further, the width calculation includes a width calculation of the stroke front and a width calculation of the non-stroke front.
The handwriting is divided into multiple segments using the user's angle of the line drawn and the segmentation of the data points between the presence of a Move event (e.g., WM _ Touch _ Move) and a lift event (e.g., WM _ Touch _ Up).
Taking n (n is a positive integer, such as 35) data points drawn last in a segment or data points drawn in a period (such as 6ms) (the number is generally larger than n) as a stroke front, and taking other data points as non-stroke fronts.
The width of a line can be set by a user, the width set by the user is an initial width, for a touch screen of a computer device, the touch speed of the user when the touch operation is triggered can be obtained, namely the collection time is recorded from collected data points, the touch speed of the user can be measured according to the number of the collected data points within a certain time, the number of the collected data points is positively correlated with the touch speed of the user, namely the more the number of the collected data points is, the faster the touch speed of the user is, and conversely, the less the number of the collected data points is, the slower the touch speed of the user is. In addition, the distance between the data point and the data point can be calculated, and the distance between two adjacent data points and the time difference between the two adjacent data points can be calculated to measure the touch speed.
Illustratively, those skilled in the art define a maximum speed and a minimum speed, the maximum speed being obtained by analyzing a log file of the user using the computer device, the log file recording usage information of the user's touch operation in the computer device, and usually plotting a unit length of 5 units every 1 millisecond, the unit length being a unit corresponding to coordinates of collected data points. The length of the touch point report of the touch screen is related to the screen size DPI (Dots Per Inch), but the unit length is related to the user vision, namely, the unit length error of the touch screen is small in different resolutions and different sizes of screens.
If the width T of the handwriting designed by the user is small, the direct distance between two data points can be used as the line drawing speed v of the user for the purpose of optimizing calculation because the error of the time interval of the collected data points is small.
The way u (v) is found is to take the slowest speed w of the user, which is exemplarily 1. To prevent the point where the minimum value is obtained at the rest distance from being a negative number, u (v) ═ Max (v-w, x) is used here, and x is a constant, and exemplarily, x is taken to be 2. To prevent the user from drawing a line too fast, the maximum speed is taken to be 5. And the final handwriting width Thiesses is a value of 80% of the width set by the user when the writing speed of the user exceeds the maximum speed by 5 units and the length is 1 millisecond, and a line is drawn at a speed of 120% when the user uses the handwriting with a very slow speed.
Illustratively, the formula for calculating the width is as follows:
Figure BDA0002440546300000121
wherein a is T/0.12.
Therefore, when the user uses the rapid handwriting writing device to write handwriting, the lines with smaller width are drawn, namely the lines become thinner, and when the user writes the handwriting slower, the lines with larger width are drawn, namely the lines become thicker.
3. Pen point
Specifically, a line width calculated by using the pen front line segment as the normal line segment is taken as the pen front width. The pen point takes a connecting point as a line segment, and if the pen point is just divided into two segments, only the last segment is taken as the pen point. The two segments are divided into two segments, the turning angle of the point of the pen point is less than 50 degrees, and the last segment can be used as the pen point.
Illustratively, a triangle is made using the distance l of the points of the pen nib. As shown in fig. 5D, the uppermost line is the width of the pen tip, and the width of the pen tip where each point is located is the width calculated by the distance between the point and the first point of the pen tip.
S304, determining that the first touch operation is a long-press operation.
And S305, responding to the long-time pressing operation, and canceling the display of the new handwriting.
If the user intends to trigger the first touch operation and wants to select the handwriting through the long-press operation, namely the user does not write the handwriting at all, at the moment, the new handwriting drawn in response to the first touch operation is cleared.
Since it takes less time to identify the type of the touch operation in the interaction filter layer, the number of the displayed new handwriting is small, and the length is short, and as shown in fig. 4A, most of the new handwriting 402 is concentrated under the finger, the stylus, and the like of the user, and is just shielded, at this time, the current user and other users generally cannot see the new handwriting 402, so the new handwriting is drawn before determining the type of the first touch operation, and when determining that the type of the first touch operation is the long press operation, as shown in fig. 4B, the new handwriting 402 is cancelled to be displayed, that is, the handwriting 402 not intended by the user is cleared, the influence on the user is reduced as much as possible, and it can be ensured that the user normally selects the handwriting through the long press operation 401.
S306, determining a target area on the writing interface based on the hair growth pressing operation position.
Wherein the range of the target area is positively correlated with the duration of the long press operation.
And S307, displaying a prompt mark on a writing interface.
In the handwriting selection mode, since the long-press operation generally changes continuously, some parameters of the long-press operation may also change continuously, such as the duration, the pressing direction, the pressing pressure, and the like, so that the target area generated by using the parameters also changes continuously, and the handwriting selected based on the target area also changes continuously.
In order to enable a user to accurately select a required handwriting, when a long-time press operation occurs, a prompt mark can be displayed on a writing interface, wherein the prompt mark is a visual element in the interface and can be used for prompting the position relation between a target area and the handwriting, namely prompting which handwriting is intersected with the target area, which handwriting is located in the target area and which handwriting is located outside the target area, so that the user can accurately select the required handwriting in the process of continuously changing the target area, and the accuracy of selecting the target handwriting is improved.
Since the target area is also changed, the presentation indicator is also changed according to the change of the target area.
In a prompting mode, the prompting mark comprises a first mark, the first mark is used for prompting the range of the target area, the first mark can be displayed on the handwriting, and a user can know the range of the target area by browsing the first mark to know which handwriting is located in the target area and which handwriting is located outside the target area, so that the user can select the handwriting conveniently.
Optionally, the first marker may be displayed with a set transparency, such as 30%, 50%, etc., which facilitates the user to observe the handwriting located in the target area while observing the first marker.
Taking a circle as an example of the target area, if a radius is determined based on the duration of the long press operation with the position where the long press operation occurs as the center of the circle, and a target area in a shape of a circle is generated, where the radius is positively correlated with the duration, then, as shown in fig. 4C, a radius is determined based on the duration of the long press operation with the position where the long press operation occurs as the center of the circle, and a first mark 403 in a shape of a circle is generated, where the radius is positively correlated with the duration, so that the first mark 403 and the target area (not shown in the figure) are the same in shape and position, that is, the first mark 403 overlaps with the target area, and the transparency of the first mark 403 is 50%, so that a user can see through the first mark 403 parts of "1" and "2", and know that part of handwriting in "1" and "2" is located in the first mark 403, that part of handwriting covered by the first mark in "1" and "2" is located in, other writing that is not covered by the first marking 403 is located outside the target area.
In another prompting mode, the prompting mark comprises a second mark, the second mark is used for prompting the handwriting intersected with the target area and the handwriting located in the target area, and then the second mark can be displayed in the handwriting.
Illustratively, the second identifier includes a color and/or a stroke, i.e., the color and the stroke may be used alone or in combination.
In this example, the writing located within the target area may be filled with a specified color and/or a delineation may be added to the writing located within the target area.
And the filled color is different from the original color of the handwriting so as to distinguish the states of the handwriting which are positioned in the target area and the states of the handwriting which are positioned outside the target area.
Taking color as an example, as shown in fig. 4D, the partial handwriting 404 in the target area in "1" and "2" is filled with the specified color, so that the user can know that the partial handwriting 404 filled with the specified color in "1" and "2" is located in the target area, and other handwriting not filled with the specified color is located outside the target area.
Further, the first identifier and the second identifier may be used separately, or may be used in combination and at the same time, that is, the range of the target area is prompted, and handwriting located in the target area is prompted, which is not limited in this embodiment.
Of course, the above prompt identifier is only an example, and when the embodiment is implemented, other prompt identifiers may be set according to actual situations, for example, the second identifier is a floating identifier and a transparency, that is, the handwriting located in the target area is modified to be displayed in a floating manner, and the transparency of the handwriting located in the target area is modified, or a third identifier is designed, such as a transparency, and the third identifier is used to prompt the handwriting located outside the target area, that is, modify the transparency of the handwriting located outside the target area, and the like, which is not limited in this embodiment. In addition, besides the above prompt identifier, a person skilled in the art may also use other prompt identifiers according to actual needs, which is not limited in this embodiment.
And S308, selecting at least part of handwriting according to the target area as target handwriting.
EXAMPLE III
Fig. 6 is a flowchart of a handwriting selection method according to a third embodiment of the present invention, where the present embodiment is based on the foregoing embodiment, and further adds an operation to a selected target handwriting, and the method specifically includes the following steps:
and S601, displaying handwriting on a writing interface.
S602, receiving a first touch operation generated on the writing interface.
S603, determining that the first touch operation is a long-press operation.
And S604, determining a target area on the writing interface based on the position of the hair growth pressing operation.
Wherein the range of the target area is positively correlated with the duration of the long press operation.
And S605, selecting at least part of handwriting as target handwriting according to the target area.
And S606, receiving a second touch operation generated on the writing interface.
And S607, operating the target handwriting according to the second touch operation.
After the target writing is selected, a roaming mode is performed.
In the roaming mode, a user can click, slide and other operations on a screen of the computer device by using a finger, a touch pen and other modes, so that a second touch operation is triggered on the writing interface, and when the computer device receives the second touch operation, the selected target handwriting can be correspondingly adjusted according to an operation command mapped by the second touch operation, so that the touch operation efficiency is improved.
Optionally, for the convenience of the user, if the second touch operation triggered by the user touches the target handwriting, it is determined that the second touch operation is valid, and otherwise, if the second touch operation triggered by the user touches another handwriting other than the target handwriting, it is determined that the second touch operation is invalid, and the selection of the target handwriting is cancelled.
Further, the second touch operation is generally a gesture operation, which may be a single-point touch gesture or a multi-point touch gesture, and this embodiment is not limited thereto.
In order to make the skilled person better understand the embodiment, the following describes the operation of the target writing in the embodiment by a specific example.
In this embodiment, the second touch operation includes at least one of the following operations:
1. moving operation
The moving operation generally belongs to a single-point touch gesture, and refers to sliding along a certain direction after the screen is pressed down.
In this example, the second touch operation is determined to be a moving operation, and the target handwriting is dragged based on the moving operation.
For example, as shown in fig. 7A, the user's finger presses and slides to the left, triggering the move operation, as shown in fig. 7B, the process of "1", "2", "3" sliding to the left may be displayed in the screen of the computer device, and when the user lifts the finger, "1", "2", "3" stops sliding.
Further, a moving direction of the moving operation may be determined, and the moving operation may be mapped to a distance in the moving direction according to a certain functional relation, at which time, the target handwriting may be moved in the moving direction until the distance is reached.
For example, as the operation duration of the moving operation increases, the distance in the moving direction is mapped in equal proportion; as another example, as the moving distance of the moving operation increases, the distance is mapped to the moving direction in an equal proportion; as another example, as the moving speed of the moving operation increases, the distance is mapped to the moving direction in an equal proportion, and so on.
2. Rotating operation
The rotation operation is generally a multi-touch gesture, which means that a plurality of touch points are rotated and moved based on a base point.
In this example, the second touch operation is determined to be a rotation operation, and the target handwriting is rotated based on the rotation operation.
For example, as shown in fig. 7C, two fingers of the user press down and rotate clockwise to the left, triggering a rotation operation, as shown in fig. 7D, a process of clockwise rotation of "1", "2", and "3" may be displayed in the screen of the computer device, and when the user lifts up the fingers, "1", "2", and "3" stop clockwise rotation.
Further, the rotation operation may be mapped to an angle according to a certain functional relation, and at this time, the target handwriting may be rotated according to the angle.
For example, as the operation time length of the rotation operation increases, the angle is mapped in equal proportion; as another example, as the moving distance of the rotation operation increases, the angle is mapped in equal proportion; as another example, as the moving speed of the rotating operation increases, the angle is mapped in an equal proportion, and so on.
3. Zoom operation
The zooming operation is generally a multi-touch gesture, which means that a plurality of touch points gather or spread.
In this example, the second touch operation is determined to be a zoom operation, and the target handwriting is zoomed based on the zoom operation.
When the plurality of touch points are gathered, the target handwriting is reduced, and when the plurality of touch points are diffused, the target handwriting is enlarged.
Further, the scaling operation may be mapped to a scale according to a certain functional relation, and at this time, the target handwriting may be scaled according to the scale, where the target handwriting is scaled down when the scale is less than 1, and the target handwriting is scaled up when the scale is greater than 1.
For example, as the operation duration of the scaling operation increases, the scaling is mapped to a scale in an equal proportion; as another example, as the moving distance of the zoom operation increases, the scale is mapped to a scale; as another example, as the speed of movement of the zoom operation increases, the scale maps to a scale, and so on.
For example, as shown in fig. 7E, two fingers of the user press down and spread outward, triggering a zoom operation, as shown in fig. 7F, a process of "1", "2", and "3" zooming in may be displayed in the screen of the computer device, and "1", "2", and "3" zooming out stops when the user lifts up the fingers.
4. Screen cut operation
The screen-switching operation may be a single gesture operation, or may also be a combination of two or more gesture operations, such as a combination of a long-press operation and a moving operation, and the gesture operation may be a single-point touch operation or a multi-point touch operation, which is not limited in this example.
The computer device is configured with two or more screens, in order to distinguish different screens, one screen is called a first screen, the other screen is called a second screen, in the example, the target handwriting is displayed in the first screen, the second touch operation is determined as a screen switching operation, the target handwriting is switched from the first screen to the second screen based on the screen switching operation, namely at least two actions of canceling the display of the target handwriting on the first screen and displaying the target handwriting on the second screen are included, and on the basis, the animation that the target handwriting is switched from the first screen to the second screen can be played.
The first screen is provided with a first application for drawing the handwriting, and the first application is used for drawing the target handwriting.
If the second screen is also installed with a second application for drawing handwriting, and the first application and the second application are the same application or compatible applications, the first screen may transmit parameters (such as coordinates, color, width, transparency, and the like) for drawing the target handwriting to the second screen, and the application draws the target handwriting according to the parameters.
If the second screen is not provided with the handwriting drawing application, the first screen can generate image data containing the target handwriting in a screenshot mode, a drawing mode and the like, the image data is transmitted to the second screen, and the second screen displays the image data, so that the target handwriting is displayed.
Further, in order to facilitate a user to select a position where the target handwriting is displayed in the second screen, and improve interaction efficiency of multiple screens, when the first screen receives a first operation (such as a long press operation), the first screen displays a user interface of the second screen in a thumbnail mode, and when the second screen receives a second operation (such as a move operation), a position is determined in the user interface according to the second operation, so that the second screen is notified to display the target handwriting at the position.
The first operation and the second operation belong to touch operation in screen cutting operation.
The second screen may transmit the user interface of the second screen to the first screen by means of screen capture or the like, so that the first screen may display the user interface of the second screen in a thumbnail manner.
The user interface may include two or more areas where the second screen displays the target writing if the location falls within the area.
For example, as shown in fig. 7G, the user triggers a long press operation, and as shown in fig. 7F, a thumbnail of the user interface of the second screen (right screen) may be displayed in the first screen (left screen) of the computer device, and as shown in fig. 7H, the thumbnail includes four regions, "up", "down", "left", and "right", respectively.
As shown in fig. 7I and 7J, the user triggers a move operation to place the target handwriting in the thumbnail, where the area where the target handwriting is located is "down", and in order to facilitate the user to place "1", "2", and "3", the "1", "2", and "3" may be reduced according to the reduction ratio between the user interface and the thumbnail and then moved, or of course, may be moved according to the original size, which is not limited in this example.
As shown in fig. 7K, the display of "123" is canceled in the first screen (left screen) of the computer device, the display of "1", "2", and "3" are displayed in the "lower" area in the user interface of the second screen (right screen), and the screen-cut display of "1", "2", and "3" is realized.
Of course, the second touch operation is only an example, and when the embodiment is implemented, other second touch operations may be set according to an actual situation, which is not limited in the embodiment. In addition, besides the second touch operation, a person skilled in the art may also use other second touch operations according to actual needs, which is not limited in this embodiment.
It should be noted that, in the process of triggering the long-time pressing operation by the user, if the user feels that the selected target handwriting is enough, the user may have two interactive choices, namely, directly triggering the second touch operation without raising the hand, and then raising the hand and continuing to press down to trigger the touch operation. That is, there may be no discontinuous operation between the first Touch operation and the second Touch operation, for example, after the user triggers the long-press operation, the user does not lift, that is, no lift event (e.g. WM _ Touch _ Up) occurs, and when the target area is expanded to a suitable range and a suitable handwriting is selected as the target handwriting, the user directly moves the trigger moving operation to move the corresponding target handwriting; the first Touch operation and the second Touch operation may be performed intermittently, for example, after the user triggers the long press operation, the user lifts, that is, a lift event (e.g., WM _ Touch _ Up) occurs, at this time, the target handwriting is selected, and then a trigger rotation operation or a zoom operation is pressed, the target handwriting is rotated or zoomed, and the like, which is not limited in this embodiment.
In addition, when the user enters and ends the second Touch operation, i.e. lifts his hand, a lift-off event (e.g. WM _ Touch _ Up) occurs, and at this time, the selection of the target handwriting may be cancelled.
Example four
Fig. 8 is a flowchart of a handwriting selection method according to a fourth embodiment of the present invention, where the method is applicable to a case where a user selects a handwriting by long-time pressing during writing the handwriting, and the method may be executed by a computer device, such as an intelligent interactive tablet, where the computer device may be implemented by software and/or hardware, and includes components such as a display screen, a touch screen, and a processor, and the method specifically includes the following steps:
s801, displaying handwriting on a writing interface by a display screen;
s802, receiving a first touch operation on the writing interface by a touch screen;
s803, the processor determines that the first touch operation is a long-press operation;
s804, the processor determines a target area on the writing interface based on the position where the long press operation occurs, wherein the range of the target area is positively correlated with the duration of the long press operation;
and S805, selecting at least part of the handwriting as the target handwriting by the processor according to the target area.
In an embodiment of the present invention, after S802, the method further includes:
displaying a new handwriting on the writing interface by the display screen according to the first touch operation;
after S803, the method further includes:
and the display screen responds to the long-time pressing operation and cancels the display of the new handwriting on the writing interface.
In one embodiment of the present invention, S803 includes:
if the first touch operation is a single-point touch operation, the processor determines the moving distance of the first touch operation;
if the distance is smaller than a preset error value within a preset time period, the processor confirms that the first touch operation is a long-press operation.
In one embodiment of the present invention, S804 includes:
the processor determines a radius based on the duration of the long press operation with the position where the long press operation occurs as a circle center, and generates a target area with a circular shape, wherein the radius is positively correlated with the duration.
In one embodiment of the present invention, further comprising:
and the display screen displays a prompt identifier on the writing interface, wherein the prompt identifier is used for prompting the position relation between the target area and the handwriting.
In an embodiment of the present invention, the prompt identifier includes a first identifier and/or a second identifier, and the display screen displays the prompt identifier on the writing interface, including:
displaying a first identifier on the handwriting by a display screen, wherein the first identifier is used for prompting the range of the target area;
and/or the presence of a gas in the gas,
and the display screen displays a second identifier in the handwriting, wherein the second identifier is used for prompting the handwriting intersected with the target area and the handwriting positioned in the target area.
In one embodiment of the invention, the second marker comprises a color and/or a stroke, and the display screen displays the second marker in the handwriting, comprising:
filling the handwriting in the target area with a specified color by the display screen;
and/or the presence of a gas in the gas,
and adding a stroke to the handwriting in the target area by the display screen.
In one embodiment of the present invention, S805 includes:
the processor determines the handwriting with the relevance as a handwriting combination;
and if the handwriting combination is intersected with the target area or the handwriting combination is positioned in the target area, the processor determines that the handwriting combination is the target handwriting.
In one embodiment of the invention, the processor determines the handwriting with the association as a handwriting combination, including:
the processor determines a time range based on the first handwriting;
the processor determines the handwriting drawn in the time range as a handwriting combination;
alternatively, the first and second electrodes may be,
the processor determines a handwriting range based on the first handwriting;
and the processor determines the handwriting drawn in the handwriting range as a handwriting combination.
In one embodiment of the present invention, further comprising:
the touch screen receives a second touch operation generated on the writing interface;
and the display screen operates the target handwriting according to the second touch operation.
In one embodiment of the invention, the display screen comprises a first screen and a second screen, and the target handwriting is displayed in the first screen;
the display screen operates the target handwriting according to the second touch operation, and the operation comprises the following steps:
if the second touch operation is determined to be a moving operation, dragging the target handwriting by the display screen based on the moving operation;
alternatively, the first and second electrodes may be,
if the second touch operation is determined to be a rotation operation, rotating the target handwriting on the basis of the rotation operation by the display screen;
alternatively, the first and second electrodes may be,
if the second touch operation is determined to be a zooming operation, zooming the target handwriting on the basis of the zooming operation by the display screen;
alternatively, the first and second electrodes may be,
and if the second touch operation is determined to be screen switching operation, the display screen switches the target handwriting from the first screen to a second screen for display based on the screen switching operation.
In one embodiment of the present invention, S802 includes:
the touch screen receives a first touch operation in a touch area in the writing interface, wherein the position where the first touch operation occurs is a first coordinate;
and the touch screen maps the first coordinate to a second coordinate on the writing interface so as to simulate the position where the first touch operation occurs as the second coordinate.
In one embodiment of the present invention, S803 includes:
the processor transmits the first touch operation generated on the writing interface to a preset interaction filter layer;
the processor identifies the type of the first touch operation in the interaction filter layer, and outputs the type of the first touch operation.
In the embodiment of the present invention, since the application is basically similar to the first, second, and third embodiments, and has corresponding advantages, the description is relatively simple, and the related points can be referred to the description of the first, second, and third embodiments, which is not described in detail herein.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
EXAMPLE five
Fig. 9 is a schematic structural diagram of a handwriting selecting apparatus according to a fifth embodiment of the present invention, where the apparatus may specifically include the following modules:
a handwriting display module 901, configured to display handwriting on the writing interface;
a first touch operation receiving module 902, configured to receive a first touch operation occurring on the writing interface;
a long-press operation determination module 903, configured to determine that the first touch operation is a long-press operation;
a target area determination module 904, configured to determine a target area on the writing interface based on a position where the long press operation occurs, where a range of the target area is positively correlated with a duration of the long press operation;
and the target handwriting selecting module 905 is used for selecting at least part of the handwriting according to the target area as the target handwriting.
In one embodiment of the present invention, further comprising:
and the handwriting drawing module is used for displaying new handwriting on the writing interface according to the first touch operation.
In one embodiment of the present invention, further comprising:
and the handwriting clearing module is used for responding to the long-time pressing operation and canceling the display of the new handwriting on the writing interface.
In one embodiment of the present invention, the long press operation determining module 903 comprises:
a moving distance determining submodule for determining a moving distance of the first touch operation;
and the time period determination submodule is used for determining that the first touch operation is a long-press operation if the distance is smaller than a preset error value in a preset time period.
In one embodiment of the present invention, the target area determination module 904 comprises:
and the circular area generation submodule is used for determining the radius based on the duration of the long press operation by taking the position where the long press operation occurs as a circle center, and generating a target area with a circular shape, wherein the radius is positively correlated with the duration.
In one embodiment of the present invention, further comprising:
and the prompt identifier display module is used for displaying a prompt identifier on the writing interface, wherein the prompt identifier is used for prompting the position relation between the target area and the handwriting.
In an embodiment of the present invention, the prompt identifier includes a first identifier and/or a second identifier, and the prompt identifier display module includes:
the first identification display submodule is used for displaying a first identification on the handwriting, and the first identification is used for prompting the range of the target area;
and/or the presence of a gas in the gas,
and the second identifier display sub-module is used for displaying a second identifier in the handwriting, and the second identifier is used for prompting the handwriting intersected with the target area and the handwriting positioned in the target area.
In one example of the embodiment of the present invention, the second identifier includes a color and/or a stroke, and the second identifier display sub-module includes:
the color filling unit is used for filling the handwriting in the target area with a specified color;
and/or the presence of a gas in the gas,
and the delineator adding unit is used for adding delineators to the handwriting in the target area.
In one embodiment of the present invention, the target writing selection module 905 comprises:
a handwriting combination determining sub-module, configured to determine that the handwriting with relevance is a handwriting combination;
and the target handwriting determining sub-module is used for determining the handwriting combination as the target handwriting if the handwriting combination is intersected with the target area or the handwriting combination is positioned in the target area.
In one embodiment of the invention, the handwriting combination determination submodule comprises:
a time range generating unit for determining a time range based on the first handwriting;
the time range determining unit is used for determining the handwriting drawn in the time range as a handwriting combination;
alternatively, the first and second electrodes may be,
the handwriting range generating unit is used for determining the handwriting range based on the first handwriting;
and the handwriting range determining unit is used for determining that the handwriting drawn in the handwriting range is a handwriting combination.
In one embodiment of the present invention, further comprising:
the second touch operation receiving module is used for receiving a second touch operation generated on the writing interface;
and the target handwriting operation module is used for operating the target handwriting according to the second touch operation.
In one example of embodiment of the present invention, the target writing operation module comprises:
a moving operation determination submodule, configured to determine that the second touch operation is a moving operation;
the target handwriting dragging sub-module is used for dragging the target handwriting based on the moving operation;
alternatively, the first and second electrodes may be,
a rotation operation determination submodule for determining that the second touch operation is a rotation operation;
a target handwriting rotation sub-module, configured to rotate the target handwriting based on the rotation operation;
alternatively, the first and second electrodes may be,
a zoom operation determination submodule, configured to determine that the second touch operation is a zoom operation;
the target handwriting scaling sub-module is used for scaling the target handwriting based on the scaling operation;
alternatively, the first and second electrodes may be,
the screen switching operation determining submodule is used for determining that the second touch control operation is screen switching operation;
and the target handwriting switching sub-module is used for switching the target handwriting from the first screen to the second screen for display based on the screen switching operation.
In an embodiment of the present invention, the first touch operation receiving module 902 includes:
the touch area receiving submodule is used for receiving a first touch operation in a touch area in the writing interface, and the position where the first touch operation occurs is a first coordinate;
and the coordinate mapping submodule is used for mapping the first coordinate to a second coordinate on the writing interface so as to simulate the position where the first touch operation occurs as the second coordinate.
In one embodiment of the present invention, the long press operation determining module 903 comprises:
the touch operation transmission sub-module is used for transmitting the first touch operation generated on the writing interface to a preset interaction filter layer;
and the type identification submodule is used for identifying the type of the first touch operation in the interaction filter layer and outputting the type of the first touch operation.
The handwriting selection device provided by the embodiment of the invention can execute the handwriting selection method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 10 is a schematic structural diagram of a computer device according to a sixth embodiment of the present invention. As shown in fig. 10, the computer apparatus includes a processor 1000, a memory 1001, a communication module 1002, an input device 1003, and an output device 1004; the number of the processors 1000 in the computer device may be one or more, and one processor 1000 is taken as an example in fig. 10; the processor 1000, the memory 1001, the communication module 1002, the input device 1003, and the output device 1004 in the computer apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 10.
The memory 1001 is used as a computer-readable storage medium and can be used for storing software programs, computer-executable programs, and modules, such as modules corresponding to the handwriting selection method in the embodiment (for example, a handwriting display module 801, a first touch operation receiving module 802, a long-press operation determining module 803, a target area determining module 804, and a target handwriting selection module 805 in a handwriting selection device shown in fig. 8). The processor 1000 executes various functional applications and data processing of the computer device by running software programs, instructions and modules stored in the memory 1001, that is, implements the handwriting selection method described above.
The memory 1001 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 computer device, and the like. Further, the memory 1001 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 1001 may further include memory located remotely from processor 1000, which may be connected to a computer device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
And the communication module 1002 is used for establishing connection with the screen and realizing data interaction with the screen.
The input means 1003 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer device, and may also be a camera for acquiring images and a sound pickup device for acquiring audio data.
The output device 1004 may include an audio device such as a speaker.
The specific composition of the input device 1003 and the output device 1004 may be set according to actual conditions.
The processor 1000 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 1001, that is, implements the above-described connection node control method of the electronic whiteboard.
The computer device provided by the embodiment of the invention can execute the handwriting selection method provided by any embodiment of the invention, and has the corresponding functions and beneficial effects.
EXAMPLE seven
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for selecting handwriting, and the method includes:
displaying the handwriting on a writing interface;
receiving a first touch operation occurring on the writing interface;
determining that the first touch operation is a long-press operation;
determining a target area on the writing interface based on the position where the long-press operation occurs, wherein the range of the target area is positively correlated with the duration of the long-press operation;
and selecting at least part of the handwriting as target handwriting according to the target area.
Of course, the computer program of the computer-readable storage medium provided by the embodiment of the present invention is not limited to the method operations described above, and may also perform related operations in the handwriting selection method provided by any embodiment of the present invention.
Based on the understanding that the technical solutions of the present invention can be embodied in the form of software products, such as floppy disks, Read-Only memories (ROMs), Random Access Memories (RAMs), flash memories (F L ASHs), hard disks or optical disks of a computer, etc., and include instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the handwriting selecting apparatus, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention 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 invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (17)

1. A method for selecting handwriting, comprising:
displaying the handwriting on a writing interface;
receiving a first touch operation occurring on the writing interface;
determining that the first touch operation is a long-press operation;
determining a target area on the writing interface based on the position where the long-press operation occurs, wherein the range of the target area is positively correlated with the duration of the long-press operation;
and selecting at least part of the handwriting as target handwriting according to the target area.
2. The method of claim 1,
after the receiving a first touch operation occurring on the writing interface, the method further comprises:
displaying new handwriting on the writing interface according to the first touch operation; after the determining that the first touch operation is a long press operation, the method further comprises:
and in response to the long-press operation, canceling the display of the new handwriting on the writing interface.
3. The method of claim 1, wherein the determining that the first touch operation is a long press operation comprises:
if the first touch operation is a single-point touch operation, determining a moving distance of the first touch operation;
and if the distance is smaller than a preset error value within a preset time period, confirming that the first touch operation is a long-press operation.
4. The method of claim 1, wherein the determining a target area on the writing interface based on the location where the long press operation occurred comprises:
and determining a radius based on the duration of the long press operation by taking the position where the long press operation occurs as a circle center, and generating a target area with a circular shape, wherein the radius is positively correlated with the duration.
5. The method of any of claims 1-4, further comprising:
and displaying a prompt identifier on the writing interface, wherein the prompt identifier is used for prompting the position relation between the target area and the handwriting.
6. The method of claim 5, wherein the prompt indicator comprises a first indicator and/or a second indicator, and wherein displaying the prompt indicator on the writing interface comprises:
displaying a first identifier on the handwriting, wherein the first identifier is used for prompting the range of the target area;
and/or the presence of a gas in the gas,
and displaying a second identifier in the handwriting, wherein the second identifier is used for prompting the handwriting intersected with the target area and the handwriting positioned in the target area.
7. The method as recited in claim 6, wherein the second identification includes a color and/or a stroke, the displaying the second identification in the writing comprising:
filling the handwriting in the target area with a specified color;
and/or the presence of a gas in the gas,
and adding a stroke to the handwriting in the target area.
8. A method as claimed in claim 1 or 2 or 3 or 4 or 6 or 7, wherein said selecting at least part of said handwriting according to said target area as target handwriting comprises:
determining the handwriting with relevance as a handwriting combination;
and if the handwriting combination is intersected with the target area or the handwriting combination is positioned in the target area, determining the handwriting combination as the target handwriting.
9. The method according to claim 8, wherein the determining that the writing with relevance is a writing combination comprises:
determining a time range based on the first handwriting;
determining the handwriting drawn in the time range as a handwriting combination;
alternatively, the first and second electrodes may be,
determining a handwriting range based on the first handwriting;
and determining the handwriting drawn in the handwriting range as a handwriting combination.
10. The method of claim 1, 2, 3, 4, 6, 7, or 9, further comprising:
receiving a second touch operation occurring on the writing interface;
and operating the target handwriting according to the second touch operation.
11. The method according to claim 10, wherein the target writing is displayed in a first screen;
and operating the target handwriting according to the second touch operation, including:
determining that the second touch operation is a moving operation;
based on the moving operation, dragging the target handwriting;
alternatively, the first and second electrodes may be,
determining that the second touch operation is a rotation operation;
rotating the target handwriting based on the rotation operation;
alternatively, the first and second electrodes may be,
determining that the second touch operation is a zoom operation;
zooming the target handwriting based on the zooming operation;
alternatively, the first and second electrodes may be,
determining that the second touch operation is a screen switching operation;
and switching the target handwriting from the first screen to a second screen for display based on the screen cutting operation.
12. The method of claim 1, 2, 3, 4, 6, 7, or 9, wherein the receiving a first touch operation occurring on the writing interface comprises:
receiving a first touch operation in a touch area in the writing interface, wherein the position where the first touch operation occurs is a first coordinate;
and mapping the first coordinate to a second coordinate on the writing interface to simulate the position where the first touch operation occurs as the second coordinate.
13. The method of claim 1, 2, 3, 4, 6, 7, or 9, wherein the determining that the first touch operation is a long press operation comprises:
transmitting a first touch operation occurring on the writing interface to a preset interaction filter layer;
identifying a type of the first touch operation in the interaction filter layer, and outputting the type of the first touch operation.
14. A method for selecting handwriting, comprising:
the display screen displays handwriting on the writing interface;
the touch screen receives a first touch operation occurring on the writing interface;
the processor determines that the first touch operation is a long-press operation;
the processor determines a target area on the writing interface based on the position where the long press operation occurs, wherein the range of the target area is positively correlated with the duration of the long press operation;
and the processor selects at least part of the handwriting as the target handwriting according to the target area.
15. A device for selecting handwriting, comprising:
the handwriting display module is used for displaying handwriting on the writing interface;
the first touch operation receiving module is used for receiving a first touch operation generated on the writing interface;
the long-press operation determining module is used for determining that the first touch operation is a long-press operation;
a target area determination module, configured to determine a target area on the writing interface based on a position where the long press operation occurs, where a range of the target area is positively correlated to a duration of the long press operation;
and the target handwriting selecting module is used for selecting at least part of the handwriting as the target handwriting according to the target area.
16. A computer device, characterized in that the computer device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of selecting handwriting as claimed in any one of claims 1 to 13.
17. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a method of selecting writing according to any one of claims 1 to 13.
CN202010264050.6A 2020-04-07 2020-04-07 Handwriting selection method and device, computer equipment and storage medium Active CN111475097B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010264050.6A CN111475097B (en) 2020-04-07 2020-04-07 Handwriting selection method and device, computer equipment and storage medium
PCT/CN2020/134212 WO2021203724A1 (en) 2020-04-07 2020-12-07 Handwriting selection method and apparatus, and computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010264050.6A CN111475097B (en) 2020-04-07 2020-04-07 Handwriting selection method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111475097A true CN111475097A (en) 2020-07-31
CN111475097B CN111475097B (en) 2021-08-06

Family

ID=71749974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010264050.6A Active CN111475097B (en) 2020-04-07 2020-04-07 Handwriting selection method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN111475097B (en)
WO (1) WO2021203724A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113433748A (en) * 2021-07-07 2021-09-24 珠海市唯酷科技有限公司 Liquid crystal handwriting film with local erasing function and electronic writing equipment
WO2021203724A1 (en) * 2020-04-07 2021-10-14 广州视源电子科技股份有限公司 Handwriting selection method and apparatus, and computer device and storage medium
CN114035739A (en) * 2021-11-12 2022-02-11 网易(杭州)网络有限公司 Graph drawing method and device, computer-readable storage medium and electronic device
CN114237418A (en) * 2021-11-19 2022-03-25 新华三智能终端有限公司 Track identification method and device
WO2022087976A1 (en) * 2020-10-29 2022-05-05 京东方科技集团股份有限公司 Intelligent interaction method, apparatus, and device for touch display device, and storage medium
CN115002084A (en) * 2022-08-01 2022-09-02 广州迈聆信息科技有限公司 Handwriting processing method and device, electronic equipment and storage medium
WO2022247456A1 (en) * 2021-05-28 2022-12-01 华为技术有限公司 Stylus pen input method, electronic device, and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114610188B (en) * 2022-02-09 2024-02-13 广东能龙教育股份有限公司 Interface handwriting writing method and system, control device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019578A (en) * 2011-09-27 2013-04-03 中国移动通信集团公司 Text selection method and test selection device as well as picture interception method and picture interception device
US20140181740A1 (en) * 2012-12-21 2014-06-26 Nokia Corporation Method and apparatus for related user inputs
CN104317453A (en) * 2014-10-27 2015-01-28 广州视睿电子科技有限公司 Touch screen writing method and system
US20160171655A1 (en) * 2014-12-10 2016-06-16 Olympus Corporation Imaging device, imaging method, and computer-readable recording medium
CN106104456A (en) * 2014-03-20 2016-11-09 日本电气株式会社 Messaging device, information processing method and message handling program
CN107632760A (en) * 2017-08-21 2018-01-26 广州视源电子科技股份有限公司 Written handwriting circle choosing method and device, touch apparatus, readable storage medium storing program for executing
CN110069205A (en) * 2019-04-15 2019-07-30 广州视源电子科技股份有限公司 A kind of method, apparatus, terminal device and the storage medium of handwriting trace adjustment
CN110928475A (en) * 2019-10-09 2020-03-27 广州视源电子科技股份有限公司 Page interaction method, device, equipment and storage medium of intelligent interaction panel
CN110928614A (en) * 2019-10-11 2020-03-27 广州视源电子科技股份有限公司 Interface display method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324396A (en) * 2012-12-17 2013-09-25 上海海知信息技术有限公司 Method for performing editing on handwriting image
CN110716680B (en) * 2019-10-09 2021-05-07 广州视源电子科技股份有限公司 Control method and device of intelligent interactive panel
CN111475097B (en) * 2020-04-07 2021-08-06 广州视源电子科技股份有限公司 Handwriting selection method and device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019578A (en) * 2011-09-27 2013-04-03 中国移动通信集团公司 Text selection method and test selection device as well as picture interception method and picture interception device
US20140181740A1 (en) * 2012-12-21 2014-06-26 Nokia Corporation Method and apparatus for related user inputs
CN106104456A (en) * 2014-03-20 2016-11-09 日本电气株式会社 Messaging device, information processing method and message handling program
CN104317453A (en) * 2014-10-27 2015-01-28 广州视睿电子科技有限公司 Touch screen writing method and system
US20160171655A1 (en) * 2014-12-10 2016-06-16 Olympus Corporation Imaging device, imaging method, and computer-readable recording medium
CN107632760A (en) * 2017-08-21 2018-01-26 广州视源电子科技股份有限公司 Written handwriting circle choosing method and device, touch apparatus, readable storage medium storing program for executing
CN110069205A (en) * 2019-04-15 2019-07-30 广州视源电子科技股份有限公司 A kind of method, apparatus, terminal device and the storage medium of handwriting trace adjustment
CN110928475A (en) * 2019-10-09 2020-03-27 广州视源电子科技股份有限公司 Page interaction method, device, equipment and storage medium of intelligent interaction panel
CN110928614A (en) * 2019-10-11 2020-03-27 广州视源电子科技股份有限公司 Interface display method, device, equipment and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021203724A1 (en) * 2020-04-07 2021-10-14 广州视源电子科技股份有限公司 Handwriting selection method and apparatus, and computer device and storage medium
WO2022087976A1 (en) * 2020-10-29 2022-05-05 京东方科技集团股份有限公司 Intelligent interaction method, apparatus, and device for touch display device, and storage medium
WO2022247456A1 (en) * 2021-05-28 2022-12-01 华为技术有限公司 Stylus pen input method, electronic device, and system
CN113433748A (en) * 2021-07-07 2021-09-24 珠海市唯酷科技有限公司 Liquid crystal handwriting film with local erasing function and electronic writing equipment
CN113433748B (en) * 2021-07-07 2023-04-11 珠海市唯酷科技有限公司 Liquid crystal handwriting film with local erasing function and electronic writing equipment
CN114035739A (en) * 2021-11-12 2022-02-11 网易(杭州)网络有限公司 Graph drawing method and device, computer-readable storage medium and electronic device
CN114035739B (en) * 2021-11-12 2023-12-29 网易(杭州)网络有限公司 Graph drawing method and device, computer readable storage medium and electronic equipment
CN114237418A (en) * 2021-11-19 2022-03-25 新华三智能终端有限公司 Track identification method and device
CN115002084A (en) * 2022-08-01 2022-09-02 广州迈聆信息科技有限公司 Handwriting processing method and device, electronic equipment and storage medium
CN115002084B (en) * 2022-08-01 2023-01-17 广州迈聆信息科技有限公司 Handwriting processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2021203724A1 (en) 2021-10-14
CN111475097B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CN111475097B (en) Handwriting selection method and device, computer equipment and storage medium
US9996176B2 (en) Multi-touch uses, gestures, and implementation
US9292161B2 (en) Pointer tool with touch-enabled precise placement
KR101328202B1 (en) Method and apparatus for running commands performing functions through gestures
KR20110063561A (en) Device for controlling an electronic apparatus by handling graphic objects on a multi-contact touch screen
CN110968227A (en) Control method and device of intelligent interactive panel
CN110427139B (en) Text processing method and device, computer storage medium and electronic equipment
US10345932B2 (en) Disambiguation of indirect input
CN113515228A (en) Virtual scale display method and related equipment
US11137903B2 (en) Gesture-based transitions between modes for mixed mode digital boards
CN113031817B (en) Multi-touch gesture recognition method and false touch prevention method
CN101615100B (en) Computer and notebook computer
CN112558844B (en) Tablet computer-based medical image reading method and system
CN110262747B (en) Method and device for controlling terminal, terminal and storage medium
CN113485590A (en) Touch operation method and device
US11868566B1 (en) Touch response method, device, interactive white board, and storage medium
CN116048370A (en) Display device and operation switching method
CN118020054A (en) Information editing method, device, equipment and storage medium for interactive tablet
CN116185269A (en) Element selection method, element selection device, storage medium and electronic equipment
CN115993894A (en) Touch response method and device, interaction panel and storage medium
CN115469786A (en) Display apparatus and drawing object selection method
CN113885690A (en) Method and device for controlling screen
CN117193574A (en) Split screen control method, device, equipment and storage medium
CN117289801A (en) Gesture interaction method and device, electronic equipment and storage medium
CN114756143A (en) Handwriting element deleting method and device, storage medium and electronic equipment

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