CN111506215B - Method and device for erasing screen content - Google Patents

Method and device for erasing screen content Download PDF

Info

Publication number
CN111506215B
CN111506215B CN202010209262.4A CN202010209262A CN111506215B CN 111506215 B CN111506215 B CN 111506215B CN 202010209262 A CN202010209262 A CN 202010209262A CN 111506215 B CN111506215 B CN 111506215B
Authority
CN
China
Prior art keywords
erase block
rate
erase
erasing
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010209262.4A
Other languages
Chinese (zh)
Other versions
CN111506215A (en
Inventor
程龙
饶海清
李钢祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leyard Optoelectronic Co Ltd
Original Assignee
Leyard Optoelectronic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leyard Optoelectronic Co Ltd filed Critical Leyard Optoelectronic Co Ltd
Priority to CN202010209262.4A priority Critical patent/CN111506215B/en
Publication of CN111506215A publication Critical patent/CN111506215A/en
Application granted granted Critical
Publication of CN111506215B publication Critical patent/CN111506215B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04104Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger

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)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for erasing screen content. The method is applied to an electronic screen, and the electronic screen displays screen contents, and comprises the following steps: detecting a contact area of the touch medium and the electronic screen; dividing the contact area into a plurality of erase blocks; acquiring a first type of erase block and reading coordinate values of the first type of erase block, wherein the first type of erase block is an erase block with a signal strength standard reaching rate greater than or equal to a first preset standard reaching rate, which is acquired from a plurality of erase blocks; and determining an blackboard erasing area based on the coordinate values, and erasing screen contents in the blackboard erasing area. The invention solves the technical problem of edge shake caused by unstable signals of the contact edge of the blackboard eraser or the palm and the electronic screen in the prior art.

Description

Method and device for erasing screen content
Technical Field
The invention relates to the technical field of display screens, in particular to a method and a device for erasing screen contents.
Background
The capacitive touch screen is a touch screen capable of supporting multi-touch and performing man-machine interaction, and can be applied to touch equipment such as smart phones, tablet computers, drawing boards and writing boards. The user can write and/or erase the touch device provided with the capacitive touch screen. In the prior art, when a user uses a touch device with a capacitive touch screen, the capacitive touch screen may be touched by using a capacitive blackboard eraser or palm, so that the touch device receives an electrical signal, and when the intensity of the electrical signal exceeds a preset value, the electrical signal is identified as a valid touch signal. Further, when the area where the effective touch signals are gathered reaches a preset area, the area is identified as an erasing area, and an electronic blackboard eraser is generated in the erasing area to erase the content written in the capacitive touch screen.
However, in practical application, because the contact surface between the capacitive blackboard eraser and the capacitive touch screen uses a flexible material, after the periphery of the capacitive blackboard eraser is tightened, the central area of the capacitive blackboard eraser is raised, and the palm hills and the finger flanks of the palm are relatively raised, so that the contact end between the capacitive blackboard eraser and the capacitive touch screen and the contact surface between the palm and the capacitive touch screen are not flat, but are uneven curved surfaces. The electric signal intensity of the convex part contacting the contact surface of the capacitive touch screen is highest, and other parts are weak enough to be identified because of poor contact or poor contact. Even if the user keeps the capacitor board eraser at a fixed position or the palm position when using the electronic board eraser, the small movements of the muscles of the palm of the user cannot be kept completely static, so that the force and the direction of the user in actual use are slightly changed, the edge part of the electric signal contacted by the convex contact surface can be changed according to the force of the capacitor board eraser or the palm, and the phenomenon that the electric signal sometimes does not or suddenly rises or falls occurs when the electric signal appears, so that the edge of the electronic board eraser shakes. For example, fig. 1 shows a schematic diagram of the state of the electrical signal intensity of the edge area of a capacitive touch screen, in fig. 1, each small box represents a touch point, where a area a represents a touch area where the electrical signal intensity is stable and meets the standard; the area B represents a touch area where the edge electric signal is unstable and the electric signal strength is repeated in standard reaching and non-standard reaching states, and the area is easy to generate edge shake; and the C area is a touch area with the electric signal intensity which is not up to standard. The touch point in the area B cannot be identified stably in the prior art, so that an electric signal in the area B is unstable, and the boundary of the electronic blackboard eraser is caused to drift.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for erasing screen content, which at least solve the technical problem of edge shake caused by unstable signals of contact edges of an blackboard eraser or a palm and an electronic screen in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a method for erasing screen content, applied to an electronic screen, the electronic screen displaying screen content, including: detecting a contact area of the touch medium and the electronic screen; dividing the contact area into a plurality of erase blocks; acquiring a first type of erase block and reading coordinate values of the first type of erase block, wherein the first type of erase block is an erase block with a signal strength standard reaching rate greater than or equal to a first preset standard reaching rate, which is acquired from a plurality of erase blocks; and determining an blackboard erasing area based on the coordinate values, and erasing screen contents in the blackboard erasing area.
Further, the method for erasing the screen content further comprises the following steps: detecting the signal intensity standard reaching rate of each erase block in the plurality of erase blocks; and extracting the erasure blocks with the signal intensity standard reaching rate larger than or equal to a first preset standard reaching rate from the plurality of erasure blocks to obtain first-class erasure blocks.
Further, the method for erasing the screen content further comprises the following steps: acquiring the total number of touch signal points contained in each erase block; determining the number of touch signal points with signal intensity greater than preset intensity in each erase block; and calculating the ratio of the number to the total number to obtain the signal intensity standard rate of each erasure block.
Further, the method for erasing the screen content further comprises the following steps: determining a second type of erase block from the plurality of erase blocks, wherein the signal strength standard rate of the second type of erase block is a second preset standard rate; determining the adjacent erasure blocks of the second class, and obtaining the signal intensity standard rate of each adjacent erasure block; and extracting the erasure blocks with the signal intensity standard reaching rate greater than or equal to a first preset standard reaching rate from a plurality of adjacent erasure blocks to obtain first type erasure blocks, wherein the first preset standard reaching rate is smaller than a second preset standard reaching rate.
Further, the second preset standard reaching rate is 100%, and the first preset standard reaching rate is 80%.
Further, the method for erasing the screen content further comprises the following steps: after determining the blackboard eraser region based on the coordinate values, acquiring a preset blackboard eraser region with a preset shape; and filling the blackboard eraser area based on the preset blackboard eraser area.
Further, the preset shape includes one of: round, rectangular.
According to another aspect of the embodiment of the present invention, there is also provided an apparatus for erasing screen content, applied to an electronic screen, the electronic screen displaying screen content, including: the detection module is used for detecting the contact area between the touch medium and the electronic screen; a dividing module for dividing the contact area into a plurality of erase blocks; the acquisition module is used for acquiring the first type of erase blocks and reading coordinate values of the first type of erase blocks, wherein the signal intensity standard rate of the first type of erase blocks is larger than or equal to a first preset standard rate; and the erasing module is used for determining the blackboard erasing area based on the coordinate values and erasing the screen content in the blackboard erasing area.
According to another aspect of the embodiment of the present invention, there is also provided a storage medium including a stored program, where the program controls a device in which the storage medium is located to execute the above method of erasing screen content when running.
According to another aspect of the embodiment of the present invention, there is further provided a processor, configured to execute a program, where the program executes the method for erasing screen content.
In the embodiment of the invention, a mode of dividing a contact area and determining an blackboard eraser area according to the signal intensity standard rate corresponding to the obtained erasing blocks is adopted, the contact area of a touch medium and an electronic screen is detected, the contact area is divided into a plurality of erasing blocks, then a first type of erasing block is obtained, the coordinate value of the first type of erasing block is read, finally the blackboard eraser area is determined based on the coordinate value, and the screen content in the blackboard eraser area is erased, wherein the first type of erasing block is the erasing block with the signal intensity standard rate which is greater than or equal to a first preset standard rate and is obtained from the plurality of erasing blocks.
From the above, it can be seen that the present application does not determine the blackboard eraser region according to the signal intensity of each touch signal point in the contact region, but determines the blackboard eraser region according to the standard reaching rate of the signal intensity corresponding to each erasing block. It is easy to note that, since the signal intensity of each touch signal point may be unstable, the signal of the contact edge may be unstable, and an edge jitter problem may occur, and the signal intensity standard rate corresponding to the erase block is an evaluation of the signal intensities of all the touch signal points in the erase block, so as to determine the signal intensity standard rate corresponding to the erase block. Because the blackboard eraser region comprises the erasing blocks with the signal intensity standard reaching rate being greater than or equal to the first preset standard reaching rate, and the signal intensity of the erasing blocks with the signal intensity standard reaching rate being greater than or equal to the first preset standard reaching rate is stable, the blackboard eraser region determined by the scheme provided by the application cannot have the problem of unstable contact edge signals.
Therefore, the scheme provided by the application achieves the purpose of reducing the influence of the electric signal of the single touch signal point on the contact edge, thereby realizing the technical effect of improving the signal stability of the contact edge of the blackboard eraser or the palm and the electronic screen, and further solving the technical problem of edge shake caused by the unstable signal of the contact edge of the blackboard eraser or the palm and the electronic screen in the prior art.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a schematic diagram of the state of the art of the electrical signal strength of the edge area of a capacitive touch screen according to the prior art;
FIG. 2 is a flow chart of a method of erasing screen content in accordance with an embodiment of the present invention;
FIG. 3 is a flowchart of an alternative method of erasing screen content in accordance with an embodiment of the present invention;
FIG. 4 is a schematic view of an alternative blackboard eraser region according to an embodiment of the present invention; and
fig. 5 is a schematic diagram of an apparatus for erasing screen contents according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, a method for erasing screen content is provided, and it should be noted that the present application is applied to an electronic screen, where the electronic screen displays screen content. Optionally, the electronic screen is a capacitive touch screen, and the electronic screen is a screen in a capacitive touch screen integrated machine, where the capacitive touch screen integrated machine may be a touch device, such as a smart phone, a tablet computer, a drawing board, a writing board, or the like, on which the capacitive touch screen is mounted and capable of performing writing and erasing operations.
Furthermore, it should be noted that in the present embodiment, the steps illustrated in the flowcharts of the drawings may be performed in a computer system such as a set of computer-executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different from that herein.
Fig. 2 is a flowchart of a method of erasing screen contents according to an embodiment of the present invention, as shown in fig. 2, the method including the steps of:
in step S202, a contact area between the touch medium and the electronic screen is detected.
In step S202, the touch medium may be a capacitive blackboard eraser, a palm, or the like. Optionally, the user may perform an erasing operation on the electronic screen of the touch device through the capacitive blackboard eraser or the palm, and when the user touches the electronic screen of the touch device by manipulating the capacitive blackboard eraser or touches the electronic screen of the touch device using the palm, the touch device determines the contact area by detecting the intensity of the electrical signal in the electronic screen. Optionally, a region where the touch device can detect the electrical signal is set as the contact region. In addition, the touch device can also recognize the touch operation of the touch area by the touch medium so as to detect whether the touch operation is an erasing operation. And under the condition that the touch operation is determined to be the erasing operation, the touch equipment erases the content in the area touched by the touch operation.
In an alternative embodiment, the touch device needs to determine whether an erase operation is required for the screen content before detecting the erase operation for the screen content. Specifically, the touch device first detects a contact area corresponding to a contact area between the touch medium and the electronic screen, and then determines whether to erase the screen content according to the size of the contact area. Optionally, determining to erase the screen content when the touch area is larger than the first preset area; determining to write the electronic screen under the condition that the touch area is smaller than or equal to the first preset area and larger than the second preset area; and under the condition that the touch area is smaller than or equal to a second preset area, determining that the signal in the contact area is a clutter signal, and performing no operation at this time. In the above process, the first preset area is larger than the second preset area.
It should be noted that, the touch device may determine the touch type corresponding to the touch operation of the user by identifying the contact area. Specifically, when a user uses the touch device, the user often needs to switch between writing and erasing states, and if the user selects to switch between writing and erasing icons each time, the user uses the touch device with unsmooth use and poor experience effect, so that a gesture recognition function can be added to the touch device. When a finger or a capacitance pen of a user performs writing operation, the contact area between the finger or the capacitance pen and an electronic screen of the touch equipment is small, the touch equipment recognizes the electric signal as a point, and the touch equipment is automatically adapted to a point or scribing function. The contact area corresponding to the capacitor blackboard eraser or the palm is large, and when the touch equipment detects that an electric signal with a certain contact area contacts, the touch equipment generates an electronic blackboard eraser with the same position and area to erase the electronic blackboard eraser. In addition, if the touch device detects that the contact area is small, for example, the contact area is smaller than the contact area when the user performs writing operation under normal conditions, it may be determined that the signal corresponding to the contact point at this time is a clutter signal, in which case the touch device does not perform any operation.
In addition, it should be noted that, by identifying the contact area, the operation of the user on the touch device can be accurately identified, and the misoperation caused by the clutter signal can be avoided.
In step S204, the contact area is divided into a plurality of erase blocks.
Optionally, the size and shape of the area corresponding to each erase block are the same, for example, the erase block is an area including M2×n2 touch signal points, and if the contact area includes M1×n1 touch signal points, the number S corresponding to dividing the contact area into erase blocks may satisfy the following formula:
in addition, after the contact area is divided into a plurality of erase blocks, the resolution corresponding to the contact area is also changed, for example, the resolution corresponding to the contact area is M1 x N1, and each erase block includes M2 x N2 touch signal points, and after the contact area is divided into a plurality of erase blocks, the resolution corresponding to the contact area is M x N, where m=m1/M2, and n=n1/N2.
It should be noted that, the writing function of the touch device has a higher requirement on touch precision, and the higher the touch resolution of the electronic screen is, the better the writing effect is reflected, so that the fine electric signal difference at the pixel level can be reflected in the electronic screen, and the erasing function generally corresponds to electric signal identification in the erasing area with a larger area, so that the contact area corresponding to the erasing operation does not need to use a higher touch resolution. In addition, through step S204, the influence of the electric signal fluctuation of the single touch signal point on the blackboard eraser area is reduced by artificially reducing the touch resolution of the contact area, so that the problem of the shake of the electronic blackboard eraser in the prior art can be solved.
Step S206, obtaining a first type of erase block, and reading coordinate values of the first type of erase block, wherein the signal intensity standard rate of the first type of erase block is greater than or equal to a first preset standard rate.
In step S206, the signal strength standard reaching rate characterizes the number of touch signal points with signal strength greater than the preset strength in each erase block, and is a proportion of the number of all touch signal points contained in each erase block. Optionally, the touch device detects a signal strength standard reaching rate of each of the plurality of erase blocks, and then extracts erase blocks with signal strength standard reaching rates greater than or equal to a first preset standard reaching rate from the plurality of erase blocks, thereby obtaining a first type of erase block, wherein each erase block includes a plurality of touch signal points. Specifically, the touch device first obtains the total number of touch signal points in each erase block, obtains the number of touch signal points with signal intensity greater than preset intensity in each erase block, and then calculates the ratio of the number to the total number to obtain the signal intensity standard rate of each erase block. For example, the erase block 1 has Q1 touch signal points, where the number of touch signal points with signal strength reaching the standard (touch signal points with signal strength greater than the preset strength) is Q2, the signal strength reaching rate Q corresponding to the erase block 1 may satisfy the following formula:
after obtaining the signal intensity standard rate corresponding to each erase block, the touch control device further obtains the coordinate values of the erase blocks with the signal intensity standard rate being greater than or equal to a first preset standard rate, and obtains the coordinate values of the first type erase blocks.
It should be noted that, in step S206, the erase blocks with stable signal strength (i.e., the first type erase blocks) are obtained, and these erase blocks with stable signal strength are combined into the blackboard eraser region, so that the blackboard eraser region no longer includes the boundary region with unstable signal strength, thereby improving the signal stability of the contact edge between the blackboard eraser or palm and the electronic screen.
Step S208, determining an blackboard eraser region based on the coordinate values, and performing erasing operation on screen contents in the blackboard eraser region.
It should be noted that, the signal intensity standard reaching rate of the erasing block in the blackboard eraser region obtained in the step S208 is relatively high, that is, the signal intensity of the erasing block in the blackboard eraser region is relatively stable, so that the signal intensity of the boundary of the blackboard eraser region obtained in the step S208 is also relatively stable, thereby avoiding the problem of shake of the electronic blackboard eraser in the prior art.
Based on the scheme defined in the steps S202 to S208, it can be known that the manner of dividing the contact area and determining the blackboard eraser area according to the signal intensity standard reaching rate corresponding to the erase blocks obtained by dividing is adopted, the contact area of the touch medium and the electronic screen is detected and divided into a plurality of erase blocks, then the first type erase block is obtained, the coordinate value of the first type erase block is read, finally the blackboard eraser area is determined based on the coordinate value, and the erasing operation is performed on the screen content in the blackboard eraser area, wherein the first type erase block is the erase block with the signal intensity standard reaching rate obtained from the plurality of erase blocks being greater than or equal to the first preset standard reaching rate.
From the above, it can be seen that the present application does not determine the blackboard eraser region according to the signal intensity of each touch signal point in the contact region, but determines the blackboard eraser region according to the standard reaching rate of the signal intensity corresponding to each erasing block. It is easy to note that, since the signal intensity of each touch signal point may be unstable, the signal of the contact edge may be unstable, and an edge jitter problem may occur, and the signal intensity standard rate corresponding to the erase block is an evaluation of the signal intensities of all the touch signal points in the erase block, so as to determine the signal intensity standard rate corresponding to the erase block. Because the blackboard eraser region comprises the erasing blocks with the signal intensity standard reaching rate being greater than or equal to the first preset standard reaching rate, and the signal intensity of the erasing blocks with the signal intensity standard reaching rate being greater than or equal to the first preset standard reaching rate is stable, the blackboard eraser region determined by the scheme provided by the application cannot have the problem of unstable contact edge signals.
Therefore, the scheme provided by the application achieves the purpose of reducing the influence of the electric signal of the single touch signal point on the contact edge, thereby realizing the technical effect of improving the signal stability of the contact edge of the blackboard eraser or the palm and the electronic screen, and further solving the technical problem of edge shake caused by the unstable signal of the contact edge of the blackboard eraser or the palm and the electronic screen in the prior art.
In an alternative embodiment, after dividing the touch area into a plurality of erase blocks, the touch device may further acquire the first type of erase block as follows. Specifically, the touch device first determines a second type of erase block from the plurality of erase blocks, determines erase blocks adjacent to the second type of erase block, obtains a signal strength standard rate of each adjacent erase block, and then extracts erase blocks with the signal strength standard rate greater than or equal to a first preset standard rate from the plurality of adjacent erase blocks to obtain the first type of erase block.
In the above process, the signal strength standard reaching rate of the second type of erase block is a second preset standard reaching rate, optionally, the second preset standard reaching rate is 100%, and the first preset standard reaching rate is smaller than the second preset standard reaching rate, for example, the first preset standard reaching rate is 80%.
It should be noted that, the signal intensity of the touch signal points in the erase block may be greater than or equal to the first preset standard rate (i.e. the erase block is standard), or may be less than the first preset standard rate (i.e. the erase block is not standard), where the standard rate of the signal intensity of the touch signal points in each erase block is the standard rate of the signal intensity. When the signal intensity of all touch signal points in the erasing block reaches the standard, the corresponding signal intensity standard rate is 100% (namely, the second preset standard rate).
First, a method for determining the signal strength achievement rate corresponding to each erase block on the X-axis of the erase block is described, wherein fig. 3 is a flowchart illustrating an alternative method for erasing screen content. As can be seen from fig. 3, after the capacitive blackboard eraser or the palm contacts the electronic screen, the touch device detects the signal intensity standard reaching rate of all the erase blocks, and outputs the coordinates of the erase blocks with the signal intensity standard reaching rate of 100% (i.e. the second type erase blocks), wherein, since the erase blocks with the signal intensity standard reaching rate of 100% are all in a larger contact area, the coordinates of the erase blocks at the edge of the contact area where the erase blocks with the signal intensity standard reaching rate of 100% are located can be output, and the X-axis sitting mark is Xm1. Then, the touch control device continues to detect an erasure block of the next coordinate Xm2 adjacent to the erasure block with the signal strength standard reaching rate of 100% on the X axis, then calculates the signal strength standard reaching rate of the erasure block, and compares the signal strength standard reaching rate with a first preset standard reaching rate. If the signal intensity standard reaching rate DeltaXm 2 of the erasure block corresponding to the Xm2 coordinate is larger than or equal to the first preset standard reaching rate DeltaXo, determining that the signal intensity of the erasure block is relatively stable, outputting the coordinate corresponding to the erasure block in the range of an erasure area, then continuously detecting the next coordinate Xm3 adjacent to the Xm2, repeating the operation until the erasure block with the signal intensity standard reaching rate smaller than the first preset standard reaching rate DeltaXo is detected, and at the moment, stopping outputting the coordinate values of the erasure block and outputting the coordinates of all the standard reaching erasure blocks; if the signal intensity standard reaching rate delta Xm2 of the erasure block corresponding to the Xm2 coordinate is smaller than the first preset standard reaching rate delta Xo, determining that the signal intensity of the erasure block is unstable, belonging to the edge part of the erasure area, and not outputting the coordinate corresponding to the erasure block.
It should be noted that, in the present application, the first preset achievement rate Δxo may determine an unstable edge area in the entire contact area, and if the achievement rate of the signal strength of the erase block is greater than or equal to the first preset achievement rate Δxo, it may be determined that the erase block is not an erase block generated due to jitter, and at this time, the coordinate value corresponding to the erase block is recorded; if the signal intensity standard reaching rate of the erase block is smaller than the first preset standard reaching rate delta Xo, it can be determined that the erase block is an erase block generated due to jitter, and at this time, coordinate values corresponding to the erase block are not recorded.
Similarly, the above method can be adopted for the Y-axis coordinate axis, i.e. detecting the standard reaching rate of the signal intensity in all the erase blocks, and outputting the coordinate Ym1 of the erase block with the standard reaching rate of the signal intensity of 100%. Detecting an erasure block of a next coordinate Ym2 adjacent to the erasure block with the signal intensity standard reaching rate of 100% on the Y axis, if the signal intensity standard reaching rate delta Ym2 of the erasure block corresponding to the Ym2 coordinate exceeds a first preset standard reaching rate delta Xo, determining that the signal intensity of the erasure block is relatively stable, outputting the coordinate corresponding to the erasure block in the range of an erasure area, then continuously detecting the next coordinate Xm3 adjacent to the Xm2, and repeating the operation until an erasure block with the signal intensity standard reaching rate smaller than the first preset standard reaching rate delta Xo is detected.
Optionally, the touch device may determine the coordinate value of the erase block by: specifically, the touch device first obtains a first coordinate range of each erase block in a horizontal axis direction and a second coordinate range of each erase block in a vertical axis direction, then determines an intermediate value corresponding to the first coordinate range as a first intermediate coordinate, determines an intermediate value corresponding to the second coordinate range as a second intermediate coordinate, and finally determines coordinate information of the corresponding erase block according to the first intermediate coordinate and the second intermediate coordinate.
Alternatively, the horizontal axis may be an X axis, and the vertical axis may be a Y axis. For example, the first coordinate range of the erase block in the X-axis direction is [ X1, X2], the first coordinate range of the erase block in the Y-axis direction is [ Y1, Y2], and then the first intermediate coordinate x= (x1+x2)/2, and the second intermediate coordinate y= (y1+y2)/2 are the coordinates of the corresponding erase block at this time as (X, Y), that is, the coordinates of the erase block are the midpoint coordinates of the X-axis and the Y-axis.
It should be noted that, the above-mentioned manner of determining the coordinate values of the erase blocks is only an alternative manner in practical applications, and the coordinate values of the erase blocks may be determined in other manners in practical applications, for example, the minimum value on the horizontal axis of each erase block is taken as the X-coordinate, and the minimum value on the vertical axis is taken as the Y-coordinate. Other ways of determining the coordinate values of the erase block are not illustrated in detail in this application.
Further, after obtaining the coordinate values corresponding to the first type of erase block, the touch device determines an blackboard eraser region according to the coordinate values of the determined erase block, where the blackboard eraser region may have a fixed preset shape, for example, a rectangular shape, a circular shape, other shapes, and the like. The touch control device can detect the preset shape of the blackboard eraser area selected by the user, and fill the blackboard eraser area determined by the first type erasing block. Specifically, the touch device first obtains a preset blackboard eraser region with a preset shape, and then fills the blackboard eraser region based on the preset blackboard eraser region, wherein the preset shape comprises one of the following: round, rectangular.
For example, in fig. 4, an alternative schematic view of an eraser region is shown, and in fig. 4, the first type of erasing blocks are combined to obtain the eraser region. If the user selects the shape of the rectangular blackboard eraser region at this time, the touch device determines that the preset shape is rectangular, and determines the smallest rectangle that can surround the blackboard eraser region, for example, in fig. 4, the touch device may acquire the coordinate range of the horizontal axis and the coordinate range of the vertical axis corresponding to the blackboard eraser region, for example, the coordinate range of the horizontal axis is [ X11, X12], the coordinate range of the vertical axis is [ Y11, Y12], then the area of the preset blackboard eraser region is (X12-X11) ×y 12-Y11), the coordinate range of the horizontal axis of the preset blackboard eraser region is [ X11, X12], and the coordinate range of the vertical axis is [ Y11, Y12].
In addition, it should be noted that, the shape of the preset blackboard eraser region is usually a regular fixed shape, and the blackboard eraser region may be an irregular shape (as shown in fig. 4), and since the preset blackboard eraser region is a region including the smallest preset shape of the blackboard eraser region, when the preset blackboard eraser region completely includes the blackboard eraser region, there must be a region which cannot overlap with the blackboard eraser region in the preset blackboard eraser region, and therefore, after determining the preset blackboard eraser region having the preset shape, a filling operation needs to be performed on the candidate blackboard eraser region.
Optionally, the touch device determines the first erase block based on the preset blackboard eraser region and the blackboard eraser region, then determines the second erase block adjacent to the first erase block, and fills the signal intensity value corresponding to the first erase block to the signal intensity value corresponding to the second erase block, so as to realize the filling operation of the blackboard eraser region. The first erasing block is an erasing block with a difference in shape between a preset blackboard eraser area and a blackboard eraser area, and the second erasing block is an erasing block in the blackboard eraser area. Still referring to fig. 4, the touch device first determines a second erase block adjacent to the first erase block, calculates an average value of signal intensities of all touch signal points in the second erase block, and uses the average value as the signal intensity of each touch signal point in the first erase block. When a plurality of erase blocks are adjacent to the first erase block, the average value of the signal intensities of the plurality of erase blocks adjacent to the first erase block is calculated, and then the plurality of average values are averaged again to obtain a target average value, and the target average value is used as the signal intensity of each touch signal point in the first erase block.
There is also a scenario in which when there is no erase block adjacent to the first erase block, then the average value of the signal intensities of the erase blocks adjacent to the first erase block is taken as the signal intensity of each touch signal point in the first erase block, for example, the first erase block is adjacent to erase blocks 1 and 2, but both erase blocks 1 and 2 are not erase blocks in the candidate blackboard eraser region, and when the signal intensity of each touch signal point of erase blocks 1 and 2 can be calculated by the foregoing method, then the average value of the signal intensities of erase blocks 1 and 2 is calculated, respectively, and the average value of these two average values is taken as the signal intensity of each touch signal point in the first erase block.
It should be noted that, the shape of the blackboard eraser region can be filled by presetting the blackboard eraser region, so as to generate the electronic blackboard eraser with the finished shape.
In addition, it should be noted that the foregoing embodiment is only an alternative embodiment for performing the filling operation on the eraser area, and other schemes capable of implementing the filling operation on the eraser area may be applied in the present application, which is not illustrated herein.
By the client, the problem of edge shake caused by unstable contact edge microscopic electric signals when the capacitive blackboard eraser or the palm is contacted with the capacitive touch screen in the prior art can be avoided by the method provided by the application, so that the stability and usability of the electronic blackboard eraser are enhanced, and the user experience is improved.
Example 2
According to an embodiment of the present invention, there is further provided an embodiment of a device for erasing screen content, applied to an electronic screen, where the electronic screen displays screen content, and fig. 5 is a schematic diagram of the device for erasing screen content according to an embodiment of the present invention, as shown in fig. 5, and the device includes: a detection module 501, a division module 503, an acquisition module 505, and an erasure module 507.
The detection module 501 is configured to detect a contact area between the touch medium and the electronic screen; a dividing module 503 for dividing the contact area into a plurality of erase blocks; an obtaining module 505, configured to obtain a first type of erase block, and read coordinate values of the first type of erase block, where the first type of erase block is an erase block having a signal strength standard reaching rate greater than or equal to a first preset standard reaching rate obtained from a plurality of erase blocks; and an erasing module 507 for determining an blackboard erasing area based on the coordinate values and performing an erasing operation on the screen contents in the blackboard erasing area.
Here, the detection module 501, the division module 503, the acquisition module 505, and the erasure module 507 correspond to steps S202 to S208 of the above embodiment, and the four modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to those disclosed in the above embodiment.
In an alternative embodiment, the acquisition module includes: the first detection module and the first extraction module. The first detection module is used for detecting the signal intensity standard reaching rate of each erase block in the plurality of erase blocks; and the first extraction module is used for extracting the erasure blocks with the signal intensity standard reaching rate more than or equal to a first preset standard reaching rate from the plurality of erasure blocks to obtain the first type of erasure blocks.
In an alternative embodiment, the first detection module includes: the device comprises a first acquisition module, a first determination module and a calculation module. The first acquisition module is used for acquiring the total number of touch signal points contained in each erase block; the first determining module is used for determining the number of touch signal points with signal intensity larger than preset intensity in each erasing block; and the calculating module is used for calculating the ratio of the number to the total number to obtain the signal intensity standard rate of each erase block.
In an alternative embodiment, the acquisition module includes: the device comprises a second determining module, a third determining module and a second extracting module. The second determining module is used for determining a second type of erase block from the plurality of erase blocks, wherein the signal intensity standard rate of the second type of erase block is a second preset standard rate; a third determining module, configured to determine erase blocks adjacent to the second type erase block, and obtain a signal strength standard reaching rate of each adjacent erase block; and the second extraction module is used for extracting the erasure blocks with the signal intensity standard reaching rate more than or equal to the first preset standard reaching rate from a plurality of adjacent erasure blocks to obtain the first type of erasure blocks, wherein the first preset standard reaching rate is less than the second preset standard reaching rate.
Optionally, the second preset achievement rate is 100%, and the first preset achievement rate is 80%.
In an alternative embodiment, the apparatus for erasing screen content further comprises: and the second acquisition module and the filling module. The second acquisition module is used for acquiring a preset blackboard eraser region with a preset shape after the blackboard eraser region is determined based on the coordinate values; and the filling module is used for filling the blackboard eraser area based on the preset blackboard eraser area.
Optionally, the preset shape includes one of: round, rectangular.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein the apparatus in which the storage medium is controlled to execute the method of erasing screen content in embodiment 1 described above when the program runs.
Example 4
According to another aspect of the embodiment of the present invention, there is also provided a processor for running a program, wherein the program runs to perform the method for erasing screen content in embodiment 1.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (9)

1. A method for erasing screen content, applied to an electronic screen, wherein the electronic screen displays the screen content, and the method is characterized by comprising the following steps:
detecting a contact area between a touch medium and the electronic screen;
dividing the contact area into a plurality of erase blocks;
acquiring a first type of erase block, and reading coordinate values of the first type of erase block, wherein the signal strength standard reaching rate of the first type of erase block is larger than or equal to a first preset standard reaching rate, and the signal strength standard reaching rate is used for representing the ratio of the number of touch signal points with signal strength larger than the preset strength in one erase block to the total number of touch signal points contained in the erase block;
and determining an blackboard eraser region based on the coordinate values, and erasing screen contents in the blackboard eraser region.
2. The method of claim 1, wherein obtaining a first type of erase block comprises:
detecting a signal strength standard rate of each erase block in the plurality of erase blocks;
and extracting the erasure blocks with the signal intensity standard reaching rate larger than or equal to the first preset standard reaching rate from the plurality of erasure blocks to obtain first-class erasure blocks.
3. The method of claim 1, wherein obtaining a first type of erase block comprises:
determining a second type of erase block from the plurality of erase blocks, wherein the signal strength standard rate of the second type of erase block is a second preset standard rate;
determining the adjacent erasure blocks of the second type, and obtaining the signal intensity standard rate of each adjacent erasure block;
and extracting the erasure blocks with the signal intensity standard reaching rate greater than or equal to the first preset standard reaching rate from a plurality of adjacent erasure blocks to obtain first type erasure blocks, wherein the first preset standard reaching rate is smaller than the second preset standard reaching rate.
4. The method of claim 3, wherein the second predetermined achievement rate is 100% and the first predetermined achievement rate is 80%.
5. The method according to claim 1, wherein after determining an blackboard eraser region based on the coordinate values, the method further comprises:
acquiring a preset blackboard eraser region with a preset shape;
and filling the blackboard eraser region based on the preset blackboard eraser region.
6. The method of claim 5, wherein the predetermined shape comprises one of: round, rectangular.
7. An apparatus for erasing screen content, applied to an electronic screen, the electronic screen displaying screen content, comprising:
the detection module is used for detecting the contact area between the touch medium and the electronic screen;
a dividing module for dividing the contact area into a plurality of erase blocks;
the acquisition module is used for acquiring a first type of erase block and reading coordinate values of the first type of erase block, wherein the signal intensity standard rate of the first type of erase block is larger than or equal to a first preset standard rate, and the signal intensity standard rate is used for representing the ratio of the number of touch signal points with signal intensity larger than the preset intensity in one erase block to the total number of touch signal points contained in the erase block;
and the erasing module is used for determining an blackboard eraser area based on the coordinate values and erasing the screen content in the blackboard eraser area.
8. A storage medium comprising a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the method of erasing screen content of any one of claims 1 to 6.
9. A processor for running a program, wherein the program runs on performing the method of erasing screen content according to any one of claims 1 to 6.
CN202010209262.4A 2020-03-23 2020-03-23 Method and device for erasing screen content Active CN111506215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010209262.4A CN111506215B (en) 2020-03-23 2020-03-23 Method and device for erasing screen content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010209262.4A CN111506215B (en) 2020-03-23 2020-03-23 Method and device for erasing screen content

Publications (2)

Publication Number Publication Date
CN111506215A CN111506215A (en) 2020-08-07
CN111506215B true CN111506215B (en) 2024-03-26

Family

ID=71877935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010209262.4A Active CN111506215B (en) 2020-03-23 2020-03-23 Method and device for erasing screen content

Country Status (1)

Country Link
CN (1) CN111506215B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102092199A (en) * 2009-10-19 2011-06-15 株式会社理光 Image processing method, and image processing apparatus
CN105224222A (en) * 2015-09-09 2016-01-06 魅族科技(中国)有限公司 A kind of method for deleting, erasing apparatus and electronic equipment
CN110667287A (en) * 2019-09-18 2020-01-10 深圳市东向同人科技有限公司 Trace removal method and related product

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10534449B2 (en) * 2016-08-19 2020-01-14 Microsoft Technology Licensing, Llc Adjustable digital eraser

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102092199A (en) * 2009-10-19 2011-06-15 株式会社理光 Image processing method, and image processing apparatus
CN105224222A (en) * 2015-09-09 2016-01-06 魅族科技(中国)有限公司 A kind of method for deleting, erasing apparatus and electronic equipment
CN110667287A (en) * 2019-09-18 2020-01-10 深圳市东向同人科技有限公司 Trace removal method and related product

Also Published As

Publication number Publication date
CN111506215A (en) 2020-08-07

Similar Documents

Publication Publication Date Title
EP2631766B1 (en) Method and apparatus for moving contents in terminal
US9430093B2 (en) Monitoring interactions between two or more objects within an environment
US7605804B2 (en) System and method for fine cursor positioning using a low resolution imaging touch screen
US7256773B2 (en) Detection of a dwell gesture by examining parameters associated with pen motion
US9740364B2 (en) Computer with graphical user interface for interaction
US20110242038A1 (en) Input device, input method, and computer program for accepting touching operation information
KR102035166B1 (en) Electronic apparatus, control method therefor, and storage medium
US20130215018A1 (en) Touch position locating method, text selecting method, device, and electronic equipment
CN108334229B (en) Method, device and equipment for adjusting writing track and readable storage medium
US10606408B2 (en) Touch-sensing device and touch-sensing method with unexpected-touch exclusion
US10338807B2 (en) Adaptive ink prediction
KR20120056889A (en) Detection of gesture orientation on repositionable touch surface
CN105807997A (en) Touch screen sensitivity adjustment method and device
CN103257735A (en) Stroke presentation method for handwriting input and electronic device
CN104346072A (en) Display control apparatus and control method thereof
CN111679767B (en) Window expansion method and associated electronic device
US20120287063A1 (en) System and method for selecting objects of electronic device
CN111506215B (en) Method and device for erasing screen content
US10296143B2 (en) Touch sensing device and sensing method of touch point
EP3051401B1 (en) Image display apparatus, image enlargement method, and image enlargement program
KR101994500B1 (en) Acceleration-based interaction for multi-pointer indirect input devices
US9658696B2 (en) Electronic device and method for adjusting user interface of the electronic device
CN110569799A (en) Fingerprint module displacement detection method and device and terminal equipment
CN115705138A (en) Device control method, device, electronic device, and storage medium
US9134894B2 (en) Electronic device, storage medium and method for selecting objects of the electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant