CN108492349B - Processing method, device and equipment for writing strokes and storage medium - Google Patents

Processing method, device and equipment for writing strokes and storage medium Download PDF

Info

Publication number
CN108492349B
CN108492349B CN201810226456.8A CN201810226456A CN108492349B CN 108492349 B CN108492349 B CN 108492349B CN 201810226456 A CN201810226456 A CN 201810226456A CN 108492349 B CN108492349 B CN 108492349B
Authority
CN
China
Prior art keywords
writing
stroke
strokes
editing operation
preview
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810226456.8A
Other languages
Chinese (zh)
Other versions
CN108492349A (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 CN201810226456.8A priority Critical patent/CN108492349B/en
Publication of CN108492349A publication Critical patent/CN108492349A/en
Application granted granted Critical
Publication of CN108492349B publication Critical patent/CN108492349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

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

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for processing writing strokes, wherein the method comprises the following steps: when detecting the selection operation of the writing strokes in the current display page, discretely displaying the selected writing strokes in the form of a preview; and acquiring the editing operation of the selected writing stroke, and displaying the target writing stroke acquired in response to the editing operation in the preview. The writing strokes are discretely displayed, so that any stroke in the writing strokes can be edited, and the operation is convenient.

Description

Processing method, device and equipment for writing strokes and storage medium
Technical Field
The invention relates to a data processing technology in the field of electronic writing, in particular to a method, a device, equipment and a storage medium for processing writing strokes.
Background
After the user finishes writing on the electronic writing board, operations such as re-editing the written strokes are sometimes required, at this time, the written contents or areas to be edited are selected first, and the selection operation is usually realized by circle selection.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art, some written patterns are formed by overlapping a plurality of strokes, when many strokes are overlapped together, a user needs to adjust a few strokes to edit the patterns, and editing of partial strokes of overlapped parts is difficult to realize by selecting strokes of which the overlapped parts cannot be distinguished.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for processing writing strokes, which discretely display the writing strokes, realize the editing of any stroke in the writing strokes and are convenient to operate.
In a first aspect, an embodiment of the present invention provides a method for processing a written stroke, where the method includes:
when the selection operation of the writing strokes in the current display page is detected, discretely displaying the selected writing strokes in a preview form;
and acquiring the editing operation of the selected writing stroke, and displaying the target writing stroke acquired by responding to the editing operation in the preview.
In a second aspect, an embodiment of the present invention further provides an apparatus for processing a written stroke, where the apparatus includes:
the discrete display module is used for discretely displaying the selected writing strokes in a preview form when the selection operation of the writing strokes in the current display page is detected;
and the target writing stroke display module is used for acquiring the editing operation of the selected writing stroke and displaying the target writing stroke acquired in response to the editing operation in the preview picture.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the processing method of the written strokes according to any one of the embodiments of the present invention when executing the program.
In a fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the program, when executed by a processor, implements the processing method of writing strokes as described in any one of the embodiments of the present invention.
In the embodiment of the invention, when the selection operation of the writing strokes in the current display page is detected, the selected writing strokes are displayed discretely in the form of a preview, then the editing operation of the selected writing strokes is obtained, and the target writing strokes obtained in response to the editing operation are displayed in the preview. The writing strokes are discretely displayed, so that any stroke in the writing strokes can be edited, and the operation is convenient.
Drawings
FIG. 1 is a flow chart of a method for processing a written stroke according to a first embodiment of the present invention;
FIG. 2a is a flow chart of a method for processing a written stroke according to a second embodiment of the present invention;
FIG. 2b is a discrete drawing of the pen stroke in the preview chart according to the second embodiment of the present invention;
FIG. 3 is a flow chart of a method for processing a written stroke according to a third embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a device for processing written strokes in a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device in the fifth 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 structures related to the present invention are shown in the drawings, not all of them.
Example one
Fig. 1 is a flowchart of a processing method for writing strokes according to an embodiment of the present invention, where the present embodiment is applicable to a case where any writing stroke in the writing strokes is edited, and the method may be executed by a processing apparatus for writing strokes according to an embodiment of the present invention, and the apparatus may be implemented in a software and/or hardware manner. Referring to fig. 1, the method may specifically include the following steps:
and S110, when the selection operation of the writing strokes in the current display page is detected, discretely displaying the selected writing strokes in a preview mode.
Specifically, the current display page may be a display page of a terminal device such as a mobile phone, a conference tablet, a teaching tablet or a computer handwriting input tablet, and a user may perform writing operation on the current display page, where the user may write with a finger or a writing pen according to different working principles of the display screen of the terminal device.
The set number of writing strokes in the currently displayed page may constitute a handwriting, and in a specific example, a handwriting may be a Chinese character, or may be a pattern, such as a watermelon of a simple stroke or an eyebrow of a simple stroke.
When a user needs to edit a writing stroke, the user needs to select the writing stroke to be edited first, wherein, the writing strokes to be edited can be partial writing strokes in one handwriting or can be a combination of partial writing strokes in different handwriting. Alternatively to this, the first and second parts may, the selection operation may be a mouse, a pen, or a finger circle selection operation. And when the selected operation of the writing strokes to be edited is detected, discretely displaying the selected writing strokes in a preview form. Optionally, when the operation of selecting the writing stroke to be edited is detected, the "display stroke" button on the display screen of the terminal device is clicked to discretely display the selected writing stroke in the form of the preview image.
In a specific example, taking a Chinese character as an example, the discrete display may be a non-overlapping display of each stroke of the Chinese character; taking the eyebrow of a simple stroke as an example, the discrete display may be a non-overlapping display of individual strokes that will constitute the eyebrow. The preview can display other areas which do not affect the user operation, such as the lower right corner of the selected writing stroke in the current display page.
And S120, acquiring the editing operation of the selected writing stroke, and displaying the target writing stroke acquired in response to the editing operation in the preview picture.
Specifically, after the selected writing strokes are discretely displayed in the form of a preview, the user edits the selected writing strokes in the preview, and optionally, the editing operation includes color modification, color interception, clipping, erasing, moving or zooming, and the like.
And acquiring editing operation on the selected writing stroke, wherein the writing stroke acquired after responding to the corresponding editing operation is called a target writing stroke, and taking the editing operation as color modification as an example, the target writing stroke is the selected writing stroke after color modification. In one specific example, if the selected writing stroke is a pink brush stroke flower and the editing operation is to modify the color to purple, the target writing stroke is a same style of purple brush stroke flower.
In the embodiment of the invention, when the selection operation of the writing strokes in the current display page is detected, the selected writing strokes are displayed discretely in the form of a preview, then the editing operation of the selected writing strokes is obtained, and the target writing strokes obtained in response to the editing operation are displayed in the preview. The writing strokes are discretely displayed, so that any stroke in the writing strokes can be edited, and the operation is convenient.
On the basis of the above technical solution, after the obtaining of the editing operation on the selected writing stroke and the displaying of the target writing stroke obtained in response to the editing operation in the preview image, the method further includes: and updating the writing strokes in the current display page according to the target writing strokes. After the target writing stroke is displayed in the preview image, the writing stroke in the current display page is updated according to the target writing stroke. Alternatively, the target writing stroke in the preview image can be synchronized to the current display page within a set time. The synchronous updating of the edited written strokes in the current display page is realized.
Example two
Fig. 2a is a flowchart of a method for processing a written stroke according to a second embodiment of the present invention, which is implemented on the basis of the second embodiment. Referring to fig. 2a, the method may specifically include the steps of:
s210, storing the track information of each continuous writing stroke in a preset storage space.
Specifically, the track information of each continuous writing stroke is stored in a preset storage space of the terminal device. Optionally, taking the example of writing by touch operation, the continuous writing strokes refer to, and the stroke of writing is formed from the touch pressing to the first touch lifting operation after the touch pressing. For example, "a" and "|" of the Chinese character "ten" each represent a continuous written stroke. Optionally, the trajectory information refers to the number, position, and color of the pixels constituting each continuous writing stroke.
In a specific example, when the number of the continuous writing strokes stored in the preset storage space is multiple, an identification code is allocated to each writing stroke in the preset storage space, and each identification code corresponds to a certain storage space and is used for storing the track information corresponding to the writing stroke.
And S220, when the selection operation of the writing strokes in the current display page is detected, reading the track information corresponding to the selected writing strokes from the preset storage space.
When the selection operation of the writing strokes in the current display page is detected, the selected writing strokes in the selection operation are determined, and the track information corresponding to the selected writing strokes is read in the preset storage space. Optionally, if the selected writing stroke is an eyebrow of a simple stroke, the trajectory information corresponding to the eyebrow includes: the number of the pixel points constituting the eyebrow, the position of each pixel point, and the color of each pixel point, wherein the position of each pixel point can be represented by the horizontal and vertical coordinates of the pixel point.
In a specific example, when a selection operation of a writing stroke in a current display page is detected, an identification code corresponding to the selected writing stroke is determined in a preset storage space, and trajectory information corresponding to the selected writing stroke is determined according to the identification code. Specifically, the identification code of the writing stroke may be determined according to the relative position relationship of each writing stroke in the selected writing strokes, for example, the identification codes corresponding to the plurality of writing strokes from top to bottom increase sequentially, that is, the identification code of the writing stroke on top is greater than the identification code of the writing stroke on bottom.
And S230, determining the display shape of the selected writing stroke according to the track information.
Specifically, the position relation between adjacent pixel points is determined according to the positions of the pixel points writing the strokes, and the display shape of the selected writing strokes is determined in a preset storage space according to the position relation between the adjacent pixel points, the number of the pixel points and the colors of the pixel points. For the example of Chinese character "big", the displayed shapes of selected written strokes can be "I", "O", and "H".
S240, displaying the display shape of the selected writing stroke in the preview image discretely based on the initial relative position.
Optionally, the initial relative position refers to an initial positional relationship of the selected writing strokes, e.g., "in", above "and" to the left of ". Specifically, after the display shape of the selected writing stroke is determined, the display shape is displayed discretely in the preview image based on the initial relative position. FIG. 2b shows a discrete display of the writing strokes in a preview, where the positional relationships "section", "Ei" and "I" are as shown in FIG. 2b, 260 represents the current display page, and 270 represents the preview in the current display page.
And S250, acquiring the editing operation of the selected writing strokes, and displaying the target writing strokes acquired in response to the editing operation in the preview.
In the embodiment of the invention, track information of each continuous writing stroke is stored in a preset storage space, then when the selection operation of the writing stroke in the current display page is detected, the track information corresponding to the selected writing stroke is read from the preset storage space, the display shape of the selected writing stroke is determined according to the track information, and the display shape of the selected writing stroke is discretely displayed in the preview picture based on the initial relative position. The stroke can be accurately selected and can be visually seen, and therefore the selected stroke can be more conveniently edited.
EXAMPLE III
Fig. 3 is a flowchart of a processing method for writing strokes according to a third embodiment of the present invention, which is implemented on the basis of the third embodiment. Referring to fig. 3, the method may specifically include the following steps:
s310, when the selection operation of the writing strokes in the current display page is detected, discretely displaying the selected writing strokes in a preview form.
S321, if the selected writing stroke is a single stroke, acquiring a first editing operation on the single stroke, and displaying a target writing stroke obtained in response to the first editing operation in the preview.
Specifically, the fact that the selected writing stroke is a single stroke means that the selected stroke is a continuous writing stroke, wherein the touch operation is taken as an example for writing, a continuous stroke of writing refers to a stroke of writing formed from a touch down to a first touch up operation thereafter. According to different personal habits of users, taking the writing of the Chinese character 'good' as an example, for example, when a user A is used to write with a continuous stroke, the 'good' comprises a continuous writing stroke; user B is used to write with one stroke, and "good" includes six consecutive writing strokes, i.e., multiple strokes. When the selected writing stroke is a single stroke, the corresponding first editing operation may include modifying a color or zooming, and the target writing stroke obtained in response to the first editing operation is displayed in the preview.
S322, if the selected writing strokes are multiple strokes, obtaining second editing operation on the multiple strokes, and displaying target writing strokes obtained in response to the second editing operation in the preview.
Specifically, the selected writing strokes are multiple strokes, which means that the selected writing strokes are at least two continuous writing strokes. For example, the above-mentioned user B writes "good" words as six continuous strokes, and the corresponding second editing operation includes modifying color, erasing, moving, splitting, intercepting or clipping.
Optionally, the obtaining a second editing operation on the multiple strokes, and displaying, in the preview, a target writing stroke obtained in response to the second editing operation includes: and acquiring second editing operation on the multiple strokes, combining the multiple strokes to serve as target writing strokes, and displaying the target writing strokes acquired in response to the second editing operation in the preview.
When the selected writing strokes are multiple strokes, acquiring corresponding second editing operation, combining the multiple strokes to serve as target writing strokes, for example, recombining six writing strokes corresponding to a 'good' word to serve as target writing strokes, displaying the corresponding writing strokes after the six writing strokes are edited in a preview picture, and simultaneously displaying the combined 'good' of each edited stroke in the preview picture, thereby providing more intuitive display and more choices for a user.
In the embodiment of the invention, two conditions of single stroke and multi-stroke are described, if the selected stroke is a single stroke, a first editing operation on the single stroke is obtained, and a target writing stroke obtained by responding to the first editing operation is displayed in a preview picture; and if the selected writing strokes are multiple strokes, acquiring second editing operation on the multiple strokes, and displaying target writing strokes obtained in response to the second editing operation in the preview. Realizes more accurate single stroke and selecting and editing multiple strokes.
Example four
Fig. 4 is a schematic structural diagram of a device for processing a written stroke according to a fourth embodiment of the present invention, which is suitable for executing a method for processing a written stroke according to the fourth embodiment of the present invention. As shown in fig. 4, the apparatus may specifically include:
the discrete display module 410 is configured to discretely display the selected writing strokes in a preview form when a selection operation on the writing strokes in the currently displayed page is detected;
and a target writing stroke display module 420, configured to obtain an editing operation on the selected writing stroke, and display, in the preview, a target writing stroke obtained in response to the editing operation.
Further, the method also comprises the following steps:
the track information storage module is used for storing the track information of each continuous writing stroke in a preset storage space before the selected writing stroke is discretely displayed in a preview form when the selection operation of the writing stroke in the current display page is detected;
the discrete display module 410 is specifically configured to:
when the selection operation of the writing strokes in the current display page is detected, reading track information corresponding to the selected writing strokes from the preset storage space;
determining the display shape of the selected writing stroke according to the track information;
displaying the shape of the selected writing stroke in the the preview image is displayed discretely based on the initial relative position.
Further, the target writing stroke display module 420 includes:
the first target writing stroke display submodule is used for acquiring a first editing operation on the single stroke if the selected writing stroke is the single stroke, and displaying the target writing stroke acquired by responding to the first editing operation in the preview;
and the second target writing stroke display submodule is used for acquiring a second editing operation on the multi-stroke if the selected writing stroke is the multi-stroke, and displaying the target writing stroke acquired in response to the second editing operation in the preview picture.
In a further aspect of the present invention, the second target written stroke display submodule is specifically configured to:
and acquiring second editing operation on the multiple strokes, combining the multiple strokes to serve as target writing strokes, and displaying the target writing strokes acquired in response to the second editing operation in the preview.
Further, the system further comprises an update module, specifically configured to:
and after the editing operation on the selected writing stroke is obtained, the target writing stroke obtained by responding to the editing operation is displayed in the preview image, and the writing stroke in the current display page is updated according to the target writing stroke.
The processing device for the written strokes provided by the embodiment of the invention can execute the processing method for the written strokes provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a computer device according to a fifth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in figure 5 is only an example, and should not impose any limitations on the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 5, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5 and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with computer device 12, and/or with any device (e.g., network card, modem, etc.) that enables the computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) through network adapter 20. As shown, the network adapter 20 communicates with the other modules of the computer device 12 over the bus 18. It should be understood that although not shown in FIG. 5, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, the processing method for writing strokes provided by the embodiment of the present invention:
that is, the processing unit implements, when executing the program: when the selection operation of the writing strokes in the current display page is detected, discretely displaying the selected writing strokes in a preview form; and acquiring the editing operation of the selected writing stroke, and displaying the target writing stroke acquired by responding to the editing operation in the preview.
Example six
Sixth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a processing method of writing strokes as provided in all embodiments of the present invention of the present application:
that is, the program when executed by the processor implements: when detecting the selection operation of the writing strokes in the current display page, discretely displaying the selected writing strokes in the form of a preview; and acquiring the editing operation of the selected writing stroke, and displaying the target writing stroke acquired in response to the editing operation in the preview.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program, the program may be used by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
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 (9)

1. A method for processing a written stroke, comprising:
when the selection operation of the writing strokes in the current display page is detected, discretely displaying the selected writing strokes in a preview form; the discrete display is a non-overlapping display of strokes of the selected written stroke, wherein the written stroke is handwritten;
acquiring editing operation on the selected writing stroke, and displaying a target writing stroke acquired in response to the editing operation in the preview;
when the operation of selecting the writing stroke in the current display page is detected and before the selected writing stroke is displayed discretely in the form of a preview, the method further comprises the following steps:
storing the track information of each continuous writing stroke in a preset storage space; wherein the continuous writing strokes are writing strokes formed from touch pressing to a first touch lifting operation later;
the obtaining of the editing operation on the selected writing stroke, and after displaying the target writing stroke obtained in response to the editing operation in the preview image, further includes:
and updating the writing strokes in the current display page according to the target writing strokes.
2. The method of claim 1,
when the operation of selecting the writing strokes in the current display page is detected, the selected writing strokes are displayed discretely in the form of a preview, and the method comprises the following steps:
when the selection operation of the writing strokes in the current display page is detected, reading track information corresponding to the selected writing strokes from the preset storage space;
determining the display shape of the selected writing stroke according to the track information;
displaying the shape of the selected writing stroke on the display the preview image is displayed discretely based on the initial relative position.
3. The method of claim 1, wherein obtaining the editing operation on the selected writing stroke and displaying the target writing stroke obtained in response to the editing operation in the preview image comprises:
if the selected writing stroke is a single stroke, acquiring a first editing operation on the single stroke, and displaying a target writing stroke obtained by responding to the first editing operation in the preview;
and if the selected writing strokes are multiple strokes, acquiring second editing operation on the multiple strokes, and displaying target writing strokes obtained in response to the second editing operation in the preview.
4. The method of claim 3, wherein said obtaining a second editing operation on the multi-stroke, and displaying in the preview image the target written stroke obtained in response to the second editing operation, comprises:
and acquiring second editing operation on the multiple strokes, combining the multiple strokes to serve as target writing strokes, and displaying the target writing strokes acquired in response to the second editing operation in the preview.
5. A device for processing a written stroke, comprising:
the discrete display module is used for displaying the selected writing strokes in a discrete manner in a preview mode when the operation of selecting the writing strokes in the current display page is detected; the discrete display is a non-overlapping display of strokes of the selected writing strokes, wherein the writing strokes are handwritten;
a target writing stroke display module for obtaining the editing operation of the selected writing stroke, displaying a target writing stroke obtained in response to the editing operation in the preview image;
the track information storage module is used for storing the track information of each continuous writing stroke in a preset storage space before the selected writing stroke is discretely displayed in a preview form when the selection operation of the writing stroke in the current display page is detected; the apparatus further includes an update module specifically configured to:
the editing operation on the selected writing stroke is obtained, after the target writing stroke obtained in response to the editing operation is displayed in the preview picture, and updating the writing strokes in the current display page according to the target writing strokes.
6. The apparatus of claim 5, further comprising:
the discrete display module is specifically configured to:
when the selection operation of the writing strokes in the current display page is detected, reading track information corresponding to the selected writing strokes from the preset storage space;
determining the display shape of the selected writing stroke according to the track information;
displaying the display shape of the selected writing stroke discretely in the preview image based on the initial relative position.
7. The apparatus of claim 5, wherein the target writing stroke display module comprises:
a first target writing stroke display submodule for displaying a first target writing stroke if the selected writing stroke is a single stroke, acquiring a first editing operation on the single stroke, and displaying a target writing stroke obtained in response to the first editing operation in the preview;
and the second target writing stroke display submodule is used for acquiring a second editing operation on the multi-stroke if the selected writing stroke is the multi-stroke, and displaying the target writing stroke acquired in response to the second editing operation in the preview picture.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-4 when executing the program.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201810226456.8A 2018-03-19 2018-03-19 Processing method, device and equipment for writing strokes and storage medium Active CN108492349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810226456.8A CN108492349B (en) 2018-03-19 2018-03-19 Processing method, device and equipment for writing strokes and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810226456.8A CN108492349B (en) 2018-03-19 2018-03-19 Processing method, device and equipment for writing strokes and storage medium

Publications (2)

Publication Number Publication Date
CN108492349A CN108492349A (en) 2018-09-04
CN108492349B true CN108492349B (en) 2023-04-11

Family

ID=63318471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810226456.8A Active CN108492349B (en) 2018-03-19 2018-03-19 Processing method, device and equipment for writing strokes and storage medium

Country Status (1)

Country Link
CN (1) CN108492349B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165626A (en) * 2018-09-11 2019-01-08 广州视源电子科技股份有限公司 Stroke writing processing method, device, equipment and the storage medium of electronic whiteboard
CN110174978A (en) * 2019-05-13 2019-08-27 广州视源电子科技股份有限公司 Data processing method, device, intelligent interaction plate and storage medium
CN110879686B (en) * 2019-11-13 2021-05-18 讯飞幻境(北京)科技有限公司 Label erasing method and device and electronic equipment
CN115002084B (en) * 2022-08-01 2023-01-17 广州迈聆信息科技有限公司 Handwriting processing method and device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133630A (en) * 2014-07-23 2014-11-05 天脉聚源(北京)教育科技有限公司 Stroke synchronization method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103593B (en) * 2009-12-18 2012-10-31 北大方正集团有限公司 Method and system for splitting and typesetting strokes of characters
CN103080878B (en) * 2010-08-24 2017-03-29 诺基亚技术有限公司 One or more groups of method and apparatus are divided into for hand-written stroke will be overlapped
CN102541393A (en) * 2010-12-09 2012-07-04 上海无戒空间信息技术有限公司 Handwritten text editing method
CN102289322A (en) * 2011-08-25 2011-12-21 盛乐信息技术(上海)有限公司 Method and system for processing handwriting
CN103853488A (en) * 2012-11-29 2014-06-11 北京千橡网景科技发展有限公司 Method and device for processing strokes based on touch screen
JP6100013B2 (en) * 2013-02-07 2017-03-22 株式会社東芝 Electronic device and handwritten document processing method
US10089291B2 (en) * 2015-02-27 2018-10-02 Microsoft Technology Licensing, Llc Ink stroke editing and manipulation
CN106375300B (en) * 2016-08-30 2019-07-09 孙卓金 The network session transmission method of handwritten stroke
CN107330399A (en) * 2017-06-29 2017-11-07 广州视源电子科技股份有限公司 Chinese character separating method, device, computer-readable storage medium and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133630A (en) * 2014-07-23 2014-11-05 天脉聚源(北京)教育科技有限公司 Stroke synchronization method and device

Also Published As

Publication number Publication date
CN108492349A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN108492349B (en) Processing method, device and equipment for writing strokes and storage medium
CN109766053A (en) Method for displaying user interface, device, terminal and storage medium
CA2129078C (en) Interactive system for producing, storing and retrieving information correlated with a recording of an event
US10585581B2 (en) Controlling display object on display screen
US5592607A (en) Interactive method and system for producing address-correlated information using user-specified address zones
CN104360788B (en) Transparent mask method and desktop write control method
CN107977155B (en) Handwriting recognition method, device, equipment and storage medium
CN110045909B (en) Ellipse processing method, device and equipment based on writing track and storage medium
US10565299B2 (en) Electronic apparatus and display control method
WO2023071861A1 (en) Data visualization display method and apparatus, computer device, and storage medium
CN110807161A (en) Page framework rendering method, device, equipment and medium
RU2768526C2 (en) Real handwriting presence for real-time collaboration
US20160062601A1 (en) Electronic device with touch screen and method for moving application functional interface
CN111580903A (en) Real-time voting method, device, terminal equipment and storage medium
CN109213668B (en) Operation recording method and device and terminal
CN110737417B (en) Demonstration equipment and display control method and device of marking line of demonstration equipment
CN108536686B (en) Picture translation method, device, terminal and storage medium
CN110909261A (en) Time axis processing method, device, equipment and storage medium
CN112181257B (en) Display method and device of mind map, terminal and storage medium
US20180300301A1 (en) Enhanced inking capabilities for content creation applications
JP2008243025A (en) Information processor, method and computer program
CN109190097B (en) Method and apparatus for outputting information
CN113485590A (en) Touch operation method and device
JP2019128899A (en) Display control program, display control device, and display control method
WO2023016493A1 (en) Handwriting erasing method and apparatus, storage medium, and electronic device

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