CN114003145B - Touch screen writing and erasing method and device, electronic whiteboard and storage medium - Google Patents

Touch screen writing and erasing method and device, electronic whiteboard and storage medium Download PDF

Info

Publication number
CN114003145B
CN114003145B CN202111282205.XA CN202111282205A CN114003145B CN 114003145 B CN114003145 B CN 114003145B CN 202111282205 A CN202111282205 A CN 202111282205A CN 114003145 B CN114003145 B CN 114003145B
Authority
CN
China
Prior art keywords
erasing
area
starting
instruction
erase
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
CN202111282205.XA
Other languages
Chinese (zh)
Other versions
CN114003145A (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 KTC Commercial Technology Co Ltd
Original Assignee
Shenzhen KTC Commercial 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 KTC Commercial Technology Co Ltd filed Critical Shenzhen KTC Commercial Technology Co Ltd
Priority to CN202111282205.XA priority Critical patent/CN114003145B/en
Publication of CN114003145A publication Critical patent/CN114003145A/en
Application granted granted Critical
Publication of CN114003145B publication Critical patent/CN114003145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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

Landscapes

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

Abstract

The embodiment of the invention discloses a method and a device for writing and erasing a touch screen, an electronic whiteboard and a storage medium, and relates to the technical field of electronic whiteboards. The method comprises the following steps: acquiring a preset starting and erasing instruction; starting a corresponding erasing mode according to the preset starting erasing instruction; acquiring a first selection instruction and a second selection instruction; determining an area to be erased according to the erasing mode, the first selection instruction and the second selection instruction; and erasing handwriting in the area to be erased after a preset erasing instruction is acquired. The method can carry out large-area erasure by starting the erasure instruction, the first selection instruction, the second selection instruction and the preset erasure instruction, can flexibly determine the area to be erased, reduces the operation steps and the moving distance of erasure, improves the efficiency of large-area erasure, and improves the experience of users using the electronic whiteboard.

Description

Touch screen writing and erasing method and device, electronic whiteboard and storage medium
Technical Field
The invention relates to the technical field of electronic whiteboards, in particular to a method and a device for writing and erasing a touch screen, an electronic whiteboard and equipment.
Background
The electronic whiteboard is a digital teaching demonstration device for replacing the traditional blackboard and chalk. The electronic whiteboard can be completely separated from the mouse and the keyboard, and editing, annotating and storing operations on the computer files can be realized on the electronic whiteboard by using hands or specific pens, so that great convenience is brought to users. The existing large-size electronic whiteboard generally writes and erases through the covered area moved by the eraser, or directly clears the screen, the erasing effect is relatively poor, the eraser is required to be repeatedly moved for many times until the area to be erased is covered when the large-area erasing is required, the whole process efficiency is low, and the moving operation is relatively time-consuming.
Disclosure of Invention
The embodiment of the invention provides a method and a device for writing and erasing a touch screen, an electronic whiteboard and a storage medium, and aims to solve the problems that the efficiency is low and the moving operation is time-consuming when large-area erasing is performed by the existing method.
In a first aspect, an embodiment of the present invention provides a method for writing and erasing on a touch screen, where the method includes: acquiring a start erasing instruction; starting a corresponding erasing mode according to the preset starting erasing instruction; acquiring a first selection instruction and a second selection instruction; determining an area to be erased according to the erasing mode, the first selection instruction and the second selection instruction; and erasing handwriting in the area to be erased after a preset erasing instruction is acquired.
In a second aspect, an embodiment of the present invention further provides a device for writing and erasing on a touch screen, where the device includes: the first acquisition unit is used for acquiring a preset starting erasing instruction; the first starting unit is used for starting a corresponding erasing mode according to the preset starting erasing instruction; the second acquisition unit is used for acquiring the first selection instruction and the second selection instruction; the first determining unit is used for determining an area to be erased according to the erasing mode, the first selecting instruction and the second selecting instruction; and the erasing unit is used for erasing the handwriting in the area to be erased after acquiring a preset erasing instruction.
In a third aspect, an embodiment of the present invention further provides an electronic whiteboard, where the electronic whiteboard includes a memory and a processor, and the memory stores a computer program, and the processor implements the method when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-described method.
The embodiment of the invention provides a method and a device for writing and erasing a touch screen, an electronic whiteboard and a storage medium, wherein the method comprises the following steps: acquiring a start erasing instruction; starting a corresponding erasing mode according to the preset starting erasing instruction; acquiring a first selection instruction and a second selection instruction; determining an area to be erased according to the erasing mode, the first selection instruction and the second selection instruction; and erasing handwriting in the area to be erased after a preset erasing instruction is acquired. Compared with the prior art, the method can flexibly determine the area to be erased without repeatedly moving the eraser for multiple times until the area to be erased is covered, reduces the operation steps and the moving distance of the erasure, improves the efficiency of large-area erasure, and improves the experience of users for using the electronic whiteboard.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a touch screen writing and erasing method according to an embodiment of the present invention;
fig. 2 is a schematic sub-flowchart of a touch screen writing and erasing method according to an embodiment of the present invention;
FIG. 3 is a schematic sub-flowchart of a method for erasing a touch screen according to an embodiment of the present invention;
FIG. 4 is a schematic block diagram of a touch screen writing and erasing device provided by an embodiment of the present invention;
FIG. 5 is a schematic block diagram of an electronic whiteboard according to an embodiment of the present invention;
FIG. 6 is a graph of an erase effect of an infrared touch electronic whiteboard in a single-area erase mode;
FIG. 7 is another diagram of an erase effect of an infrared touch electronic whiteboard in a single-area erase mode;
FIG. 8 is a graph of an erase effect of an infrared touch electronic whiteboard in a compound erase mode;
fig. 9 is another erase effect diagram of an infrared touch electronic whiteboard in a compound erase mode.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "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 this specification 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 the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if determined" or "if [ a described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of [ a described condition or event ]" or "in response to detection of [ a described condition or event ]".
The touch screen writing and erasing method provided by the embodiment of the invention can be applied to electronic whiteboards, such as infrared touch electronic whiteboards, capacitive touch electronic whiteboards, resistive touch electronic whiteboards and other electronic equipment. The corresponding functions are implemented by application programs stored in the electronic whiteboard, and an infrared touch electronic whiteboard will be described below as an example.
Referring to fig. 1, fig. 1 is a flowchart illustrating a touch screen writing and erasing method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps S1-S5.
S1, acquiring a preset starting erasing instruction.
In a specific implementation, a preset start erase command is obtained. Specifically, in an embodiment, when a user needs to perform large-area erasing, the user needs to perform a preset touch action on the infrared touch screen, and after the infrared touch electronic whiteboard detects the preset touch action, a preset starting erasing instruction is correspondingly generated to trigger the infrared touch electronic whiteboard to enter an erasing mode.
S2, starting a corresponding erasing mode according to the preset starting erasing instruction.
In specific implementation, the corresponding erase mode is started according to the preset start erase command. Specifically, in one embodiment, multiple erase modes may be set according to user usage requirements, and the multiple erase modes may be associated with multiple different start erase commands.
In this embodiment, two erase modes are provided and correspond to two different boot erase commands. Specifically, the preset start erase command includes a first start erase command and a second start erase command, the erase mode includes a single area erase mode and a composite erase mode, and the step S2 includes: steps S21 to S22.
S21, if the preset starting erase command is the first starting erase command, starting the single-area erase mode.
In an implementation, if the preset start erase command is the first start erase command, the single-area erase mode is started. Specifically, in an embodiment, the touch action corresponding to the first start erase command is set to that the user selects any one of four edges of the touch screen, and the finger presses any point of the edges of the touch screen (except at four corners of the infrared touch screen). The long pressing time is generally set to 2s, and the user can also set according to actual operation requirements. And when the infrared touch electronic whiteboard acquires the first starting erasing instruction, starting a single-area erasing mode.
S22, if the preset starting erase command is the second starting erase command, starting the composite erase mode.
In an implementation, if the preset start erase command is the second start erase command, the composite erase mode is started. Specifically, in an embodiment, the touch action corresponding to the second start erase command is set to be any one of four corners of the long press touch screen, where the long press time is generally set to be 2s, and the user can also set according to the actual operation requirement. And starting a compound erasing mode after the infrared touch electronic whiteboard acquires a second starting erasing instruction.
In an embodiment, the touch action corresponding to the first start erase command is set to a point on the user single-finger long-press touch screen, and the touch action corresponding to the second start erase command is set to two points on the user double-finger long-press touch screen, wherein the long-press time is generally set to 2s. The user can set the touch control actions corresponding to the first start erase command and the second start erase command according to the actual needs and the usage habits, and the invention is not limited in particular.
S3, acquiring a first selection instruction and a second selection instruction.
In a specific implementation, a first selection instruction and a second selection instruction are acquired. Specifically, in an embodiment, after the infrared touch electronic whiteboard enters the erasing mode according to the obtained start erasing instruction, a touch instruction of a user needs to be further obtained as a first selection instruction and a second selection instruction, so that the subsequent infrared touch electronic whiteboard determines the area to be erased according to the first selection instruction and the second selection instruction.
S4, determining an area to be erased according to the erasing mode, the first selection instruction and the second selection instruction.
In a specific implementation, the area to be erased is determined according to the erase mode, the first selection instruction and the second selection instruction. Specifically, in one embodiment, different erase modes are combined with different first and second selection instructions to form different regions to be erased. In an embodiment, the touch actions corresponding to the first and second selection instructions may be set as a click touch or a slide touch, and the user may set other touch actions according to the use requirement.
It should be noted that, when the infrared touch electronic whiteboard acquires the preset starting erasing instruction or the first selecting instruction or the second selecting instruction, and no operation is performed within a preset time, the erasing mode is automatically exited. In an embodiment, the preset time is set to 3s, and the user can set the preset time according to actual situations.
In an embodiment, the erase mode is a single-area erase mode, in which only a single area is erased at a time; the first selection instruction and the second selection instruction are both point-touch instructions, namely instructions for clicking the touch screen, and correspond to touch actions of clicking the touch screen. As shown in fig. 2, when the erase mode is a single area erase mode, the step S4 includes: steps S401 to S403.
S401, generating a single-area erasing starting line according to the first selection instruction.
In specific implementation, a single-area erasing start line is generated according to the first selection instruction. Specifically, in one embodiment, if a user clicks a horizontal edge of the infrared touch screen with a finger, the infrared touch electronic whiteboard obtains a position coordinate of the touch point and generates an erasing start line perpendicular to the horizontal edge of the touch screen based on the position coordinate; if the user clicks the vertical frame of the infrared touch frame with a finger, the infrared touch electronic whiteboard acquires the position coordinates of the touch point and generates an erasing initial line parallel to the horizontal edge of the touch screen based on the position coordinates.
S402, generating a termination line of single-area erasure according to the second selection instruction.
In specific implementation, a termination line of the single-area erase is generated according to the second selection instruction. Specifically, in an embodiment, the step is similar to step S401, and will not be described herein.
S403, determining the area to be erased according to the starting line of the single-area erase and the ending line of the single-area erase.
In specific implementation, the area to be erased is determined according to the starting line of the single-area erase and the ending line of the single-area erase. Specifically, in one embodiment, a rectangular area formed by the start line of the single-area erase, the end line of the single-area erase, and the edge of the infrared touch screen between the start line and the end line is the area to be erased.
It should be noted that, in the single-area erasing mode, the first selection instruction and the second selection instruction are both on the horizontal frame or the vertical frame, otherwise, the area to be erased cannot be formed. Please refer to fig. 6 and fig. 7, which are diagrams of two erasing effects of the infrared touch electronic whiteboard in a single-area erasing mode, wherein fig. 6 is a vertical single-area erasing effect, and fig. 7 is a horizontal single-area erasing effect. In an embodiment, a user only needs to enter a single-area erasing mode by pressing any point on the edge of the touch screen for a long time, and selects a rectangular area to be erased by clicking the edge of the touch screen twice, and then the large-area erasing of the single area can be realized through subsequent steps, so that the erasing operation is simple and the efficiency is high.
In an embodiment, the erase mode is a composite erase mode, where the composite erase mode performs an erase operation on a plurality of areas or a composite area composed of a plurality of areas at a time; the first selection instruction and the second selection instruction are line touch instructions, namely instructions sliding on the touch screen, and correspond to touch actions sliding on the touch screen. As shown in fig. 3, when the erase mode is a compound erase mode, the step S4 includes: steps S411 to S413.
S411, generating a first erasure area of the composite erasure according to the first selection instruction.
In specific implementation, a first erasure area for composite erasure is generated according to the first selection instruction. Specifically, in one embodiment, if the user slides a distance on the horizontal edge of the infrared touch screen with a finger, the infrared touch electronic whiteboard obtains a start position coordinate and an end position coordinate of the sliding distance according to the instruction, and generates a rectangular erasing area perpendicular to the horizontal frame based on the start position coordinate and the end position coordinate.
And S412, generating a second erasure area for composite erasure according to the second selection instruction.
In specific implementation, a second erasure area for composite erasure is generated according to the second selection instruction. Specifically, in an embodiment, the step is similar to step S411, and will not be described herein.
S413, determining the area to be erased according to the first erasing area of the compound erase and the second erasing area of the compound erase.
In specific implementation, the to-be-erased area is determined according to the first erasing area of the compound erase and the second erasing area of the compound erase. Specifically, in one embodiment, referring to fig. 8, the area to be erased is a composite area composed of two vertical rectangular areas.
It should be noted that, since the infrared touch screen can perform multi-point detection at the same time, there is no limitation on the number of the touch screen in theory, so in the composite erase mode, the erase method can support simultaneous erasure of multiple areas, so in the composite erase mode, the first selection instruction and the second selection instruction can include multiple line touch instructions, and no distinction is made between the first selection instruction and the second selection instruction.
It should be further noted that the first selection instruction and the second selection instruction may be on the same frame, or may be on frames in different directions. Referring to fig. 8 and 9, two erasing effect diagrams of the infrared touch electronic whiteboard in the composite erasing mode are shown, wherein fig. 8 is an erasing effect on two vertical areas at the same time, in an embodiment, a user enters the composite erasing mode by pressing any one of four corners of the touch screen for a long time, and selects two rectangular areas to be erased by sliding a distance at the bottom edge of the touch screen twice, and then the large-area erasing of the composite area in fig. 8 can be realized through the subsequent steps. FIG. 9 shows the effect of erasing a common area formed by two vertical areas and a horizontal area, and the user can slide a distance on the side of the touch screen to obtain the composite area to be erased shown in FIG. 9 on the basis of FIG. 8 before erasing, and then the large-area erasing of the composite area in FIG. 9 can be realized through the subsequent steps.
S5, erasing handwriting in the area to be erased after a preset erasing instruction is acquired.
In specific implementation, after a preset erasing instruction is obtained, handwriting in the area to be erased is erased. Specifically, in an embodiment, the touch action corresponding to the preset erase command is set to continuously double-click the non-to-be-erased area, and the selection of the to-be-erased area and the confirmation of the to-be-erased area are ended by setting the preset erase command. In the single-area erasing mode, after an area to be erased is generated, the infrared touch electronic whiteboard waits for acquiring a preset erasing instruction to erase the area to be erased, and if the preset erasing instruction is not received within the preset time, the infrared touch electronic whiteboard exits the erasing mode; in a composite erasing mode, after an area to be erased is selected for a user, ending the selection of the area to be erased by a preset erasing instruction, and removing handwriting of the area to be erased by the infrared touch electronic whiteboard; if the selection of the area to be erased is wrong, the infrared touch electronic whiteboard exits the erasing mode after waiting for the preset time, and the user restarts the erasing mode to reselect the area to be erased.
The embodiment of the invention provides a method for writing and erasing a touch screen, which comprises the following steps: acquiring a preset starting and erasing instruction; starting a corresponding erasing mode according to the preset starting erasing instruction; acquiring a first selection instruction and a second selection instruction; determining an area to be erased according to the erasing mode, the first selection instruction and the second selection instruction; and erasing handwriting in the area to be erased after a preset erasing instruction is acquired. Compared with the prior art, the method can flexibly determine the area to be erased without repeatedly moving the eraser for multiple times until the area to be erased is covered, reduces the operation steps and the moving distance of the erasure, improves the efficiency of large-area erasure, and improves the experience of users using the electronic whiteboard.
The scanning mode of the infrared touch electronic whiteboard can be switched between a one-to-many scanning mode and a one-to-one scanning mode. The user can switch the two scanning modes by setting the touch instruction, and the scanning mode of the infrared touch electronic whiteboard is a one-to-many scanning mode under the default condition. In an embodiment, when the infrared touch electronic whiteboard detects that three fingers of a user press the touch actions above the touch screen 2S for the same time, the scanning mode is switched to a one-to-one scanning mode.
Preferably, the electronic whiteboard used in the touch screen writing and erasing method is an infrared touch electronic whiteboard, the distance between infrared lamps is between 6mm and 9mm, and the touch control action area is 10mm to 20mm away from the infrared emission lamps. After the erasing mode is started, the infrared touch electronic whiteboard can be switched from a one-to-many scanning mode to a one-to-one scanning mode. The width of the finger of a person is about 12mm, the coordinates of the finger touch action can be determined in a one-to-one scanning mode under the condition that the distance between the infrared lamps is smaller than the width of the finger, and the power consumption of the electronic whiteboard can be reduced by realizing the touch screen writing and erasing method in the one-to-one scanning mode, so that the scanning time of the infrared lamps is shortened to improve the touch reaction speed of the electronic whiteboard.
Fig. 4 is a schematic block diagram of a touch screen writing erasing device provided by an embodiment of the present invention. As shown in fig. 4, the present invention further provides a touch screen writing and erasing apparatus 100 corresponding to the above touch screen writing and erasing method. The touch screen writing erasing apparatus 100 includes means for performing the above-described touch screen writing erasing method, and may be configured in a touchable electronic whiteboard. Specifically, referring to fig. 4, the touch screen writing erasing apparatus 100 includes a first acquiring unit 101, a first starting unit 102, a second acquiring unit 103, a first determining unit 104, and an erasing unit 105.
The first obtaining unit 101 is configured to obtain a preset start erase command; the first starting unit 102 is configured to start a corresponding erase mode according to the preset start erase command; the second obtaining unit 103 is configured to obtain a first selection instruction and a second selection instruction; the first determining unit 104 is configured to determine an area to be erased according to the erase mode, the first selection instruction, and the second selection instruction; the erasing unit 105 is configured to erase handwriting in the area to be erased after obtaining a preset erasing instruction.
In an embodiment, the first starting unit 102 includes: the second starting unit and the third starting unit.
The preset starting and erasing instructions comprise a first starting and erasing instruction and a second starting and erasing instruction, and the erasing modes comprise a single-area erasing mode and a compound erasing mode; the second starting unit is used for starting the single-area erasing mode if the preset starting erasing command is the first starting erasing command; the third starting unit is used for starting the composite erase mode if the preset starting erase command is the second starting erase command.
In an embodiment, the first determining unit 104 includes: the device comprises a first generating unit, a second generating unit and a second determining unit.
The erasing mode is a single-area erasing mode, and the first selection instruction and the second selection instruction are both point touch instructions, namely instructions for clicking a touch screen; the first generation unit is used for generating a starting line of single-area erasure according to the first selection instruction; the second generating unit is used for generating a termination line of single-area erasure according to the second selection instruction; the second determining unit is used for determining the area to be erased according to the starting line of the single-area erase and the ending line of the single-area erase.
In an embodiment, the first determining unit 104 includes: a third generation unit, a fourth generation unit and a third determination unit.
The erasing mode is a compound erasing mode, and the first selection instruction and the second selection instruction are line touch control instructions, namely instructions sliding on a touch screen; the third generating unit is used for generating a first erasure area of composite erasure according to the first selection instruction; the fourth generating unit is used for generating a second erasure area of the composite erasure according to the second selection instruction; the third determining unit is configured to determine the to-be-erased area according to the first erase area of the composite erase and the second erase area of the composite erase.
In one embodiment, the touch screen writing and erasing apparatus 100 further includes an exit unit.
The exit unit is used for automatically exiting the erase mode when no operation exists in a preset time after the preset start erase command or the first selection command or the second selection command is acquired.
It should be noted that, as those skilled in the art can clearly understand, the specific implementation process of the above-mentioned touch screen writing erasing device and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, the description is omitted here.
The touch screen writing and erasing apparatus described above may be implemented in the form of a computer program that can run on an electronic whiteboard as shown in fig. 5.
Referring to fig. 5, the electronic whiteboard 300 comprises a processor 302, a memory and a network interface 305 connected by a system bus 301, wherein the memory may comprise a non-volatile storage medium 303 and an internal memory 304.
The non-volatile storage medium 303 may store an operating system 3031 and a computer program 3032. The computer program 3032, when executed, may cause the processor 302 to perform a touch-screen writing and erasing method.
The processor 302 is used to provide computing and control capabilities to support the operation of the entire electronic whiteboard 300.
The internal memory 304 provides an environment for the execution of a computer program 3032 in the non-volatile storage medium 303, which computer program 3032, when executed by the processor 302, causes the processor 302 to perform a touch screen writing and erasing method.
The network interface 305 is used for network communication with other devices. Those skilled in the art will appreciate that the structure shown in fig. 5 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the electronic whiteboard 300 to which the present application is applied, and that a particular electronic whiteboard 300 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 302 is configured to execute a computer program 3032 stored in a memory to implement the following steps:
acquiring a preset starting and erasing instruction; starting a corresponding erasing mode according to the preset starting erasing instruction; acquiring a first selection instruction and a second selection instruction; determining an area to be erased according to the erasing mode, the first selection instruction and the second selection instruction; and erasing handwriting in the area to be erased after a preset erasing instruction is acquired.
In an embodiment, the preset start erase command includes a first start erase command and a second start erase command, the erase modes include a single-area erase mode and a composite erase mode, and the starting the corresponding erase mode according to the preset start erase command includes:
if the preset starting erase command is the first starting erase command, starting the single-area erase mode;
and if the preset starting erasing instruction is the second starting erasing instruction, starting the compound erasing mode.
In an embodiment, the erasing mode is a single-area erasing mode, and the first selection instruction and the second selection instruction are both touch-point instructions, i.e. instructions for clicking a touch screen; the determining the area to be erased according to the erase mode, the first selection instruction and the second selection instruction includes: generating a single-area erasing start line according to the first selection instruction; generating a termination line of single-area erasure according to the second selection instruction; and determining the area to be erased according to the starting line of the single-area erase and the ending line of the single-area erase.
In an embodiment, the erasing mode is a compound erasing mode, the first selection instruction and the second selection instruction are both line touch instructions, that is, instructions sliding on a touch screen, and determining the area to be erased according to the erasing mode, the first selection instruction and the second selection instruction includes: generating a first erasure area of composite erasure according to the first selection instruction; generating a second erasure area of the composite erasure according to the second selection instruction; and determining the area to be erased according to the first erasing area of the compound erase and the second erasing area of the compound erase.
In an embodiment, the method for writing and erasing on a touch screen further includes: and when no operation exists in the preset time after the preset starting erasing instruction or the first selecting instruction or the second selecting instruction is acquired, automatically exiting the erasing mode.
It should be appreciated that in embodiments of the present application, the processor 302 may be a Central processing unit (Central ProcessingUnit, CPU), the processor 302 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf Programmable gate arrays (FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program may be stored in a storage medium that 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 any of the above-described embodiments of the touch screen writing and erasing method of the present invention.
The storage medium is a physical, non-transitory storage medium, and may be, for example, a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate 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 solution. 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 several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above 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, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
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 combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or partly contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium comprising several instructions for causing an electronic whiteboard to perform all or part of the steps of the method according to the embodiments of the present invention.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (9)

1. A method for writing and erasing a touch screen, comprising:
acquiring a preset starting and erasing instruction;
starting a corresponding erasing mode according to the preset starting erasing instruction, wherein the preset starting erasing instruction comprises a first starting erasing instruction and a second starting erasing instruction, the erasing mode comprises a single-area erasing mode and a compound erasing mode, and the starting of the corresponding erasing mode according to the preset starting erasing instruction comprises the following steps:
if the preset starting erase command is the first starting erase command, starting the single-area erase mode;
if the preset starting erase command is the second starting erase command, starting the compound erase mode;
acquiring a first selection instruction and a second selection instruction;
determining an area to be erased according to the erasing mode, the first selection instruction and the second selection instruction;
and erasing handwriting in the area to be erased after a preset erasing instruction is acquired.
2. The method for writing and erasing on a touch screen according to claim 1, wherein the erasing mode is a single-area erasing mode, and the first selection instruction and the second selection instruction are both point-touch instructions, i.e. instructions for clicking the touch screen; the determining the area to be erased according to the erase mode, the first selection instruction and the second selection instruction includes:
generating a single-area erasing start line according to the first selection instruction;
generating a termination line of single-area erasure according to the second selection instruction;
and determining the area to be erased according to the starting line of the single-area erase and the ending line of the single-area erase.
3. The method of claim 1, wherein the erasing mode is a compound erasing mode, the first selection command and the second selection command are both line touch commands, i.e. commands sliding on the touch screen, and the determining the area to be erased according to the erasing mode, the first selection command and the second selection command includes:
generating a first erasure area of composite erasure according to the first selection instruction;
generating a second erasure area of the composite erasure according to the second selection instruction;
and determining the area to be erased according to the first erasing area of the compound erase and the second erasing area of the compound erase.
4. The touch screen writing and erasing method of claim 1, further comprising:
and when no operation exists in the preset time after the preset starting erasing instruction or the first selecting instruction or the second selecting instruction is acquired, automatically exiting the erasing mode.
5. A touch screen writing and erasing device, comprising:
the first acquisition unit is used for acquiring a preset starting erasing instruction;
the first starting unit is configured to start a corresponding erase mode according to the preset starting erase command, where the preset starting erase command includes a first starting erase command and a second starting erase command, the erase mode includes a single-area erase mode and a composite erase mode, and the starting of the corresponding erase mode according to the preset starting erase command includes:
if the preset starting erase command is the first starting erase command, starting the single-area erase mode;
if the preset starting erase command is the second starting erase command, starting the compound erase mode;
the second acquisition unit is used for acquiring the first selection instruction and the second selection instruction;
the first determining unit is used for determining an area to be erased according to the erasing mode, the first selecting instruction and the second selecting instruction;
and the erasing unit is used for erasing the handwriting in the area to be erased after acquiring a preset erasing instruction.
6. An electronic whiteboard, characterized in that it comprises a memory and a processor, said memory having stored thereon a computer program, said processor implementing the method according to any of claims 1-4 when executing said computer program.
7. The electronic whiteboard of claim 6, wherein the electronic whiteboard is an infrared touch electronic whiteboard.
8. The electronic whiteboard of claim 7, wherein the infrared touch electronic whiteboard is switchable between a one-to-many scanning mode and a one-to-one scanning mode.
9. 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 of claims 1-4.
CN202111282205.XA 2021-11-01 2021-11-01 Touch screen writing and erasing method and device, electronic whiteboard and storage medium Active CN114003145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111282205.XA CN114003145B (en) 2021-11-01 2021-11-01 Touch screen writing and erasing method and device, electronic whiteboard and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111282205.XA CN114003145B (en) 2021-11-01 2021-11-01 Touch screen writing and erasing method and device, electronic whiteboard and storage medium

Publications (2)

Publication Number Publication Date
CN114003145A CN114003145A (en) 2022-02-01
CN114003145B true CN114003145B (en) 2024-01-09

Family

ID=79925984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111282205.XA Active CN114003145B (en) 2021-11-01 2021-11-01 Touch screen writing and erasing method and device, electronic whiteboard and storage medium

Country Status (1)

Country Link
CN (1) CN114003145B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115033169B (en) * 2022-05-20 2024-09-13 广州朗国电子科技股份有限公司 Writing and erasing method, device and storage medium for electronic whiteboard touch screen
CN115113793A (en) * 2022-05-25 2022-09-27 海信视像科技股份有限公司 Gesture erasing method and device and electronic equipment
CN115033164A (en) * 2022-06-10 2022-09-09 长沙朗源电子科技有限公司 Method for erasing electronic data based on electronic whiteboard eraser
CN114995731B (en) * 2022-07-29 2022-10-04 深圳润方创新技术有限公司 Display control method and system of drawing board and drawing board

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6353193B1 (en) * 1996-10-01 2002-03-05 Greensteel, Inc. Electronic whiteboard system and method
CN104423869A (en) * 2013-09-09 2015-03-18 中兴通讯股份有限公司 Text erasing method and device
CN108874275A (en) * 2018-06-15 2018-11-23 广州视源电子科技股份有限公司 Handwriting erasing method, handwriting erasing device, terminal and computer-readable storage medium
CN109343767A (en) * 2018-08-31 2019-02-15 湖南新云网科技有限公司 A kind of method for deleting of electronic whiteboard
CN110633042A (en) * 2019-08-23 2019-12-31 厦门亿联网络技术股份有限公司 Handwriting erasing method, device and equipment for electronic whiteboard
CN112181246A (en) * 2020-09-18 2021-01-05 深圳创维数字技术有限公司 Electronic whiteboard erasing method, device, equipment and computer readable storage medium
CN113311981A (en) * 2021-05-12 2021-08-27 深圳市宝视达光电有限公司 Erasing method and device, intelligent terminal and computer readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040207606A1 (en) * 1999-11-08 2004-10-21 Atwood Stephen P. Sensing the size of a touch point in a touch-sensitive panel employing resistive membranes
JP2016071819A (en) * 2014-10-02 2016-05-09 株式会社東芝 Electronic apparatus and method
US20190163292A1 (en) * 2017-11-28 2019-05-30 Egalax_Empia Technology Inc. Electronic Board Eraser and Controlling Method Thereof
US20210096709A1 (en) * 2017-11-28 2021-04-01 Egalax_Empia Technology Inc. Electronic Board Eraser and Controlling Method Thereof for Setting Erasing Area
US20200371680A1 (en) * 2019-05-20 2020-11-26 Microsoft Technology Licensing, Llc Method and system for touch screen erasing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6353193B1 (en) * 1996-10-01 2002-03-05 Greensteel, Inc. Electronic whiteboard system and method
CN104423869A (en) * 2013-09-09 2015-03-18 中兴通讯股份有限公司 Text erasing method and device
CN108874275A (en) * 2018-06-15 2018-11-23 广州视源电子科技股份有限公司 Handwriting erasing method, handwriting erasing device, terminal and computer-readable storage medium
CN109343767A (en) * 2018-08-31 2019-02-15 湖南新云网科技有限公司 A kind of method for deleting of electronic whiteboard
CN110633042A (en) * 2019-08-23 2019-12-31 厦门亿联网络技术股份有限公司 Handwriting erasing method, device and equipment for electronic whiteboard
CN112181246A (en) * 2020-09-18 2021-01-05 深圳创维数字技术有限公司 Electronic whiteboard erasing method, device, equipment and computer readable storage medium
CN113311981A (en) * 2021-05-12 2021-08-27 深圳市宝视达光电有限公司 Erasing method and device, intelligent terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN114003145A (en) 2022-02-01

Similar Documents

Publication Publication Date Title
CN114003145B (en) Touch screen writing and erasing method and device, electronic whiteboard and storage medium
CN110058782B (en) Touch operation method and system based on interactive electronic whiteboard
JP5537458B2 (en) Image display device capable of touch input, control device for display device, and computer program
US12093506B2 (en) Systems and methods for a touchscreen user interface for a collaborative editing tool
US20230058247A1 (en) Electronic interactive tablet, menu display method, and writing tool attribute control method
CN108874275B (en) Handwriting erasing method, handwriting erasing device, terminal and computer-readable storage medium
JP5536690B2 (en) Touch drawing display device and operation method thereof
CN103076982B (en) The method and device that in a kind of mobile terminal, cursor controls
US20130191768A1 (en) Method for manipulating a graphical object and an interactive input system employing the same
CN103809888A (en) Mobile terminal and manipulation method thereof
US20110050610A1 (en) Dynamic switching of interactive whiteboard data
JP2010146032A (en) Mobile terminal device and display control method
CN105468278A (en) Touch screen operation identification and response method and apparatus based on virtual key, and game manipulation method and apparatus
US20130321350A1 (en) Virtual ruler for stylus input
JP6613338B2 (en) Information processing apparatus, information processing program, and information processing method
CN105808129B (en) Method and device for quickly starting software function by using gesture
JP6352801B2 (en) Information processing apparatus, information processing program, and information processing method
CN104820512A (en) Information processing apparatus
EP2669783A1 (en) Virtual ruler for stylus input
CN107679219B (en) Matching method and device, interactive intelligent panel and storage medium
CN113031817B (en) Multi-touch gesture recognition method and false touch prevention method
JP6584876B2 (en) Information processing apparatus, information processing program, and information processing method
JP5782157B2 (en) Image display device capable of touch input, control device for display device, and computer program
WO2017016333A1 (en) Screen adjustment method and device
JP5801920B2 (en) Touch drawing display device and operation method thereof

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