CN111475057A - Touch identification method and device - Google Patents
Touch identification method and device Download PDFInfo
- Publication number
- CN111475057A CN111475057A CN202010483734.5A CN202010483734A CN111475057A CN 111475057 A CN111475057 A CN 111475057A CN 202010483734 A CN202010483734 A CN 202010483734A CN 111475057 A CN111475057 A CN 111475057A
- Authority
- CN
- China
- Prior art keywords
- node
- touch
- determining
- available
- range
- 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.)
- Pending
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/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- 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/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- 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/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
- G06F3/0421—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen
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 touch identification method and equipment, wherein the method comprises the following steps: acquiring signal values of all detection nodes on the touch screen in a first sampling period; determining at least one effective node in a first sampling period from each detection node according to the signal value of each detection node; determining a reference node from the at least one valid node; determining at least one available node surrounding the reference node, a first available node of the at least one available node being adjacent to the reference node or adjacent to a second available node of the at least one available node; and determining the effective touch range on the touch screen in the first sampling period according to the at least one available node. Compared with the prior art, when a large-area object contacts the touch screen, the effective touch range is determined by detecting at least one available node around the reference node, the real shape of the touch object can be restored to the maximum extent, and the accuracy of the effective touch range can be improved.
Description
Technical Field
The present invention relates to the field of touch technologies, and in particular, to a touch recognition method and device.
Background
With the increasing development of multimedia technology, touch screens are applied more and more widely, for example, the touch screens can be applied in scenes such as multimedia teaching, meetings, bank information query and the like. A common use mode of a touch screen is to use handwriting whiteboard software to realize handwriting and blackboard erasing functions on the touch screen.
For the blackboard eraser function, the touch range of a user needs to be determined first, and then the content in the touch range of the user needs to be erased. In the prior art, in a conventional touch detection method, a capacitive screen algorithm is adopted to directly determine N discrete effective touch points on a touch screen, and the effective touch points are combined to form a touch range.
However, when a large-area object such as a palm contacts the touch screen, the palm is uneven and cannot completely contact the surface of the touch screen, and therefore, only the salient points which are completely contacted with the surface of the touch screen can be detected as effective touch points, so that the accuracy of the touch range formed by the effective touch points is low.
Disclosure of Invention
The invention provides a touch identification method and touch identification equipment, which are used for solving the technical problem that the accuracy of a touch range determined in the prior art is low.
The first aspect of the present invention provides a touch recognition method, including:
acquiring signal values of all detection nodes on the touch screen in a first sampling period;
determining at least one effective node in the first sampling period from the detection nodes according to the signal value of each detection node;
determining a reference node from the at least one valid node;
determining at least one available node around the reference node, a first available node of the at least one available node being adjacent to the reference node or adjacent to a second available node of the at least one available node;
and determining the effective touch range on the touch screen in the first sampling period according to the at least one available node.
In some embodiments of the present application, the determining, from the detection nodes, at least one valid node in the first sampling period according to the signal values of the detection nodes includes:
and determining at least one effective node in the first sampling period from the detection nodes according to a first signal threshold and the signal value of each detection node.
In some embodiments of the present application, the determining at least one available node around the reference node comprises:
and determining at least one available node around the reference node according to a second signal threshold and the signal value of each detection node around the reference node, wherein the second signal threshold is smaller than the first signal threshold.
In some embodiments of the present application, before the determining, according to the at least one available node, a valid touch range on the touch screen in the first sampling period, the method further includes:
if the valid nodes exist outside the range of the at least one available node, determining a reference node from the valid nodes outside the range of the at least one available node;
at least one available node around the reference node is determined.
In some embodiments of the present application, the reference node is a node with the highest signal induction.
In some embodiments of the present application, the determining the valid touch range on the touch screen in the first sampling period according to the at least one available node includes:
and if no valid node exists outside the range of the at least one available node, determining the range of the at least one available node and the reference node as the valid touch range.
In some embodiments of the present application, after the determining the valid touch range on the touch screen in the first sampling period according to the at least one available node, the method further comprises:
and deleting the content of the effective touch range on the touch screen in the first sampling period.
In some embodiments of the present application, the deleting the content of the valid touch range on the touch screen in the first sampling period includes:
and if the effective touch range is larger than a range threshold, deleting the content of the effective touch range on the touch screen in the first sampling period.
A second aspect of the present invention provides a touch recognition device, comprising:
the touch screen is used for displaying a picture;
a processor configured to:
acquiring signal values of all detection nodes on the touch screen in a first sampling period;
determining at least one effective node in the first sampling period from the detection nodes according to the signal value of each detection node;
determining a reference node from the at least one valid node;
determining at least one available node around the reference node, a first available node of the at least one available node being adjacent to the reference node or adjacent to a second available node of the at least one available node;
and determining the effective touch range on the touch screen in the first sampling period according to the at least one available node.
In certain embodiments of the present application, the treatment appliance is configured to: and determining at least one effective node in the first sampling period from the detection nodes according to a first signal threshold and the signal value of each detection node.
In certain embodiments of the present application, the treatment appliance is configured to: and determining at least one available node around the reference node according to a second signal threshold and the signal value of each detection node around the reference node, wherein the second signal threshold is smaller than the first signal threshold.
In certain embodiments of the present application, the processor is further configured to: if the valid nodes exist outside the range of the at least one available node, determining a reference node from the valid nodes outside the range of the at least one available node; at least one available node around the reference node is determined.
In some embodiments of the present application, the reference node is a node with the highest signal induction.
In certain embodiments of the present application, the treatment appliance is configured to: and if no valid node exists outside the range of the at least one available node, determining the range of the at least one available node and the reference node as the valid touch range.
In certain embodiments of the present application, the processor is further configured to: and deleting the content of the effective touch range on the touch screen in the first sampling period.
In certain embodiments of the present application, the treatment appliance is configured to: and if the effective touch range is larger than a range threshold, deleting the content of the effective touch range on the touch screen in the first sampling period.
In a third aspect of the embodiments of the present invention, there is provided an electronic device, including: the touch recognition system comprises a memory, a processor and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the touch recognition method of the first aspect and the optional touch recognition method of the first aspect of the invention.
A fourth aspect of the present invention provides a storage medium, in which a computer program is stored, the computer program being configured to execute the first aspect and various optional touch recognition methods of the first aspect.
According to the touch identification method and the touch identification equipment, signal values of all detection nodes on the touch screen in a first sampling period are obtained; determining at least one effective node in a first sampling period from each detection node according to the signal value of each detection node; determining a reference node from the at least one valid node; determining at least one available node surrounding the reference node, a first available node of the at least one available node being adjacent to the reference node or adjacent to a second available node of the at least one available node; and determining the effective touch range on the touch screen in the first sampling period according to the at least one available node. Compared with the prior art, when a large-area object contacts the touch screen, the effective touch range is determined by detecting at least one available node around the reference node, so that the omission of necessary touch nodes can be avoided, the real shape of the touch object can be restored to the maximum extent, and the accuracy of the effective touch range can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the following briefly introduces the drawings needed to be used in the description of the embodiments or the prior art, and obviously, the drawings in the following description are some embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without inventive labor.
FIG. 1 is a schematic diagram of an infrared touch screen;
FIG. 2 is a schematic diagram of a capacitive screen;
FIG. 3 is a schematic diagram illustrating the sensing of a conventional capacitive screen during palm contact;
FIG. 4 is a diagram illustrating a change in a signal value of a capacitive screen when a palm touches the capacitive screen;
fig. 5 is a schematic flowchart of a touch recognition method according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating a generation of an effective touch range according to an embodiment of the present disclosure;
fig. 7 is a schematic flowchart of another touch recognition method according to an embodiment of the present disclosure;
fig. 8 is a schematic flowchart of another touch recognition method according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a touch recognition device according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of another touch recognition device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
Several principles of touch screens are described below.
Fig. 1 is a schematic diagram of an infrared touch screen. As shown in fig. 1, on the infrared touch screen, a touch point may be located by using a blocked light path, so that a light path profile is used as an object approximate shape, and the light path profile is reported to the processor as a touch area, so that the processor can trigger subsequent functions such as handwriting or erasing.
Fig. 2 is a schematic diagram of a capacitive screen. As shown in FIG. 2, the capacitive screen is provided with transverse electrodes and longitudinal electrodes on the glass surface, and a capacitor is formed at the position where the two groups of electrodes intersect. When a hand touches the capacitive screen, the coupling between the two electrodes near the touch point is affected, thereby changing the capacitance between the two electrodes. When the capacitance is detected, the transverse electrodes sequentially send out excitation signals, and the longitudinal electrodes simultaneously receive signals, so that the capacitance value of each monitoring node at the intersection of all the transverse electrodes and the longitudinal electrodes, namely the capacitance value of the two-dimensional plane of the whole touch screen, is obtained. And then, calculating the coordinate of each touch point according to the two-dimensional capacitance variation data of the touch screen.
A common use mode of a touch screen is to use handwriting whiteboard software to realize handwriting and blackboard erasing functions on the touch screen. For the blackboard eraser function, the touch range of a user needs to be determined first, and then the content in the touch range of the user needs to be erased. In the prior art, in a conventional touch detection method, a capacitive screen algorithm is adopted to directly determine N discrete effective touch points on a touch screen, and the effective touch points are combined to form a touch range.
Fig. 3 is a schematic diagram of the sensing of a conventional capacitive screen during palm contact, and fig. 4 is a schematic diagram of the change of a signal value of a conventional capacitive screen during palm contact. As shown in fig. 3 and 4, when a large-area object such as a palm contacts the touch screen, the palm is uneven and cannot completely contact the surface of the touch screen, and therefore, only the salient points that are completely in contact with the surface of the touch screen can be detected as effective touch points, so that the accuracy of the touch range formed by the effective touch points is low.
In order to solve the above problems, the present application provides a touch recognition method and device, so as to improve accuracy of a touch range. The invention conception of the application is as follows: and on the basis of determining the first effective node, determining a second effective node available around the first effective node, thereby determining an effective touch range through the first effective node and the second effective node. Compared with the prior art, the effective touch range is determined by detecting two different effective touch nodes, so that the real shape of the touch object can be restored to the maximum extent, and the accuracy of the effective touch range can be improved.
The touch identification method and the touch identification equipment can be applied to the erasing function of the electronic whiteboard, and after the touch range is determined, the content in the touch range can be deleted. It should be noted that, in the embodiment of the present application, a use scenario of the touch recognition method is not limited, and the method can be applied to an erasing function of an electronic whiteboard and can also be applied to other scenarios in which a touch range needs to be determined.
It should be noted that the touch screen according to the embodiment of the present application is a capacitive screen, and in a specific implementation process, the touch recognition method in the present application may also be applied to other touch screens.
It can be understood that the touch recognition method can be implemented by the touch recognition device provided in the embodiment of the present application, and the touch recognition device may be a part or all of a certain device, for example, a touch recognition device, a touch screen, or a processor in the touch screen.
The following takes a touch recognition device integrated or installed with a relevant execution code as an example, and the technical solution of the embodiment of the present application is described in detail with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 5 is a flowchart illustrating a touch recognition method according to an embodiment of the present application, which relates to a specific process of how to determine a touch range. As shown in fig. 5, the method includes:
s101, signal values of all detection nodes on the touch screen in a first sampling period are obtained.
In the application, after a user touches the touch screen of the touch identification device in a first sampling period, the touch identification device may obtain a signal value of each detection node on the touch screen in the first sampling period.
The first sampling period may be any sampling period of the touch recognition device, and the duration of the first sampling period is not limited in the embodiment of the application, and may be specifically set according to an actual situation.
The embodiment of the application does not limit how to obtain the signal value of each detection node. In some embodiments, in the first sampling period, the touch recognition device may start scanning the entire surface of the touch screen and sample signal values of detection nodes on the touch screen according to a scanning rule of the touch screen. The signal value may be a voltage value, a current value or a capacitance value, and the scanning rule may be full-screen sequential scanning or partition synchronous scanning.
In some embodiments, before acquiring the signal value of each detection node on the touch screen in the first sampling period, the touch recognition device needs to initialize the touch screen. Illustratively, initializing the touch screen may include: setting a scanning rule, a sampling frequency and a sampling period of the touch screen; setting a first signal threshold, wherein the first signal threshold is a signal induction quantity threshold of an effective node, and the effective node is an effective inductor node of the touch screen; setting a second signal threshold, wherein the second signal threshold is a signal induction quantity threshold of an available node, and the available node is an effective communication area node of an effective node; setting the unit area occupied by the nodes; and setting a touch point reporting protocol and the like.
S102, determining at least one effective node in a first sampling period from each detection node according to the signal value of each detection node.
In this step, after the touch identification device obtains the signal value of each detection node on the touch screen in the first sampling period, at least one effective node in the first sampling period may be determined from each detection node according to the signal value of each detection node.
The embodiment of the application does not limit how to determine the valid node. In some embodiments, the touch recognition device may determine a first valid node in a first sampling period from the detection nodes according to the first signal threshold and the signal values of the detection nodes.
For example, the touch recognition device may compare the signal value of each detection node with a first signal threshold, determine that the detection node is a valid node in a first sampling period if the signal value of the detection node is greater than the first signal threshold, and determine that the detection node is not a valid node in the first sampling period if the signal value of the detection node is less than or equal to the first signal threshold.
S103, determining a reference node from at least one effective node.
In this step, after determining at least one valid node in the first sampling period from the detection nodes, the touch recognition device may determine a reference node from the at least one valid node.
In some embodiments, the reference node is a node with the highest signal induction quantity, and the touch identification device may compare the signal induction quantities of the effective nodes, and then use the node with the highest signal induction quantity as a reference node.
And S104, determining at least one available node around the reference node.
Wherein a first available node of the at least one available node is adjacent to the reference node or adjacent to a second available node of the at least one available node.
In this step, after determining the reference node, the touch recognition device may further determine available nodes around the reference node.
The embodiment of the application is not limited to how to determine the available nodes. In some embodiments, the touch recognition device may determine at least one available node around the jerk node according to a second signal threshold and signal values of detection nodes around the reference, the second signal threshold being less than the first signal threshold.
For example, the touch recognition device may compare a signal value of a detection node adjacent to the reference node with a second signal threshold centered on the reference node, and may determine that the detection node is a first available node if the signal value of the detection node is greater than the second signal threshold, and may determine that the detection node is not an available node if the signal value of the detection node is less than or equal to the second signal threshold. Further, for the determined available node, a second signal threshold may be further used to detect whether a detecting node adjacent to the available node is also the available node.
And S105, determining an effective touch range on the touch screen in the first sampling period according to the at least one available node.
In this step, after the touch recognition device determines the available nodes, since each node occupies a corresponding area, a range occupied by at least one available node and a range occupied by the reference node may be determined as an effective touch range on the touch screen in the first sampling period.
In some embodiments, if there are valid nodes outside the range of the at least one available node, a reference node may be determined from the valid nodes outside the range of the at least one available node, and then at least one available node around the reference node may be determined. And if no valid node exists outside the range of the at least one available node, determining the range of the at least one available node and the reference node as a valid touch range.
For example, fig. 6 is a schematic diagram of generating an effective touch range according to an embodiment of the present application. As shown in FIG. 6, T1 is the area occupied by the reference node and T2 is the area occupied by the second valid node, and combining T1 and T2 can determine the valid touch range on the touch screen, e.g., the left side of FIG. 6 will yield the valid touch range for one large object, while the right side of FIG. 6 will yield the valid touch ranges for two small objects.
According to the touch identification method provided by the embodiment of the application, signal values of all detection nodes on the touch screen in a first sampling period are obtained; determining at least one effective node in a first sampling period from each detection node according to the signal value of each detection node; determining a reference node from the at least one valid node; determining at least one available node surrounding the reference node, a first available node of the at least one available node being adjacent to the reference node or adjacent to a second available node of the at least one available node; and determining the effective touch range on the touch screen in the first sampling period according to the at least one available node. Compared with the prior art, when a large-area object contacts the touch screen, the effective touch range is determined by detecting at least one available node around the reference node, so that the omission of necessary touch nodes can be avoided, the real shape of the touch object can be restored to the maximum extent, and the accuracy of the effective touch range can be improved.
On the basis of the above-described embodiments, how to determine valid nodes and available valid nodes is explained below. Fig. 7 is a schematic flowchart of another touch recognition method according to an embodiment of the present application, and as shown in fig. 7, the method includes:
s201, signal values of all detection nodes on the touch screen in a first sampling period are obtained.
The technical terms, technical effects, technical features and optional embodiments of step S201 can be understood by referring to step S101 shown in fig. 5, and repeated contents will not be described herein.
S202, determining at least one effective node in a first sampling period from each detection node according to the first signal threshold and the signal value of each detection node.
In this step, after the touch identification device obtains the signal value of each detection node on the touch screen in the first sampling period, an effective node in the first sampling period may be determined from each detection node according to the first signal threshold and the signal value of each detection node.
For example, taking the signal value as the capacitance value, the touch recognition device may sequentially determine whether the capacitance of each node has a signal quantity greater than the first signal threshold according to the capacitance value of each detection node, find all nodes having a signal induction quantity greater than the first signal threshold, and regard the nodes as valid nodes.
S203, a reference node is determined from the at least one effective node.
The reference node is the node with the highest signal induction quantity.
S204, determining at least one available node around the reference node according to a second signal threshold and the signal value of each detection node around the reference node, wherein the second signal threshold is smaller than the first signal threshold.
For example, taking the signal value as the capacitance value, the touch recognition device may use the effective node N1 with the highest signal induction amount as a reference node. Subsequently, it is sequentially determined whether the signal value of the detection node adjacent to the node N1 is greater than the second signal threshold value, with the reference node N1 as the center, and if so, the detection node is determined to be the available node N2. Then, whether the signal value of the detection node adjacent to the node N2 is greater than a second signal threshold value or not is determined, and if so, the detection node is determined to be the available node N3, so that the influence range of the node N1 is sequentially expanded until a detection node with a signal value less than or equal to the second signal threshold value is found in each direction.
S205, if the valid nodes exist outside the range of the at least one available node, determining a reference node from the valid nodes outside the range of the at least one available node.
In some embodiments, if the influence range of the valid node N1 does not completely cover all valid nodes, the reference node with the highest signal induction quantity is continuously determined from the remaining valid nodes out of the range of the at least one available node.
S206, determining at least one available node around the reference node.
Determining at least one available node around the reference node in step S206 is similar to step S204, and is not described herein again.
And S207, if no valid node exists outside the range of the at least one available node, determining the range of the at least one available node and the reference node as a valid touch range.
The technical terms, technical effects, technical features and optional implementation of step S207 can be understood with reference to step S105 shown in fig. 5, and repeated contents will not be described herein.
On the basis of the above embodiment, an application after the effective touch range is determined is described below. Fig. 8 is a schematic flowchart of another touch recognition method provided in an embodiment of the present application, where fig. 8 relates to a specific process of how to implement an eraser function on an electronic whiteboard, and the method includes:
s301, signal values of all detection nodes on the touch screen in a first sampling period are obtained.
S302, according to the signal value of each detection node, at least one effective node in a first sampling period is determined from each detection node.
S303, determining a reference node from the at least one effective node.
S304, at least one available node around the reference node is determined, and a first available node in the at least one available node is adjacent to the reference node or adjacent to a second available node in the at least one available node.
S305, determining an effective touch range on the touch screen in a first sampling period according to at least one available node.
The technical terms, technical effects, technical features, and alternative embodiments of steps S301-S305 can be understood with reference to steps S101-S105 shown in fig. 5, and repeated descriptions will not be repeated here.
S306, deleting the content of the effective touch range on the touch screen in the first sampling period.
The embodiment of the application does not limit how the function of the blackboard eraser is triggered. In some embodiments, the contents of the effective touch range may be erased according to an instruction input by the user. In some embodiments, if the valid touch range is greater than the range threshold, the touch recognition device deletes the content of the valid touch range on the touch screen in the first sampling period.
For example, the touch recognition device may define the gesture eraser according to the area of the touch point, and when the area of the effective touch range is small, the handwriting function is implemented; and when the area of the effective touch range exceeds the range threshold, triggering a gesture eraser function, setting the size of the eraser according to the area of the contact point, and erasing the content of the area through which the eraser passes. By the method, seamless switching between handwriting and erasing in the handwriting whiteboard software can be realized.
According to the touch identification method provided by the embodiment of the application, after the effective touch range is determined, if the effective touch range is larger than the range threshold, the content of the effective touch range on the touch screen in the first sampling period is deleted, so that seamless switching between handwriting and erasing in the handwriting whiteboard software can be realized, the erasing graph and range can be adjusted dynamically in a self-adaptive manner, and the use experience of a user is improved.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Fig. 9 is a schematic structural diagram of a touch recognition device according to an embodiment of the present application. The touch recognition device may be implemented by software, hardware, or a combination of both to perform the touch recognition method in the above embodiments. As shown in fig. 9, the touch recognition device includes:
a touch screen 401 for displaying a picture;
a processor 402 configured to:
acquiring signal values of all detection nodes on the touch screen in a first sampling period;
determining at least one effective node in a first sampling period from each detection node according to the signal value of each detection node;
determining a reference node from the at least one valid node;
determining at least one available node surrounding the reference node, a first available node of the at least one available node being adjacent to the reference node or adjacent to a second available node of the at least one available node;
and determining the effective touch range on the touch screen in the first sampling period according to the at least one available node.
In certain embodiments of the present application, the processor 402 is specifically configured to: and determining at least one effective node in the first sampling period from each detection node according to the first signal threshold and the signal value of each detection node.
In certain embodiments of the present application, the processor 402 is specifically configured to: and determining at least one available node around the reference node according to a second signal threshold and the signal values of all detection nodes around the reference node, wherein the second signal threshold is smaller than the first signal threshold.
In some embodiments of the present application, the processor 402 is further configured to: if the valid nodes exist outside the range of the at least one available node, determining a reference node from the valid nodes outside the range of the at least one available node; at least one available node around the reference node is determined.
In some embodiments of the present application, the reference node is a node with the highest signal induction.
In certain embodiments of the present application, the processor 402 is specifically configured to: and if no valid node exists outside the range of the at least one available node, determining the range of the at least one available node and the reference node as a valid touch range.
In some embodiments of the present application, the processor 402 is further configured to: and deleting the content of the effective touch range on the touch screen in the first sampling period.
In certain embodiments of the present application, the processor 402 is specifically configured to: and if the effective touch range is larger than the range threshold, deleting the content of the effective touch range on the touch screen in the first sampling period.
The touch identification device provided in the embodiment of the application can execute the touch identification method in the above method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of another touch recognition device according to an embodiment of the present application. As shown in fig. 10, the touch recognition device may include: at least one processor 501 and memory 502. Fig. 10 shows an electronic device as an example of a processor.
The memory 502 is used for storing programs. In particular, the program may include program code including computer operating instructions.
The processor 501 is configured to execute computer-executable instructions stored in the memory 502 to implement the touch recognition method;
the processor 501 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present Application.
Alternatively, in a specific implementation, if the communication interface, the memory 502 and the processor 501 are implemented independently, the communication interface, the memory 502 and the processor 501 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. Buses may be classified as address buses, data buses, control buses, etc., but do not represent only one bus or type of bus.
Alternatively, in a specific implementation, if the communication interface, the memory 502 and the processor 501 are integrated into a chip, the communication interface, the memory 502 and the processor 501 may complete communication through an internal interface.
The present invention also provides a computer-readable storage medium, which may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and in particular, the computer-readable storage medium stores program instructions, and the program instructions are used in the method in the foregoing embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A touch identification method is characterized by comprising the following steps:
acquiring signal values of all detection nodes on the touch screen in a first sampling period;
determining at least one effective node in the first sampling period from the detection nodes according to the signal value of each detection node;
determining a reference node from the at least one valid node;
determining at least one available node around the reference node, a first available node of the at least one available node being adjacent to the reference node or adjacent to a second available node of the at least one available node;
and determining the effective touch range on the touch screen in the first sampling period according to the at least one available node.
2. The method of claim 1, wherein determining at least one valid node from the sensing nodes in the first sampling period based on the signal values of the sensing nodes comprises:
and determining at least one effective node in the first sampling period from the detection nodes according to a first signal threshold and the signal value of each detection node.
3. The method of claim 2, wherein determining at least one available node around the reference node comprises:
and determining at least one available node around the reference node according to a second signal threshold and the signal value of each detection node around the reference node, wherein the second signal threshold is smaller than the first signal threshold.
4. The method of claim 1, further comprising, prior to said determining a valid touch range on the touch screen for the first sampling period based on the at least one available node:
if the valid nodes exist outside the range of the at least one available node, determining a reference node from the valid nodes outside the range of the at least one available node;
at least one available node around the reference node is determined.
5. The method of claim 1 or 4, wherein the reference node is the node with the highest signal inductance.
6. The method of claim 4, wherein determining the valid touch range on the touch screen for the first sampling period according to the at least one available node comprises:
and if no valid node exists outside the range of the at least one available node, determining the range of the at least one available node and the reference node as the valid touch range.
7. The method of any of claims 1-4, wherein after said determining the valid touch range on the touch screen for the first sampling period based on the at least one available node, the method further comprises:
and deleting the content of the effective touch range on the touch screen in the first sampling period.
8. The method of claim 7, wherein deleting the contents of the valid touch range on the touch screen during the first sampling period comprises:
and if the effective touch range is larger than a range threshold, deleting the content of the effective touch range on the touch screen in the first sampling period.
9. A touch recognition device, comprising:
the touch screen is used for displaying a picture;
a processor configured to:
acquiring signal values of all detection nodes on the touch screen in a first sampling period;
determining at least one effective node in the first sampling period from the detection nodes according to the signal value of each detection node;
determining a reference node with the highest signal induction quantity from the at least one effective node;
determining at least one available node around the reference node, a first available node of the at least one available node being adjacent to the reference node or adjacent to a second available node of the at least one available node;
and determining the effective touch range on the touch screen in the first sampling period according to the at least one available node.
10. The apparatus of claim 9, wherein the treatment appliance is configured to: and determining at least one effective node in the first sampling period from the detection nodes according to a first signal threshold and the signal value of each detection node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010483734.5A CN111475057A (en) | 2020-06-01 | 2020-06-01 | Touch identification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010483734.5A CN111475057A (en) | 2020-06-01 | 2020-06-01 | Touch identification method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111475057A true CN111475057A (en) | 2020-07-31 |
Family
ID=71765450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010483734.5A Pending CN111475057A (en) | 2020-06-01 | 2020-06-01 | Touch identification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111475057A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112783369A (en) * | 2021-01-15 | 2021-05-11 | 青岛海信商用显示股份有限公司 | Touch detection method and touch equipment |
CN112799533A (en) * | 2021-01-15 | 2021-05-14 | 青岛海信商用显示股份有限公司 | Touch point determination method and touch equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103353828A (en) * | 2013-06-24 | 2013-10-16 | 深圳市创凯电子有限公司 | Method and device for switching writing and erasing functions on touch screen |
CN107506091A (en) * | 2017-09-28 | 2017-12-22 | 京东方科技集团股份有限公司 | Touch control detection chip, contact panel and touch control detecting method |
CN108762557A (en) * | 2018-05-22 | 2018-11-06 | 北京集创北方科技股份有限公司 | A kind of touch detecting method and computer readable storage medium |
US20190025960A1 (en) * | 2017-07-20 | 2019-01-24 | Shenzhen GOODIX Technology Co., Ltd. | Method of detecting touch point and touch controller |
TWI651636B (en) * | 2017-08-14 | 2019-02-21 | 佳冠電子股份有限公司 | Intuitive touch writing system |
CN110597414A (en) * | 2019-09-12 | 2019-12-20 | 青岛海信商用显示股份有限公司 | Touch detection method of touch screen and related equipment |
-
2020
- 2020-06-01 CN CN202010483734.5A patent/CN111475057A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103353828A (en) * | 2013-06-24 | 2013-10-16 | 深圳市创凯电子有限公司 | Method and device for switching writing and erasing functions on touch screen |
US20190025960A1 (en) * | 2017-07-20 | 2019-01-24 | Shenzhen GOODIX Technology Co., Ltd. | Method of detecting touch point and touch controller |
TWI651636B (en) * | 2017-08-14 | 2019-02-21 | 佳冠電子股份有限公司 | Intuitive touch writing system |
CN107506091A (en) * | 2017-09-28 | 2017-12-22 | 京东方科技集团股份有限公司 | Touch control detection chip, contact panel and touch control detecting method |
CN108762557A (en) * | 2018-05-22 | 2018-11-06 | 北京集创北方科技股份有限公司 | A kind of touch detecting method and computer readable storage medium |
CN110597414A (en) * | 2019-09-12 | 2019-12-20 | 青岛海信商用显示股份有限公司 | Touch detection method of touch screen and related equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112783369A (en) * | 2021-01-15 | 2021-05-11 | 青岛海信商用显示股份有限公司 | Touch detection method and touch equipment |
CN112799533A (en) * | 2021-01-15 | 2021-05-14 | 青岛海信商用显示股份有限公司 | Touch point determination method and touch equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6543273B2 (en) | Touch point recognition method and apparatus | |
CN108960163B (en) | Gesture recognition method, device, equipment and storage medium | |
US20120299856A1 (en) | Mobile terminal and control method thereof | |
CN109753179B (en) | User operation instruction processing method and handwriting reading equipment | |
JP2017529582A (en) | Touch classification | |
CN107168596B (en) | Scanning method of capacitive touch screen and capacitive touch screen | |
WO2019223461A1 (en) | Touch detection method and computer-readable storage medium | |
CN109144392B (en) | Method and device for processing gesture conflict and electronic equipment | |
CN111475057A (en) | Touch identification method and device | |
CN106681636A (en) | Method and device capable of preventing wrong touch, and mobile terminal | |
US20160342275A1 (en) | Method and device for processing touch signal | |
CN105045481A (en) | Operation method and terminal | |
CN111190509A (en) | Touch detection method and device, wireless earphone and storage medium | |
US20170285798A1 (en) | Method and system for realizing functional key on side surface | |
CN113311981A (en) | Erasing method and device, intelligent terminal and computer readable storage medium | |
CN109298809A (en) | A kind of touch action recognition methods, device and terminal device | |
CN111258455A (en) | Event stream processing method, event stream processing device and mobile terminal | |
CN113296616B (en) | Pen point selection method and device and intelligent terminal | |
CN109521906A (en) | The method and device of false-touch prevention, equipment, readable storage medium storing program for executing | |
CN114089868A (en) | Touch operation method and device and electronic equipment | |
CN111475056A (en) | Touch identification method and device | |
CN111310755B (en) | Household type graph identification method and device based on target detection and computer equipment | |
US10620727B2 (en) | Information processing method and electronic device | |
CN109189259B (en) | Touch erase anti-interference method and device and terminal equipment | |
CN110568989A (en) | service processing method, service processing device, terminal and medium |
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 |