CN115268699B - Touch driving system and method based on multiple channels - Google Patents

Touch driving system and method based on multiple channels Download PDF

Info

Publication number
CN115268699B
CN115268699B CN202210961310.4A CN202210961310A CN115268699B CN 115268699 B CN115268699 B CN 115268699B CN 202210961310 A CN202210961310 A CN 202210961310A CN 115268699 B CN115268699 B CN 115268699B
Authority
CN
China
Prior art keywords
touch
tool
driving
areas
determining
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
CN202210961310.4A
Other languages
Chinese (zh)
Other versions
CN115268699A (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.)
Shenzhen Anxintai Technology Co ltd
Original Assignee
Shenzhen Anxintai Technology 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 Shenzhen Anxintai Technology Co ltd filed Critical Shenzhen Anxintai Technology Co ltd
Priority to CN202210961310.4A priority Critical patent/CN115268699B/en
Publication of CN115268699A publication Critical patent/CN115268699A/en
Application granted granted Critical
Publication of CN115268699B publication Critical patent/CN115268699B/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/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • G06F3/0442Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means using active external devices, e.g. active pens, for transmitting changes in electrical potential to be received by the digitiser
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention provides a touch driving system and a method based on multiple channels, wherein the method comprises the following steps: acquiring a first image of a touch tool in real time; identifying the first image and determining the type of the touch tool; when the touch tool is a first tool, acquiring first touch sensing data by adopting a first touch sensing channel, and driving by using a first driving parameter; when the touch tool is a second tool, acquiring second touch sensing data by adopting a second touch sensing channel, and driving by using second driving parameters; and when the touch tool is a third tool, acquiring third touch sensing data by adopting a third touch sensing channel, and driving by using a third driving parameter. According to the scheme provided by the invention, different touch sensing channels can be adopted for different touch tools to acquire touch sensing data and drive the touch sensing data by corresponding driving parameters, so that the flexibility and accuracy of driving the touch screen are improved.

Description

Touch driving system and method based on multiple channels
Technical Field
The invention relates to the technical field of touch control, in particular to a touch driving system and method based on multiple channels.
Background
With the development of information society, various forms of touch display devices are increasingly required, which provide a touch-based input method in addition to typical input methods such as buttons, a keyboard, a mouse, etc., so that a user easily and intuitively inputs information or commands. In order to provide a touch-based input method, a touch display device needs to recognize whether a user has made a touch, and needs to precisely detect a touch tool, touch coordinates, or the like. The use of different touch tools on the same touch display device has different technical requirements for touch triggering, touch tool identification and touch coordinate determination, and correspondingly different driving parameters/driving methods, and how to use multiple touch tools on the same touch display device and accurately and efficiently drive touch operation becomes a problem to be solved.
Disclosure of Invention
The invention is based on the problems, and provides a multi-channel-based touch driving system and a multi-channel-based touch driving method.
In view of this, an aspect of the present invention proposes a multi-channel based touch driving system, comprising: the device comprises an image acquisition module, a processing module, a first driving control module, a second driving control module and a third driving control module; wherein, the liquid crystal display device comprises a liquid crystal display device,
the image acquisition module is used for acquiring a first image of the touch tool in real time;
the processing module is used for identifying the first image and determining the type of the touch tool;
the first driving control module is used for acquiring first touch sensing data by adopting a first touch sensing channel when the touch tool is a first tool and driving the first touch sensing data by using a first driving parameter;
the second driving control module is used for acquiring second touch sensing data by adopting a second touch sensing channel when the touch tool is a second tool and driving the touch tool by using second driving parameters;
and the third driving control module is used for acquiring third touch sensing data by adopting a third touch sensing channel when the touch tool is a third tool and driving by using third driving parameters.
Optionally, the processing module is further configured to:
determining the number N of the touch tools in the working state;
N touch areas corresponding to N touch tools one by one on the touch screen are determined;
determining overlapping areas of the N touch areas;
dividing the touch screen into M sub-areas according to the overlapping area;
wherein N, M is a positive integer.
Optionally, the processing module is further configured to:
determining a type of the touch implement operating within the overlap region;
driving the overlap region on the touch screen in such a manner that the first driving parameter and the second driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool and the second tool;
driving the overlap region on the touch screen in such a manner that the first driving parameter and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool and the third tool;
driving the overlap region on the touch screen in such a manner that the second driving parameter and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the second tool and the third tool;
When the touch tools operating in the overlapping region are the first tool, the second tool, and the third tool, the overlapping region on the touch screen is driven in such a manner that the first driving parameter, the second driving parameter, and the third driving parameter are alternately driven.
Optionally, in the step of determining N touch areas on the touch screen corresponding to the N touch tools one to one, the processing module is configured to:
recording the touch point T of each touch tool according to the touch sequence i,j Wherein i is [1, N ]]J is a positive integer;
with a touch point T of each of the touch tools i,j Determining each touch point T by taking preset numerical value as radius for circle center i,j Is arranged in the radiation area of the (a);
the radiation areas corresponding to the touch tools are communicated respectively, and the touch areas of the corresponding touch tools are obtained;
repeating the steps to obtain N touch areas.
Optionally, in the step of determining the overlapping areas of the N touch areas, the processing module is configured to:
calculating coordinate values of all points in the N touch areas;
determining overlapping repetition coordinate values;
Determining the overlapping region according to the repeated coordinate values;
in the step of dividing the touch screen into M sub-areas according to the overlapping area, the processing module is configured to:
dividing the overlapping area from N touch areas to obtain K independent areas;
the K individual regions and the overlapping region are formed into the M sub-regions.
Another aspect of the present invention provides a multi-channel-based touch driving method, including:
acquiring a first image of a touch tool in real time;
identifying the first image and determining the type of the touch tool;
when the touch tool is a first tool, acquiring first touch sensing data by adopting a first touch sensing channel, and driving by using a first driving parameter;
when the touch tool is a second tool, acquiring second touch sensing data by adopting a second touch sensing channel, and driving by using second driving parameters;
and when the touch tool is a third tool, acquiring third touch sensing data by adopting a third touch sensing channel, and driving by using a third driving parameter.
Optionally, the touch driving method further includes:
Determining the number N of the touch tools in the working state;
n touch areas corresponding to N touch tools one by one on the touch screen are determined;
determining overlapping areas of the N touch areas;
dividing the touch screen into M sub-areas according to the overlapping area;
wherein N, M is a positive integer.
Optionally, the touch driving method further includes:
determining a type of the touch implement operating within the overlap region;
driving the overlap region on the touch screen in such a manner that the first driving parameter and the second driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool and the second tool;
driving the overlap region on the touch screen in such a manner that the first driving parameter and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool and the third tool;
driving the overlap region on the touch screen in such a manner that the second driving parameter and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the second tool and the third tool;
When the touch tools operating in the overlapping region are the first tool, the second tool, and the third tool, the overlapping region on the touch screen is driven in such a manner that the first driving parameter, the second driving parameter, and the third driving parameter are alternately driven.
Optionally, the step of determining N touch areas on the touch screen, which are in one-to-one correspondence with the N touch tools, includes:
recording the touch point T of each touch tool according to the touch sequence i,j Wherein i is [1, N ]]J is a positive integer;
with a touch point T of each of the touch tools i,j As the center of a circle by a preset numberValue determines each touch point T for radius i,j Is arranged in the radiation area of the (a);
the radiation areas corresponding to the touch tools are communicated respectively, and the touch areas of the corresponding touch tools are obtained;
repeating the steps to obtain N touch areas.
Optionally, the step of determining the overlapping areas of the N touch areas includes:
calculating coordinate values of all points in the N touch areas;
determining overlapping repetition coordinate values;
determining the overlapping region according to the repeated coordinate values;
The step of dividing the touch screen into M sub-areas according to the overlapping area includes:
dividing the overlapping area from N touch areas to obtain K independent areas;
the K individual regions and the overlapping region are formed into the M sub-regions.
By adopting the technical scheme of the invention, the touch driving system is provided with an image acquisition module, a processing module, a first driving control module, a second driving control module and a third driving control module; the image acquisition module is used for acquiring a first image of the touch tool in real time; the processing module is used for identifying the first image and determining the type of the touch tool; the first driving control module is used for acquiring first touch sensing data by adopting a first touch sensing channel when the touch tool is a first tool and driving the first touch sensing data by using a first driving parameter; the second driving control module is used for acquiring second touch sensing data by adopting a second touch sensing channel when the touch tool is a second tool and driving the touch tool by using second driving parameters; and the third driving control module is used for acquiring third touch sensing data by adopting a third touch sensing channel when the touch tool is a third tool and driving by using third driving parameters. According to the scheme provided by the invention, different touch sensing channels can be adopted for different touch tools to acquire touch sensing data and drive the touch sensing data by corresponding driving parameters, so that the flexibility and accuracy of driving the touch screen are improved.
Drawings
FIG. 1 is a schematic block diagram of a touch drive system provided by one embodiment of the invention;
fig. 2 is a flowchart of a touch driving method according to another embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced otherwise than as described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
A multi-channel based touch driving system and method provided according to some embodiments of the present invention are described below with reference to fig. 1 to 2.
As shown in fig. 1, one embodiment of the present invention provides a multi-channel-based touch driving system, including: the device comprises an image acquisition module, a processing module, a first driving control module, a second driving control module and a third driving control module; wherein, the liquid crystal display device comprises a liquid crystal display device,
the image acquisition module is used for acquiring a first image of the touch tool in real time;
the processing module is used for identifying the first image and determining the type of the touch tool;
the first driving control module is used for acquiring first touch sensing data by adopting a first touch sensing channel when the touch tool is a first tool and driving the first touch sensing data by using a first driving parameter;
The second driving control module is used for acquiring second touch sensing data by adopting a second touch sensing channel when the touch tool is a second tool and driving the touch tool by using second driving parameters;
and the third driving control module is used for acquiring third touch sensing data by adopting a third touch sensing channel when the touch tool is a third tool and driving by using third driving parameters.
It will be appreciated that the touch tools that can perform touch operations on the touch screen may be fingers, palms, touch pens or other live conductors, etc., and the touch pens may be classified into general-purpose touch pens (touch screens that can be adapted to different parameters, models) and special-purpose touch pens (touch pens specific to a particular touch screen) or may be classified into passive touch pens and active touch pens.
In order to more accurately perform touch driving to identify touch signals, in the embodiment of the invention, different touch sensing channels can be set for different touch tools to acquire touch sensing data and drive a touch screen with different driving parameters to report touch events. Specifically, a first image of a touch tool can be obtained in real time through the image obtaining module (such as an image capturing unit carried by the touch screen device, an image capturing device in communication connection with the touch screen device, and the like), the first image is identified through the processing module by utilizing an image identification algorithm so as to determine the type of the touch tool, and when the touch tool is a first tool (such as a finger), the first driving control module obtains first touch sensing data through a first touch sensing channel and drives the first touch sensing data through a first driving parameter; when the touch tool is a second tool (such as a touch pen), the second driving control module acquires second touch sensing data by adopting a second touch sensing channel and drives the touch tool by using second driving parameters; when the touch tool is a third tool (such as other live conductors), the third driving control module acquires third touch sensing data by using a third touch sensing channel and drives the touch tool with third driving parameters.
It should be noted that, when the touch tool has a function of communicating with the touch screen, authentication or verification may be performed by exchanging data therebetween to further determine the kind of the touch tool.
By adopting the technical scheme of the embodiment, the touch driving system comprises an image acquisition module, a processing module, a first driving control module, a second driving control module and a third driving control module; the image acquisition module is used for acquiring a first image of the touch tool in real time; the processing module is used for identifying the first image and determining the type of the touch tool; the first driving control module is used for acquiring first touch sensing data by adopting a first touch sensing channel when the touch tool is a first tool and driving the first touch sensing data by using a first driving parameter; the second driving control module is used for acquiring second touch sensing data by adopting a second touch sensing channel when the touch tool is a second tool and driving the touch tool by using second driving parameters; and the third driving control module is used for acquiring third touch sensing data by adopting a third touch sensing channel when the touch tool is a third tool and driving by using third driving parameters. According to the scheme provided by the invention, different touch sensing channels can be adopted for different touch tools to acquire touch sensing data and drive the touch sensing data by corresponding driving parameters, so that the flexibility and accuracy of driving the touch screen are improved.
It should be understood that the block diagram of the touch driving system shown in fig. 1 is only schematic, and the number of the modules shown is not limiting to the scope of the present invention.
In some possible embodiments of the invention, the processing module is further configured to:
determining the number N of the touch tools in the working state;
n touch areas corresponding to N touch tools one by one on the touch screen are determined;
determining overlapping areas of the N touch areas;
dividing the touch screen into M sub-areas according to the overlapping area;
wherein N, M is a positive integer.
It can be appreciated that, in order to meet the requirement that a plurality of users perform touch operations on the same touch screen by using a plurality of touch tools within the same time period to increase the practicability of the touch screen, in the embodiment of the invention, the number N of the touch tools in a working state can be determined by a pre-trained image recognition algorithm; determining N touch areas corresponding to the N touch tools one by one on the touch screen, and if the minimum area comprising all the falling points of the touch tool a is defined as a corresponding touch area A; then, according to the coordinate values of the points included in the touch areas (a coordinate system can be established by taking the central point of the touch screen as the origin of coordinates and the coordinates of all points on the touch screen are determined), the overlapping areas of N touch areas can be calculated; finally, dividing the touch screen into M sub-areas according to the overlapping area; wherein N, M is a positive integer.
In some possible embodiments of the invention, the processing module is further configured to:
determining a type of the touch implement operating within the overlap region;
driving the overlap region on the touch screen in such a manner that the first driving parameter and the second driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool and the second tool;
driving the overlap region on the touch screen in such a manner that the first driving parameter and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool and the third tool;
driving the overlap region on the touch screen in such a manner that the second driving parameter and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the second tool and the third tool;
when the touch tools operating in the overlapping region are the first tool, the second tool, and the third tool, the overlapping region on the touch screen is driven in such a manner that the first driving parameter, the second driving parameter, and the third driving parameter are alternately driven.
It will be appreciated that the touching tool operating within the overlap region may be the following: the first tool and the second tool, or the first tool and the third tool, or the second tool and the third tool, or the first tool, the second tool, and the third tool.
For determining the driving parameters in the overlapping area, the driving parameters corresponding to the currently operated touch tools can be alternately switched according to the sequence of the falling points of the touch tools, for example, when the touch tools operated in the overlapping area are the first tool, the second tool and the third tool, the overlapping area on the touch screen is driven in a mode that the first driving parameters, the second driving parameters and the third driving parameters are alternately driven, that is, when the currently operated touch tools are identified as the first tools operated, a first touch sensing channel is adopted to acquire first touch sensing data, and the first driving parameters are used for driving; when the current touch tool is a second tool, switching to a second touch sensing channel to acquire second touch sensing data, and driving by a second driving parameter; and when the current touch tool is a third tool, switching to a third touch sensing channel to acquire third touch sensing data, and driving by a third driving parameter. The current touch tool working in the overlapping area is the first tool and the second tool, or the first tool and the third tool, or the second tool and the third tool, and the touch sensing channel and the driving parameter may be switched according to the foregoing manner. According to the embodiment of the invention, the touch screen drive when a plurality of different touch tools work in the same area can be responded efficiently, and good user experience is brought.
In some possible embodiments of the present invention, in the step of determining N touch areas on the touch screen corresponding to the N touch tools one to one, the processing module is configured to:
recording the touch point T of each touch tool according to the touch sequence i,j Wherein i is [1, N ]]J is a positive integer;
with a touch point T of each of the touch tools i,j Determining each touch point T by taking preset numerical value as radius for circle center i,j Is arranged in the radiation area of the (a);
the radiation areas corresponding to the touch tools are communicated respectively, and the touch areas of the corresponding touch tools are obtained;
repeating the steps to obtain N touch areas.
It will be appreciated that in order to accurately determine the touch area of each touch implement so that the partitioning of the touch screen is accurate, in an embodiment of the present invention, all touch points T of each touch implement are first determined by i,j (drop points) are grouped by touch tool to obtain N touch point sets, and each touch tool is used for each touch point setIs a touch point T of (1) i,j A circular area defined by a preset value as a radius (such as a coordinate value unit or a pixel point unit) is used as each touch point T i,j Is arranged in the radiation area of the (a); the radiation areas corresponding to the touch tools are communicated respectively, namely, the radiation areas of all the touch points in the touch point set are communicated by taking the touch point set as a unit, so that the corresponding touch areas of the touch tools are obtained; and repeating the steps until all the N touch point sets finish the steps, and obtaining N touch areas. It should be noted that, the radiation areas corresponding to each touch tool are respectively communicated, specifically: and deleting the radiation areas of which the distances between the circular centers exceed the preset distances (such as two coordinate value units or two pixel point units) for the radiation areas corresponding to each touch tool, and communicating the radiation areas of which the distances between the circular centers are within the preset distances.
In some possible embodiments of the present invention, in the step of determining the overlapping area of the N touch areas, the processing module is configured to:
calculating coordinate values of all points in the N touch areas;
determining overlapping repetition coordinate values;
determining the overlapping region according to the repeated coordinate values;
in the step of dividing the touch screen into M sub-areas according to the overlapping area, the processing module is configured to:
Dividing the overlapping area from N touch areas to obtain K independent areas;
the K individual regions and the overlapping region are formed into the M sub-regions.
It can be understood that in the embodiment of the present invention, the overlapping area may be accurately determined by setting up a coordinate system (for example, setting up the coordinate system with the center point of the touch screen as the origin of coordinates) and determining the coordinate values of all points on the touch screen, further calculating the coordinate values of all points in the N touch areas, determining overlapping repeated coordinate values, and determining the overlapping area according to the repeated coordinate values.
Further, dividing the overlapping area from N touch areas to obtain K independent areas, wherein K belongs to [0, N ]; the K individual regions and the overlapping region are formed into the M sub-regions. For the independent area, only one touch tool works, touch sensing data can be acquired by adopting a corresponding single touch sensing channel, and the touch sensing data is driven by corresponding driving parameters; and the above-mentioned mode is adopted for the above-mentioned overlapped region to make the switching of touch sensing channel and driving parameter. According to the embodiment of the invention, the touch screen area is divided into an independent area where only a single touch tool works and an overlapping area where a plurality of touch tools work according to different working touch tools, and corresponding driving modes are adopted for different areas, so that the flexibility and the accuracy of touch screen driving are improved.
Referring to fig. 2, another embodiment of the present invention provides a touch driving method based on multiple channels, the touch driving method including:
acquiring a first image of a touch tool in real time;
identifying the first image and determining the type of the touch tool;
when the touch tool is a first tool, acquiring first touch sensing data by adopting a first touch sensing channel, and driving by using a first driving parameter;
when the touch tool is a second tool, acquiring second touch sensing data by adopting a second touch sensing channel, and driving by using second driving parameters;
and when the touch tool is a third tool, acquiring third touch sensing data by adopting a third touch sensing channel, and driving by using a third driving parameter.
It will be appreciated that the touch tools that can perform touch operations on the touch screen may be fingers, palms, touch pens or other live conductors, etc., and the touch pens may be classified into general-purpose touch pens (touch screens that can be adapted to different parameters, models) and special-purpose touch pens (touch pens specific to a particular touch screen) or may be classified into passive touch pens and active touch pens.
In order to more accurately perform touch driving to identify touch signals, in the embodiment of the invention, different touch sensing channels can be set for different touch tools to acquire touch sensing data and drive a touch screen with different driving parameters to report touch events. Specifically, a first image of a touch tool can be acquired in real time through an imaging unit of the touch screen device, an imaging device in communication connection with the touch screen device and the like, the first image is identified by utilizing an image identification algorithm, so that the type of the touch tool is determined, and when the touch tool is a first tool (such as a finger), a first touch sensing channel is adopted to acquire first touch sensing data and a first driving parameter is adopted to drive the touch tool; when the touch tool is a second tool (such as a touch pen), acquiring second touch sensing data by adopting a second touch sensing channel, and driving by using second driving parameters; and when the touch tool is a third tool (such as other electrified conductors), acquiring third touch sensing data by adopting a third touch sensing channel, and driving by using a third driving parameter.
It should be noted that, when the touch tool has a function of communicating with the touch screen, authentication or verification may be performed by exchanging data therebetween to further determine the kind of the touch tool.
By adopting the technical scheme of the embodiment, the first image of the touch tool is acquired in real time, the first image is identified, and the type of the touch tool is determined; when the touch tool is a first tool, acquiring first touch sensing data by adopting a first touch sensing channel, and driving by using a first driving parameter; when the touch tool is a second tool, acquiring second touch sensing data by adopting a second touch sensing channel, and driving by using second driving parameters; and when the touch tool is a third tool, acquiring third touch sensing data by adopting a third touch sensing channel, and driving by using a third driving parameter. According to the scheme provided by the invention, different touch sensing channels can be adopted for different touch tools to acquire touch sensing data and drive the touch sensing data by corresponding driving parameters, so that the flexibility and accuracy of driving the touch screen are improved.
In some possible embodiments of the present invention, the touch driving method further includes:
Determining the number N of the touch tools in the working state;
n touch areas corresponding to N touch tools one by one on the touch screen are determined;
determining overlapping areas of the N touch areas;
dividing the touch screen into M sub-areas according to the overlapping area;
wherein N, M is a positive integer.
It can be appreciated that, in order to meet the requirement that a plurality of users perform touch operations on the same touch screen by using a plurality of touch tools within the same time period to increase the practicability of the touch screen, in the embodiment of the invention, the number N of the touch tools in a working state can be determined by a pre-trained image recognition algorithm; determining N touch areas corresponding to the N touch tools one by one on the touch screen, and if the minimum area comprising all the falling points of the touch tool a is defined as a corresponding touch area A; then, according to the coordinate values of the points included in the touch areas (a coordinate system can be established by taking the central point of the touch screen as the origin of coordinates and the coordinates of all points on the touch screen are determined), the overlapping areas of N touch areas can be calculated; finally, dividing the touch screen into M sub-areas according to the overlapping area; wherein N, M is a positive integer.
In some possible embodiments of the present invention, the touch driving method further includes:
determining a type of the touch implement operating within the overlap region;
driving the overlap region on the touch screen in such a manner that the first driving parameter and the second driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool and the second tool;
driving the overlap region on the touch screen in such a manner that the first driving parameter and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool and the third tool;
driving the overlap region on the touch screen in such a manner that the second driving parameter and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the second tool and the third tool;
when the touch tools operating in the overlapping region are the first tool, the second tool, and the third tool, the overlapping region on the touch screen is driven in such a manner that the first driving parameter, the second driving parameter, and the third driving parameter are alternately driven.
It will be appreciated that the touching tool operating within the overlap region may be the following: the first tool and the second tool, or the first tool and the third tool, or the second tool and the third tool, or the first tool, the second tool, and the third tool.
For determining the driving parameters in the overlapping area, the driving parameters corresponding to the currently operated touch tools can be alternately switched according to the sequence of the falling points of the touch tools, for example, when the touch tools operated in the overlapping area are the first tool, the second tool and the third tool, the overlapping area on the touch screen is driven in a mode that the first driving parameters, the second driving parameters and the third driving parameters are alternately driven, that is, when the currently operated touch tools are identified as the first tools operated, a first touch sensing channel is adopted to acquire first touch sensing data, and the first driving parameters are used for driving; when the current touch tool is a second tool, switching to a second touch sensing channel to acquire second touch sensing data, and driving by a second driving parameter; and when the current touch tool is a third tool, switching to a third touch sensing channel to acquire third touch sensing data, and driving by a third driving parameter. The current touch tool working in the overlapping area is the first tool and the second tool, or the first tool and the third tool, or the second tool and the third tool, and the touch sensing channel and the driving parameter may be switched according to the foregoing manner. According to the embodiment of the invention, the touch screen drive when a plurality of different touch tools work in the same area can be responded efficiently, and good user experience is brought.
In some possible embodiments of the present invention, the step of determining N touch areas on the touch screen corresponding to the N touch tools one to one includes:
recording the touch point T of each touch tool according to the touch sequence i,j Wherein i is [1, N ]]J is a positive integer;
with a touch point T of each of the touch tools i,j Determining each touch point T by taking preset numerical value as radius for circle center i,j Is arranged in the radiation area of the (a);
the radiation areas corresponding to the touch tools are communicated respectively, and the touch areas of the corresponding touch tools are obtained;
repeating the steps to obtain N touch areas.
It will be appreciated that in order to accurately determine the touch area of each touch implement so that the partitioning of the touch screen is accurate, in an embodiment of the present invention, all touch points T of each touch implement are first determined by i,j (drop points) are grouped by touch tool to obtain N touch point sets, and the touch point T of each touch tool is used for each touch point set i,j A circular area defined by a preset value as a radius (such as a coordinate value unit or a pixel point unit) is used as each touch point T i,j Is arranged in the radiation area of the (a); the radiation areas corresponding to the touch tools are respectively communicated, namely, a touch point set is adoptedThe method comprises the steps that radiating areas of all touch points in a touch point set are communicated in units, and corresponding touch areas of the touch tool are obtained; and repeating the steps until all the N touch point sets finish the steps, and obtaining N touch areas. It should be noted that, the radiation areas corresponding to each touch tool are respectively communicated, specifically: and deleting the radiation areas of which the distances between the circular centers exceed the preset distances (such as two coordinate value units or two pixel point units) for the radiation areas corresponding to each touch tool, and communicating the radiation areas of which the distances between the circular centers are within the preset distances.
In some possible embodiments of the present invention, the step of determining the overlapping area of the N touch areas includes:
calculating coordinate values of all points in the N touch areas;
determining overlapping repetition coordinate values;
determining the overlapping region according to the repeated coordinate values;
the step of dividing the touch screen into M sub-areas according to the overlapping area includes:
Dividing the overlapping area from N touch areas to obtain K independent areas;
the K individual regions and the overlapping region are formed into the M sub-regions.
It can be understood that in the embodiment of the present invention, the overlapping area may be accurately determined by setting up a coordinate system (for example, setting up the coordinate system with the center point of the touch screen as the origin of coordinates) and determining the coordinate values of all points on the touch screen, further calculating the coordinate values of all points in the N touch areas, determining overlapping repeated coordinate values, and determining the overlapping area according to the repeated coordinate values.
Further, dividing the overlapping area from N touch areas to obtain K independent areas, wherein K belongs to [0, N ]; the K individual regions and the overlapping region are formed into the M sub-regions. For the independent area, only one touch tool works, touch sensing data can be acquired by adopting a corresponding single touch sensing channel, and the touch sensing data is driven by corresponding driving parameters; and the above-mentioned mode is adopted for the above-mentioned overlapped region to make the switching of touch sensing channel and driving parameter. According to the embodiment of the invention, the touch screen area is divided into an independent area where only a single touch tool works and an overlapping area where a plurality of touch tools work according to different working touch tools, and corresponding driving modes are adopted for different areas, so that the flexibility and the accuracy of touch screen driving are improved.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, such as the above-described division of units, merely a division of logic functions, and there may be additional manners of dividing in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, including several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned method of the various embodiments of the present application. And the aforementioned memory includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, which may include: flash disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
The foregoing has outlined rather broadly the more detailed description of embodiments of the present application, wherein specific examples are provided herein to illustrate the principles and embodiments of the present application, the above examples being provided solely to assist in the understanding of the methods of the present application and the core ideas thereof; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.
Although the present invention is disclosed above, the present invention is not limited thereto. Variations and modifications, including combinations of the different functions and implementation steps, as well as embodiments of the software and hardware, may be readily apparent to those skilled in the art without departing from the spirit and scope of the invention.

Claims (2)

1. A multi-channel based touch drive system, comprising: the device comprises an image acquisition module, a processing module, a first driving control module, a second driving control module and a third driving control module; wherein, the liquid crystal display device comprises a liquid crystal display device,
the image acquisition module is used for acquiring a first image of the touch tool in real time;
the processing module is used for identifying the first image by utilizing an image identification algorithm and determining the type of the touch tool; the touch tool is also used for communicating with the touch screen device, and the type of the touch tool is further determined by exchanging data between the touch tool and the touch screen device for authentication or verification;
the first driving control module is used for acquiring first touch sensing data by adopting a first touch sensing channel when the touch tool is a first tool and driving the first touch sensing data by using a first driving parameter;
the second driving control module is used for acquiring second touch sensing data by adopting a second touch sensing channel when the touch tool is a second tool and driving the touch tool by using second driving parameters;
the third driving control module is configured to acquire third touch sensing data by using a third touch sensing channel when the touch tool is a third tool, and drive the touch tool with a third driving parameter;
The processing module is further configured to:
determining the number N of the touch tools in the working state;
n touch areas corresponding to N touch tools one by one on the touch screen are determined;
determining overlapping areas of the N touch areas;
dividing the touch screen into M sub-areas according to the overlapping area;
wherein N, M is a positive integer;
the processing module is further configured to:
determining a type of the touch implement operating within the overlap region;
driving the overlap region on the touch screen in such a manner that the first driving parameter and the second driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool and the second tool;
driving the overlap region on the touch screen in such a manner that the first driving parameter and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool and the third tool;
driving the overlap region on the touch screen in such a manner that the second driving parameter and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the second tool and the third tool;
Driving the overlap region on the touch screen in such a manner that the first driving parameter, the second driving parameter, and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool, the second tool, and the third tool;
in the step of determining N touch areas on the touch screen, the N touch areas are in one-to-one correspondence with the N touch tools, the processing module is configured to:
respectively recording touch points Ti and j of each touch tool according to the touch sequence, wherein i belongs to [1, N ], and j belongs to a positive integer;
determining a radiation area of each touch point Ti, j by taking the touch point Ti, j of each touch tool as a circle center and taking a preset numerical value as a radius;
the radiation areas corresponding to the touch tools are communicated respectively, and the touch areas of the corresponding touch tools are obtained;
repeating the steps to obtain N touch areas;
in the step of determining the overlapping areas of the N touch areas, the processing module is configured to:
calculating coordinate values of all points in the N touch areas;
determining overlapping repetition coordinate values;
determining the overlapping region according to the repeated coordinate values;
In the step of dividing the touch screen into M sub-areas according to the overlapping area, the processing module is configured to:
dividing the overlapping area from N touch areas to obtain K independent areas;
the K individual regions and the overlapping region are formed into the M sub-regions.
2. A multi-channel based touch driving method, the touch driving method comprising:
acquiring a first image of a touch tool in real time;
identifying the first image by using an image identification algorithm, and determining the type of the touch tool;
the touch tool is used for communicating with a touch screen device, and authentication or verification is carried out through data exchange between the touch tool and the touch screen device so as to further determine the type of the touch tool;
when the touch tool is a first tool, acquiring first touch sensing data by adopting a first touch sensing channel, and driving by using a first driving parameter;
when the touch tool is a second tool, acquiring second touch sensing data by adopting a second touch sensing channel, and driving by using second driving parameters;
when the touch tool is a third tool, acquiring third touch sensing data by adopting a third touch sensing channel, and driving by using a third driving parameter;
The touch driving method further includes:
determining the number N of the touch tools in the working state;
n touch areas corresponding to N touch tools one by one on the touch screen are determined;
determining overlapping areas of the N touch areas;
dividing the touch screen into M sub-areas according to the overlapping area;
wherein N, M is a positive integer;
the touch driving method further includes:
determining a type of the touch implement operating within the overlap region;
driving the overlap region on the touch screen in such a manner that the first driving parameter and the second driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool and the second tool;
driving the overlap region on the touch screen in such a manner that the first driving parameter and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool and the third tool;
driving the overlap region on the touch screen in such a manner that the second driving parameter and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the second tool and the third tool;
Driving the overlap region on the touch screen in such a manner that the first driving parameter, the second driving parameter, and the third driving parameter are alternately driven when the touch tool operating within the overlap region is the first tool, the second tool, and the third tool;
the step of determining N touch areas corresponding to the N touch tools on the touch screen one by one comprises the following steps:
respectively recording touch points Ti and j of each touch tool according to the touch sequence, wherein i belongs to [1, N ], and j belongs to a positive integer;
determining a radiation area of each touch point Ti, j by taking the touch point Ti, j of each touch tool as a circle center and taking a preset numerical value as a radius;
the radiation areas corresponding to the touch tools are communicated respectively, and the touch areas of the corresponding touch tools are obtained;
repeating the steps to obtain N touch areas;
the step of determining the overlapping areas of the N touch areas includes:
calculating coordinate values of all points in the N touch areas;
determining overlapping repetition coordinate values;
determining the overlapping region according to the repeated coordinate values;
the step of dividing the touch screen into M sub-areas according to the overlapping area includes:
Dividing the overlapping area from N touch areas to obtain K independent areas;
the K individual regions and the overlapping region are formed into the M sub-regions.
CN202210961310.4A 2022-08-10 2022-08-10 Touch driving system and method based on multiple channels Active CN115268699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210961310.4A CN115268699B (en) 2022-08-10 2022-08-10 Touch driving system and method based on multiple channels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210961310.4A CN115268699B (en) 2022-08-10 2022-08-10 Touch driving system and method based on multiple channels

Publications (2)

Publication Number Publication Date
CN115268699A CN115268699A (en) 2022-11-01
CN115268699B true CN115268699B (en) 2023-06-13

Family

ID=83750641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210961310.4A Active CN115268699B (en) 2022-08-10 2022-08-10 Touch driving system and method based on multiple channels

Country Status (1)

Country Link
CN (1) CN115268699B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163108A (en) * 2011-04-26 2011-08-24 广东威创视讯科技股份有限公司 Method and device for identifying multiple touch points
CN103207718A (en) * 2013-03-18 2013-07-17 敦泰科技有限公司 Mutual capacitance touch screen and touch sensing method thereof
CN103246397A (en) * 2013-04-23 2013-08-14 敦泰科技有限公司 Touch sensing method, touch sensing microprocessor and touch liquid-crystal display device
CN103793113A (en) * 2014-03-10 2014-05-14 航天海鹰光电信息技术(天津)有限公司 Imaging locating method of optical touch module and optical touch control equipment
CN113632054A (en) * 2019-04-10 2021-11-09 希迪普公司 Touch device and touch detection method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI662460B (en) * 2018-07-18 2019-06-11 義隆電子股份有限公司 Method of changing identified type of touch object

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163108A (en) * 2011-04-26 2011-08-24 广东威创视讯科技股份有限公司 Method and device for identifying multiple touch points
CN103207718A (en) * 2013-03-18 2013-07-17 敦泰科技有限公司 Mutual capacitance touch screen and touch sensing method thereof
CN103246397A (en) * 2013-04-23 2013-08-14 敦泰科技有限公司 Touch sensing method, touch sensing microprocessor and touch liquid-crystal display device
CN103793113A (en) * 2014-03-10 2014-05-14 航天海鹰光电信息技术(天津)有限公司 Imaging locating method of optical touch module and optical touch control equipment
CN113632054A (en) * 2019-04-10 2021-11-09 希迪普公司 Touch device and touch detection method thereof

Also Published As

Publication number Publication date
CN115268699A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN109445600B (en) Haptic feedback method, haptic feedback device, haptic feedback terminal, and computer-readable storage medium
CN105867821A (en) Icon arranging method and device and terminal
CN101910989B (en) A hand-held device and method for operating a single pointer touch sensitive user interface
EP3404518A1 (en) Touch point positioning method and apparatus, and terminal device
CN107678641A (en) A kind of method and mobile terminal into target display interface
CN105243345A (en) Accidental touch preventing method for electronic equipment and electronic equipment
CN102214039A (en) Multi-mode prosthetic device to facilitate multi-state touch screen detection
CN105138170A (en) Theme determination method and terminal
CN108762604A (en) A kind of display methods, device and electronic equipment
CN105183217B (en) Touch control display device and touch control display method
CN103294175A (en) Electronic device and method for electronic device to automatically switch input modes
CN105589588A (en) Touch system, touch pen, touch device and control method thereof
CN105912149A (en) Mouse pointer control method, control device and terminal
CN104020989B (en) Control method and system based on remote application
CN107329687A (en) The display methods and mobile terminal of a kind of virtual input keyboard
CN104978074A (en) Formula input method and apparatus
CN107329586A (en) A kind of data inputting method, mobile terminal and computer-readable recording medium
CN115268699B (en) Touch driving system and method based on multiple channels
CN109164950A (en) A kind of mobile terminal system interface setting method, device, medium and equipment
CN109284060A (en) Display control method and relevant apparatus
CN106020712B (en) Touch gesture recognition method and device
CN110799987B (en) Active object recognition method, object recognition device and object recognition system
CN107765900A (en) A kind of smart pen, the control method of smart pen, device, equipment and storage medium
CN103309434A (en) Instruction identification method and electronic equipment
CN107272989B (en) Using starting method, apparatus and terminal device

Legal Events

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