[go: up one dir, main page]

CN112799533B - Touch point determination method and touch equipment - Google Patents

Touch point determination method and touch equipment Download PDF

Info

Publication number
CN112799533B
CN112799533B CN202110054600.6A CN202110054600A CN112799533B CN 112799533 B CN112799533 B CN 112799533B CN 202110054600 A CN202110054600 A CN 202110054600A CN 112799533 B CN112799533 B CN 112799533B
Authority
CN
China
Prior art keywords
node
touch
effective
sequences
sequence
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
CN202110054600.6A
Other languages
Chinese (zh)
Other versions
CN112799533A (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.)
Qingdao Hisense Commercial Display Co Ltd
Original Assignee
Qingdao Hisense Commercial Display 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 Qingdao Hisense Commercial Display Co Ltd filed Critical Qingdao Hisense Commercial Display Co Ltd
Priority to CN202110054600.6A priority Critical patent/CN112799533B/en
Publication of CN112799533A publication Critical patent/CN112799533A/en
Application granted granted Critical
Publication of CN112799533B publication Critical patent/CN112799533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04164Connections between sensors and controllers, e.g. routing lines between electrodes and connection pads

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (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 embodiment of the invention provides a touch point determining method and touch equipment, relates to the technical field of touch, and can improve the determining speed of touch points. The method comprises the following steps: determining M effective node sequences in the touch screen, and determining the node coordinates of each effective node sequence, wherein the effective node sequences comprise at least one node with the same abscissa or at least one node with the same ordinate; determining N touch areas according to the node coordinates of the M effective node sequences, and determining the touch point coordinate corresponding to each touch area, wherein one touch area comprises at least one effective node sequence, and the touch point coordinate is the center node coordinate of the touch area; wherein M and N are positive integers.

Description

Touch point determination method and touch equipment
Technical Field
The present invention relates to the field of touch technologies, and in particular, to a touch point determining method and a touch device.
Background
Typically, a user may implement touch input on a touch screen through a finger or a stylus.
In the prior art, after a user performs touch input on a touch device, the touch device may determine a signal value of each node in a touch screen, and determine a touch behavior according to different signal values of each node in the touch screen under the conditions of touch and no touch.
However, in the prior art, each node needs to be sequentially judged row by row and column by column, and the nodes in the range of a single point need to be repeatedly determined and calculated by combining the nine-grid method, so that the algorithm is complex and the calculation amount is large, and the determination speed of the touch point is reduced.
Disclosure of Invention
The embodiment of the invention provides a touch point determining method and touch equipment, which are used for improving the determining speed of touch points.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, a method for determining a touch point is provided, including: determining M effective node sequences in the touch screen, and determining node coordinates of each effective node sequence, wherein the effective node sequences comprise at least one node with the same abscissa or at least one node with the same ordinate; determining N touch areas according to the node coordinates of the M effective node sequences, and determining the touch point coordinate corresponding to each touch area, wherein one touch area comprises at least one effective node sequence, and the touch point coordinate is the center node coordinate of the touch area; wherein M and N are positive integers.
The touch point determining method provided by the embodiment of the invention comprises the following steps: determining M effective node sequences in the touch screen, and determining the node coordinates of each effective node sequence, wherein the effective node sequences comprise at least one node with the same abscissa or at least one node with the same ordinate; determining N touch areas according to the node coordinates of the M effective node sequences, and determining the touch point coordinate corresponding to each touch area, wherein one touch area comprises at least one effective node sequence, and the touch point coordinate is the center node coordinate of the touch area; wherein M and N are positive integers. Through the scheme, the N touch areas can be determined according to the node coordinates of the determined M effective node sequences, and the touch point coordinates corresponding to each touch area can be obtained, so that repeated processing and calculation of the nodes in the touch screen can be avoided, the judgment algorithm of the touch points is simplified, the calculation amount is reduced, and the determination speed of the touch points and the writing experience of a user are improved.
In a second aspect, a touch device is provided, including: and a processing unit. The processing unit is configured to: determining M effective node sequences in the touch screen, and determining node coordinates of each effective node sequence, wherein the effective node sequences comprise at least one node with the same abscissa or at least one node with the same ordinate; determining N touch areas according to the node coordinates of the M effective node sequences, and determining the touch point coordinate corresponding to each touch area, wherein one touch area comprises at least one effective node sequence, and the touch point coordinate is the center node coordinate of the touch area; wherein M and N are positive integers.
In a third aspect, a touch device is provided, including: a memory, a processor, a bus, and a communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the touch device is running, the processor executes computer-executable instructions stored in the memory to cause the touch device to perform the touch point determination method as provided in the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, which includes computer-executable instructions that, when executed on a computer, cause the computer to perform the touch point determining method as provided in the first aspect.
In a fifth aspect, a computer program product is provided, which comprises computer instructions that, when run on a computer, cause the computer to perform the touch point determination method as provided in the first aspect.
It should be noted that the computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged with a processor of the touch device, or may be packaged separately from the processor of the touch device, which is not limited in this application.
In the description of the second aspect, the third aspect, the fourth aspect, and the fifth aspect in the present application, reference may be made to the detailed description of the first aspect, which is not repeated herein; in addition, for the beneficial effects described in the second aspect, the third aspect, the fourth aspect and the fifth aspect, reference may be made to the beneficial effect analysis of the first aspect, and details are not repeated here.
In this application, the names of the touch point determination apparatuses do not limit the devices or the function modules themselves, and in actual implementation, the devices or the function modules may appear by other names. Insofar as the functions of the individual devices or functional modules are similar to those of the present application, they are within the scope of the claims and their equivalents.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a touch point determining method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of electrode distribution of a touch screen according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a tag of a valid node sequence according to an embodiment of the present invention;
fig. 4 is a schematic diagram of determining a touch area according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a touch device according to an embodiment of the present invention;
fig. 6 is a second schematic structural diagram of a touch device according to a second embodiment of the present invention;
fig. 7 is a third schematic structural diagram of a touch device according to an embodiment of the present invention.
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 obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "such as" in an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion.
For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", and the like are used for distinguishing the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the words "first", "second", and the like are not limited in number or execution order.
As described in the background art, in the prior art, each node needs to be sequentially judged row by row and column by column, and the node in a single point range needs to be repeatedly determined and calculated by combining a nine-grid method, so that the algorithm is complex and the calculation amount is large, and the determination speed of the touch point is reduced.
Based on the above problem, an embodiment of the present application provides a touch point determining method, which may determine M effective node sequences in a touch screen, and determine a node coordinate of each effective node sequence, where the effective node sequences include at least one node with the same abscissa or at least one node with the same ordinate; determining N touch areas according to the node coordinates of the M effective node sequences, and determining the touch point coordinate corresponding to each touch area, wherein one touch area comprises at least one effective node sequence, and the touch point coordinate is the center node coordinate of the touch area; wherein M and N are positive integers. Through the scheme, the N touch areas can be determined according to the node coordinates of the determined M effective node sequences, and the touch point coordinates corresponding to each touch area can be obtained, so that repeated processing and calculation of the nodes in the touch screen can be avoided, the judgment algorithm of the touch points is simplified, the calculation amount is reduced, and the determination speed of the touch points and the writing experience of a user are improved.
As shown in fig. 1, an embodiment of the present application provides a touch point determining method, which can be applied to a touch device or a control chip in the touch device, and the touch point determining method performed by the touch device is taken as an example to describe in detail below. The touch point determining method may include S101 and S102 described below.
S101, the touch device determines M effective node sequences in the touch screen and determines node coordinates of each effective node sequence.
The effective node sequence comprises at least one node with the same abscissa or at least one node with the same ordinate, and M is a positive integer.
The touch screen comprises m driving and transmitting signal channels and n receiving and sensing signal channels. As shown in fig. 2, TX1, TX2, \8230:, TXm, m rows represent the m driving transmitting signal channels, RX1, RX2, \8230, and RXn, n columns represent the n receiving sensing signal channels. Generally, when one TX channel sends out a driving voltage, all RX channels can receive. Since the place where the transverse electrode channel (i.e. the driving transmitting signal channel) and the longitudinal electrode channel (i.e. the receiving sensing signal channel) cross can form a capacitance, the plurality of transverse electrode channels and the plurality of longitudinal electrode channels can cross to form a plurality of nodes.
The touch control equipment can determine a signal value of each node in the touch control screen, and determine at least two target nodes adjacent in the first direction as a node sequence according to the signal value to obtain K node sequences, wherein the target nodes are nodes of which the signal values are smaller than a first threshold value; screening node sequences of which the signal values of all nodes in the K node sequences are larger than a second threshold value to obtain M effective node sequences; the first threshold and the second threshold are preset touch area node thresholds, K is a positive integer, and K is greater than M.
It should be noted that the touch device may perform scanning and sampling on the entire surface of the touch screen according to the scanning rule of the touch screen, for example, the scanning may be performed in units of rows or in units of columns. When the touch device scans in a row unit, the first direction is a direction parallel to the row; when the touch device scans in units of columns, the first direction is a direction parallel to the columns.
For example, the touch device scans in a row unit. The touch device may determine a signal value of each node in the touch screen by sequentially scanning each row of nodes in the touch screen. After the signal value of each node is determined, the touch device may sequentially compare the signal value of each node with a preset first threshold, and determine whether a node whose signal value is smaller than the first threshold exists in the touch screen. As shown in fig. 3, if the signal value of the current node of the current scanning line is found to be the first node smaller than the first threshold, the current node is identified as the start of a node sequence, the next node of the current line is searched continuously and the signal value thereof is determined, and the last node smaller than the first threshold is identified as the end of the node sequence, so as to obtain a node sequence including at least two nodes. And continuously scanning the rest rows and columns to obtain K node sequences. And then, the touch control equipment can sequentially judge whether all the nodes in each node sequence are larger than a second threshold value by taking the node sequence as a unit, if so, the node sequence is screened out, all the node sequences are processed according to the rule, and then M effective node sequences can be obtained from the K node sequences. Because the touch device identifies the first node and the last node of each node sequence when determining the K node sequences, the touch device can determine the node coordinates of each effective node sequence in the M effective node sequences while determining the M effective node sequences.
Alternatively, the signal value may be any one of a voltage value, a current value, or a capacitance value. The method can be determined according to actual use conditions, and is not limited in the embodiment of the application.
S102, the touch control equipment determines N touch control areas according to the node coordinates of the M effective node sequences, and determines the touch control point coordinates corresponding to each touch control area.
The touch control area comprises at least one effective node sequence, the touch control point coordinate is the central node coordinate of the touch control area, N is a positive integer, and M is larger than N.
Optionally, the touch device may process the M valid node sequences according to a preset rule to obtain N touch regions. The preset rule may be that if at least one node in the first valid node sequence is adjacent to a node in the second valid node sequence, it is determined that the first valid node sequence and the second valid node sequence belong to a touch area; the first effective node sequence and the second effective node sequence are any two sequences of the M effective node sequences in adjacent rows and columns in a second direction, and the second direction is perpendicular to the first direction.
For example, as shown in fig. 4, taking M as 3 as an example, the touch device may initialize the flag, the number Count of touch area nodes, the X-direction node subscript C _ X, the Y-direction node subscript, and C _ Y of the 3 effective node sequences to 0, and then sequentially traverse each effective node sequence. After traversing the effective node sequence A, firstly determining the effective node sequence A as a touch area TA, updating C _ X to the sum of the vertical coordinates of all nodes of the touch area TA, updating C _ Y to the sum of the horizontal coordinates of all nodes of the touch area TA, updating the flag of the effective node sequence A to 1, and updating the number of nodes Count of the touch area TA to 3. And continuously traversing the effective node sequence B in the next row of the touch area TA, if the ordinate of the node in the effective node sequence A is overlapped with the ordinate of the node in the effective node sequence B, namely at least one node in the effective node sequence A is adjacent to the node in the effective node sequence B, determining the effective node sequence B and the effective node sequence A as the touch area TA, updating C _ X, C _ Y and Count, and updating the flag of the effective node sequence B to be 1. After traversing the effective node sequence C, nodes adjacent to the touch area TA do not exist in the effective node sequence C, so that the flag of the effective node sequence C is not updated. Then, the touch device may process a touch area TA composed of valid node sequences whose flags are all 1, obtain touch point coordinates corresponding to the touch area TA, and re-determine a new touch area with the valid node sequence C as a starting point.
Optionally, the touch device may determine the touch point coordinates (X, Y) corresponding to a target touch area according to the formula X = C _ X/Count and the formula Y = C _ Y/Count, where the target touch area is any one of the N touch areas. Wherein C _ X is the sum of the abscissas of all the nodes in the target touch area, C _ Y is the sum of the ordinates of all the nodes in the target touch area, and Count is the number of nodes in the target touch area.
After the touch point coordinates corresponding to the N touch areas are determined respectively, the touch device can convert the touch point coordinates to obtain a transmittable signal, and then output the obtained signal to convert the transmittable signal into a display pen touch of the display screen.
According to the touch point determining method provided by the embodiment of the invention, N touch areas can be determined according to the node coordinates of the determined M effective node sequences, and the touch point coordinates corresponding to each touch area can be obtained, so that repeated processing and calculation of the nodes in the touch screen can be avoided, the judgment algorithm of the touch points is simplified, the calculated amount is reduced, and the determination speed of the touch points and the writing experience of a user are improved.
As shown in fig. 5, an embodiment of the present invention provides a touch device 20, where the touch device 20 includes: a processing unit 201. The processing unit 201 is configured to: determining M effective node sequences in the touch screen, and determining node coordinates of each effective node sequence, wherein the effective node sequences comprise at least one node with the same abscissa or at least one node with the same ordinate; determining N touch areas according to the node coordinates of the M effective node sequences, and determining the touch point coordinate corresponding to each touch area, wherein one touch area comprises at least one effective node sequence, and the touch point coordinate is the center node coordinate of the touch area; wherein M and N are positive integers.
Optionally, the processing unit 201 is specifically configured to: determining a signal value of each node in the touch screen; determining at least two target nodes adjacent in the first direction as a node sequence according to the signal value to obtain K node sequences, wherein the target nodes are nodes of which the signal values are smaller than a first threshold value; screening out node sequences of which the signal values of all nodes in the K node sequences are larger than a second threshold value to obtain the M effective node sequences; wherein K is a positive integer and is greater than M.
Optionally, the processing unit 201 is specifically configured to: processing the M effective node sequences according to a preset rule to obtain the N touch areas; the preset rule is that if at least one node in a first effective node sequence is adjacent to a node in a second effective node sequence, the first effective node sequence and the second effective node sequence are determined to belong to a touch area; the first effective node sequence and the second effective node sequence are any two sequences of the M effective node sequences in adjacent rows and columns in a second direction, and the second direction is perpendicular to the first direction.
Optionally, the processing unit 201 is specifically configured to: determining touch point coordinates (X, Y) corresponding to a target touch area according to a formula X = C _ X/Count and a formula Y = C _ Y/Count, wherein the target touch area is any one of the N touch areas; wherein C _ X is the sum of the abscissas of all nodes in the target touch area, C _ Y is the sum of the ordinates of all nodes in the target touch area, and Count is the number of nodes in the target touch area.
The embodiment of the invention provides touch equipment which can determine N touch areas according to the node coordinates of the determined M effective node sequences and obtain the touch point coordinates corresponding to each touch area, so that repeated processing and calculation of nodes in a touch screen can be avoided, the judgment algorithm of touch points is simplified, the calculated amount is reduced, and the determination speed of the touch points and the writing experience of a user are improved.
As shown in fig. 6, the embodiment of the invention further provides a touch device 30, which includes a processor 301. The processor 301 is configured to: determining M effective node sequences in the touch screen, and determining node coordinates of each effective node sequence, wherein the effective node sequences comprise at least one node with the same abscissa or at least one node with the same ordinate; determining N touch areas according to the node coordinates of the M effective node sequences, and determining the touch point coordinate corresponding to each touch area, wherein one touch area comprises at least one effective node sequence, and the touch point coordinate is the center node coordinate of the touch area; wherein M and N are positive integers.
Optionally, the processor 301 is specifically configured to: determining a signal value of each node in the touch screen; determining at least two target nodes adjacent in the first direction as a node sequence according to the signal value to obtain K node sequences, wherein the target nodes are nodes of which the signal values are smaller than a first threshold value; screening out node sequences of which the signal values of all nodes in the K node sequences are larger than a second threshold value to obtain M effective node sequences; wherein K is a positive integer and is greater than M.
Optionally, the processor 301 is specifically configured to: processing the M effective node sequences according to a preset rule to obtain N touch areas; the preset rule is that if at least one node in a first effective node sequence is adjacent to a node in a second effective node sequence, the first effective node sequence and the second effective node sequence are determined to belong to a touch area; the first effective node sequence and the second effective node sequence are any two sequences of the M effective node sequences in adjacent rows and columns in a second direction, and the second direction is perpendicular to the first direction.
Optionally, the processor 301 is specifically configured to: determining touch point coordinates (X, Y) corresponding to a target touch area according to a formula X = C _ X/Count and a formula Y = C _ Y/Count, wherein the target touch area is any one of the N touch areas; wherein C _ X is the sum of the abscissas of all the nodes in the target touch area, C _ Y is the sum of the ordinates of all the nodes in the target touch area, and Count is the number of nodes in the target touch area.
The embodiment of the invention provides touch equipment which can determine N touch areas according to the node coordinates of the determined M effective node sequences and obtain the touch point coordinates corresponding to each touch area, so that repeated processing and calculation of nodes in a touch screen can be avoided, the judgment algorithm of touch points is simplified, the calculated amount is reduced, and the determination speed of the touch points and the writing experience of a user are improved.
As shown in fig. 7, another touch device according to an embodiment of the present invention includes a memory 41, a processor 42, a bus 43, and a communication interface 44; the memory 41 is used for storing computer execution instructions, and the processor 42 is connected with the memory 41 through a bus 43; when the touch device is operating, the processor 42 executes computer-executable instructions stored in the memory 41 to cause the touch device to perform the touch point determination method provided in the above-described embodiments.
In particular implementations, processor 42 (42-1 and 42-2) may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 7, as one embodiment. And as an example, the touch device may include a plurality of processors 42, such as processor 42-1 and processor 42-2 shown in fig. 7. Each of the processors 42 may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). Processor 42 may refer herein to one or more devices, circuits, and/or processing cores that process data (e.g., computer program instructions).
The memory 41 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 41 may be self-contained and coupled to the processor 42 via a bus 43. The memory 41 may also be integrated with the processor 42.
In a specific implementation, the memory 41 is used for storing data in the present application and computer-executable instructions corresponding to software programs for executing the present application. The processor 42 may touch various functions of the device by running or executing software programs stored in the memory 41, and invoking data stored in the memory 41.
The communication interface 44 is any device, such as a transceiver, for communicating with other devices or communication networks, such as a control system, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), and the like. The communication interface 44 may include a receiving unit implementing a receiving function and a transmitting unit implementing a transmitting function.
The bus 43 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an extended ISA (enhanced industry standard architecture) bus, or the like. The bus 43 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a computer execution instruction, and when the computer execution instruction runs on a computer, the computer is enabled to execute the touch point determining method provided in the foregoing embodiment.
The embodiment of the present invention further provides a computer program, where the computer program may be directly loaded into a memory and contains a software code, and the computer program is loaded and executed by a computer, so as to implement the touch point determining method provided in the above embodiment.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Through the description of the foregoing embodiments, it will be clear to those skilled in the art that, for convenience and simplicity of description, only the division of the functional modules is illustrated, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other division ways in actual implementation. For example, various elements or components may be combined or may be integrated in another device, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application, or portions thereof, which substantially contribute to the prior art, or all or portions thereof, may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions for enabling a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are also within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A touch point determination method is characterized by comprising the following steps:
determining M effective node sequences in a touch screen, and determining node coordinates of each effective node sequence, wherein the effective node sequences comprise at least one node with the same abscissa or at least one node with the same ordinate;
determining N touch areas according to the node coordinates of the M effective node sequences, and determining the touch point coordinate corresponding to each touch area, wherein one touch area comprises at least one effective node sequence, and the touch point coordinate is the center node coordinate of the touch area;
wherein M and N are positive integers;
the determining of the M valid node sequences in the touch screen includes:
determining a signal value of each node in a touch screen by scanning each row or column of nodes in the touch screen in sequence;
after the signal value of each node is determined, sequentially comparing the signal value of each node with a first threshold value;
if the signal value of the current node of the current scanning line or column is the first node smaller than the first threshold value, identifying the current node as the beginning of a node sequence, continuously searching the next node of the current line or column and judging the signal value of the next node, and identifying the continuous last node smaller than the first threshold value as the end of the node sequence to obtain a node sequence comprising at least two nodes in the first direction; continuously scanning the rest rows and columns to obtain K node sequences;
after K node sequences are obtained, sequentially judging whether all node signal values in each node sequence are larger than a second threshold value by taking the node sequences as units; if yes, screening out the node sequence; processing all the node sequences according to rules, and obtaining M effective node sequences from the K node sequences; wherein K is a positive integer and is greater than M;
determining N touch areas according to the node coordinates of the M valid node sequences includes:
processing the M effective node sequences according to a preset rule to obtain N touch areas;
the preset rule is that if at least one node in a first effective node sequence is adjacent to a node in a second effective node sequence, the first effective node sequence and the second effective node sequence are determined to belong to a touch area;
the first effective node sequence and the second effective node sequence are any two sequences of the M effective node sequences in adjacent rows and columns in a second direction, and the second direction is perpendicular to the first direction.
2. The method for determining touch points according to claim 1, wherein the determining the touch point coordinates corresponding to each touch area comprises:
determining touch point coordinates (X, Y) corresponding to a target touch area according to a formula X = C _ X/Count and a formula Y = C _ Y/Coun, wherein the target touch area is any one of the N touch areas;
wherein C _ X is the sum of the abscissas of all the nodes in the target touch area, C _ Y is the sum of the ordinates of all the nodes in the target touch area, and Count is the number of nodes in the target touch area.
3. A touch device, comprising a processing unit;
the processing unit is configured to: determining M effective node sequences in a touch screen, and determining a node coordinate of each effective node sequence, wherein the effective node sequences comprise at least one node with the same abscissa or at least one node with the same ordinate;
determining N touch areas according to the node coordinates of the M effective node sequences, and determining the touch point coordinate corresponding to each touch area, wherein one touch area comprises at least one effective node sequence, and the touch point coordinate is the center node coordinate of the touch area;
wherein M and N are positive integers;
the processing unit is specifically configured to:
determining a signal value of each node in a touch screen by scanning each row or column node in the touch screen in sequence;
after the signal value of each node is determined, sequentially comparing the signal value of each node with a first threshold value;
if the signal value of the current node of the current scanning line or column is the first node smaller than the first threshold value, identifying the current node as the beginning of a node sequence, continuously searching the next node of the current line or column and judging the signal value of the next node, and identifying the continuous last node smaller than the first threshold value as the end of the node sequence to obtain a node sequence comprising at least two nodes in the first direction; continuously scanning the rest rows and columns to obtain K node sequences;
after K node sequences are obtained, sequentially judging whether all node signal values in each node sequence are larger than a second threshold value by taking the node sequences as units; if yes, screening out the node sequence; processing all the node sequences according to rules, and obtaining M effective node sequences from the K node sequences; wherein K is a positive integer and is greater than M;
the processing unit is specifically configured to: processing the M effective node sequences according to a preset rule to obtain N touch areas;
the preset rule is that if at least one node in a first effective node sequence is adjacent to a node in a second effective node sequence, the first effective node sequence and the second effective node sequence are determined to belong to a touch area;
the first effective node sequence and the second effective node sequence are any two sequences of the M effective node sequences which are in adjacent rows and columns in a second direction, and the second direction is perpendicular to the first direction.
4. The touch device of claim 3, wherein the processing unit is specifically configured to: determining touch point coordinates (X, Y) corresponding to a target touch area according to a formula X = C _ X/Count and a formula Y = C _ Y/Coun, wherein the target touch area is any one of the N touch areas;
wherein C _ X is the sum of the abscissas of all the nodes in the target touch area, C _ Y is the sum of the ordinates of all the nodes in the target touch area, and Count is the number of nodes in the target touch area.
5. A touch device is characterized by comprising a memory, a processor, a bus and a communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through the bus; when the touch device is running, the processor executes the computer-executable instructions stored by the memory to cause the touch device to perform the touch point determination method of claim 1 or 2.
6. A computer-readable storage medium comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the touch point determination method of claim 1 or 2.
CN202110054600.6A 2021-01-15 2021-01-15 Touch point determination method and touch equipment Active CN112799533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110054600.6A CN112799533B (en) 2021-01-15 2021-01-15 Touch point determination method and touch equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110054600.6A CN112799533B (en) 2021-01-15 2021-01-15 Touch point determination method and touch equipment

Publications (2)

Publication Number Publication Date
CN112799533A CN112799533A (en) 2021-05-14
CN112799533B true CN112799533B (en) 2023-02-21

Family

ID=75809585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110054600.6A Active CN112799533B (en) 2021-01-15 2021-01-15 Touch point determination method and touch equipment

Country Status (1)

Country Link
CN (1) CN112799533B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114442847B (en) * 2022-01-18 2024-01-30 Tcl华星光电技术有限公司 Screen touch point positioning method and device, computer readable medium and electronic equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387927B (en) * 2008-11-04 2010-09-08 友达光电股份有限公司 Touch detection method for touch panel
TWI489331B (en) * 2009-06-11 2015-06-21 Au Optronics Corp Touch point coordinate detection method
CN102004585B (en) * 2010-11-15 2013-04-03 广东威创视讯科技股份有限公司 Multi-area identification method for touch screen
WO2013039358A1 (en) * 2011-09-16 2013-03-21 주식회사 아이피시티 User input detection device and electronic device comprising same
KR101895883B1 (en) * 2011-11-09 2018-09-10 삼성전자 주식회사 Method and apparatus for improving touch sensitivity of touchscreen panel
CN102902421B (en) * 2012-08-29 2015-10-07 广东威创视讯科技股份有限公司 The recognition methods of touch-screen stroke weight and device
CN110036362B (en) * 2017-07-18 2022-07-05 深圳市汇顶科技股份有限公司 Touch detection method and touch detection device
CN110162230B (en) * 2019-05-24 2021-11-02 京东方科技集团股份有限公司 Touch position identification method and device and storage medium
CN110597414B (en) * 2019-09-12 2023-02-03 青岛海信商用显示股份有限公司 Touch detection method of touch screen and related equipment
CN111381729B (en) * 2020-03-27 2023-04-25 深圳市鸿合创新信息技术有限责任公司 Touch point positioning method and device for capacitive touch screen
CN111475057A (en) * 2020-06-01 2020-07-31 青岛海信商用显示股份有限公司 Touch identification method and device

Also Published As

Publication number Publication date
CN112799533A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
US8938603B2 (en) Cache system optimized for cache miss detection
CN105359103B (en) A kind of memory resource optimization method and device
CN108959127B (en) Address translation method, device and system
CN109408450B (en) Data processing method, system, co-processing device and main processing device
CN109308191B (en) Branch prediction method and device
EP4071619A1 (en) Address generation method, related device and storage medium
CN111091572A (en) Image processing method and device, electronic equipment and storage medium
CN111737564A (en) Information query method, device, equipment and medium
CN113779479A (en) Webpage table editing method, device, equipment and storage medium
CN108268503B (en) Database storage and query method and device
CN112799533B (en) Touch point determination method and touch equipment
CN105677755A (en) Method and device for processing graph data
CN112783369A (en) Touch detection method and touch equipment
CN114064308B (en) Multi-data sending and receiving method, device and equipment based on column data scanning
CN115099175A (en) Method and device for acquiring time sequence netlist, electronic equipment and storage medium
CN108874484A (en) Data processing method, device, equipment and storage medium
CN113609127A (en) Data table generation method, device and equipment
CN115114042A (en) Storage data access method and device, electronic equipment and storage medium
CN117608869A (en) Transaction deadlock visualization method, device and equipment for low-code platform
CN115374188B (en) Resource state query method and device, electronic equipment and storage medium
CN108073583B (en) Picture splitting method and device
CN114070901A (en) Data sending and receiving method, device and equipment based on multi-data alignment
CN113792170A (en) Graph data dividing method and device and computer equipment
CN117149851B (en) Method, device, electronic device and storage medium for marking out-of-stock products
CN115617732B (en) APB bus structure, system on chip, vehicle and access method

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