CN112860112A - Handwriting erasing method and device for electronic whiteboard, electronic equipment and storage medium - Google Patents

Handwriting erasing method and device for electronic whiteboard, electronic equipment and storage medium Download PDF

Info

Publication number
CN112860112A
CN112860112A CN202110184415.9A CN202110184415A CN112860112A CN 112860112 A CN112860112 A CN 112860112A CN 202110184415 A CN202110184415 A CN 202110184415A CN 112860112 A CN112860112 A CN 112860112A
Authority
CN
China
Prior art keywords
erasing
preset
handwriting data
background layer
icon
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
CN202110184415.9A
Other languages
Chinese (zh)
Other versions
CN112860112B (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.)
Shenzhen Horion Intelligent Technology Co ltd
Original Assignee
Shenzhen Horion Intelligent Technology 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 Shenzhen Horion Intelligent Technology Co ltd filed Critical Shenzhen Horion Intelligent Technology Co ltd
Priority to CN202110184415.9A priority Critical patent/CN112860112B/en
Publication of CN112860112A publication Critical patent/CN112860112A/en
Application granted granted Critical
Publication of CN112860112B publication Critical patent/CN112860112B/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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04162Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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 invention relates to the technical field of electronic whiteboards, and discloses a handwriting erasing method and device of an electronic whiteboard, electronic equipment and a storage medium. The method comprises the following steps: if a preset touch instruction is received, acquiring handwriting data stored in a frame cache and synchronizing the acquired handwriting data to a background layer; closing the transparent layer and generating a preset erasing icon; and erasing the handwriting data in the background layer through the generated preset erasing icon. According to the embodiment of the invention, the acquired handwriting data is synchronized to the background layer, then the transparent layer is closed, the preset erasing icon is generated, and finally the handwriting data in the background layer is erased through the generated preset erasing icon without covering a background pattern on the transparent layer to erase the handwriting data, so that non-handwriting data such as pictures, videos and the like in the background layer can be reserved, and the erasing convenience is improved.

Description

Handwriting erasing method and device for electronic whiteboard, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of electronic whiteboards, in particular to a handwriting erasing method and device of an electronic whiteboard, electronic equipment and a storage medium.
Background
The electronic whiteboard is a digital teaching demonstration device for replacing the traditional blackboard and chalks. The electronic whiteboard can be completely separated from a mouse and a keyboard, and the editing, annotation and storage operations of computer files are realized on the electronic whiteboard by using hands or a specific pen, so that great convenience is brought to users. In the conventional handwriting erasing method of the electronic whiteboard, a transparent layer is created on a background layer of an interface of the electronic whiteboard, and then a background pattern is covered on the transparent layer to erase handwriting data, but data such as pictures and videos exist on the background layer of the interface of the electronic whiteboard, and the pictures and the video data can be erased.
Disclosure of Invention
The embodiment of the invention provides a handwriting erasing method and device of an electronic whiteboard, electronic equipment and a storage medium, and aims to solve the problem that non-handwriting data can be erased when handwriting data are erased in the prior art.
In a first aspect, an embodiment of the present invention provides a handwriting erasing method for an electronic whiteboard, including:
if a preset touch instruction is received, acquiring handwriting data stored in a frame cache and synchronizing the acquired handwriting data to a background layer;
closing the transparent layer and generating a preset erasing icon;
and erasing the handwriting data in the background layer through the generated preset erasing icon.
In a second aspect, an embodiment of the present invention further provides a handwriting erasing apparatus for an electronic whiteboard, including:
the device comprises a synchronization unit, a background layer and a frame cache, wherein the synchronization unit is used for acquiring handwriting data stored in the frame cache and synchronizing the acquired handwriting data to the background layer if a preset touch instruction is received;
the generating unit is used for closing the transparent layer and generating a preset erasing icon;
and the erasing unit is used for erasing the handwriting data in the background layer through the generated preset erasing icon.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the method when executing the computer program.
In a fourth aspect, the present invention also provides a computer-readable storage medium, which stores a computer program, and the computer program can implement the above method when being executed by a processor.
The embodiment of the invention provides a handwriting erasing method and device of an electronic whiteboard, electronic equipment and a storage medium. Wherein the method comprises the following steps: if a preset touch instruction is received, acquiring handwriting data stored in a frame cache and synchronizing the acquired handwriting data to a background layer; closing the transparent layer and generating a preset erasing icon; and erasing the handwriting data in the background layer through the generated preset erasing icon. According to the technical scheme of the embodiment of the invention, the handwriting data stored in the frame buffer is firstly acquired, the acquired handwriting data is synchronized to the background layer, then the transparent layer is closed and the preset erasing icon is generated, and finally the handwriting data in the background layer is erased through the generated preset erasing icon without covering a background pattern on the transparent layer to erase the handwriting data, so that the non-handwriting data such as pictures, videos and the like in the background layer can be reserved, the problem that the non-handwriting data can be erased when the existing handwriting data is erased is solved, and the erasing convenience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a handwriting erasing method of an electronic whiteboard according to an embodiment of the present invention;
fig. 2 is a sub-flow diagram of a handwriting erasing method of an electronic whiteboard according to an embodiment of the present invention;
fig. 3 is a sub-flow diagram of a handwriting erasing method of an electronic whiteboard according to an embodiment of the present invention;
fig. 4 is a sub-flow diagram of a handwriting erasing method of an electronic whiteboard according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a handwriting erasing method of an electronic whiteboard according to another embodiment of the present invention;
fig. 6 is a schematic block diagram of a handwriting erasing apparatus of an electronic whiteboard according to an embodiment of the present invention;
fig. 7 is a schematic block diagram of a synchronization unit of the handwriting erasing apparatus of the electronic whiteboard according to the embodiment of the present invention;
fig. 8 is a schematic block diagram of a first synchronization subunit of the handwriting erasing apparatus of the electronic whiteboard according to the embodiment of the present invention;
fig. 9 is a schematic block diagram of a generating unit of the handwriting erasing apparatus of the electronic whiteboard according to the embodiment of the present invention;
fig. 10 is a schematic block diagram of an erasing unit of the handwriting erasing apparatus of the electronic whiteboard according to the embodiment of the present invention;
fig. 11 is a schematic block diagram of a handwriting erasing apparatus of an electronic whiteboard according to another embodiment of the present invention; and
fig. 12 is a schematic block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a handwriting erasing method of an electronic whiteboard according to an embodiment of the present invention. The handwriting erasing method of the electronic whiteboard is described in detail below. As shown in fig. 1, the method includes the following steps S100-S140.
S100, if a preset touch instruction is received, acquiring handwriting data stored in a frame buffer and synchronizing the acquired handwriting data to a background layer.
Referring to fig. 2, in an embodiment, for example, in the embodiment of the present invention, the step S100 includes the following steps S101 to S104.
S101, if a preset touch instruction is received, judging whether the preset touch instruction is a preset erasing instruction, if the preset touch instruction is the preset erasing instruction, executing a step S102, otherwise executing a step S103;
s102, acquiring handwriting data stored in a frame buffer and synchronizing the acquired handwriting data to a background layer;
s103, judging whether the touch area corresponding to the preset touch instruction is larger than a preset threshold value or not, and if the touch area corresponding to the preset touch instruction is larger than the preset threshold value, executing the step S102; otherwise, executing step S104;
and S104, judging the preset touch instruction to be a preset writing instruction.
In the embodiment of the invention, if a user presses an erasing key on the electronic whiteboard before touching the touch pad of the electronic whiteboard, the handwriting data stored in the frame buffer can be acquired and synchronized to the background layer for subsequent erasing operation only by touching the touch pad arbitrarily by the user, namely, the touch instruction is a preset erasing instruction; if the user does not press an erasing key on the electronic whiteboard before touching a touch pad of the electronic whiteboard, whether the touch operation of the user is the erasing operation or the non-erasing operation is judged according to the area of the touch pad touched by the user, if the touch area corresponding to the preset touch instruction is larger than the preset threshold value, the touch operation is judged as the erasing operation, otherwise, if the touch area corresponding to the touch instruction is not larger than the preset threshold value, the preset touch instruction is judged as the preset write-in instruction, and the touch operation is the non-erasing operation. Among them, a Frame Buffer (Frame Buffer): frame buffer or video memory, which is a direct image of the picture displayed on the screen, is also called a bitmap (Bit Map) or raster.
It should be noted that, in the embodiment of the present invention, when the stylus writes handwriting data on the display screen of the electronic whiteboard, the main board of the electronic whiteboard reads the written handwriting data and stores the handwriting data in the frame buffer for subsequent processing of the handwriting data.
Referring to FIG. 3, in one embodiment, for example, in the embodiment of the present invention, the step S102 includes the following steps S1021-S1022.
S1021, acquiring handwriting data stored in the frame cache by calling the acquisition interface;
and S1022, synchronizing the acquired handwriting data to a background layer by calling a synchronization interface.
In the embodiment of the invention, after a preset touch instruction is received, handwriting data stored in a frame buffer memory is acquired and the acquired handwriting data is synchronized to a background layer. Specifically, acquiring handwriting data stored in a frame cache by calling an acquisition interface; and synchronizing the acquired handwriting data to a background layer by calling a synchronization interface. Understandably, the acquired data is synchronized to the background layer instead of being covered by the background pattern on the transparent layer, so that the handwriting data can be deleted more conveniently, and the picture data, the video data and the like can be reserved.
And S110, closing the transparent layer and generating a preset erasing icon.
In the embodiment of the invention, after the acquired handwriting data is synchronized to the background layer, the transparent layer is closed and the preset erasing icon is generated. Specifically, the preset erasure icon is generated on the background layer after the transparent layer is closed. The preset erasing icon is a rectangular erasing icon or a circular erasing icon. In practical application, the preset erasing icon is a cursor floating on the background layer.
And S120, erasing the handwriting data in the background layer through the generated preset erasing icon.
Referring to fig. 4, in an embodiment, for example, in the embodiment of the present invention, the step S120 includes the following steps S121 to S123.
S121, dragging the generated preset erasing icon;
s122, starting an erasing function of the preset erasing icon;
and S123, erasing the handwriting data in the background layer.
In the embodiment of the invention, after the preset erasing icon is generated, the handwriting data in the background layer is erased through the generated preset erasing icon. Specifically, dragging the generated preset erasing icon; starting an erasing function of the preset erasing icon; and erasing the handwriting data in the background layer. Understandably, before the preset erasing icon is not dragged, the erasing function of the preset erasing icon is in a forbidden state, and during dragging, the erasing function of the preset erasing icon is changed from the forbidden state to an open state so as to erase the handwriting data in the background layer.
Fig. 5 is a flowchart illustrating a handwriting erasing method of an electronic whiteboard according to another embodiment of the present invention, as shown in fig. 5, in the embodiment of the present invention, the handwriting erasing method of the electronic whiteboard includes steps S200 to S230. Steps S200 to S220 are similar to steps S100 to S120 in the above embodiments, and are not described herein again. The added step S230 in the present embodiment is explained in detail below.
And S230, saving the acquired handwriting data to a storage area by calling a saving interface.
In the embodiment of the invention, after the acquired handwriting data is synchronized to the background layer, the acquired handwriting data is also stored to the storage area by calling the storage interface. Wherein the memory area comprises a dynamic memory area and a static memory area. In specific practical application, whether the handwriting data is stored in a dynamic storage area or a static storage area is determined according to practical conditions.
It should be noted that, in the embodiment of the present invention, the reason why the handwriting data is stored in the storage area is that if the user performs a deletion operation by mistake, the handwriting data is convenient to recover.
Fig. 6 is a schematic block diagram of a handwriting erasing apparatus 200 of an electronic whiteboard according to an embodiment of the present invention. As shown in fig. 6, the invention also provides a handwriting erasing device 200 of the electronic whiteboard corresponding to the handwriting erasing method of the electronic whiteboard. The handwriting erasing apparatus 200 of the electronic whiteboard includes a unit for performing the handwriting erasing method of the electronic whiteboard, and the apparatus may be configured in an electronic device. Specifically, referring to fig. 6, the handwriting erasing apparatus 200 of the electronic whiteboard includes a synchronization unit 201, a generation unit 202, and an erasing unit 203.
The synchronization unit 201 is configured to, if a preset touch instruction is received, acquire handwriting data stored in a frame buffer and synchronize the acquired handwriting data to a background layer; the generating unit 202 is configured to close the transparent layer and generate a preset erasing icon; the erasing unit 203 is configured to erase the handwriting data in the background layer through the generated preset erasing icon.
In some embodiments, for example, in the present embodiment, as shown in fig. 7, the synchronization unit 201 includes a first determining unit 2011, a first synchronization subunit 2012, a second determining unit 2013, and a returning unit 2014.
The first determining unit 2011 is configured to, if a preset touch instruction is received, determine whether the preset touch instruction is a preset erase instruction; the first synchronization subunit 2012 is configured to, if the preset touch instruction is the preset erase instruction, obtain the handwriting data stored in the frame buffer and synchronize the obtained handwriting data to the background layer; the second judging unit 2013 is configured to judge whether a touch area corresponding to the preset touch instruction is larger than a preset threshold value if the preset touch instruction is not the preset erasing instruction; the returning unit 2014 is configured to return to execute the steps of acquiring the handwriting data stored in the frame buffer and synchronizing the acquired handwriting data to the background layer if the touch area corresponding to the preset touch instruction is greater than the preset threshold.
In some embodiments, for example, in the present embodiment, as shown in fig. 8, the first synchronization subunit 2012 includes an obtaining unit 20121 and a second synchronization subunit 20122.
The acquiring unit 20121 is configured to acquire handwriting data stored in a frame buffer by calling an acquiring interface; the second synchronization subunit 20122 is configured to synchronize the acquired handwriting data to a background layer by invoking a synchronization interface.
In some embodiments, such as this embodiment, as shown in fig. 9, the generating unit 202 includes a generating sub-unit 2021.
Wherein the generating subunit 2021 is configured to close the transparent layer and generate a rectangular erase icon or a circular erase icon.
In some embodiments, for example, in the present embodiment, as shown in fig. 10, the erasing unit 203 includes a dragging unit 2031, an opening unit 2032, and an erasing subunit 2033.
The dragging unit 2031 is configured to drag the generated preset erasing icon; the opening unit 2032 is configured to open an erasing function of the preset erasing icon; the erasing subunit 2033 is configured to erase the handwriting data in the background layer.
Fig. 11 is a schematic block diagram of a handwriting erasing apparatus 200 of an electronic whiteboard according to another embodiment of the present invention. As shown in fig. 11, the handwriting erasing apparatus 200 of the electronic whiteboard of the present embodiment is added with a storage unit 204 on the basis of the above embodiment.
The saving unit 204 is configured to save the acquired handwriting data to a storage area by calling a saving interface.
The handwriting erasing apparatus of the electronic whiteboard described above may be implemented in the form of a computer program which can be run on the electronic device as shown in fig. 12.
Referring to fig. 12, fig. 12 is a schematic block diagram of an electronic device according to an embodiment of the present invention. The electronic device 300 is an electronic whiteboard.
Referring to fig. 12, the electronic device 300 includes a processor 302, a memory, which may include a non-volatile storage medium 303 and an internal memory 304, and a network interface 305 connected by a system bus 301.
The nonvolatile storage medium 303 may store an operating system 3031 and a computer program 3032. The computer program 3032, when executed, causes the processor 302 to perform a handwriting-erasing method for an electronic whiteboard.
The processor 302 is used to provide computing and control capabilities to support the operation of the overall electronic device 300.
The internal memory 304 provides an environment for the execution of the computer program 3032 in the non-volatile storage medium 303, and the computer program 3032, when executed by the processor 302, causes the processor 302 to execute a handwriting erasing method of the electronic whiteboard.
The network interface 305 is used for network communication with other devices. It will be understood by those skilled in the art that the structure shown in fig. 12 is a block diagram of only a portion of the structure associated with the inventive arrangements, and does not constitute a limitation on the electronic device 300 to which the inventive arrangements are applied, and that a particular electronic device 300 may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
Wherein the processor 302 is configured to run a computer program 3032 stored in the memory to implement the following steps: if a preset touch instruction is received, acquiring handwriting data stored in a frame cache and synchronizing the acquired handwriting data to a background layer; closing the transparent layer and generating a preset erasing icon; and erasing the handwriting data in the background layer through the generated preset erasing icon.
In some embodiments, for example, in this embodiment, when the processor 302 implements the step of acquiring handwriting data stored in a frame buffer and synchronizing the acquired handwriting data to a background layer if the preset touch instruction is received, the following steps are specifically implemented: if a preset touch instruction is received, judging whether the preset touch instruction is a preset erasing instruction or not; if the preset touch instruction is the preset erasing instruction, acquiring handwriting data stored in a frame cache and synchronizing the acquired handwriting data to a background layer; if the preset touch instruction is not the preset erasing instruction, judging whether the touch area corresponding to the preset touch instruction is larger than a preset threshold value or not; and if the touch area corresponding to the preset touch instruction is larger than the preset threshold value, returning to execute the steps of acquiring the handwriting data stored in the frame cache and synchronizing the acquired handwriting data to the background layer.
In some embodiments, for example, in this embodiment, when the processor 302 implements the steps of acquiring the handwriting data stored in the frame buffer and synchronizing the acquired handwriting data to the background layer, the following steps are specifically implemented: acquiring handwriting data stored in a frame cache by calling an acquisition interface; and synchronizing the acquired handwriting data to a background layer by calling a synchronization interface.
In some embodiments, for example, in this embodiment, when the processor 302 implements the step of closing the transparent layer and generating the preset erasing icon, the following steps are implemented: the transparent layer is closed and a rectangular erase icon or a circular erase icon is generated.
In some embodiments, for example, in this embodiment, when implementing the step of erasing the handwriting data in the background layer by using the generated preset erasing icon, the processor 302 specifically implements the following steps: dragging the generated preset erasing icon; starting an erasing function of the preset erasing icon; and erasing the handwriting data in the background layer.
In some embodiments, for example, in this embodiment, after the step of obtaining the handwriting data stored in the frame buffer and synchronizing the obtained handwriting data to the background layer is implemented by the processor 302, the implementation further includes the following steps: and saving the acquired handwriting data to a storage area by calling a saving interface.
It should be understood that, in the embodiment of the present invention, the Processor 302 may be a Central Processing Unit (CPU), and the Processor 302 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. The computer program, when executed by a processor, causes the processor to perform the steps of: if a preset touch instruction is received, acquiring handwriting data stored in a frame cache and synchronizing the acquired handwriting data to a background layer; storing the read handwriting data to a frame buffer; acquiring handwriting data stored in a frame buffer and synchronizing the acquired handwriting data to a background layer; closing the transparent layer and generating a preset erasing icon; and erasing the handwriting data in the background layer through the generated preset erasing icon.
In some embodiments, for example, in this embodiment, when the processor executes the computer program to implement the step of, if a preset touch instruction is received, acquiring handwriting data stored in a frame buffer and synchronizing the acquired handwriting data to a background layer, the implementation further includes the following steps: if a preset touch instruction is received, judging whether the preset touch instruction is a preset erasing instruction or not; if the preset touch instruction is the preset erasing instruction, acquiring handwriting data stored in a frame cache and synchronizing the acquired handwriting data to a background layer; if the preset touch instruction is not the preset erasing instruction, judging whether the touch area corresponding to the preset touch instruction is larger than a preset threshold value or not; and if the touch area corresponding to the preset touch instruction is larger than the preset threshold value, returning to execute the steps of acquiring the handwriting data stored in the frame cache and synchronizing the acquired handwriting data to the background layer.
In some embodiments, for example, in this embodiment, when the processor executes the steps of obtaining the handwriting data stored in the frame buffer and synchronizing the obtained handwriting data to the background layer, the following steps are specifically implemented: acquiring handwriting data stored in a frame cache by calling an acquisition interface; and synchronizing the acquired handwriting data to a background layer by calling a synchronization interface.
In some embodiments, for example, in this embodiment, when the processor executes the computer program to implement the step of closing the transparent layer and generating the preset erasing icon, the following steps are specifically implemented: the transparent layer is closed and a rectangular erase icon or a circular erase icon is generated.
In some embodiments, for example, in this embodiment, when the processor executes the computer program to implement the step of erasing the handwriting data in the background layer through the generated preset erasing icon, the following steps are specifically implemented: dragging the generated preset erasing icon; starting an erasing function of the preset erasing icon; and erasing the handwriting data in the background layer.
In some embodiments, for example, in this embodiment, after the processor executes the computer program to implement the steps of obtaining the handwriting data stored in the frame buffer and synchronizing the obtained handwriting data to the background layer, the implementation further includes the following steps: and saving the acquired handwriting data to a storage area by calling a saving interface.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing an electronic device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, while the invention has been described with respect to the above-described embodiments, it will be understood that the invention is not limited thereto but may be embodied with various modifications and changes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A handwriting erasing method of an electronic whiteboard is characterized by comprising the following steps:
if a preset touch instruction is received, acquiring handwriting data stored in a frame cache and synchronizing the acquired handwriting data to a background layer;
closing the transparent layer and generating a preset erasing icon;
and erasing the handwriting data in the background layer through the generated preset erasing icon.
2. The method according to claim 1, wherein if a preset touch instruction is received, acquiring handwriting data stored in a frame buffer and synchronizing the acquired handwriting data to a background layer comprises:
if a preset touch instruction is received, judging whether the preset touch instruction is a preset erasing instruction or not;
and if the preset touch instruction is the preset erasing instruction, acquiring handwriting data stored in a frame cache and synchronizing the acquired handwriting data to a background layer.
3. The method of claim 2, wherein after determining whether the preset touch command is a preset erase command, the method further comprises:
if the preset touch instruction is not the preset erasing instruction, judging whether the touch area corresponding to the preset touch instruction is larger than a preset threshold value or not;
and if the touch area corresponding to the preset touch instruction is larger than the preset threshold value, returning to execute the steps of acquiring the handwriting data stored in the frame cache and synchronizing the acquired handwriting data to the background layer.
4. A method as claimed in claim 3, wherein said obtaining handwriting data stored in a frame buffer and synchronizing the obtained handwriting data to a background layer comprises:
acquiring handwriting data stored in a frame cache by calling an acquisition interface;
and synchronizing the acquired handwriting data to a background layer by calling a synchronization interface.
5. The method of claim 1, wherein closing the transparent layer and generating the preset erase icon comprises:
the transparent layer is closed and a rectangular erase icon or a circular erase icon is generated.
6. The method according to claim 1, wherein the erasing the handwriting data in the background layer through the generated preset erasing icon comprises:
dragging the generated preset erasing icon;
starting an erasing function of the preset erasing icon;
and erasing the handwriting data in the background layer.
7. A method as claimed in claim 1, wherein the step of obtaining the handwriting data stored in the frame buffer and synchronizing the obtained handwriting data to a background layer is followed by further comprising:
and saving the acquired handwriting data to a storage area by calling a saving interface.
8. A handwriting erasing apparatus of an electronic whiteboard, comprising:
the device comprises a synchronization unit, a background layer and a frame cache, wherein the synchronization unit is used for acquiring handwriting data stored in the frame cache and synchronizing the acquired handwriting data to the background layer if a preset touch instruction is received;
the generating unit is used for closing the transparent layer and generating a preset erasing icon;
and the erasing unit is used for erasing the handwriting data in the background layer through the generated preset erasing icon.
9. An electronic device, characterized in that the electronic device comprises a memory having stored thereon a computer program and a processor implementing the method according to any of claims 1-7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
CN202110184415.9A 2021-02-08 2021-02-08 Handwriting erasing method and device of electronic whiteboard, electronic equipment and storage medium Active CN112860112B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110184415.9A CN112860112B (en) 2021-02-08 2021-02-08 Handwriting erasing method and device of electronic whiteboard, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110184415.9A CN112860112B (en) 2021-02-08 2021-02-08 Handwriting erasing method and device of electronic whiteboard, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112860112A true CN112860112A (en) 2021-05-28
CN112860112B CN112860112B (en) 2023-09-08

Family

ID=75987981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110184415.9A Active CN112860112B (en) 2021-02-08 2021-02-08 Handwriting erasing method and device of electronic whiteboard, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112860112B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113608667A (en) * 2021-08-20 2021-11-05 深圳市灵畅互动科技有限公司 Electronic handwriting writing and erasing method, storage medium and equipment
CN115079869A (en) * 2022-08-16 2022-09-20 长沙朗源电子科技有限公司 Rendering method and device of electronic whiteboard

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221955A (en) * 2010-04-19 2011-10-19 中兴通讯股份有限公司 Eraser function realization method, mobile terminal and touch pen used for mobile terminal
CN102567452A (en) * 2011-11-11 2012-07-11 北京壹人壹本信息科技有限公司 Endorsement information processing method and device utilizing same
CN104133607A (en) * 2014-07-23 2014-11-05 天脉聚源(北京)教育科技有限公司 Handwriting sharing method and handwriting sharing device
US20160005205A1 (en) * 2014-07-03 2016-01-07 Adobe Systems Incorporated Smart eraser to erase digital strokes
CN108874275A (en) * 2018-06-15 2018-11-23 广州视源电子科技股份有限公司 A kind of handwriting erasing method, apparatus, terminal and computer readable storage medium
US20190018585A1 (en) * 2016-02-22 2019-01-17 Guangzhou Shirui Electronics Co. Ltd. Touch operation method based on interactive electronic white board and system thereof
CN109324724A (en) * 2018-08-20 2019-02-12 广州视源电子科技股份有限公司 Wiping method, device, equipment and the storage medium of electronic whiteboard
CN109739372A (en) * 2018-12-17 2019-05-10 掌阅科技股份有限公司 Pattern drawing method and hand-written arrangement for reading for handwriting input device
CN110297558A (en) * 2019-06-11 2019-10-01 广州视源电子科技股份有限公司 Multiple point touching control method, device, intelligent interaction plate and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221955A (en) * 2010-04-19 2011-10-19 中兴通讯股份有限公司 Eraser function realization method, mobile terminal and touch pen used for mobile terminal
CN102567452A (en) * 2011-11-11 2012-07-11 北京壹人壹本信息科技有限公司 Endorsement information processing method and device utilizing same
US20160005205A1 (en) * 2014-07-03 2016-01-07 Adobe Systems Incorporated Smart eraser to erase digital strokes
CN104133607A (en) * 2014-07-23 2014-11-05 天脉聚源(北京)教育科技有限公司 Handwriting sharing method and handwriting sharing device
US20190018585A1 (en) * 2016-02-22 2019-01-17 Guangzhou Shirui Electronics Co. Ltd. Touch operation method based on interactive electronic white board and system thereof
CN108874275A (en) * 2018-06-15 2018-11-23 广州视源电子科技股份有限公司 A kind of handwriting erasing method, apparatus, terminal and computer readable storage medium
CN109324724A (en) * 2018-08-20 2019-02-12 广州视源电子科技股份有限公司 Wiping method, device, equipment and the storage medium of electronic whiteboard
CN109739372A (en) * 2018-12-17 2019-05-10 掌阅科技股份有限公司 Pattern drawing method and hand-written arrangement for reading for handwriting input device
CN110297558A (en) * 2019-06-11 2019-10-01 广州视源电子科技股份有限公司 Multiple point touching control method, device, intelligent interaction plate and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113608667A (en) * 2021-08-20 2021-11-05 深圳市灵畅互动科技有限公司 Electronic handwriting writing and erasing method, storage medium and equipment
CN115079869A (en) * 2022-08-16 2022-09-20 长沙朗源电子科技有限公司 Rendering method and device of electronic whiteboard

Also Published As

Publication number Publication date
CN112860112B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
TW591398B (en) Method of implementing a plurality of system tray areas
US20220214784A1 (en) Systems and methods for a touchscreen user interface for a collaborative editing tool
WO2017028436A1 (en) Drawing tool implementation method, apparatus, device, and computer storage medium
EP3805908B1 (en) Annotation display method, device and apparatus, and storage medium
WO2020019616A1 (en) Touch control data processing method and device, intelligent device and storage medium
US20050015731A1 (en) Handling data across different portions or regions of a desktop
US20090125848A1 (en) Touch surface-sensitive edit system
US20150278983A1 (en) Terminal apparatus, electronic whiteboard system, input assist method for electronic whiteboard, and medium
US11119622B2 (en) Window expansion method and associated electronic device
CN110941382B (en) Display operation method, device, equipment and storage medium of intelligent interactive panel
US9372622B2 (en) Method for recording a track and electronic device using the same
US20210027007A1 (en) Online document commenting method and apparatus
CN105723314B (en) Two-step content selection
CN104778008A (en) Virtual writing system on basis of screen management and control
CN110297558B (en) Multi-touch control method and device, intelligent interaction panel and storage medium
US20100007617A1 (en) Input method using a touchscreen of an electronic device
WO2018049879A1 (en) Data migration method and device
TWI485616B (en) Method for recording trajectory and electronic apparatus
CN112860112B (en) Handwriting erasing method and device of electronic whiteboard, electronic equipment and storage medium
JP2009116727A (en) Image input display
CN106557251B (en) Flexible mapping of writing areas to digital displays
CN106775445B (en) Data migration method and device
US20150026552A1 (en) Electronic device and image data displaying method
KR20210023434A (en) Display apparatus and control method thereof
US10430924B2 (en) Resizable, open editable thumbnails in a computing 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