WO2023020047A1 - Electronic handwriting writing and erasing method, storage medium, and device - Google Patents

Electronic handwriting writing and erasing method, storage medium, and device Download PDF

Info

Publication number
WO2023020047A1
WO2023020047A1 PCT/CN2022/093047 CN2022093047W WO2023020047A1 WO 2023020047 A1 WO2023020047 A1 WO 2023020047A1 CN 2022093047 W CN2022093047 W CN 2022093047W WO 2023020047 A1 WO2023020047 A1 WO 2023020047A1
Authority
WO
WIPO (PCT)
Prior art keywords
erasing
electronic
page
electronic handwriting
handwriting
Prior art date
Application number
PCT/CN2022/093047
Other languages
French (fr)
Chinese (zh)
Inventor
邓海
Original Assignee
深圳市灵畅互动科技有限公司
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 深圳市灵畅互动科技有限公司 filed Critical 深圳市灵畅互动科技有限公司
Publication of WO2023020047A1 publication Critical patent/WO2023020047A1/en

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/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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the invention relates to the technical field of electronic handwriting processing, in particular to an electronic handwriting writing and erasing method, storage medium and equipment.
  • a handwriting window can be generated, the user can write in the handwriting window, and the handwriting window can display written electronic handwriting. The user can also erase the written electronic handwriting in the handwriting window.
  • an erasing image When erasing electronic handwriting, an erasing image can be rendered in the handwriting window, and the electronic handwriting covered by the erasing image can be re-rendered to realize the erasing function.
  • the operation is complicated and the efficiency is low.
  • the object of the present invention is to provide a method for writing and erasing electronic handwriting, a storage medium and a device, so as to solve the technical problems existing in the prior art.
  • the many technical effects that can be produced by the preferred technical solutions among the many technical solutions provided by the present invention are described in detail below.
  • the present invention provides the following technical solutions: provide a method for erasing electronic handwriting, comprising the following steps:
  • step S25 judge whether to write or erase according to the preset threshold value; if it is to erase, then enter step S30; if it is to write, then enter step S50; if not, then enter step S26; the threshold value is to judge whether to write or erase Threshold of removal;
  • step S26 Perform operations other than erasing or writing, and return to step S20;
  • step S30 judging whether the last touch operation of the touch information is erasing, if so, proceed to step S40, otherwise proceed to step S35;
  • step S70 judging whether to save as a partially erased electronic page according to preset settings; if so, proceed to step S80; otherwise, proceed to step S90;
  • said S40 specifically includes the following steps:
  • the touch information includes touch point, touch size, touch time and touch track;
  • the shape of the smart eraser is round, rectangular or square.
  • the S42 specifically includes the following steps:
  • the S42 specifically includes the following steps:
  • the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the above-mentioned method for writing and erasing electronic handwriting is realized.
  • the present invention also provides an electronic handwriting erasing device, comprising:
  • processors one or more processors
  • the memory is used to store one or more computer programs, and the one or more processors are used to execute the one or more computer programs stored in the memory to enable the one or more processors.
  • the invention is used to improve the synchronous erasure of electronic handwriting when erasing physical handwriting on an electronic whiteboard or smart blackboard, and intelligently judge whether to save electronic handwriting when writing or erasing, which is convenient for users to operate and has high efficiency.
  • Fig. 1 is the schematic flow sheet of the electronic handwriting writing erasing method embodiment of the present invention
  • Fig. 2 is the schematic flow chart of the step S40 of the embodiment of the electronic handwriting writing and erasing method of the present invention
  • Fig. 3 is the first flow chart schematic diagram of step S42 of the embodiment of the electronic handwriting writing and erasing method of the present invention
  • Fig. 4 is a schematic diagram of the second flow chart of step S42 of the embodiment of the method for writing and erasing electronic handwriting according to the present invention.
  • connection and “connected” should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, an integral connection, a mechanical connection, an electrical connection, a communication connection, a direct connection, an indirect connection through an intermediary, or two The connectivity within a component or the interaction between two components.
  • the term “and/or” includes any and all combinations of one or more of the associated listed items. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention according to specific situations.
  • the present invention provides a kind of electronic handwriting writing and erasing method embodiment, specifically comprise the following steps:
  • step S25 judge whether to write or erase according to the preset threshold value; if it is to erase, then enter step S30; if it is to write, then enter step S50; if not, then enter step S26; the threshold value is to judge whether to write or erase Threshold of removal;
  • step S26 Perform operation processing other than erasing or writing, and return to step S20; specifically, the operation processing may be operations such as exit, key selection, color change, etc., which are not listed here.
  • step S30 judging whether the last touch operation of the touch information is erasing, if so, proceed to step S40, otherwise proceed to step S35;
  • step S70 judging whether to save as a partially erased electronic page according to preset settings; if so, proceed to step S80; otherwise, proceed to step S90;
  • the S40 specifically includes the following steps:
  • the touch information includes touch point, touch size, touch time and touch track;
  • the shape of the smart eraser can be round, rectangular or square; of course, it can also be in other shapes, which are not listed here.
  • the S42 specifically includes the following steps:
  • the S42 specifically includes the following steps:
  • the invention is used to improve the synchronous erasure of electronic handwriting when erasing physical handwriting on an electronic whiteboard or smart blackboard, and intelligently judge whether to save electronic handwriting when writing or erasing, which is convenient for users to operate and has high efficiency.
  • the embodiment is only a specific example, and does not represent such an implementation mode of the present invention.
  • the present invention also provides an embodiment of an electronic handwriting erasing device, including one or more processors and memory; wherein, the memory is used to store one or more computer programs, and the one or more processors are used to execute the memory One or more computer programs are stored to enable the processor to execute the features/steps of the above embodiments of the electronic handwriting erasing method.
  • the various features described herein can be implemented by methods, data processing equipment or computer program products. Therefore, these features may be represented partially by hardware, all by software, or a combination of hardware and software.
  • the above-mentioned features may also be embodied in the form of a computer program product stored on one or more computer-readable storage media, the computer-readable storage medium contains computer-readable program code segments or instructions, which are stored in the storage medium.
  • the readable storage medium is configured to store various types of data to support operations at the device.
  • a readable storage medium may be implemented by any type or combination of volatile or nonvolatile storage devices.
  • SRAM static hard disk
  • EEPROM electrically erasable programmable read-only memory
  • EPROM erasable programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • optical storage devices magnetic storage devices, flash memory, magnetic or optical disks, and/or combinations of the above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An electronic handwriting writing and erasing method, relating to the technical field of electronic handwriting processing. The method comprises: reading and storing touch information; according to a preset threshold value, determining whether writing or erasing is performed; if erasing is performed, entering erasure processing, and erasing the electronic handwriting of an electronic page according to current touch information; and if writing is performed, entering writing processing, and performing new electronic handwriting writing on the electronic page. The present method is used for synchronously improving the erasing of the electronic handwriting when a physical handwriting of an electronic whiteboard or an intelligent blackboard is erased, and intelligently determining, during writing or erasing, whether the electronic handwriting is stored. The user operation is convenient, and the efficiency is high.

Description

一种电子笔迹书写擦除方法、存储介质及设备A method, storage medium and device for writing and erasing electronic handwriting 技术领域technical field
本发明涉及电子笔迹处理技术领域,尤其涉及一种电子笔迹书写擦除方法、存储介质及设备。The invention relates to the technical field of electronic handwriting processing, in particular to an electronic handwriting writing and erasing method, storage medium and equipment.
背景技术Background technique
在电子白板或电子黑板书写时,可以生成一个笔迹窗口,用户可以在该笔迹窗口进行书写,该笔迹窗口可以显示书写的电子笔迹。用户也可以在该笔迹窗口对书写的电子笔迹进行擦除。When writing on the electronic whiteboard or electronic blackboard, a handwriting window can be generated, the user can write in the handwriting window, and the handwriting window can display written electronic handwriting. The user can also erase the written electronic handwriting in the handwriting window.
技术问题technical problem
在擦除电子笔迹时,可以在笔迹窗口渲染一个擦除图像,将擦除图像覆盖的电子笔迹进行重新渲染,以实现擦除功能,然而,操作复杂,效率低。When erasing electronic handwriting, an erasing image can be rendered in the handwriting window, and the electronic handwriting covered by the erasing image can be re-rendered to realize the erasing function. However, the operation is complicated and the efficiency is low.
技术解决方案technical solution
本发明的目的在于提供一种电子笔迹书写擦除方法、存储介质及设备,以解决现有技术中存在的技术问题。本发明提供的诸多技术方案中的优选技术方案所能产生的诸多技术效果详见下文阐述。The object of the present invention is to provide a method for writing and erasing electronic handwriting, a storage medium and a device, so as to solve the technical problems existing in the prior art. The many technical effects that can be produced by the preferred technical solutions among the many technical solutions provided by the present invention are described in detail below.
为实现上述目的,本发明提供了以下技术方案:提供一种电子笔迹书写擦除方法,包括以下步骤:In order to achieve the above object, the present invention provides the following technical solutions: provide a method for erasing electronic handwriting, comprising the following steps:
S20、读取并保存触摸信息;S20. Read and save the touch information;
S25、根据预设的门限值判断是书写还是擦除;如是擦除则进入步骤S30;如是书写则进入步骤S50;如果都不是则进入步骤S26;所述门限值为判断是书写还是擦除的阈值;S25, judge whether to write or erase according to the preset threshold value; if it is to erase, then enter step S30; if it is to write, then enter step S50; if not, then enter step S26; the threshold value is to judge whether to write or erase Threshold of removal;
S26:进行擦除或书写之外的操作处理,并返回步骤S20;S26: Perform operations other than erasing or writing, and return to step S20;
S30、判断上一次的所述触摸信息的触摸操作是否是擦除,如是则进入步骤S40,如否则进入步骤S35;S30, judging whether the last touch operation of the touch information is erasing, if so, proceed to step S40, otherwise proceed to step S35;
S35、保存当前的电子页面,并设定当前的所述电子页面为第i页;S35. Save the current electronic page, and set the current electronic page as the i-th page;
S40、根据当前的所述触摸信息,对第i页所述电子页面对应的电子笔迹进行擦除,并返回步骤S20;S40. According to the current touch information, erase the electronic handwriting corresponding to the electronic page on the i-th page, and return to step S20;
S50、判断上一次的所述触摸信息的触摸操作是书写还是擦除;如是擦除则进入步骤S60;如是书写则进入步骤S90;S50. Determine whether the last touch operation of the touch information is writing or erasing; if it is erasing, go to step S60; if it is writing, go to step S90;
S60、判断是否已经将全部的所述电子页面的所述电子笔迹都擦除完;如否则进入步骤S70;如是则进入步骤S80;S60, judging whether all the electronic handwriting on the electronic page has been erased; if not, enter step S70; if yes, enter step S80;
S70、根据预先设置判断是否保存为局部擦除的电子页面;如是则进入步骤S80;如否则进入步骤S90;S70, judging whether to save as a partially erased electronic page according to preset settings; if so, proceed to step S80; otherwise, proceed to step S90;
S80、判断之前保存的局部擦除的所述电子页面是否有所述电子笔迹,如有则将之前的局部擦除的所述电子页面作为第i页进行保存,并新建一个电子页面作为第i+1页,i=i+1,进入步骤S90;如无则直接进入步骤S90;S80. Determine whether the previously saved partially erased electronic page has the electronic handwriting, if so, save the previously partially erased electronic page as the i-th page, and create a new electronic page as the i-th page +1 page, i=i+1, enter step S90; if no, then directly enter step S90;
S90、在当前的所述电子页面进行新的所述电子笔迹的书写,并返回步骤S20。S90. Perform new writing of the electronic handwriting on the current electronic page, and return to step S20.
优选的,所述S20之前,还包括步骤:Preferably, before said S20, it also includes the steps of:
S10、预先设定智能板擦的尺寸、形状、所述门限值以及是否保存局部擦除的电子页面。S10. Preset the size and shape of the smart eraser, the threshold value, and whether to save partially erased electronic pages.
优选的,所述S40具体包括以下步骤:Preferably, said S40 specifically includes the following steps:
S41、读取智能板擦的触摸信息,并计算所述智能板擦的倾斜角度;所述触摸信息包括触摸点、触摸尺寸、触摸时间和触摸轨迹;S41. Read the touch information of the smart eraser, and calculate the tilt angle of the smart eraser; the touch information includes touch point, touch size, touch time and touch track;
S42、根据所述触摸信息和所述倾斜角度,计算需要擦除的电子笔迹;S42. Calculate electronic handwriting to be erased according to the touch information and the tilt angle;
S43、对所述电子笔迹进行擦除。S43. Erase the electronic handwriting.
优选的,所述智能板擦的形状为圆形、长方形或方形。Preferably, the shape of the smart eraser is round, rectangular or square.
优选的,当所述智能板擦为圆形时,所述智能板擦的倾斜角度为0;所述S42具体包括以下步骤:Preferably, when the smart eraser is circular, the inclination angle of the smart eraser is 0; the S42 specifically includes the following steps:
S4201、根据所述触摸信息计算出触摸的中心点;S4201. Calculate a center point of the touch according to the touch information;
S4202、以所述中心点为圆心、以所述智能板擦的尺寸为直径计算出擦除区域,所述擦除区域为圆形擦除区域;S4202. Calculate an erasing area with the center point as the center and the size of the smart eraser as the diameter, and the erasing area is a circular erasing area;
S4203、根据所述圆形擦除区域计算需要擦除的电子笔迹。S4203. Calculate electronic handwriting to be erased according to the circular erasing area.
优选的,当所述智能板擦为长方形或方形时;所述S42具体包括以下步骤:Preferably, when the smart eraser is rectangular or square; the S42 specifically includes the following steps:
S4211、根据所述触摸信息计算出触摸的区域的长方形的对角顶点坐标;S4211. Calculate the diagonal vertex coordinates of the rectangle of the touched area according to the touch information;
S4212、根据所述顶点坐标计算出倾斜角度进而计算出擦除区域,所述擦除区域为长方形擦除区域或正方形擦除区域;S4212. Calculate the inclination angle according to the vertex coordinates, and then calculate the erasing area, where the erasing area is a rectangular erasing area or a square erasing area;
S4213、根据所述长方形擦除区域或正方形擦除区域计算需要擦除的电子笔迹。S4213. Calculate electronic handwriting to be erased according to the rectangular erasing area or the square erasing area.
本发明还提供一种计算机可读的存储介质,所述存储介质上存储有计算机程序,所述计算机程序被执行时实现上文所述的电子笔迹书写擦除方法。The present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the above-mentioned method for writing and erasing electronic handwriting is realized.
本发明还提供一种电子笔迹擦除设备,包括:The present invention also provides an electronic handwriting erasing device, comprising:
一个或多个处理器;one or more processors;
存储器,用于存储一个或多个计算机程序,一个或多个所述处理器用于执行所述存储器存储的一个或多个计算机程序,以使一个或多个所述处理器。The memory is used to store one or more computer programs, and the one or more processors are used to execute the one or more computer programs stored in the memory to enable the one or more processors.
有益效果Beneficial effect
本发明用于电子白板或智慧黑板在擦除实物笔迹时,对电子笔迹的擦除的同步改善,以及在书写或擦除时智能判断是否保存电子笔迹,方便用户操作,效率高。The invention is used to improve the synchronous erasure of electronic handwriting when erasing physical handwriting on an electronic whiteboard or smart blackboard, and intelligently judge whether to save electronic handwriting when writing or erasing, which is convenient for users to operate and has high efficiency.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单的介绍,显而易见,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,附图中:In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without creative labor. In the drawings:
图1是本发明电子笔迹书写擦除方法实施例的流程示意图;Fig. 1 is the schematic flow sheet of the electronic handwriting writing erasing method embodiment of the present invention;
图2是本发明电子笔迹书写擦除方法实施例的步骤S40流程示意图;Fig. 2 is the schematic flow chart of the step S40 of the embodiment of the electronic handwriting writing and erasing method of the present invention;
图3是本发明电子笔迹书写擦除方法实施例的步骤S42第一流程示意图;Fig. 3 is the first flow chart schematic diagram of step S42 of the embodiment of the electronic handwriting writing and erasing method of the present invention;
图4是本发明电子笔迹书写擦除方法实施例的步骤S42第二流程示意图。Fig. 4 is a schematic diagram of the second flow chart of step S42 of the embodiment of the method for writing and erasing electronic handwriting according to the present invention.
本发明的实施方式Embodiments of the present invention
为了使本发明的目的、技术方案及优点更加清楚明白,下文将要描述的各种示例性实施例将要参考相应的附图,这些附图构成了示例性实施例的一部分,其中描述了实现本发明可能采用的各种示例性实施例。除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。应明白,它们仅是与如所附权利要求书中所详述的、本发明公开的一些方面相一致的流程、方法和装置等的例子,还可使用其他的实施例,或者对本文列举的实施例进行结构和功能上的修改,而不会脱离本发明的范围和实质。In order to make the purpose, technical solutions and advantages of the present invention clearer, the various exemplary embodiments to be described below will refer to the accompanying drawings, which constitute a part of the exemplary embodiments, and describe the implementation of the present invention. Various exemplary embodiments that may be employed. Unless indicated otherwise, the same numbers in different drawings identify the same or similar elements. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. It should be understood that these are merely examples of procedures, methods, apparatus, etc., consistent with aspects of the present disclosure as detailed in the appended claims, and that other embodiments may be used, or alternatives to those set forth herein The embodiments undergo structural and functional modifications without departing from the scope and spirit of the present invention.
在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”等指示的是基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的元件必须具有的特定的方位、以特定的方位构造和操作。术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。术语“多个”的含义是两个或两个以上。术语“相连”、“连接”应做广义理解,例如,可以是固定连接、可拆卸连接、一体连接、机械连接、电性连接、通信连接、直接相连、通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be understood that the terms "center", "longitudinal", "transverse", etc. indicate the orientation or positional relationship based on the drawings, and are only for the convenience of describing the present invention and simplifying the description. Rather than indicating or implying a particular orientation that the referred element must have, be constructed, or operate in a particular orientation. The terms "first", "second", etc. are used for descriptive purposes only, and should not be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. The term "plurality" means two or more. The terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, an integral connection, a mechanical connection, an electrical connection, a communication connection, a direct connection, an indirect connection through an intermediary, or two The connectivity within a component or the interaction between two components. The term "and/or" includes any and all combinations of one or more of the associated listed items. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention according to specific situations.
为了说明本发明所述的技术方案,下面通过具体实施例来进行说明,仅示出了与本发明实施例相关的部分。In order to illustrate the technical solutions of the present invention, specific embodiments are used for description below, and only parts related to the embodiments of the present invention are shown.
实施例一:Embodiment one:
如图1所示,本发明提供了一种电子笔迹书写擦除方法实施例,具体包括以下步骤:As shown in Figure 1, the present invention provides a kind of electronic handwriting writing and erasing method embodiment, specifically comprise the following steps:
S20、读取并保存触摸信息;S20. Read and save the touch information;
S25、根据预设的门限值判断是书写还是擦除;如是擦除则进入步骤S30;如是书写则进入步骤S50;如果都不是则进入步骤S26;所述门限值为判断是书写还是擦除的阈值;S25, judge whether to write or erase according to the preset threshold value; if it is to erase, then enter step S30; if it is to write, then enter step S50; if not, then enter step S26; the threshold value is to judge whether to write or erase Threshold of removal;
S26:进行擦除或书写之外的操作处理,并返回步骤S20;具体的,该操作处理可以是退出、按键选择、换颜色等等操作,在此不一一例举。S26: Perform operation processing other than erasing or writing, and return to step S20; specifically, the operation processing may be operations such as exit, key selection, color change, etc., which are not listed here.
S30、判断上一次的所述触摸信息的触摸操作是否是擦除,如是则进入步骤S40,如否则进入步骤S35;S30, judging whether the last touch operation of the touch information is erasing, if so, proceed to step S40, otherwise proceed to step S35;
S35、保存当前的电子页面,并设定当前的所述电子页面为第i页;S35. Save the current electronic page, and set the current electronic page as the i-th page;
S40、根据当前的所述触摸信息,对第i页所述电子页面对应的电子笔迹进行擦除,并返回步骤S20;S40. According to the current touch information, erase the electronic handwriting corresponding to the electronic page on the i-th page, and return to step S20;
S50、判断上一次的所述触摸信息的触摸操作是书写还是擦除;如是擦除则进入步骤S60;如是书写则进入步骤S90;S50. Determine whether the last touch operation of the touch information is writing or erasing; if it is erasing, go to step S60; if it is writing, go to step S90;
S60、判断是否已经将全部的所述电子页面的所述电子笔迹都擦除完;如否则进入步骤S70;如是则进入步骤S80;S60, judging whether all the electronic handwriting on the electronic page has been erased; if not, enter step S70; if yes, enter step S80;
S70、根据预先设置判断是否保存为局部擦除的电子页面;如是则进入步骤S80;如否则进入步骤S90;S70, judging whether to save as a partially erased electronic page according to preset settings; if so, proceed to step S80; otherwise, proceed to step S90;
S80、判断之前保存的局部擦除的所述电子页面是否有所述电子笔迹,如有则将之前的局部擦除的所述电子页面作为第i页进行保存,并新建一个电子页面作为第i+1页,i=i+1,进入步骤S90;如无则直接进入步骤S90;S80. Determine whether the previously saved partially erased electronic page has the electronic handwriting, if so, save the previously partially erased electronic page as the i-th page, and create a new electronic page as the i-th page +1 page, i=i+1, enter step S90; if no, then directly enter step S90;
S90、在当前的所述电子页面进行新的所述电子笔迹的书写,并返回步骤S20。S90. Perform new writing of the electronic handwriting on the current electronic page, and return to step S20.
在本实施例中,如图1所示,所述S20之前,还包括步骤:In this embodiment, as shown in FIG. 1, before the S20, further steps are included:
S10、预先设定智能板擦的尺寸、形状、所述门限值以及是否保存局部擦除的电子页面。S10. Preset the size and shape of the smart eraser, the threshold value, and whether to save partially erased electronic pages.
在本实施例中,如图2所示,所述S40具体包括以下步骤:In this embodiment, as shown in FIG. 2, the S40 specifically includes the following steps:
S41、读取智能板擦的触摸信息,并计算所述智能板擦的倾斜角度;所述触摸信息包括触摸点、触摸尺寸、触摸时间和触摸轨迹;S41. Read the touch information of the smart eraser, and calculate the tilt angle of the smart eraser; the touch information includes touch point, touch size, touch time and touch track;
S42、根据所述触摸信息和所述倾斜角度,计算需要擦除的电子笔迹;S42. Calculate electronic handwriting to be erased according to the touch information and the tilt angle;
S43、对所述电子笔迹进行擦除。S43. Erase the electronic handwriting.
在本实施例中,所述智能板擦的形状可以为圆形、长方形或方形;当然,也可以是其他形状,在此不一一例举。In this embodiment, the shape of the smart eraser can be round, rectangular or square; of course, it can also be in other shapes, which are not listed here.
如图3所示,当所述智能板擦为圆形时,所述智能板擦的倾斜角度为0;所述S42具体包括以下步骤:As shown in Figure 3, when the smart eraser is circular, the inclination angle of the smart eraser is 0; the S42 specifically includes the following steps:
S4201、根据所述触摸信息计算出触摸的中心点;S4201. Calculate a center point of the touch according to the touch information;
S4202、以所述中心点为圆心、以所述智能板擦的尺寸为直径计算出擦除区域,所述擦除区域为圆形擦除区域;S4202. Calculate an erasing area with the center point as the center and the size of the smart eraser as the diameter, and the erasing area is a circular erasing area;
S4203、根据所述圆形擦除区域计算需要擦除的电子笔迹。S4203. Calculate electronic handwriting to be erased according to the circular erasing area.
如图4所示,当所述智能板擦为长方形或方形时;所述S42具体包括以下步骤:As shown in Figure 4, when the smart board eraser is rectangular or square; the S42 specifically includes the following steps:
S4211、根据所述触摸信息计算出触摸的区域的长方形的对角顶点坐标;S4211. Calculate the diagonal vertex coordinates of the rectangle of the touched area according to the touch information;
S4212、根据所述顶点坐标计算出倾斜角度进而计算出擦除区域,所述擦除区域为长方形擦除区域或正方形擦除区域;S4212. Calculate the inclination angle according to the vertex coordinates, and then calculate the erasing area, where the erasing area is a rectangular erasing area or a square erasing area;
S4213、根据所述长方形擦除区域或正方形擦除区域计算需要擦除的电子笔迹。S4213. Calculate electronic handwriting to be erased according to the rectangular erasing area or the square erasing area.
本发明用于电子白板或智慧黑板在擦除实物笔迹时,对电子笔迹的擦除的同步改善,以及在书写或擦除时智能判断是否保存电子笔迹,方便用户操作,效率高。The invention is used to improve the synchronous erasure of electronic handwriting when erasing physical handwriting on an electronic whiteboard or smart blackboard, and intelligently judge whether to save electronic handwriting when writing or erasing, which is convenient for users to operate and has high efficiency.
实施例仅是一个特例,并不表明本发明就这样一种实现方式。The embodiment is only a specific example, and does not represent such an implementation mode of the present invention.
实施例二:Embodiment two:
本领域普通技术人员可以理解,实现上述各方法实施例的全部或部分特征/步骤可以通过方法、数据处理系统或计算机程序来实现,这些特征可不采用硬件的方式、全部采用软件的方式或者采用硬件和软件结合的方式来实现。前述的计算机程序可以存储于一种或多种计算机可读的存储介质中,存储介质上存储有计算机程序,所述计算机程序被(如处理器)执行时,执行包括上述的电子笔迹书写擦除方法实施例的步骤。Those skilled in the art can understand that all or part of the features/steps of the above-mentioned method embodiments can be realized by methods, data processing systems or computer programs, and these features can be implemented without hardware, all by software, or by hardware combined with software. The foregoing computer program may be stored in one or more computer-readable storage media, and a computer program is stored on the storage medium. When the computer program is executed (such as by a processor), the execution includes the above-mentioned writing and erasing of electronic handwriting. Steps of a method embodiment.
实施例三:Embodiment three:
本发明还提供一种电子笔迹擦除设备实施例,包括一个或多个处理器及存储器;其中,所述存储器用于存储一个或多个计算机程序,所述一个或多个处理器用于执行存储器存储的一个或多个计算机程序,以使处理器执行上述的电子笔迹书写擦除方法实施例的特征/步骤。The present invention also provides an embodiment of an electronic handwriting erasing device, including one or more processors and memory; wherein, the memory is used to store one or more computer programs, and the one or more processors are used to execute the memory One or more computer programs are stored to enable the processor to execute the features/steps of the above embodiments of the electronic handwriting erasing method.
在阅读完上文描述的内容之后,本领域的普通技术人员应当明白,本文描述的各种特征可通过方法、数据处理设备或计算机程序产品来实现。因此,这些特征可部采用硬件的方式、全部采用软件的方式或者采用硬件和软件结合的方式来表现。此外,上述特征也可采用存储在一种或多种计算机可读存储介质上的计算机程序产品的形式来表现,该计算机可读存储介质中包含计算机可读程序代码段或者指令,其存储在存储介质中。可读存储介质被配置为存储各种类型的数据以支持在装置的操作。可读存储介质可以由任何类型的易失性或非易失性存储设备或者它们的组合实现。如静态硬盘、随机存取存储器(SRAM)、电可擦除可编程只读存储器(EEPROM)、可擦除可编程只读存储器(EPROM)、可编程只读存储器(PROM)、只读存储器(ROM)、光存储设备、磁存储设备、快闪存储器、磁盘或光盘和/或上述设备的组合。After reading the above description, those of ordinary skill in the art should understand that the various features described herein can be implemented by methods, data processing equipment or computer program products. Therefore, these features may be represented partially by hardware, all by software, or a combination of hardware and software. In addition, the above-mentioned features may also be embodied in the form of a computer program product stored on one or more computer-readable storage media, the computer-readable storage medium contains computer-readable program code segments or instructions, which are stored in the storage medium. The readable storage medium is configured to store various types of data to support operations at the device. A readable storage medium may be implemented by any type or combination of volatile or nonvolatile storage devices. Such as static hard disk, random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory ( ROM), optical storage devices, magnetic storage devices, flash memory, magnetic or optical disks, and/or combinations of the above.
以上所述仅为本发明的较佳实施例而已,本领域技术人员知悉,在不脱离本发明的精神和范围的情况下,可以对这些特征和实施例进行各种改变或等同替换。另外,在本发明的教导下,可以对这些特征和实施例进行修改以适应具体的情况及材料而不会脱离本发明的精神和范围。因此,本发明不受此处所公开的具体实施例的限制,所有落入本申请的权利要求范围内的实施例都属于本发明的保护范围。The above descriptions are only preferred embodiments of the present invention. Those skilled in the art know that various changes or equivalent replacements can be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, the features and examples may be modified to adapt a particular situation and material to the teachings of the invention without departing from the spirit and scope of the invention. Therefore, the present invention is not limited by the specific embodiments disclosed here, and all embodiments falling within the scope of the claims of the present application belong to the protection scope of the present invention.

Claims (8)

  1. 一种电子笔迹书写擦除方法,其特征在于,包括以下步骤:A method for erasing electronic handwriting, characterized in that it comprises the following steps:
    S20、读取并保存触摸信息;S20. Read and save the touch information;
    S25、根据预设的门限值判断是书写还是擦除;如是擦除则进入步骤S30;如是书写则进入步骤S50;如果都不是则进入步骤S26;所述门限值为判断是书写还是擦除的阈值;S25, judge whether to write or erase according to the preset threshold value; if it is to erase, then enter step S30; if it is to write, then enter step S50; if not, then enter step S26; the threshold value is to judge whether to write or erase Threshold of removal;
    S26:进行擦除或书写之外的操作处理,并返回步骤S20;S26: Perform operations other than erasing or writing, and return to step S20;
    S30、判断上一次的所述触摸信息的触摸操作是否是擦除,如是则进入步骤S40,如否则进入步骤S35;S30, judging whether the last touch operation of the touch information is erasing, if so, proceed to step S40, otherwise proceed to step S35;
    S35、保存当前的电子页面,并设定当前的所述电子页面为第i页;S35. Save the current electronic page, and set the current electronic page as the i-th page;
    S40、根据当前的所述触摸信息,对第i页所述电子页面对应的电子笔迹进行擦除,并返回步骤S20;S40. According to the current touch information, erase the electronic handwriting corresponding to the electronic page on the i-th page, and return to step S20;
    S50、判断上一次的所述触摸信息的触摸操作是书写还是擦除;如是擦除则进入步骤S60;如是书写则进入步骤S90;S50. Determine whether the last touch operation of the touch information is writing or erasing; if it is erasing, go to step S60; if it is writing, go to step S90;
    S60、判断是否已经将全部的所述电子页面的所述电子笔迹都擦除完;如否则进入步骤S70;如是则进入步骤S80;S60, judging whether all the electronic handwriting on the electronic page has been erased; if not, enter step S70; if yes, enter step S80;
    S70、根据预先设置判断是否保存为局部擦除的电子页面;如是则进入步骤S80;如否则进入步骤S90;S70, judging whether to save as a partially erased electronic page according to preset settings; if so, proceed to step S80; otherwise, proceed to step S90;
    S80、判断之前保存的局部擦除的所述电子页面是否有所述电子笔迹,如有则将之前的局部擦除的所述电子页面作为第i页进行保存,并新建一个电子页面作为第i+1页,i=i+1,进入步骤S90;如无则直接进入步骤S90;S80. Determine whether the previously saved partially erased electronic page has the electronic handwriting, if so, save the previously partially erased electronic page as the i-th page, and create a new electronic page as the i-th page +1 page, i=i+1, enter step S90; if no, then directly enter step S90;
    S90、在当前的所述电子页面进行新的所述电子笔迹的书写,并返回步骤S20。S90. Perform new writing of the electronic handwriting on the current electronic page, and return to step S20.
  2. 根据权利要求1所述的电子笔迹书写擦除方法,其特征在于,所述S20之前,还包括步骤:The method for erasing electronic handwriting according to claim 1, characterized in that, before S20, further comprising the steps of:
    S10、预先设定智能板擦的尺寸、形状、所述门限值以及是否保存局部擦除的电子页面。S10. Preset the size and shape of the smart eraser, the threshold value, and whether to save partially erased electronic pages.
  3. 根据权利要求2所述的电子笔迹书写擦除方法,其特征在于,所述S40具体包括以下步骤:The writing and erasing method of electronic handwriting according to claim 2, wherein said S40 specifically comprises the following steps:
    S41、读取所述智能板擦的触摸信息,并计算所述智能板擦的倾斜角度;所述触摸信息包括触摸点、触摸尺寸、触摸时间和触摸轨迹;S41. Read the touch information of the smart eraser, and calculate the inclination angle of the smart eraser; the touch information includes touch point, touch size, touch time and touch track;
    S42、根据所述触摸信息和所述倾斜角度,计算需要擦除的电子笔迹;S42. Calculate electronic handwriting to be erased according to the touch information and the tilt angle;
    S43、对所述电子笔迹进行擦除。S43. Erase the electronic handwriting.
  4. 根据权利要求3所述的电子笔迹书写擦除方法,其特征在于,所述智能板擦的形状为圆形、长方形或方形。The method for erasing electronic handwriting according to claim 3, wherein the shape of the smart eraser is circular, rectangular or square.
  5. 根据权利要求4所述的电子笔迹书写擦除方法,其特征在于,当所述智能板擦为圆形时,所述智能板擦的倾斜角度为0;所述S42具体包括以下步骤:The method for erasing electronic handwriting according to claim 4, wherein when the smart blackboard eraser is circular, the angle of inclination of the smart blackboard eraser is 0; the S42 specifically includes the following steps:
    S4201、根据所述触摸信息计算出触摸的中心点;S4201. Calculate a center point of the touch according to the touch information;
    S4202、以所述中心点为圆心、以所述智能板擦的尺寸为直径计算出擦除区域,所述擦除区域为圆形擦除区域;S4202. Calculate an erasing area with the center point as the center and the size of the smart eraser as the diameter, and the erasing area is a circular erasing area;
    S4203、根据所述圆形擦除区域计算需要擦除的电子笔迹。S4203. Calculate electronic handwriting to be erased according to the circular erasing area.
  6. 根据权利要求4所述的电子笔迹书写擦除方法,其特征在于,当所述智能板擦为长方形或方形时;所述S42具体包括以下步骤:The method for erasing electronic handwriting according to claim 4, wherein when said smart board eraser is rectangular or square; said S42 specifically comprises the following steps:
    S4211、根据所述触摸信息计算出触摸的区域的长方形的对角顶点坐标;S4211. Calculate the diagonal vertex coordinates of the rectangle of the touched area according to the touch information;
    S4212、根据所述顶点坐标计算出倾斜角度进而计算出擦除区域,所述擦除区域为长方形擦除区域或正方形擦除区域;S4212. Calculate the inclination angle according to the vertex coordinates, and then calculate the erasing area, where the erasing area is a rectangular erasing area or a square erasing area;
    S4213、根据所述长方形擦除区域或正方形擦除区域计算需要擦除的电子笔迹。S4213. Calculate electronic handwriting to be erased according to the rectangular erasing area or the square erasing area.
  7. 一种计算机可读的存储介质,其特征在于,所述存储介质上存储有计算机程序,所述计算机程序被执行时实现权利要求1-6任一项所述的电子笔迹书写擦除方法。A computer-readable storage medium, characterized in that a computer program is stored on the storage medium, and when the computer program is executed, the method for writing and erasing electronic handwriting according to any one of claims 1-6 is implemented.
  8. 一种电子笔迹擦除的设备,其特征在于,包括:A device for erasing electronic handwriting is characterized in that it comprises:
    一个或多个处理器;one or more processors;
    存储器,用于存储一个或多个计算机程序,一个或多个所述处理器用于执行所述存储器存储的一个或多个计算机程序,以使一个或多个所述处理器执行如权利要求1-6任一项所述的电子笔迹书写擦除方法。A memory for storing one or more computer programs, one or more of said processors for executing one or more of said memory stored computer programs, so that one or more of said processors can perform as claimed in claim 1- 6. The electronic handwriting writing and erasing method described in any one.
PCT/CN2022/093047 2021-08-20 2022-05-16 Electronic handwriting writing and erasing method, storage medium, and device WO2023020047A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110963690.0 2021-08-20
CN202110963690.0A CN113608667A (en) 2021-08-20 2021-08-20 Electronic handwriting writing and erasing method, storage medium and equipment

Publications (1)

Publication Number Publication Date
WO2023020047A1 true WO2023020047A1 (en) 2023-02-23

Family

ID=78341525

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/093047 WO2023020047A1 (en) 2021-08-20 2022-05-16 Electronic handwriting writing and erasing method, storage medium, and device

Country Status (2)

Country Link
CN (1) CN113608667A (en)
WO (1) WO2023020047A1 (en)

Families Citing this family (3)

* 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
CN115098014B (en) * 2021-12-29 2024-05-14 山东蓝贝思特教装集团股份有限公司 Handwriting display method, controller and TFT liquid crystal writing device
CN114546174B (en) * 2022-02-28 2024-03-08 京东方科技集团股份有限公司 Handwriting processing method, display device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203462A (en) * 2011-03-23 2012-10-22 Dainippon Printing Co Ltd Computer device and program of the same
CN106919333A (en) * 2017-02-21 2017-07-04 青岛海信电器股份有限公司 The recording method and device of written contents on electronic writing board
CN109032390A (en) * 2018-08-01 2018-12-18 广州视源电子科技股份有限公司 Handwriting data caching method, device, equipment and storage medium
US20210096709A1 (en) * 2017-11-28 2021-04-01 Egalax_Empia Technology Inc. Electronic Board Eraser and Controlling Method Thereof for Setting Erasing Area
CN113608667A (en) * 2021-08-20 2021-11-05 深圳市灵畅互动科技有限公司 Electronic handwriting writing and erasing method, storage medium and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203462A (en) * 2011-03-23 2012-10-22 Dainippon Printing Co Ltd Computer device and program of the same
CN106919333A (en) * 2017-02-21 2017-07-04 青岛海信电器股份有限公司 The recording method and device of written contents on electronic writing board
US20210096709A1 (en) * 2017-11-28 2021-04-01 Egalax_Empia Technology Inc. Electronic Board Eraser and Controlling Method Thereof for Setting Erasing Area
CN109032390A (en) * 2018-08-01 2018-12-18 广州视源电子科技股份有限公司 Handwriting data caching method, device, equipment and storage medium
CN113608667A (en) * 2021-08-20 2021-11-05 深圳市灵畅互动科技有限公司 Electronic handwriting writing and erasing method, storage medium and equipment

Also Published As

Publication number Publication date
CN113608667A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
WO2023020047A1 (en) Electronic handwriting writing and erasing method, storage medium, and device
US10373359B2 (en) Method and device for erasing a writing path on an infrared electronic white board, and a system for writing on an infrared electronic white board
US8055873B2 (en) Data writing method for flash memory, and controller and system using the same
WO2021068367A1 (en) Control method and apparatus for intelligent interactive panel
US10475516B2 (en) Data storage device and data erasing method wherein after erasing process, predetermined value is written to indicate completion of said erasing method
JP2015001751A (en) Handwriting input device, control program and control method
US10606744B2 (en) Method for accessing flash memory module and associated flash memory controller and electronic device
WO2021008071A1 (en) Table processing method and apparatus, and intelligent interactive tablet and storage medium
US8156278B2 (en) Non-volatile data storage system and method thereof
CN108647075A (en) Listview method for refreshing, device and the electronic equipment of five application page
KR102337157B1 (en) Electronic blackboard apparatus and the controlling method thereof
US20090259796A1 (en) Data writing method for non-volatile memory and storage system and controller using the same
CN110297558B (en) Multi-touch control method and device, intelligent interaction panel and storage medium
US20110179217A1 (en) Flash Storage Device and Data Access Method of Flash Memory
WO2005064617A1 (en) Data write-in method for flash memory
CN105446848A (en) Electronic device data processing performance test method and device
CN113538623A (en) Method and device for determining target image, electronic equipment and storage medium
CN111061429B (en) Data access method, device, equipment and medium
CN108446062A (en) A kind of object fixing means, device, terminal device and storage medium
JP4886570B2 (en) Information processing apparatus, information processing method, and program
US20220300205A1 (en) Controller and operating method thereof
CN113849106A (en) Page-turning handwriting processing method and device, electronic device and storage medium
US20150356011A1 (en) Electronic device and data writing method
TWI653636B (en) Data storage device and method of operating same
CN110618784B (en) Data storage device and method of operating the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22857364

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE