CN117435076A - Sliding signal identification method, sliding signal detection device and electronic equipment - Google Patents

Sliding signal identification method, sliding signal detection device and electronic equipment Download PDF

Info

Publication number
CN117435076A
CN117435076A CN202311381823.9A CN202311381823A CN117435076A CN 117435076 A CN117435076 A CN 117435076A CN 202311381823 A CN202311381823 A CN 202311381823A CN 117435076 A CN117435076 A CN 117435076A
Authority
CN
China
Prior art keywords
signal
sliding
event
triggered
capacitance detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311381823.9A
Other languages
Chinese (zh)
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.)
Zhuhai Spacetouch Ltd
Original Assignee
Zhuhai Spacetouch 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 Zhuhai Spacetouch Ltd filed Critical Zhuhai Spacetouch Ltd
Priority to CN202311381823.9A priority Critical patent/CN117435076A/en
Publication of CN117435076A publication Critical patent/CN117435076A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electronic Switches (AREA)

Abstract

The invention discloses a sliding signal identification method, a detection device and electronic equipment, wherein the identification method comprises the following steps: scanning each capacitance detection electrode on the capacitance detection array; responding to a trigger signal of the capacitance detection array, recording a channel sequence number corresponding to a triggered capacitance detection electrode, and obtaining a first channel sequence number; performing weighted coordinate conversion according to the first channel serial number, and determining a starting point coordinate and an end point coordinate; determining a first distance value according to the starting point coordinate and the end point coordinate, wherein the first distance value is used for representing the triggered distance of the capacitor detection array; and outputting a touch event according to the first distance value and a preset sliding distance threshold value, wherein the touch event comprises a sliding event or a pressing event. The invention effectively detects the sliding signal, accurately identifies the touch position, has short identification distance, high identification speed and high identification accuracy, combines multiple detection records, reduces false alarm touch events and provides better user operation experience.

Description

Sliding signal identification method, sliding signal detection device and electronic equipment
Technical Field
The invention relates to the technical field of capacitive sensors, in particular to a sliding signal identification method, a detection device and electronic equipment.
Background
At present, touch sensing is widely applied to man-machine interaction of electronic products, and the difficulty of touch sensing processing is balance between touch precision and sensitivity, namely, enough sensitivity is required to be provided on the premise of ensuring accurate touch so as to meet the operation requirement of users.
The general judging method of the sliding signal is to record the initial contact position and the departure position of the finger of the user and judge whether the sliding event is triggered or not and the sliding direction according to the two position information. The current general discrimination method has the following problems: the sliding response speed is low, the touch event is easily interfered and misreported, and the recognition accuracy is low; and cannot be flexibly applied to various touch sliding scenes.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides the sliding signal identification method, which can reduce false alarm touch events, has high identification speed and high identification accuracy and improves the user experience effect.
The embodiment of the invention provides a sliding signal identification method, which comprises the following steps:
scanning each capacitance detection electrode on the capacitance detection array;
responding to a trigger signal of the capacitance detection array, recording a channel sequence number corresponding to the triggered capacitance detection electrode, and obtaining a first channel sequence number;
performing weighted coordinate conversion according to the first channel serial number, and determining a starting point coordinate and an end point coordinate, wherein the starting point coordinate is used for representing a starting position of the triggered capacitive detection array, and the end point coordinate is used for representing an ending position of the triggered capacitive detection array;
determining a first distance value according to the starting point coordinate and the ending point coordinate, wherein the first distance value is used for representing the triggered distance of the capacitance detection array;
and outputting a touch event according to the first distance value and a preset sliding distance threshold value, wherein the touch event comprises a sliding event or a pressing event.
Compared with the prior general sliding judgment method, the embodiment of the invention has the advantages that the accurate touch position is marked, and the detection efficiency is faster; the problems of low recognition accuracy and low recognition speed of sliding touch can be solved, false alarm is reduced, and user experience effect is improved.
According to some embodiments of the invention, the performing weighted coordinate transformation according to the channel number to determine the start point coordinate and the end point coordinate includes:
summing the first channel sequence numbers in the target direction to determine a first sequence number and a value;
determining a first sequence number weight value according to the first sequence number sum value and a preset weight minimum stepping value;
summing all triggered channel numbers in the target direction to determine channel number and value;
and determining the starting point coordinates and the ending point coordinates according to the first sequence number weight value and the channel quantity sum value.
According to some embodiments of the invention, the recording, in response to a trigger signal of the capacitance detection array, a channel number corresponding to the triggered capacitance detection electrode, to obtain a first channel number, includes:
and responding to the triggering signal of the capacitance detection array, buffering a preset time interval, and recording the channel sequence number corresponding to the triggered capacitance detection electrode to obtain a first channel sequence number.
According to some embodiments of the invention, the sliding distance threshold is half the capacitance detection electrode width value, and the step of the touch event including a sliding event or a click event includes:
and outputting a touch event according to the first distance value and the sliding distance threshold which are half of the width value of the capacitance detection electrode, wherein the touch event comprises a sliding event or a pressing event.
According to some embodiments of the present invention, a first detection signal is determined according to the first distance value and a preset sliding distance threshold value, where the first detection signal is used to characterize a trigger sliding signal state;
outputting a slip event if the first detection signal characterizes a triggered slip signal.
According to some embodiments of the present invention, a first detection signal is determined according to the first distance value and a preset sliding distance threshold value, where the first detection signal is used to characterize a trigger sliding signal state;
in case the first detection signal characterizes an un-triggered sliding signal, it is recorded as a first click event.
According to some embodiments of the invention, after the recording as the first click event, further comprising:
determining a second detection signal according to the touch duration and a preset touch time threshold, wherein the second detection signal is used for representing the state of the trigger long-press signal;
and outputting a long-press event under the condition that the second detection signal represents the triggered long-press signal.
According to some embodiments of the invention, a trigger click signal is output if the second detection signal characterizes an untriggered long click signal and the first click event already exists;
responding to the trigger press signal, comparing the trigger interval time of the two presses with a preset click interval threshold value to obtain a trigger double-click signal state;
and determining the state of the trigger double-click signal as a triggered double-click signal, and outputting a double-click event.
According to an embodiment of the present invention, a sliding signal detection apparatus includes:
the scanning module scans each capacitance detection electrode on the capacitance detection array;
the recording module is used for responding to the triggering signal of the capacitance detection array and recording the channel serial number corresponding to the triggered capacitance detection electrode to obtain a first channel serial number;
the first determining module is used for carrying out weighted coordinate conversion according to the first channel serial number to determine a starting point coordinate and an end point coordinate, wherein the starting point coordinate is used for representing a starting position of the triggered capacitive detection array, and the end point coordinate is used for representing an ending position of the triggered capacitive detection array;
the second determining module is used for determining a first distance value according to the starting point coordinate and the ending point coordinate, wherein the first distance value is used for representing the triggered distance of the capacitance detection array;
and the output module is used for outputting a touch event according to the first distance value and a preset sliding distance threshold value, wherein the touch event comprises a sliding event or a pressing event.
The embodiment of the invention has at least the following beneficial effects:
according to the electronic equipment provided by the embodiment of the invention, the touch position is converted into the weight coordinate, the more accurate position is obtained, the sliding event is judged by multi-period comprehensive processing, the logic processing is performed according to the touch time, the recognition distance is short, the recognition speed is high, the external interference is not easy to occur, the recognition accuracy is high, the multiple detection records are processed in a combined way, the false alarm of the touch event is reduced, and better user operation experience is provided.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
FIG. 1 is a flow chart showing the main steps of a sliding signal identifying method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a step of outputting a touch event in a sliding signal recognition method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a capacitive sensing chip and a rectangular touch sensing area according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a capacitive sensing chip and a touch sensing area with a circular structure according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a detection device according to an embodiment of the invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
In the description of the present invention, it should be understood that references to orientation descriptions such as upper, lower, front, rear, left, right, etc. are based on the orientation or positional relationship shown in the drawings, are merely for convenience of description of the present invention and to simplify the description, and do not indicate or imply that the apparatus or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the present invention.
In the description of the present invention, the meaning of "a number" means one or more, the meaning of "a plurality" means two or more, and greater than, less than, exceeding, etc. are understood to not include the present number, and "above", "below", "within", etc. are understood to include the present number. If any, the terms "first," "second," etc. are used for distinguishing between technical features only, and should not be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless explicitly defined otherwise, terms such as "disposed," "connected," and the like should be construed broadly, and those skilled in the art can reasonably ascertain the specific meaning of the terms in the present invention in connection with the specific contents of the technical proposal.
When the sliding signal is identified, a special capacitance detection chip is needed, and the capacitance detection chip comprises a capacitance detection scanning circuit, a special digital signal processing unit, a general microprocessor and a memory; and connecting the capacitance detection electrodes contained in the X-axis direction and the Y-axis direction with detection channel pins of the capacitance detection chip.
On the PCB layout of a circular touch pad, the conventional design is to inscribe a rectangle on the circular PCB, and the arc part of the edge is a blank area; for example, a touch pad of a headset is generally circular, and if a touch area with a rectangular structure is adopted, when touching an arc edge area of the touch pad, the touch pad will not respond, so that the user experience is poor. In the embodiment of the invention, the conventional matrix corner cutting is adopted in the middle of the circular PCB, and the difference is that the capacitance detection electrodes are added in the upper, lower, left and right arc edge areas to assist sliding identification, so that the whole PCB layout has no blank area.
In the prior general algorithm, when the sliding is performed for about 1s for three times, the sliding data will be obviously reduced in a 10ms scanning period, and even if the detection capacitance data of the individual detection channels are not enough to rise to the threshold value, the touch behavior cannot be triggered, and the supported sliding speed is slow. The supported sliding speed can be increased by reducing the scanning period; however, the reduction of the scanning period brings new problems that the contact area is changed from small to large in the pressing process due to the fact that the touch area of the finger is sometimes larger, and the pressing signal is easy to misjudge as a sliding signal; when the scanning period is increased to 5ms, the trigger time difference from touching to the full depression of the finger is amplified.
According to the embodiment of the invention, the coordinate weight is given to each trigger channel, the coordinate weights are accumulated, and then all the trigger channels are weighted and calculated, so that the coordinate precision is improved, and the difference problem of coordinate judgment in different sliding directions is eliminated. In particular, in order to achieve faster recognition, the scan period is selected to be reduced, the scan waveform is calculated and actually measured to ensure that the whole scan process is error-free, and a partial margin is left, so that a faster sliding event is adjusted and supported from the signal. In the logic processing, coordinates cannot be triggered in sequence during high-speed sliding, and more are triggered in a jump mode; therefore, when the coordinates are changed in a moving way, if the jump trigger value of the coordinates is smaller than a definite change threshold value, the coordinates are considered to be valid, and the jump trigger value of the coordinates is updated to the coordinates of the end point. When a large area is pressed, false touch is caused by inconsistent channel triggering and data growth speed; to avoid such situations, the debounce process is performed on the touch events, with multiple events being processed in combination. The processing mode provides an interface which can balance the sliding speed and the false touch rate, can effectively improve the recognition speed and reduce the false touch rate.
Referring to fig. 1, an embodiment of the invention discloses a sliding signal identification method, which mainly includes steps S101 to S105.
S101, each capacitance detection electrode 111 on the capacitance detection array is scanned.
Specifically, referring to fig. 3 and fig. 4, the capacitance detection electrodes 111 are disposed in the touch sensing area 100, and when the touch sensing area 100 has a rectangular structure, the capacitance detection electrodes 111 are arranged in a matrix; when the touch sensing area 100 has a circular structure or an elliptical structure, for example, the touch sensing area 100 has a circular structure, the touch sensing area 100 is divided into 4 edge touch areas 121, and the capacitance detection electrodes 111 are disposed in the edge touch areas 121.
Each capacitance detection electrode 111 is sequentially scanned in order of the serial number of the capacitance detection channel 112, thereby obtaining the self-capacitance variation amount of each capacitance detection electrode 111. When power is on, each capacitance detection channel 112 can acquire a reference value in the current state, the capacitance detection chip 200 can store the reference value into a corresponding register, and the corresponding register is read in the subsequent process, so that the reference value of each capacitance detection channel 112 is loaded, and the condition of losing a touch event is avoided.
S102, responding to a trigger signal of the capacitance detection array, recording a channel sequence number corresponding to the triggered capacitance detection electrode, and obtaining a first channel sequence number.
Specifically, in response to a trigger signal of the capacitance detection array, a preset time interval is buffered, a channel sequence number corresponding to a triggered capacitance detection electrode is recorded, and a first channel sequence number is obtained. The preset time interval is twice or three times of the scanning period; namely, when the capacitance detection chip 200 scans that the touch sensing area 100 is touched, timing is started, and touch capacitance data is acquired after a preset time interval, so as to eliminate data jitter when a finger is pressed. The scanning period is set with different values in different states and is divided into a touch state and a dormant state; when the touch screen is in a touch state, the scanning period is 5-8 ms, for example, 5ms, 6ms, 7ms or 8ms; when in the sleep state, the scanning period is 8-10 ms, for example, 8ms, 9ms or 10ms.
The first channel sequence number may include a plurality of sequence numbers, such as sequence number 1, sequence number 2, sequence number 3, and the like. And after filtering and anti-interference processing are carried out on the obtained capacitance data, recording the processed capacitance data for subsequent comparison to obtain capacitance variation. When the capacitance variation is larger than the capacitance threshold for the first time, the touch is started; if the capacitance change is equal to or less than the capacitance threshold, the touch is stopped, i.e., the finger is away from the touch-sensitive area 100.
S103, carrying out weighted coordinate conversion according to the serial number of the first channel, and determining a starting point coordinate and an end point coordinate, wherein the starting point coordinate is used for representing the starting position of the triggered capacitive detection array, and the end point coordinate is used for representing the ending position of the triggered capacitive detection array;
the weighted coordinate transformation calculation method is as follows:
recording channel serial numbers of all triggered capacitance detection channels 112 on the X axis in the horizontal direction, calculating the sum of the channel serial numbers, multiplying the sum by a preset weight minimum STEP value (STEP), and dividing the sum by the number of the triggered channels to obtain weight coordinates in the X axis direction; calculating to obtain a weight coordinate in the Y-axis direction by adopting the same method;
the coordinate value calculation formula is:
wherein q is the channel number +1 of the trigger (the coordinate calculated value is 0 when the trigger channel number is avoided to be only 0), p is all the channels of the trigger, wherein n is all the channels in the vector direction; STEP is the least common multiple of all channel numbers in the vector direction.
And S104, determining a first distance value according to the starting point coordinate and the end point coordinate, wherein the first distance value is used for representing the triggered distance of the capacitance detection array.
S105, outputting a touch event according to the first distance value and a preset sliding distance threshold value, wherein the touch event comprises a sliding event or a pressing event.
Specifically, the sliding distance threshold is half of the width of the capacitance detection electrode 111, and is related to the area size of the single capacitance detection electrode 111, and is independent of the whole touch sensing area 100, and the recognition distance is short. The click event is subdivided into a long click event, a double click event, and a single click event.
Referring to fig. 2, when the touch event is output in the step S105, the method for identifying a sliding signal according to the embodiment of the present application includes the following steps:
s106, determining a first detection signal according to the first distance value and a preset sliding distance threshold value, wherein the first detection signal is used for representing the state of the triggering sliding signal; in the case that the first detection signal characterizes the triggered slip signal, a slip event is output. Wherein, the sliding direction is judged by the distance between the horizontal direction X and the vertical direction Y.
S107, determining a first detection signal according to the first distance value and a preset sliding distance threshold value, wherein the first detection signal is used for representing a trigger sliding signal state; in case the first detection signal characterizes an un-triggered sliding signal, it is recorded as a first click event.
Specifically, according to usage logic, after the sliding event is generated, the multiple pressing event is not responded any more. When the distance between the start point coordinate and the end point coordinate is smaller than the sliding distance threshold, namely, no sliding event is generated, the first pressing event is recorded.
S108, determining a second detection signal according to the touch duration and a preset touch time threshold, wherein the second detection signal is used for representing the state of the trigger long-press signal; and outputting a long-press event under the condition that the second detection signal represents that the long-press signal is triggered, namely the touch duration is larger than the touch time threshold.
S109, outputting a trigger press signal when the second detection signal represents an untriggered long press signal and the first press event exists; and responding to the trigger press signal, and comparing the trigger interval time of the two presses with a preset click interval threshold value to obtain a trigger double-click signal state.
S110, determining that the state of the trigger double-click signal is the triggered double-click signal, namely, the trigger interval time is larger than the click interval threshold value, and outputting a double-click event; otherwise, outputting a clicking event.
After the touch event is output, the recorded capacitance data and coordinate data are cleared.
The sliding signal detection device of the embodiment of the invention comprises:
a scanning module 301 that scans each capacitance detection electrode on the capacitance detection array;
the recording module 302 is used for responding to the trigger signal of the capacitance detection array and recording the channel serial number corresponding to the triggered capacitance detection electrode to obtain a first channel serial number;
the first determining module 303 performs weighted coordinate conversion according to the first channel serial number, and determines a start point coordinate and an end point coordinate, where the start point coordinate is used for representing a start position where the capacitive detection array is triggered, and the end point coordinate is used for representing an end position where the capacitive detection array is triggered;
the second determining module 304 determines a first distance value according to the start point coordinate and the end point coordinate, where the first distance value is used to characterize the triggered distance of the capacitive detection array;
the output module 305 outputs a touch event according to the first distance value and a preset sliding distance threshold, where the touch event includes a sliding event or a pressing event.
The electronic device of the embodiment of the invention includes a capacitance detection chip 200 and a capacitance detection array, the capacitance detection array is provided with a touch sensing area 100 thereon, and a program is stored in a memory of the capacitance detection chip 200, and the program is used for executing the sliding signal identification method provided in the above embodiment.
The technical idea of the present invention will be explained with a specific example with reference to fig. 1 to 5. It should be noted that the following examples are for understanding only and are not intended to be specific limitations on the inventive concepts.
All capacitance detection electrodes 111 in the X, Y axis direction in the touch sensing area 100 are connected using a dedicated capacitance detection chip;
the internal scanning circuit of the capacitance detection chip 200 starts scanning the capacitance detection electrode 111;
in the process of finger sliding touch, recording triggered capacitance data, and carrying out data processing such as filtering, anti-interference and the like on the acquired capacitance variation;
the starting point coordinates and the end point coordinates are calculated in a weighting mode through the channel serial numbers of the triggered capacitance detection channels;
judging a touch event by multi-period comprehensive processing according to the sliding distance and a preset sliding distance threshold value;
performing logic processing according to the touch time, and recording a touch event;
and according to the logic processing and the output sliding event or the pressing event, obtaining a reasonable result conforming to the use habit of the user.
In the overall processing flow, touch signal data is first processed. The touch data signal is normally distributed and curved when the finger presses the touch sensing area, but the circuit has internal and external noise, so that data noise processing needs to be performed once through a threshold value; and secondly, mutual exclusion logic of two different events. The finger pressing data has fluctuation, the fluctuation of the data is introduced into algorithm calculation, jitter of calculated coordinates is caused, and an error result appears in the flow of quick judgment processing, so that a minimum sliding distance is required to be set as a critical area, namely a sliding distance threshold value in a mutual exclusion logic, and specific events are judged according to absolute differences of starting coordinates and end coordinates in the horizontal direction and the vertical direction. To achieve fast response event reporting, the sliding distance threshold is half the distance of a single capacitive detection electrode on the touch sensitive layer. In the above exclusive logic, there are various touch situations including multi-area touch multi-tap, large-area coverage touch multi-tap, and the like, in addition to processing of data types. In order to respond to various touch multi-tap modes, logic processing of a channel trigger class is added in addition to processing of a data coordinate class. Under the multi-touch of different types, the time length and the interval of each touch are used as judging time, and the response condition is met to immediately process the reporting touch event.
By using the identification method, the detection and the treatment of finger sliding can be effectively performed; the false determination of the sliding can be reduced, and the finger pressing can be effectively detected. Through some upper logic processing, the basic sliding and pressing signals are processed into high-level events such as sliding up, sliding down, sliding left, sliding right, clicking, double clicking, long pressing and the like, and corresponding actions are executed.
According to the electronic equipment provided by the embodiment of the invention, the sliding signal identification method is adopted to convert the touch position into the weight coordinate, so that a more accurate position is obtained, the sliding event is judged through multi-period comprehensive processing, the logic processing is carried out according to the touch time, the touch event is recorded, the output of the sliding event and the touch event is effectively processed, and a reasonable result conforming to the use habit of a user is obtained; the method is not easy to be interfered by the outside, the multiple results are processed in a combined way, the tiny time difference existing in the rising and falling of the capacitance data of different channels when large-area contact is eliminated, and the false alarm touch event is reduced; the touch sensing area is not limited to a rectangular structural layout, and can adopt a circular structure or an elliptical structural layout, so that more hardware space structures are compatible; the recognition distance is short, the recognition speed is high, the recognition accuracy is high, and better user operation experience is provided.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present invention.

Claims (10)

1. A sliding signal identification method, comprising:
scanning each capacitance detection electrode on the capacitance detection array;
responding to a trigger signal of the capacitance detection array, recording a channel sequence number corresponding to the triggered capacitance detection electrode, and obtaining a first channel sequence number;
performing weighted coordinate conversion according to the first channel serial number, and determining a starting point coordinate and an end point coordinate, wherein the starting point coordinate is used for representing a starting position of the triggered capacitive detection array, and the end point coordinate is used for representing an ending position of the triggered capacitive detection array;
determining a first distance value according to the starting point coordinate and the ending point coordinate, wherein the first distance value is used for representing the triggered distance of the capacitance detection array;
and outputting a touch event according to the first distance value and a preset sliding distance threshold value, wherein the touch event comprises a sliding event or a pressing event.
2. The sliding signal identifying method according to claim 1, wherein the determining the start point coordinates and the end point coordinates by performing weighted coordinate conversion according to the first channel number comprises:
summing the first channel sequence numbers in the target direction to determine a first sequence number and a value;
determining a first sequence number weight value according to the first sequence number sum value and a preset weight minimum stepping value;
summing all triggered channel numbers in the target direction to determine channel number and value;
and determining the starting point coordinates and the ending point coordinates according to the first sequence number weight value and the channel quantity sum value.
3. The method for identifying a sliding signal according to claim 1, wherein the recording the channel number corresponding to the triggered capacitance detection electrode in response to the trigger signal of the capacitance detection array, to obtain the first channel number, includes:
and responding to the triggering signal of the capacitance detection array, buffering a preset time interval, and recording the channel sequence number corresponding to the triggered capacitance detection electrode to obtain a first channel sequence number.
4. The method of claim 1, wherein the sliding distance threshold is half the capacitance detection electrode width value, and the step of the touch event including a sliding event or a click event includes:
and outputting a touch event according to the first distance value and the sliding distance threshold which are half of the width value of the capacitance detection electrode, wherein the touch event comprises a sliding event or a pressing event.
5. The sliding signal identifying method according to claim 4, further comprising:
determining a first detection signal according to the first distance value and a preset sliding distance threshold value, wherein the first detection signal is used for representing the state of a triggering sliding signal;
outputting a slip event if the first detection signal characterizes a triggered slip signal.
6. The sliding signal identifying method according to claim 4, further comprising:
determining a first detection signal according to the first distance value and a preset sliding distance threshold value, wherein the first detection signal is used for representing the state of a triggering sliding signal;
in case the first detection signal characterizes an un-triggered sliding signal, it is recorded as a first click event.
7. The method of claim 6, wherein after the recording as the first click event, further comprising:
determining a second detection signal according to the touch duration and a preset touch time threshold, wherein the second detection signal is used for representing the state of the trigger long-press signal;
and outputting a long-press event under the condition that the second detection signal represents the triggered long-press signal.
8. The sliding signal identifying method according to claim 7, comprising:
outputting a trigger click signal if the second detection signal characterizes an untriggered long click signal and the first click event already exists;
responding to the trigger press signal, comparing the trigger interval time of the two presses with a preset click interval threshold value to obtain a trigger double-click signal state;
and determining the state of the trigger double-click signal as a triggered double-click signal, and outputting a double-click event.
9. A sliding signal detecting apparatus, comprising:
the scanning module scans each capacitance detection electrode on the capacitance detection array;
the recording module is used for responding to the triggering signal of the capacitance detection array and recording the channel serial number corresponding to the triggered capacitance detection electrode to obtain a first channel serial number;
the first determining module is used for carrying out weighted coordinate conversion according to the first channel serial number to determine a starting point coordinate and an end point coordinate, wherein the starting point coordinate is used for representing a starting position of the triggered capacitive detection array, and the end point coordinate is used for representing an ending position of the triggered capacitive detection array;
the second determining module is used for determining a first distance value according to the starting point coordinate and the ending point coordinate, wherein the first distance value is used for representing the triggered distance of the capacitance detection array;
and the output module is used for outputting a touch event according to the first distance value and a preset sliding distance threshold value, wherein the touch event comprises a sliding event or a pressing event.
10. An electronic device comprising a capacitance detection chip for performing the sliding signal recognition method according to any one of claims 1 to 8, and a capacitance detection array.
CN202311381823.9A 2023-10-24 2023-10-24 Sliding signal identification method, sliding signal detection device and electronic equipment Pending CN117435076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311381823.9A CN117435076A (en) 2023-10-24 2023-10-24 Sliding signal identification method, sliding signal detection device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311381823.9A CN117435076A (en) 2023-10-24 2023-10-24 Sliding signal identification method, sliding signal detection device and electronic equipment

Publications (1)

Publication Number Publication Date
CN117435076A true CN117435076A (en) 2024-01-23

Family

ID=89545507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311381823.9A Pending CN117435076A (en) 2023-10-24 2023-10-24 Sliding signal identification method, sliding signal detection device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117435076A (en)

Similar Documents

Publication Publication Date Title
US10031621B2 (en) Hover and touch detection for a digitizer
US20190179485A1 (en) Method and device for preventing false-touch on touch screen, mobile terminal and storage medium
CN101689091B (en) Method and device for distinguishing sloppy taps from sliding motions on touch sensor panel
EP2232355B1 (en) Multi-point detection on a single-point detection digitizer
US5825352A (en) Multiple fingers contact sensing method for emulating mouse buttons and mouse operations on a touch sensor pad
US20130328828A1 (en) Glove touch detection for touch devices
US8643621B2 (en) Touch-sensitive user interface
EP0690368A2 (en) A pen-based computer system
US20090284495A1 (en) Systems and methods for assessing locations of multiple touch inputs
CN104699288A (en) Electronic device and noise detection and operation mode setting method thereof
CN101080689A (en) Methods and systems for detecting noise in a position sensor using minor shifts in sensing frequency
US8743061B2 (en) Touch sensing method and electronic device
CN101943968A (en) Sensitivity control as a function of touch shape
JP2011519458A (en) Multi-touch detection
CN107357458B (en) Touch key response method and device, storage medium and mobile terminal
CN102999291A (en) Method for waking up mobile terminal in standby state
CN107463290A (en) Response control mehtod, device, storage medium and the mobile terminal of touch operation
CN106681636A (en) Method and device capable of preventing wrong touch, and mobile terminal
CN113360027A (en) False touch prevention method, wearable device and storage medium
JP2000357046A (en) Handwriting input device and computer readable recording medium recording handwriting input program
US20120127120A1 (en) Touch device and touch position locating method thereof
CN117435076A (en) Sliding signal identification method, sliding signal detection device and electronic equipment
US8600688B2 (en) Geometrically based button discrimination in capacitive sensing applications
CN105159555A (en) User equipment control method and user equipment
US9507454B1 (en) Enhanced linearity of gestures on a touch-sensitive surface

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