CN106020579B - A kind of touch localization method and terminal - Google Patents
A kind of touch localization method and terminal Download PDFInfo
- Publication number
- CN106020579B CN106020579B CN201610308323.6A CN201610308323A CN106020579B CN 106020579 B CN106020579 B CN 106020579B CN 201610308323 A CN201610308323 A CN 201610308323A CN 106020579 B CN106020579 B CN 106020579B
- Authority
- CN
- China
- Prior art keywords
- touch signal
- coordinate
- touch
- mode
- column
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of touch localization method and terminals, and wherein method includes: to obtain the mode of operation of terminal current page;Touch signal detection mode is determined according to mode of operation, wherein different modes of operation corresponds to different touch signal detection modes;Corresponding touch signal is obtained according to determining touch signal detection mode;It is positioned according to the touch signal of acquisition.The embodiment of the present invention determines suitable touch signal detection mode by the different mode of operation of terminal current page to be positioned.
Description
Technical field
The present invention relates to touching technique field more particularly to a kind of touch localization method and terminals.
Background technique
Present touch screen has become the standard configuration of smart phone because of its excellent operating experience.It is typical to touch
Screen, consists of three parts as the working portion of electric resistance touch screen: between two layers of transparent resistive conductor layer, two layers of conductor
Separation layer, electrode.When electric resistance touch screen works, upper lower conductor layer is equivalent to resistor network.When a certain layer electrode adds voltage,
Voltage gradient can be formed on that network.Make upper layer and lower layer in a certain point contact if any external force, is then not powered on pressure in electrode
Another layer can measure the voltage at contact point, to know the coordinate at contact point.For example, in the electrode (X+, X-) of top layer
It is upper to add voltage, then voltage gradient is formed on top conductors layer, when there is external force to make upper layer and lower layer in a certain point contact, the bottom of at
Layer can measure the voltage at contact point, further according to the distance between the voltage and electrode (X+) relationship, it is known that the X at this is sat
Mark.Then, voltage is switched on bottom electrode (Y+, Y-), and the voltage at top layer measurement contact point, to know that Y is sat
Mark.
Present this terminal of touch screen constantly scans the electrode and all column of all rows generally according to certain frequency
Electrode can just obtain by the X-coordinate and Y-coordinate of touch location, to complete to position.
Summary of the invention
The embodiment of the present invention provides a kind of touch localization method and terminal, can select phase according to the different mode of operation of user
The touch signal detection mode of adaptation is positioned.
In a first aspect, the embodiment of the invention provides a kind of touch localization methods, this method comprises:
Obtain the mode of operation of terminal current page;
Touch signal detection mode is determined according to mode of operation, wherein different modes of operation corresponds to different touches
Signal detecting mode;
Corresponding touch signal is obtained according to determining touch signal detection mode;
It is positioned according to the touch signal of acquisition.
On the other hand, the embodiment of the invention provides a kind of terminal, the terminal includes:
Information acquisition unit, for obtaining the mode of operation of terminal current page;
Detection mode determination unit, for determining touch signal detection mode according to mode of operation, wherein different behaviour
The mode of work corresponds to different touch signal detection modes;
Signal acquiring unit, for obtaining corresponding touch signal according to determining touch signal detection mode;
Computing unit, for being positioned according to the touch signal of acquisition.
The embodiment of the present invention determines touch signal according to mode of operation by the mode of operation of acquisition terminal current page
Detection mode obtains corresponding touch signal according to determining touch signal detection mode, is carried out according to the touch signal of acquisition
Positioning, adaptable touch signal detection mode can be selected according to the mode of operation of current page to be positioned, cleverer
It is living.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic flow diagram of touch localization method provided in an embodiment of the present invention.
Fig. 2 is the schematic flow diagram of step S11 in Fig. 1;
Fig. 3 is a kind of schematic diagram of hidden page provided in an embodiment of the present invention;
Fig. 4 a is a kind of schematic diagram of full screen scanning mode provided in an embodiment of the present invention;
Fig. 4 b is a kind of schematic diagram provided in an embodiment of the present invention for needing to scan Y electrode;
Fig. 4 c is another schematic diagram provided in an embodiment of the present invention for needing to scan Y electrode;
Fig. 5 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 6 be another embodiment of the present invention provides a kind of terminal schematic block diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded
Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that referring in description of the invention to term "and/or" used in the appended claims related
Join any combination and all possible combinations of one or more of item listed, and including these combinations.
Fig. 1 is a kind of schematic flow diagram of touch localization method.This method is run in the terminal device with touch screen,
Such as smart phone, tablet computer.This method comprises the following steps.
Step S11 obtains the mode of operation of terminal current page.Wherein, current page includes to be shown in display screen
On the display page, and be not explicitly shown display screen on hidden page.As shown in figure 3, hidden page is shown currently
Show the lower section of the page.As shown in Figure 3, hidden page is a part of the full page page, and in addition hidden page is also possible to separately
The completely new column risen.Such as the page of wechat, QQ are only able to display address list, message page etc. every time, when display is logical
When letter record, message page is exactly a hidden page;Conversely, when showing message page, the address list page is exactly
Hidden page.Hidden page is also possible to the jump page of clickthrough entrance.Mode of operation is that can show hidden page
Operating method, specifically, including only along the operation in current page X-direction, only along the behaviour in current page Y direction
Make, along the operation in current page X-axis and Y direction.
Specifically, the specific steps of the mode of operation of terminal current page are obtained as shown in Fig. 2, including the following steps.
Step S21 obtains the control parameter in terminal current page.Specifically, control parameter is according to terminal current page
Code obtain.Control parameter includes the parameter of Orientation differences, jump page information.For example, current page includes volume adjustment
Interface, the control parameter utilization for adjusting volume are slided corresponding volume to the left and are turned down, slide corresponding volume to the right and tune up
Equal Orientation differences parameter is indicated.For example, adjusting the interface of current display page with scroll bar, current display page is adjusted
Parameter be upward sliding can show that the hidden page above current display page, slide downward can be shown under current display page
The hidden page of side.Jump page information includes jumping the type etc. of coordinate range corresponding to key, jump page, is such as jumped
The type of the page is document, picture or other page infos etc..
Step S22 determines the mode of operation of current page according to control parameter.For example, there is current page display to hide
The function of the page, and show that the control parameter of hidden page is that can then determine display in the movement of current page upper and lower, left and right
The operation of current hidden page is mobile for upper and lower, left and right.For example, current page has the function of adjusting volume, and adjust
The control parameter of whole volume includes that right and left moves up, then can determine that the mode of operation of current page is left and right directions
Upper movement moves left and right in current page X-direction.Such as the interface of reading software, have under normal circumstances hiding
The page can horizontally slip when showing hidden page along current display page X-direction, be also possible to along current display page
It is slided in the X-direction of face.When horizontally slipping along current display page X-direction, hidden page is exactly in currently display page
The left side or right side in face, such as along sliding is exactly page up to the left in current display page X-direction, along current display
Sliding to the right is exactly lower one page in page X-direction, and mode of operation is to horizontally slip along current page X-axis;When along current
When display page Y direction slides up and down, hidden page is exactly the either above or below of current display page, and mode of operation is edge
Current page Y direction slide up and down.
Step S12 determines touch signal detection mode according to mode of operation, wherein different modes of operation is corresponding not
Same touch signal detection mode.Wherein, touch signal detection mode includes row scanning, column scan, rank scanning.Touch signal
The touch signal that touch signal, the rank scanning of the touch signal, column scan generation that generate including row scanning generate.Row scanning
To obtain the row electrode for having capacitance variations according to the capacitance variations of the array of row electrodes before and after touch operation;The column scan is root
According to the capacitance variations of the column electrod-array before and after touch operation, the column electrode for there are capacitance variations is obtained;According to the rank scanning
The capacitance variations of row-column electrode array before and after touch operation obtain the row-column electrode for having capacitance variations.If mode of operation is only
Along the touch operation in current page X-direction, determine touch signal detection mode for row scanning;If mode of operation is only edge
The touch operation in current page Y direction, determine that touch signal detection mode is column scan;If mode of operation is along X
Touch operation in axis direction and Y direction determines that touch signal detection mode is rank scanning.Specifically, touch signal can
Think self-capacitance signal, is arranged with array of row electrodes and column electrod-array respectively on the row and column of terminal.Row scanning is to row electricity
Pole array is scanned, and column scan is scanned to column electrod-array.As shown in fig. 4 a, when the operation side of terminal current page
When formula is along touch operation in X-direction and Y direction, according to the detection mode of rank scanning, from row capacitance electrode X1,
X2 ... Xn ... is continually scanned for, and is then continually scanned for from column capacitance electrode Y1, Y2 ... Yn ... to obtain touch point X and sit
Mark, Y-coordinate.When terminal current page mode of operation is only the touch operation in terminal current page Y direction, only need not
Disconnected scan columns capacitance electrode, stops scan line capacitance electrode, as shown in Figure 4 b.When mode of operation is only the touching in X-direction
When touching operation, row capacitance electrode need to be only continually scanned for, stops scan columns capacitance electrode.
Step S13 obtains corresponding touch signal according to determining touch signal detection mode.When detection mode is that column are swept
When retouching, the touch signal that column scan generates is obtained, such as column electrod-array is detected according to column scan, obtains target column electrode
Coordinate, corresponding touch signal is obtained according to the coordinate of the coordinate of target column electrode and all row electrodes.When detection side
When formula is row scanning, the touch signal that row scanning generates is obtained, such as array of row electrodes is detected according to row scanning, obtains mesh
The coordinate for marking row electrode obtains corresponding touch according to the coordinate of the coordinate of the target line electrode and all column electrodes and believes
Number.When detection mode is rank scanning, the touch signal that rank scanning generates is obtained, row capacitance electrode and column are such as continually scanned for
Capacitance electrode obtains the coordinate of target line electrode and target column electrode, according to the coordinate of target line electrode, the seat of target column electrode
The coordinate of mark and row electrode and column electrode obtains corresponding touch signal.Wherein, target line electrode is the row for having capacitance variations
Electrode on direction, target column electrode are the electrode having on the column direction of capacitance variations.
Step S14 is positioned according to the touch signal of acquisition.If what is obtained is the touch signal that column scan generates,
The information such as the positional relationship according to the touch signal of acquisition and column electrode obtain the coordinate in current page Y-axis, to carry out
Positioning.Further, can determine whether the changes in coordinates in current page Y-axis is continuously, according to the seat in current page Y-axis
Mark variation calculates the touch track information of the touch operation in current page Y-axis.As illustrated in fig. 4 c, when mode of operation is only to work as
When the touch operation of preceding page Y direction, the positional relationship of the touch signal and column electrode that are generated according to column scan obtains working as
Coordinate in preceding page Y-axis can enter the interface that one of link is opened after being positioned.If what is obtained is capable scanning
The touch signal of generation obtains in current page X-axis according to information such as the positional relationships of the touch signal of acquisition and row electrode
Coordinate, to be positioned, further, can determine whether the changes in coordinates in current page X-axis whether be it is continuous, according to
Changes in coordinates in current page X-axis calculates the touch track information of the touch operation in current page X-axis.If what is obtained is
The touch signal that rank scanning generates obtains working as according to information such as the positional relationships of the touch signal of acquisition and row-column electrode
Coordinate in preceding page X-axis and Y-axis, to be positioned.
The above method selects the touch signal for being most suitable for current operation mode according to the different mode of operation of current page
Detection mode avoids all full frame detection touch signal under any circumstance.In addition, if mode of operation is only along X-direction
On touch operation and only along the touch operation in Y direction, touch signal detection mode is relative to full frame detection always
Mode, the i.e. detection mode of rank scanning, reduce the operand positioned according to touch signal, improve efficiency.
Fig. 5 is the structural representation block diagram of first embodiment terminal.The terminal is the terminal device with touch screen, such as intelligence
Energy mobile phone, tablet computer etc..Preferably, touch screen is capacitive touch screen.When touch screen is capacitive touch screen, the terminal
50 include information acquisition unit 51, detection mode determination unit 52, signal acquiring unit 53, computing unit 54, induction panel 55,
Display unit 56.Wherein:
Induction panel 55, including lateral array of row electrodes and longitudinal column electrod-array.
Display unit 56, for display terminal and the various pages of terminal applies.
Information acquisition unit 51, for obtaining the mode of operation of terminal current page.Wherein, current page includes display
The display page on the display screen, and the hidden page being not explicitly shown on display screen.As shown in figure 3, hidden page
It is in the lower section of current display page.As shown in Figure 3, hidden page is a part of the full page page, in addition hidden page
It is also possible to set up another completely new column.Such as the page of wechat, QQ are only able to display address list, message page etc. every time
Deng when showing address list, message page is exactly a hidden page;Conversely, when showing message page, communication
Recording the page is exactly hidden page.Hidden page is also possible to the jump page of clickthrough entrance.Mode of operation is that can show
The operating method of hidden page, specifically, including only along the operation in current page X-direction, only along current page Y-axis
Operation on direction, along the operation in current page X-axis and Y direction.
Specifically, information acquisition unit 51 is used to obtain the control parameter in terminal current page.Wherein, control parameter root
It is obtained according to the code of terminal current page.Control parameter includes the parameter of Orientation differences, jump page information.For example, current page
Face includes volume adjustment interface, and the control parameter utilization for adjusting volume is slided corresponding volume to the left and turned down, is slided to the right
The Orientation differences parameters such as corresponding volume tunes up are indicated.For example, adjusting the interface of current display page with scroll bar, adjust
The parameter of whole current display page is that upward sliding can show that the hidden page above current display page, slide downward can be shown
Hidden page below current display page.Jump page information includes jumping coordinate range corresponding to key, jump page
Type etc., such as the type of jump page is document, picture or other page infos.Information acquisition unit 51 is also used to
The mode of operation of current page is determined according to control parameter.For example, current page has the function of showing hidden page, and show
The control parameter of hidden page is that can then determine the behaviour for showing current hidden page in the movement of current page upper and lower, left and right
It is mobile as upper and lower, left and right.For example, current page has the function of adjusting volume, and adjust the control of volume
Parameter includes that right and left moves up, then can determine that the mode of operation of current page moves up for right and left, i.e., along working as
It is moved left and right in preceding page X-direction.Such as the interface of reading software, there is hidden page under normal circumstances, shows hidden page
It can horizontally slip, be also possible to along sliding in current display page X-direction along current display page X-direction when face
It is dynamic.When horizontally slipping along current display page X-direction, hidden page is exactly in the left side or the right side of current display page
Side, such as along sliding is exactly page up to the left in current display page X-direction, along in current display page X-direction
Sliding to the right is exactly lower one page, and mode of operation is to horizontally slip along current page X-axis;When along current display page Y-axis side
To when sliding up and down, hidden page is exactly the either above or below of current display page, and mode of operation is along current page Y-axis
Direction slides up and down.
Detection mode determination unit 52, for determining touch signal detection mode according to mode of operation, wherein different
Mode of operation corresponds to different touch signal detection modes.Wherein, touch signal includes the touch signal of row scanning generation, arranges and sweep
Retouch the touch signal of generation, the touch signal that rank scanning generates.Touch signal detection mode includes row scanning, column scan, row
Column scan.Row scanning has the row electricity of capacitance variations to obtain according to the capacitance variations of the array of row electrodes before and after touch operation
Pole;The column scan is the capacitance variations according to the column electrod-array before and after touch operation, obtains the column electrode for having capacitance variations;It should
Rank scanning is the capacitance variations according to the row-column electrode array before and after touch operation, obtains the row-column electrode for having capacitance variations.
If mode of operation is to determine touch signal detection mode for row scanning only along the touch operation in current page X-direction;If
Mode of operation is to determine that touch signal detection mode is column scan only along the touch operation in current page Y direction;If behaviour
Making mode is to determine that touch signal detection mode is rank scanning along the touch operation in X-direction and Y direction.Specifically
Ground, touch signal can be self-capacitance signal, be arranged with array of row electrodes and column electrod-array respectively on the row and column of terminal.Row
Scanning is scanned to array of row electrodes, and column scan is scanned to column electrod-array.As shown in fig. 4 a, when terminal is current
When the mode of operation of the page is along touch operation in X-direction and Y direction, according to the detection mode of rank scanning, from
Row capacitance electrode X1, X2 ... Xn ... are continually scanned for, and are then continually scanned for from column capacitance electrode Y1, Y2 ... Yn ... to obtain
Obtain touch point X-coordinate, Y-coordinate.When terminal current page mode of operation is only the touch behaviour in terminal current page Y direction
When making, column capacitance electrode need to be only continually scanned for, stops scan line capacitance electrode, as shown in Figure 4 b.When mode of operation is only X-axis
When touch operation on direction, row capacitance electrode need to be only continually scanned for, stops scan columns capacitance electrode.
Signal acquiring unit 53, for obtaining corresponding touch signal according to determining touch signal detection mode.Work as inspection
When survey mode is column scan, the touch signal that column scan generates is obtained, such as column electrod-array is detected according to column scan, is obtained
The coordinate for obtaining target column electrode obtains corresponding touch according to the coordinate of the coordinate of target column electrode and all row electrodes and believes
Number.When detection mode is row scanning, the touch signal that row scanning generates is obtained, such as array of row electrodes is carried out according to row scanning
Detection obtains the coordinate of target line electrode, obtains phase according to the coordinate of the coordinate of the target line electrode and all column electrodes
Corresponding touch signal.When detection mode is rank scanning, the touch signal that rank scanning generates is obtained, such as continually scans for going
Capacitance electrode and column capacitance electrode obtain the coordinate of target line electrode and target column electrode, according to the coordinate of target line electrode, mesh
Mark the corresponding touch signal of coordinate acquisition of the coordinate and row electrode and column electrode of column electrode.Wherein, target line electrode is to have
Electrode on the line direction of capacitance variations, target column electrode are the electrode having on the column direction of capacitance variations.
Computing unit 54, for being positioned according to the touch signal of acquisition.If what is obtained is the touching that column scan generates
Signal is touched, according to information such as the positional relationships of the touch signal of acquisition and column electrode, obtains the coordinate in current page Y-axis,
To be positioned.Further, can determine whether the changes in coordinates in current page Y-axis is continuously, according to current page Y
Changes in coordinates on axis calculates the touch track information of the touch operation in current page Y-axis.As illustrated in fig. 4 c, work as mode of operation
Only the touch operation of current page Y direction when, according to column scan generate touch signal and column electrode positional relationship
Etc. information, obtain the coordinate in current page Y-axis, interface that one of link is opened can be entered after being positioned.Such as
What fruit obtained is that the touch signal that row scanning generates obtains working as according to the positional relationship of the touch signal of acquisition and row electrode
Coordinate in preceding page X-axis, to be positioned, further, can determine whether the changes in coordinates in current page X-axis whether be
Continuously, the touch track information of the touch operation in current page X-axis is calculated according to the changes in coordinates in current page X-axis.
If what is obtained is the touch signal that rank scanning generates, believed according to positional relationship of the touch signal of acquisition and row-column electrode etc.
Breath, obtains the coordinate in current page X-axis and Y-axis, to be positioned.
Fig. 6 is the terminal schematic block diagram of second embodiment.The terminal is the terminal device with touch screen, such as intelligent hand
Machine, tablet computer etc..Preferably, touch screen is capacitive touch screen.When touch screen is capacitive touch screen, the terminal 60 packet
Include induction panel 61, display device 62, memory 63, processor 64.Wherein:
Induction panel 61, including lateral array of row electrodes and longitudinal column electrod-array.
Display device 62, for showing visual output to user.Visual output may include figure, text, icon, video
With their any combination (being referred to as " figure ").In certain embodiments, some or all of visual output can correspond to
In user interface object.LCD (liquid crystal display) technology, LPD (light emitting polymer displays) skill can be used in display device 62
Art or LED (light emitting diode) technology, but other display technologies can be used in other embodiments.
Memory 63, for storing the program data for having various functions.Memory 63 stores in the embodiment of the present invention
Data include the different modes of operation touch signal detection mode different from terminal corresponding relationship and other can call
And the program data run.In the specific implementation, the memory 63 of the embodiment of the present invention can be system storage, for example, volatilization
(such as RAM) of property, the combination of non-volatile (such as ROM, flash memory etc.), or both.In the specific implementation, the present invention is implemented
The memory 63 of example can also be the external memory except system, for example, disk, CD, tape etc..
Processor 64 for calling the program data stored in the memory 63, and performs the following operations:
Obtain the mode of operation of terminal current page;Touch signal detection mode is determined according to mode of operation, wherein no
Same mode of operation corresponds to different touch signal detection modes, which includes touch signal, the column that row scanning generates
Scan generate touch signal, rank scanning generate touch signal, touch signal detection mode include row scanning, column scan,
Rank scanning, if mode of operation is to determine that touch signal detection mode is only along the touch operation in current page X-direction
Row scanning, if mode of operation is to determine touch signal detection mode for column only along the touch operation in current page Y direction
Scanning, if mode of operation is to determine that touch signal detection mode is ranks along the touch operation in X-direction and Y direction
Scanning;Corresponding touch signal is obtained according to determining touch signal detection mode, if obtaining when detection mode is column scan
The touch signal that column scan generates obtains the touch signal that row scanning generates, if detection mode if detection mode is row scanning
When for rank scanning, the touch signal that rank scanning generates is obtained;It is positioned according to the capacitance signal of acquisition.
Above-mentioned terminal determines adaptable touch signal detection mode by different modes of operation to complete to position, nothing
Needing all full frame detection of all modes of operation is rank scanning, and detection mode is flexible.Specifically, if mode of operation is only along working as
Touch operation in preceding page X-direction determines touch signal detection mode for row scanning;If mode of operation is only along current
Touch operation in page Y direction determines that touch signal detection mode is column scan;If mode of operation is along X-direction
With the touch operation in Y direction, determine that touch signal detection mode is rank scanning.Phase is obtained according to different detection modes
The touch signal answered, is positioned further according to touch signal.Above-mentioned terminal, when mode of operation is only along current page X-axis side
Upward touch operation and only along the touch operation in current page Y direction in the case where, the side relative to full frame detection
Formula, that is, rank scanning detection mode, can reduce the operand positioned according to touch signal, improve efficiency.
The module and/or unit of the embodiment of the present invention, can with universal integrated circuit (such as central processor CPU), or with
Specific integrated circuit (ASIC) Lai Shixian.
In several embodiments provided herein, it should be understood that disclosed terminal and method can pass through it
Its mode is realized.For example, terminal embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.The step of the method for the embodiment of the present invention
Rapid sequence can be adjusted according to actual needs, merges or delete.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit.It can select according to the actual needs therein some or all of
Unit realizes the purpose of the embodiment of the present invention.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection scope subject to.
Claims (6)
1. a kind of touch localization method characterized by comprising
Obtain the mode of operation of terminal current page;
Touch signal detection mode is determined according to mode of operation, wherein different modes of operation corresponds to different touch signals
Detection mode;
Corresponding touch signal is obtained according to determining touch signal detection mode;
It is positioned according to the touch signal of acquisition;
Wherein, the mode of operation is only along the touch operation in current page X-direction, or for only along current page
Touch operation in Y direction, or for along the touch operation in current page X-direction and Y direction;
The touch signal detection mode is row scanning, is perhaps column scan or is rank scanning;
It is described that touch signal detection mode is determined according to mode of operation, comprising:
According to only along the touch operation in X-direction come determine row scan;Or
Column scan is determined according to only along the touch operation in Y direction;Or
Rank scanning is determined according to along the touch operation in current page X-direction and Y direction.
2. the method according to claim 1, wherein the mode of operation for obtaining terminal current page includes:
Obtain the control parameter of terminal current page;
The mode of operation of current page is determined according to control parameter.
3. the method according to claim 1, wherein described obtain phase according to determining touch signal detection mode
The touch signal answered, comprising:
Array of row electrodes is detected according to row scanning, obtains the coordinate of target line electrode;
Corresponding touch signal is obtained according to the coordinate of the coordinate of the target line electrode and all column electrodes;
Alternatively,
Column electrod-array is detected according to column scan, obtains the coordinate of target column electrode;
Corresponding touch signal is obtained according to the coordinate of the coordinate of the target column electrode and all row electrodes;Or
Row-column electrode array is detected according to rank scanning, obtains the coordinate of target line electrode and target column electrode;
Corresponding touching is obtained according to the coordinate of the coordinate of target line electrode, the coordinate of target column electrode and row electrode and column electrode
Touch signal.
4. a kind of terminal, which is characterized in that the terminal includes:
Information acquisition unit, for obtaining the mode of operation of terminal current page;
Detection mode determination unit, for determining touch signal detection mode according to mode of operation, wherein different operation sides
Formula corresponds to different touch signal detection modes;
Signal acquiring unit, for obtaining corresponding touch signal according to determining touch signal detection mode;
Computing unit, for being positioned according to the touch signal of acquisition;
Wherein, the mode of operation is only along the touch operation in current page X-direction, or for only along current page
Touch operation in Y direction, or for along the touch operation in current page X-direction and Y direction;
The touch signal detection mode is row scanning, is perhaps column scan or is rank scanning;
The detection mode determination unit includes:
According to only along the touch operation in X-direction come determine row scan;Or
Column scan is determined according to only along the touch operation in Y direction;Or
Rank scanning is determined according to along the touch operation in current page X-direction and Y direction.
5. terminal according to claim 4, which is characterized in that the information acquisition unit is worked as specifically for obtaining terminal
The control parameter of the preceding page and the mode of operation that current page is determined according to control parameter.
6. terminal according to claim 4, which is characterized in that the signal acquiring unit includes:
Array of row electrodes is detected according to row scanning, obtains the coordinate of target line electrode;
Corresponding touch signal is obtained according to the coordinate of the coordinate of the target line electrode and all column electrodes;
Alternatively,
Column electrod-array is detected according to column scan, obtains the coordinate of target column electrode;
Corresponding touch signal is obtained according to the coordinate of the coordinate of the target column electrode and all row electrodes;
Alternatively,
Row-column electrode array is detected according to rank scanning, obtains the coordinate of target line electrode and target column electrode;
Corresponding touching is obtained according to the coordinate of the coordinate of target line electrode, the coordinate of target column electrode and row electrode and column electrode
Touch signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610308323.6A CN106020579B (en) | 2016-05-11 | 2016-05-11 | A kind of touch localization method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610308323.6A CN106020579B (en) | 2016-05-11 | 2016-05-11 | A kind of touch localization method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106020579A CN106020579A (en) | 2016-10-12 |
CN106020579B true CN106020579B (en) | 2019-05-14 |
Family
ID=57099262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610308323.6A Active CN106020579B (en) | 2016-05-11 | 2016-05-11 | A kind of touch localization method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106020579B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101308440A (en) * | 2008-06-25 | 2008-11-19 | 宇龙计算机通信科技(深圳)有限公司 | Interaction control method and system based on touch screen |
CN102004592A (en) * | 2010-07-27 | 2011-04-06 | 苏州瀚瑞微电子有限公司 | Capacitive touch screen scanning method |
CN102236491A (en) * | 2011-07-22 | 2011-11-09 | 苏州瀚瑞微电子有限公司 | Scan configuration method and positioning method for capacitive sensor |
CN105426048A (en) * | 2015-11-19 | 2016-03-23 | 广东欧珀移动通信有限公司 | Method and device for preventing misoperation of application programs |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101892567B1 (en) * | 2012-02-24 | 2018-08-28 | 삼성전자 주식회사 | Method and apparatus for moving contents on screen in terminal |
US10620727B2 (en) * | 2014-07-24 | 2020-04-14 | Beijing Lenovo Software Ltd. | Information processing method and electronic device |
-
2016
- 2016-05-11 CN CN201610308323.6A patent/CN106020579B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101308440A (en) * | 2008-06-25 | 2008-11-19 | 宇龙计算机通信科技(深圳)有限公司 | Interaction control method and system based on touch screen |
CN102004592A (en) * | 2010-07-27 | 2011-04-06 | 苏州瀚瑞微电子有限公司 | Capacitive touch screen scanning method |
CN102236491A (en) * | 2011-07-22 | 2011-11-09 | 苏州瀚瑞微电子有限公司 | Scan configuration method and positioning method for capacitive sensor |
CN105426048A (en) * | 2015-11-19 | 2016-03-23 | 广东欧珀移动通信有限公司 | Method and device for preventing misoperation of application programs |
Also Published As
Publication number | Publication date |
---|---|
CN106020579A (en) | 2016-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8421772B2 (en) | Resistive touch control device and driving method and driving controller thereof | |
KR102411010B1 (en) | 3d gesture recognition | |
EP2711825B1 (en) | System for providing a user interface for use by portable and other devices | |
US8115744B2 (en) | Multi-point touch-sensitive system | |
US20180356935A1 (en) | Touch point positioning method and apparatus, and terminal device | |
US9323398B2 (en) | Touch and hover sensing | |
CN103189824B (en) | System and method for producing the signal related to manual input operation | |
US8106891B2 (en) | Multi-point touch-sensitive device | |
CN102681720B (en) | Touch control element and photosensitive image capturing device | |
US8139040B2 (en) | Method of operating a multi-point touch-sensitive system | |
AU2014284843A1 (en) | Method for switching digitizer mode | |
KR20110138095A (en) | Method and apparatus for coordinate correction in touch system | |
KR20100054274A (en) | Touch-input device for acquiring location and intensity of force and method thereof | |
US20130321290A1 (en) | Method and apparatus for sensing touch input | |
CN106445235B (en) | A kind of touch initial position recognition methods and mobile terminal | |
KR20170019170A (en) | A Touch sensor, a display apparatus including the same, and a method of sensing a touch panel | |
US9626044B2 (en) | System and method for scanning control of a capacitive touch panel | |
CN106527849A (en) | Method for regulating icon position, and mobile terminal | |
CN104933989A (en) | Detection circuit, pixel electric signal acquisition circuit, display panel and display device | |
CN1900888A (en) | Display device and its display control method | |
US10852882B2 (en) | Fingerprint sensing control method for fingerprint sensing device | |
EP2270637A1 (en) | Touch panel with unbalanced conductive patterns, and touch-controlled apparatus and method for determining multi-touch thereof | |
CN110389684A (en) | A kind of touch control identification method, touch control device and display equipment | |
CN104035638B (en) | Touch electrode structure, touch panel, display device and touch point positioning method | |
CN108108417A (en) | Exchange method, system, equipment and the storage medium of cross-platform self adaptive control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210120 Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703 Patentee after: Shenzhen Microphone Holdings Co.,Ltd. Address before: 518000 21st floor, Shidai science and technology building, 7028 Shennan Avenue, Futian District, Shenzhen City, Guangdong Province (office only) Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |