CN110879686A - Label erasing method and device and electronic equipment - Google Patents
Label erasing method and device and electronic equipment Download PDFInfo
- Publication number
- CN110879686A CN110879686A CN201911109185.9A CN201911109185A CN110879686A CN 110879686 A CN110879686 A CN 110879686A CN 201911109185 A CN201911109185 A CN 201911109185A CN 110879686 A CN110879686 A CN 110879686A
- Authority
- CN
- China
- Prior art keywords
- erasing
- timestamp
- state
- current
- content
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a label erasing method, a label erasing device and electronic equipment, wherein the method comprises the following steps: when receiving a marking operation, acquiring marking content and a corresponding timestamp; acquiring a current labeling state; and erasing the marked content according to the timestamp and the current marked state. The invention erases the marked content according to the received timestamp and the marked state, and does not need to use an eraser function in the electronic whiteboard or a handheld eraser matched with the electronic whiteboard to manually erase the mark, thereby improving the convenience of operation.
Description
Technical Field
The invention relates to the technical field of touch control, in particular to a method and a device for erasing a label and electronic equipment.
Background
The interactive electronic whiteboard has strong functions, which are widely used in application scenes such as meeting rooms, for example, the marking function of the electronic whiteboard provides great convenience for explanation, and becomes a very important function among many functions of the electronic whiteboard.
However, the marking operation on the electronic whiteboard is only auxiliary expression and is not taken as the key point of demonstration, and the marking operation does not need to be stored and erased afterwards. In the related art, the mark is erased by using an eraser function in the electronic whiteboard or by using a handheld eraser matched with the electronic whiteboard, and the erasing mode needs manual erasing by a user, so that the convenience of the mark erasing operation is reduced.
Disclosure of Invention
Therefore, the technical problem to be solved by the present invention is to overcome the defect of low convenience in erasing the mark of the electronic whiteboard in the prior art, so as to provide a method, an apparatus and an electronic device for erasing the mark.
According to a first aspect, an embodiment of the present invention provides a method for erasing a label, including: when receiving a marking operation, acquiring marking content and a corresponding timestamp; acquiring a current labeling state; and erasing the marked content according to the timestamp and the current marked state.
With reference to the first aspect, in a first implementation manner of the first aspect, the obtaining the annotation content and the corresponding timestamp includes: when the marked content is obtained by touch control of a plurality of intermittent touch control operations, acquiring a mark formed by each touch control operation and a timestamp corresponding to the mark; and taking the time stamp of the last mark as the time stamp of the marked content.
With reference to the first aspect, in a second implementation manner of the first aspect, the obtaining the current annotation state includes: determining whether a touch operation is received within a target duration; when the touch operation is received within the target duration, determining that the current state is a continuous labeling state; and when the touch operation is not received within the target duration, determining that the current state is a labeling stopping state.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the erasing the tagged content according to the timestamp and the current tagging state includes: when the current state is the continuous labeling state, acquiring current labeling time; and erasing the marked content with the time interval larger than the target interval duration according to the timestamp and the current marking time.
With reference to the second implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the erasing the tagged content according to the timestamp and the current tagging state includes: and when the current state is the labeling stopping state, sequentially erasing the labeled contents from the earliest timestamp.
With reference to the first implementation manner of the first aspect, in a fifth implementation manner of the first aspect, after the time stamp of the last marker is taken as the time stamp of the annotation content, the method further includes: establishing a first linked list according to the corresponding relation between each mark and the timestamp corresponding to the mark; establishing a second linked list according to the corresponding relation between the marked content and the timestamp; and adding indexes to the first linked list and the second linked list.
With reference to the first aspect, in a sixth implementation manner of the first aspect, after the erasing operation is performed on the tagged content according to the timestamp and the current tagging state, the method further includes: determining whether a target erase operation is received; and when the target erasing operation is received, erasing the marked content.
With reference to the first aspect, in a seventh implementation manner of the first aspect, before the obtaining, when the annotation operation is received, the annotated content and the corresponding timestamp, the method further includes: determining whether an auto-erase command is received: and when the automatic erasing instruction is received, determining to enter an automatic erasing mode.
According to a second aspect, an embodiment of the present invention provides a label erasing apparatus, including: the first acquisition module is used for acquiring the marked content and the corresponding timestamp when the marking operation is received; the second acquisition module is used for acquiring the current marking state; and the erasing module is used for erasing the marked content according to the timestamp and the current marked state.
According to a third aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the label erasure method of the first aspect or any of the embodiments of the first aspect when executing the program.
According to a fourth aspect, an embodiment of the present invention provides a computer storage medium, on which computer instructions are stored, and the instructions, when executed by a processor, implement the steps of the annotation erasure method of the first aspect or any of the embodiments of the first aspect.
The technical scheme of the invention has the following advantages:
1. according to the mark erasing method provided by the invention, the mark content is erased according to the received timestamp and the mark state, and the user does not need to manually erase the mark by using an eraser function in the electronic whiteboard or a handheld eraser matched with the electronic whiteboard, so that the convenience of operation is improved.
2. According to the mark erasing method provided by the invention, when the mark state is a continuous writing state and the difference between the time stamp of the mark content and the current time exceeds the time threshold, the mark content displayed on the electronic whiteboard is sequentially erased according to the time stamp sequence, and when the mark of a user is only used as auxiliary expression but not as an explanation key point, the mark is erased according to the time stamp sequence, so that the time for displaying each mark content on the screen is the same, the electronic whiteboard can erase the unnecessary mark in time when being continuously used, a space is provided for establishing a new mark, and the erasing of the electronic whiteboard is more reasonable and intelligent.
3. According to the label erasing method provided by the invention, when the label state is the writing stop state, the label contents displayed on the electronic whiteboard are sequentially erased according to the time stamp sequence, and when the user label is only used as auxiliary expression and not as an explanation key point, the label is erased according to the time stamp sequence, so that the user can more intelligently erase the label when stopping using the electronic whiteboard.
4. The mark erasing method provided by the invention constantly detects whether a target erasing operation is received, and when the target erasing operation is received, part of the mark content is erased in a selected mode or the mark content is erased in a whole mode, so that a faster and more convenient mode is provided for erasing the electronic whiteboard.
5. According to the mark erasing method provided by the invention, before erasing is executed, whether the erasing instruction is selected or not is judged, so that the application scene of the erasing method is more reasonable, different choices are provided for a user, and the erasing method is used according to the choice of the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art 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 can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart of a specific example of a marking wipe method in an embodiment of the present invention;
FIG. 2 is a flowchart of a specific example of a marking wipe method in an embodiment of the present invention;
FIG. 3 is a flowchart of a specific example of a marking wipe method in an embodiment of the present invention;
FIG. 4 is a flowchart of a specific example of a marking wipe method in an embodiment of the present invention;
FIG. 5 is a schematic block diagram of a specific example of a marking wipe apparatus in an embodiment of the present invention;
fig. 6 is a schematic block diagram of a specific example of an electronic device in an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The embodiment of the application provides a method for erasing a label, which can be applied to a server or a terminal. As shown in fig. 1, the method comprises the following steps:
s110, when receiving the marking operation, obtaining the marking content and the corresponding timestamp.
Illustratively, the labeling content can be Chinese characters, formulas and graphics, and the main body for performing labeling operation can be a finger or an adaptive touch pen. Taking the electronic whiteboard as an example, the sensing mode of the electronic whiteboard screen can be electromagnetic sensing, infrared sensing or pressure sensing. Taking infrared induction as an example, infrared receiving and emitting geminate transistors are densely distributed on the surface of an infrared induction electronic whiteboard screen to form scanning grids in the horizontal and vertical directions, so as to form a scanning plane grid. The method for acquiring the marked content and the corresponding timestamp may be that when the marking operation main body marks the electronic whiteboard, the specific coordinate position of the marking operation main body on the grid is determined through the on-off of the infrared geminate transistor optical path on the scanning plane network, the marked content is determined according to the change of the coordinate position, the time for forming the marked content is accurately recorded through a clock of the electronic whiteboard, and the time for forming the marked content is acquired as the timestamp of the marked content. The embodiment of the present application does not limit how to obtain the annotated content and the corresponding timestamp, and those skilled in the art can determine the annotated content and the corresponding timestamp as needed.
And S120, acquiring the current labeling state.
For example, the current marking state may refer to whether it is currently in a writing stopped state or whether it is currently in a continuous writing state. The method for acquiring the current labeling state may be determined according to a time difference between the current time and the last labeling operation signal, or according to a time difference between the current time and a time stamp of the last labeling content. The embodiment of the present application does not limit how to obtain the current labeling state, and those skilled in the art can determine the current labeling state as needed.
And S130, erasing the marked content according to the timestamp and the current marked state.
Illustratively, according to the timestamp and the current tagging state, the erasing operation on the tagged content can be performed in a manner that an erasing sequence is determined according to the timestamp and whether erasing is performed is determined according to the current tagging state; or determining whether to erase according to a difference between the timestamp and the current time, and determining an erasing speed according to the current marking state, for example, if the difference between the timestamp of a certain marked content and the current time is greater than a time threshold, it indicates that the marked content has been determined to be deleted, when the current marking state is a writing stop state, the erasing speed is a first speed value, the current marking state is a continuous writing state, and the erasing speed is a second speed value. The embodiment of the application does not limit the erasing operation mode of the marked content according to the timestamp and the current marking state, and a person skilled in the art can determine the erasing operation mode according to the requirement.
The mark erasing method provided by the invention can erase the marked content according to the received timestamp and the marked state, and does not need to use an eraser function in the electronic whiteboard or a handheld eraser matched with the electronic whiteboard to manually erase the mark, so that the convenience of operation is improved.
As an optional embodiment of the present application, step S110 includes:
firstly, when the marked content is obtained by a plurality of discontinuous touch operations, obtaining a mark formed by each touch operation and a timestamp corresponding to the mark;
illustratively, whether Chinese characters, formulas or graphics are the complete content formed by identifying a plurality of intermittent touch operations. The manner of obtaining the mark formed by each touch operation and the timestamp corresponding to the mark is the same as S110, and details are not repeated here.
Secondly, the last marked time stamp is used as the time stamp of the marked content.
Illustratively, the annotation content composed of each mark is completely identified, and character image segmentation is involved in the identification process, that is, all marks composing one annotation content are extracted from a plurality of marks so as to identify the segmented character image, and the time stamp of the last mark in the annotation content after character image segmentation is taken as the time stamp of the whole annotation content.
As an alternative embodiment of the present application, as shown in fig. 2, step S120 includes:
s121, determining whether a touch operation is received within a target time length, entering S122 when the touch operation is received within the target time length, and executing S123 when the touch operation is not received within the target time length;
for example, the method for determining whether the touch operation is received within the target duration may be based on the timestamp, and determine whether a difference between a timestamp of the last tagged content and the current time exceeds the target time, and when the difference between the timestamp of the last tagged content and the current time exceeds the target time, it indicates that a new touch operation is not received within the target time; and when the difference value between the timestamp of the last marked content and the current time exceeds the target time length, the touch operation is received in the target time length. The target duration may be 8 seconds. The embodiment of the application does not limit how to determine whether the touch operation is received within the target duration and the target duration, and a person skilled in the art can determine the touch operation as needed.
S122, determining that the current state is a continuous labeling state;
illustratively, when the touch operation is received within the target time length, which indicates that a new touch operation is performed within the target time length, the electronic whiteboard is currently performing continuous input, and the current state is determined to be a continuous labeling state.
And S123, determining that the current state is a labeling stopping state.
For example, when no touch operation is received within the target duration, which indicates that no new touch operation is performed within the target duration, and the electronic whiteboard has no new input within the target duration, it is determined that the current state is the state of stopping tagging.
As an optional embodiment of the present application, step S120 includes:
firstly, when the current state is a continuous labeling state, acquiring current labeling time;
for example, the manner of acquiring the current marked time may be determined by acquiring a clock signal in the current electronic whiteboard.
Secondly, according to the timestamp and the current marking time, the marking content with the time interval larger than the target interval duration is erased.
Illustratively, when the time interval between the current marking time and the timestamp of the marking content is longer than the target interval duration, erasing the marking content, where the marking content to be erased may be the marking content of which the time interval between the timestamp of the marking content and the current marking time which is always in a continuous writing state is longer than the target interval duration; or when the writing stop state is changed into the continuous writing state, the label content which is not erased is left. The target interval duration may be determined according to actual needs, for example, the target interval duration is set to 25 seconds. The erasing mode can be to erase the marked contents unified as the same time stamp at the same time, or to erase the marked contents in sequence according to each marked time stamp forming the marked contents, and the erasing time interval can be the same as the original marking time interval. Electronic whiteboard screens are generally divided into two layers: the drawing layer is displayed on the upper layer, and the background layer is displayed on the lower layer. The erasing principle can be that the corresponding marked content displayed on the drawing layer of the electronic whiteboard is transparently set while the marked content is deleted in the memory, so that only the color of the background layer is displayed on the surface of the electronic whiteboard, and the purpose of erasing the marked content from the electronic whiteboard is achieved. The erasing manner and the erasing principle are not limited in the embodiment of the present application, and those skilled in the art can determine the erasing manner and the erasing principle according to the needs.
According to the mark erasing method provided by the invention, when the mark state is a continuous writing state and the difference between the time stamp of the mark content and the current time exceeds the time threshold, the mark content displayed on the electronic whiteboard is sequentially erased according to the time stamp sequence, and when the mark of a user is only used as auxiliary expression but not as an explanation key point, the mark is erased according to the time stamp sequence, so that the time for displaying each mark content on the screen is the same, the electronic whiteboard can erase the mark which is not needed in time when being continuously used, a space is provided for establishing a new mark, and the erasing of the electronic whiteboard is more reasonable and intelligent.
As an optional embodiment of the present application, step S120 includes:
and when the current state is the state of stopping marking, erasing the marked contents in sequence from the earliest timestamp.
For example, the earliest timestamp may be the earliest timestamp of the remaining marked content after erasing the marked content when the last writing is stopped, or may be the earliest timestamp of the remaining marked content when the continuous writing state is changed to the stopped state, and the erasing manner, time interval, and principle thereof are the same as those of the erasing manner, time interval, and principle of the continuous marking state, and are not described again.
According to the label erasing method provided by the invention, when the label state is the writing stop state, the label contents displayed on the electronic whiteboard are sequentially erased according to the time stamp sequence, and when the user label is only used as auxiliary expression and not as an explanation key point, the label is erased according to the time stamp sequence, so that the user can more intelligently erase the label when stopping using the electronic whiteboard.
As an optional embodiment of the present application, after taking the timestamp of the last marker as the timestamp of the annotation content, the method includes: establishing a first linked list according to the corresponding relation between each mark and the timestamp corresponding to the mark; establishing a second linked list according to the corresponding relation between the marked content and the timestamp; and adding indexes to the first linked list and the second linked list.
Illustratively, each marker received by the electronic whiteboard and the acquired timestamp information corresponding to the marker are saved in a linked list in a timestamp order. The content formed by the marks is divided into different mark contents through character image division, the mark contents are identified, the identified mark contents are stored in the second linked list, and the timestamp of the last mark stored in the first linked list corresponding to the second linked list is stored in the second linked list and is used as the timestamp of the mark contents in the second linked list. The marked content in the second linked list corresponds to a plurality of marks in the first linked list to form a one-to-many index relationship, so that the marked content can be directly deleted according to the sequence of the marked content stored in the second linked list when the marked content is erased, the effect displayed on the electronic whiteboard is to erase one character by one character according to the time stamp sequence of the marked content and the time interval of the marked content, and can also be deleted according to the sequence of the marks stored in the first linked list, and the effect displayed on the electronic whiteboard is to erase one by one according to the time stamp sequence of the marks and the time interval of the marks. Regardless of the erasure method, one list is deleted and the other list is also deleted because the two linked lists have an index relationship.
As an optional embodiment of the present application, after S130, as shown in fig. 3, the method further includes:
s131, determining whether a target erasing operation is received; when the target erase operation is received, S132 is performed.
Illustratively, the received target erase operation may be a specific symbol, such as x, or a touch target erase button signal received on the electronic whiteboard interface. Taking the received target erasing operation as a specific symbol x as an example, it may be that when the electronic whiteboard detects that x appears on the screen, it indicates that the target erasing operation is determined to be received, or when the electronic whiteboard detects that x appears on the screen, it may determine the size of x according to the coordinate position of x acquired by the electronic whiteboard, and when the size of x exceeds half of the screen of the electronic whiteboard, it indicates that the target erasing operation is determined to be received.
S132, erasing the marked content.
For example, the erasing of the annotation content may be to erase all the annotation contents in the screen, or to erase the annotation content in the target erasing operation range, for example, a rectangular range is defined by the portion of the screen with the drawing x according to four vertex coordinates thereof, and the annotation content in the rectangular range is erased, the principle of erasing is the same as that of the above-mentioned continuous annotation state, and details thereof are not repeated here.
The mark erasing method provided by the invention constantly detects whether a target erasing operation is received, and when the target erasing operation is received, part of the mark content is erased in a selected mode or the mark content is erased in a whole mode, so that a faster and more convenient mode is provided for erasing the electronic whiteboard.
As an optional embodiment of the present application, before S110, as shown in fig. 4, the method further includes:
s101, determining whether an automatic erasing instruction is received, and if the automatic erasing instruction is received, executing S102.
Exemplarily, the automatic erasing instruction may be determined by that the intelligent marking mode key in the marking mode of the electronic whiteboard receives a pressing operation, the electronic whiteboard marking mode is triggered to enter the intelligent marking mode, and the electronic whiteboard is determined to receive the automatic erasing instruction according to the received intelligent marking mode instruction; or when the intelligent marking mode menu bar in the marking mode on the electronic whiteboard receives the touch operation, triggering and sending a signal that the electronic whiteboard marking mode enters the intelligent marking mode, and determining that the electronic whiteboard receives the automatic erasing instruction.
S102, entering an automatic erasing mode.
Illustratively, the automatic erasing mode is the method implemented in the foregoing embodiment of the present invention to perform automatic erasing on an electronic whiteboard.
According to the mark erasing method provided by the invention, before erasing is executed, whether the erasing instruction is selected or not is judged, so that the application scene of the erasing method is more reasonable, different choices are provided for a user, and the erasing method is used according to the choice of the user.
An embodiment of the present application further provides a label erasing apparatus, as shown in fig. 5, including:
a first obtaining module 210, configured to obtain, when receiving a tagging operation, tagging content and a corresponding timestamp; the specific implementation manner is shown in step S110, and is not described herein again.
A second obtaining module 220, configured to obtain a current labeling state; the specific implementation manner is shown in step S120, and is not described herein again.
And the erasing module 230 is configured to perform an erasing operation on the labeled content according to the timestamp and the current labeling state. The specific implementation manner is shown in step S130, and is not described herein again.
As an optional implementation manner of the present application, the first obtaining module 210 includes:
the first obtaining submodule is used for obtaining a mark formed by each touch operation and a timestamp corresponding to the mark when the marked content is obtained by touch of a plurality of discontinuous touch operations; the specific implementation manner is shown in the corresponding part of the method in the embodiment, and is not described herein again.
And the marking module is used for taking the timestamp of the last mark as the timestamp of the marked content. The specific implementation manner is shown in the corresponding part of the method in the embodiment, and is not described herein again.
As an optional embodiment of the present application, the second obtaining module 220 includes:
the first determining module is used for determining whether touch operation is received within a target time length; the specific implementation manner is shown in step S121, and is not described herein again.
The second determining module is used for determining that the current state is a continuous labeling state when the touch operation is received within the target time length; the specific implementation manner is shown in step S122, which is not described herein again.
And the third determining module is used for determining that the current state is the labeling stopping state when the touch operation is not received within the target time length. The specific implementation manner is shown in step S123, and is not described herein again.
As an optional embodiment of the present application, the erasing module 230 includes:
the second obtaining sub-module is used for obtaining the current marking time when the current state is the continuous marking state; the specific implementation manner is shown in the corresponding part of the method in the embodiment, and is not described herein again.
And the first erasing submodule is used for erasing the marked content of which the time interval is greater than the target interval duration according to the timestamp and the current marking time. The specific implementation manner is shown in the corresponding part of the method in the embodiment, and is not described herein again.
As an optional embodiment of the present application, the erasing module 230 includes:
and the second erasing submodule is used for sequentially erasing the marked contents from the earliest timestamp when the current state is the marking stopping state. The specific implementation manner is shown in the corresponding part of the method in the embodiment, and is not described herein again.
As an optional embodiment of the present application, after the marking module, the method further includes:
the first establishing module is used for establishing a first linked list according to the corresponding relation between each mark and the timestamp corresponding to the mark; the specific implementation manner is shown in the corresponding part of the method in the embodiment, and is not described herein again.
The second establishing module is used for establishing a second linked list according to the corresponding relation between the marked content and the timestamp; the specific implementation manner is shown in the corresponding part of the method in the embodiment, and is not described herein again.
And the index module is used for adding indexes to the first linked list and the second linked list. The specific implementation manner is shown in the corresponding part of the method in the embodiment, and is not described herein again.
As an optional embodiment of the present application, after the erasing module 230, the method further includes:
a fourth determining module for determining whether a target erase operation is received; the specific implementation manner is shown in step S131, and is not described herein again.
And the third erasing submodule is used for erasing the marked content when the target erasing operation is received. The specific implementation manner is shown in step S132, which is not described herein again.
As an optional implementation manner of the present application, before the first obtaining module 210, the method further includes:
a fifth determining module, configured to determine whether an auto-erase instruction is received; the specific implementation manner is shown in step S101, and is not described herein again.
And the sixth determining module is used for determining to enter the automatic erasing mode when receiving the automatic erasing instruction. The specific implementation manner is shown in step S102, and is not described herein again.
The embodiment of the present application also provides an electronic device, as shown in fig. 6, including a processor 610 and a memory 620, where the processor 610 and the memory 620 may be connected by a bus or in other manners.
Processor 610 may be a Central Processing Unit (CPU). The Processor 610 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 620, which is a non-transitory computer readable storage medium, can be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the label erasure method in the embodiments of the present invention. The processor executes various functional applications and data processing of the processor by executing non-transitory software programs, instructions, and modules stored in the memory.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor, and the like. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 620 optionally includes memory located remotely from the processor, which may be connected to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 620 and, when executed by the processor 610, perform the label erasure method of the embodiment shown in FIG. 1.
The details of the electronic device may be understood with reference to the corresponding related description and effects in the embodiment shown in fig. 1, and are not described herein again.
The embodiment also provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the label erasing method in any method embodiment. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.
Claims (11)
1. A label erasing method, comprising:
when receiving a marking operation, acquiring marking content and a corresponding timestamp;
acquiring a current labeling state;
and erasing the marked content according to the timestamp and the current marked state.
2. The method of claim 1, wherein the obtaining the annotation content and the corresponding timestamp comprises:
when the marked content is obtained by touch control of a plurality of intermittent touch control operations, acquiring a mark formed by each touch control operation and a timestamp corresponding to the mark;
and taking the time stamp of the last mark as the time stamp of the marked content.
3. The method of claim 1, wherein the obtaining the current annotation status comprises:
determining whether a touch operation is received within a target duration;
when the touch operation is received within the target duration, determining that the current state is a continuous labeling state;
and when the touch operation is not received within the target duration, determining that the current state is a labeling stopping state.
4. The method of claim 3, wherein the erasing the annotation content according to the timestamp and the current annotation status comprises:
when the current state is the continuous labeling state, acquiring current labeling time;
and erasing the marked content with the time interval larger than the target interval duration according to the timestamp and the current marking time.
5. The method of claim 3, wherein the erasing the annotation content according to the timestamp and the current annotation status comprises:
and when the current state is the labeling stopping state, sequentially erasing the labeled contents from the earliest timestamp.
6. The method of claim 2, wherein after the last timestamp of the tag is taken as the timestamp of the annotation content, the method further comprises:
establishing a first linked list according to the corresponding relation between each mark and the timestamp corresponding to the mark;
establishing a second linked list according to the corresponding relation between the marked content and the timestamp;
and adding indexes to the first linked list and the second linked list.
7. The method of claim 1, wherein after the erasing operation is performed on the annotation content according to the timestamp and the current annotation state, the method further comprises:
determining whether a target erase operation is received;
and when the target erasing operation is received, erasing the marked content.
8. The method of claim 1, wherein before obtaining the annotation content and the corresponding timestamp when the annotation operation is received, the method further comprises:
determining whether an auto-erase command is received;
and when the automatic erasing instruction is received, determining to enter an automatic erasing mode.
9. A label erasing apparatus, comprising:
the first acquisition module is used for acquiring the marked content and the corresponding timestamp when the marking operation is received;
the second acquisition module is used for acquiring the current marking state;
and the erasing module is used for erasing the marked content according to the timestamp and the current marked state.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the label erasure method according to any one of claims 1-8 are implemented when the program is executed by the processor.
11. A storage medium having stored thereon computer instructions, which when executed by a processor, carry out the steps of the label erasure method of any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911109185.9A CN110879686B (en) | 2019-11-13 | 2019-11-13 | Label erasing method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911109185.9A CN110879686B (en) | 2019-11-13 | 2019-11-13 | Label erasing method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110879686A true CN110879686A (en) | 2020-03-13 |
CN110879686B CN110879686B (en) | 2021-05-18 |
Family
ID=69729280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911109185.9A Active CN110879686B (en) | 2019-11-13 | 2019-11-13 | Label erasing method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110879686B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112100140A (en) * | 2020-09-11 | 2020-12-18 | 深圳市皓丽智能科技有限公司 | Electronic whiteboard file saving method, electronic whiteboard and computer storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354086A (en) * | 2015-11-25 | 2016-02-24 | 广州视睿电子科技有限公司 | Method and terminal for automatically switching writing modes |
US20160098186A1 (en) * | 2014-10-02 | 2016-04-07 | Kabushiki Kaisha Toshiba | Electronic device and method for processing handwritten document |
CN106325596A (en) * | 2016-08-17 | 2017-01-11 | 广州视睿电子科技有限公司 | Automatic handwriting error correction method and system |
CN107390988A (en) * | 2017-07-12 | 2017-11-24 | 广州视源电子科技股份有限公司 | Erasing method and device of electronic whiteboard and area selection method of electronic whiteboard |
CN108492349A (en) * | 2018-03-19 | 2018-09-04 | 广州视源电子科技股份有限公司 | Processing method, device and equipment for writing strokes and storage medium |
CN109407954A (en) * | 2018-09-11 | 2019-03-01 | 宁波思骏科技有限公司 | A kind of method for deleting and system of handwriting trace |
CN109410696A (en) * | 2018-09-30 | 2019-03-01 | 深圳市语芯维电子有限公司 | The method of electronic teacher pointer control virtual laser point |
CN110362217A (en) * | 2019-06-13 | 2019-10-22 | 山西大学 | A kind of touth-interactive electronic blackboard blackboard eraser system and method for deleting |
CN110377178A (en) * | 2019-06-04 | 2019-10-25 | 武汉初心科技有限公司 | A kind of system carrying out white board writing on non-touch screen formula terminal device |
-
2019
- 2019-11-13 CN CN201911109185.9A patent/CN110879686B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160098186A1 (en) * | 2014-10-02 | 2016-04-07 | Kabushiki Kaisha Toshiba | Electronic device and method for processing handwritten document |
CN105354086A (en) * | 2015-11-25 | 2016-02-24 | 广州视睿电子科技有限公司 | Method and terminal for automatically switching writing modes |
CN106325596A (en) * | 2016-08-17 | 2017-01-11 | 广州视睿电子科技有限公司 | Automatic handwriting error correction method and system |
CN107390988A (en) * | 2017-07-12 | 2017-11-24 | 广州视源电子科技股份有限公司 | Erasing method and device of electronic whiteboard and area selection method of electronic whiteboard |
CN108492349A (en) * | 2018-03-19 | 2018-09-04 | 广州视源电子科技股份有限公司 | Processing method, device and equipment for writing strokes and storage medium |
CN109407954A (en) * | 2018-09-11 | 2019-03-01 | 宁波思骏科技有限公司 | A kind of method for deleting and system of handwriting trace |
CN109410696A (en) * | 2018-09-30 | 2019-03-01 | 深圳市语芯维电子有限公司 | The method of electronic teacher pointer control virtual laser point |
CN110377178A (en) * | 2019-06-04 | 2019-10-25 | 武汉初心科技有限公司 | A kind of system carrying out white board writing on non-touch screen formula terminal device |
CN110362217A (en) * | 2019-06-13 | 2019-10-22 | 山西大学 | A kind of touth-interactive electronic blackboard blackboard eraser system and method for deleting |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112100140A (en) * | 2020-09-11 | 2020-12-18 | 深圳市皓丽智能科技有限公司 | Electronic whiteboard file saving method, electronic whiteboard and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110879686B (en) | 2021-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109801347B (en) | Method, device, equipment and medium for generating editable image template | |
CN111882582B (en) | Image tracking correlation method, system, device and medium | |
US10346560B2 (en) | Electronic blueprint system and method | |
EP3220249A1 (en) | Method, device and terminal for implementing regional screen capture | |
CN111752419A (en) | Interaction control method and device for intelligent blackboard, intelligent blackboard and storage medium | |
CN109284102B (en) | Information acquisition method and device | |
JP2015184661A (en) | Protective film sticking method, protective film positioning system, protective film composite and manufacturing method thereof | |
CN108205415B (en) | Text selection method and device | |
JP2015158900A (en) | Information processing device, information processing method and information processing program | |
CN103885704A (en) | Text-enlargement Display Method | |
KR20090105748A (en) | Method and apparatus for processing widget in multi ticker | |
CN105045504A (en) | Image content extraction method and apparatus | |
JP6206202B2 (en) | Information processing apparatus and information processing program | |
CN108492349B (en) | Processing method, device and equipment for writing strokes and storage medium | |
CN111290931A (en) | Method and device for visually displaying buried point data | |
CN110879686B (en) | Label erasing method and device and electronic equipment | |
CN107632811B (en) | Labeling method of image splicing wall and image splicing wall system | |
JP2015095066A (en) | Information processing apparatus and information processing program | |
CN110660313A (en) | Information presentation method and device | |
CN106649707B (en) | Method and device for managing image content label | |
CN107862728B (en) | Picture label adding method and device and computer readable storage medium | |
JP2012203462A (en) | Computer device and program of the same | |
CN111694451B (en) | Method, device, equipment and storage medium for processing operation data | |
CN110569459A (en) | statistical method and device for webpage information | |
CN113497885B (en) | Camera opening method, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A label erasing method, device and electronic device Effective date of registration: 20220624 Granted publication date: 20210518 Pledgee: Zhongguancun Beijing technology financing Company limited by guarantee Pledgor: FLY VR CO.,LTD. Registration number: Y2022990000359 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |