CN106648400A - Touch-data reporting method and electronic device - Google Patents
Touch-data reporting method and electronic device Download PDFInfo
- Publication number
- CN106648400A CN106648400A CN201510746767.3A CN201510746767A CN106648400A CN 106648400 A CN106648400 A CN 106648400A CN 201510746767 A CN201510746767 A CN 201510746767A CN 106648400 A CN106648400 A CN 106648400A
- Authority
- CN
- China
- Prior art keywords
- touch
- type
- data
- identification module
- event
- 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.)
- Granted
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/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
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)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses an electronic device and a touch-data reporting method. The method includes the steps that a first processing unit receives touch data reported from a touch screen, wherein the first processing unit comprises a touch type identifying module and a touch gesture identifying module; the touch type identifying module identifies the type of a touch event according to the touch data; if the type of the touch event is the first type, the touch type identifying module reports the touch data to the touch gesture identifying module; if the type of the touch event is the second type, the touch type identifying module reports the touch data to the touch gesture identifying module and a second processing unit, wherein the second processing unit is used for executing operation corresponding to a touch gesture. According to the electronic device and the touch-data reporting method in the technical scheme, the running load and the running power consumption of the second processing unit can be reduced, the touch operation smoothness of a system can be improved, and the touch operation experiences of a user can be improved.
Description
Technical field
The present embodiments relate to touching technique field, more particularly to touch data is reported in a kind of electronic equipment
Method and a kind of electronic equipment.
Background technology
With the development of smart mobile phone, capacitive touch screen (Touch Panel, abbreviation TP) obtains substantial amounts of
Using increasing mobile phone application uses touch operation replacement button operation, such as left stroke operation, the right side to draw
Operation, upper operation, lower stroke operation drawn, amplified the page, the diminution page, rotated page etc..
During mobile phone of the user operation with touch-screen, expect that touch operation can be quickly and smooth.Such as, when
In slip screen, user expects that slide can realize the sensation of reality dragging, i.e. slide to user
Response speed The faster the better.But in order to reach the response speed target that The faster the better, central processing unit
(Central Processing Unit, abbreviation CPU) has to keep higher running frequency to process user's
Touch operation, therefore cause the power consumption of system to remain high.
The content of the invention
Embodiments provide the method that touch data is reported in a kind of electronic equipment and electronic equipment, energy
The fluency of system touch operation is enough improved, the touch operation experience of user is lifted.
In a first aspect, disclosing the method that touch data in a kind of electronic equipment is reported, methods described includes:
First processing units receive the touch data that touch-screen is reported, wherein, the first processing units include touching
Touch type identification module and touch gestures identification module;
The touch type identification module recognizes the type of touch event according to the touch data;
If the type of the touch event is first kind event, the touch type identification module reports institute
Touch data is stated to the touch gestures identification module;
If the type of the touch event is Second Type event, the touch type identification module reports institute
Touch data is stated to the touch gestures identification module and second processing unit;
Wherein, the touch gestures identification module is used for identification touch gestures corresponding with the touch data, described
Second processing unit is used to perform operation corresponding with the touch gestures.
With reference in a first aspect, in first aspect in the first possible implementation, the touch data includes
Coordinate data of the touch point that the touch-screen is detected on the touch-screen of the electronic equipment, the touch
Type identification module recognizes that the type of touch event is specially according to the touch data:
The touch type identification module is according to including the touch data identification touch touched including point coordinate data
The type of event, wherein the touch point is passed away in a sitting posture, data are the coordinate data of continuous N number of touch point, wherein
N is the integer more than or equal to 2.
With reference in a first aspect, in second possible implementation of first aspect, the touch gestures are recognized
Module is additionally operable to for the touch gestures identified according to the touch data to report the second processing unit.
The first possible implementation with reference to first aspect, the third possible implementation in first aspect
In, the touch type identification module is according to the touch point coordinate data, and the touch speed of identifying user is big
In pre-conditioned, then the type of the touch event is first kind event, wherein the touch speed refers to list
The distance of touch point continuous moving on the touch-screen in the time of position.
The first possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect
In, the touch type identification module is according to the touch point coordinate data, and the touch speed of identifying user is little
In pre-conditioned, and the user interface that the second processing unit judges user touches needs to report touch point
Positional information, then the type of the touch event is Second Type event, wherein the touch speed refers to unit
The distance of touch point continuous moving on the touch-screen in time.
With reference to second possible implementation of first aspect, in the 5th kind of possible implementation of first aspect
In, the second processing unit is used for execution operation corresponding with the touch gestures and is specially:Described second
Processing unit is according to the touch gestures and touches point coordinate data, redraws the user interface of the electronic equipment.
Second aspect, discloses a kind of electronic equipment, and the electronic equipment includes:First processor, second
Processor and touch-screen;Wherein, the touch-screen is used to generate touch data according to the touch operation of user;
The first processor is used to receive the touch data that the touch-screen is reported, wherein described first is processed
Device includes touch type identification module and touch gestures identification module;
The touch type identification module is used for:
The type of touch event is recognized according to the touch data;
In the case where the type of the touch event is first kind event, the touch data is reported to institute
State touch gestures identification module;
In the case where the type of the touch event is Second Type event, the touch data is reported to institute
State touch gestures identification module and second processing device;
The touch gestures identification module is used for identification touch gestures corresponding with the touch data;
Wherein described second processing device is used to perform operation corresponding with the touch gestures.
With reference to second aspect, in second aspect in the first possible implementation, the touch data includes
Coordinate data of the touch point that the touch-screen is detected on the touch-screen of the electronic equipment, the touch
Type identification module is used to recognize that the type of touch event is specially according to the touch data:
The touch type identification module is used for according to including the touch data identification touched including point coordinate data
The type of touch event, wherein the touch point coordinate data is the coordinate data of continuous N number of touch point,
Wherein N is the integer more than or equal to 2.
With reference to second aspect, in second possible implementation of second aspect, the touch gestures identification
Module is additionally operable to for the touch gestures identified according to the touch data to report the second processing device.
The first possible implementation with reference to second aspect, the third possible implementation in second aspect
In, the touch type identification module specifically for according to the touch point coordinate data, touch by identifying user
Speed is touched more than pre-conditioned, then the type of the touch event is first kind event, wherein the touch
Speed refers to the distance of touch point continuous moving on the touch-screen in the unit interval.
The first possible implementation with reference to second aspect, in the 4th kind of possible implementation of second aspect
In, the touch type identification module specifically for according to the touch point coordinate data, touch by identifying user
Speed is touched less than pre-conditioned, and the second processing device to judge that the user interface of user's touch needs to report tactile
Positional information a little is touched, then the type of the touch event is Second Type event, wherein the touch speed
Refer to the distance of touch point continuous moving on the touch-screen in the unit interval.
With reference to second possible implementation of second aspect, in the 5th kind of possible implementation of second aspect
In, the second processing device is used for execution operation corresponding with the touch gestures and is specially:At described second
Reason device is used for according to the touch gestures and touches point coordinate data, redraws the user interface of the electronic equipment.
The third aspect, discloses a kind of electronic equipment, and the electronic equipment includes:
First processing units, for receiving the touch data that touch-screen is reported, wherein, described first processes single
Unit includes touch type identification module and touch gestures identification module;
Recognition unit, touch event is recognized for the touch type identification module according to the touch data
Type;
First reporting unit, if for the touch event type be first kind event, the touch
Type identification module reports the touch data to the touch gestures identification module;
Second reporting unit, if for the touch event type be Second Type event, the touch
Type identification module reports the touch data to the touch gestures identification module and second processing unit;
Wherein, the touch gestures identification module is used for the touch gestures of identifying user, the second processing list
Unit is for execution operation corresponding with the touch gestures.
With reference to the third aspect, in the third aspect in the first possible implementation, the touch data includes
Coordinate data of the touch point that the touch-screen is detected on the touch-screen of the electronic equipment, described first
Recognition unit specifically for:
The touch type identification module is according to including the touch data identification touch touched including point coordinate data
The type of event, wherein the touch point is passed away in a sitting posture, data are the coordinate data of continuous N number of touch point, wherein
N is the integer more than or equal to 2.
With reference to the third aspect, in second possible implementation of the third aspect, the touch gestures identification
Module is additionally operable to for the touch gestures identified according to the touch data to report the second processing unit.
The first possible implementation with reference to the third aspect, the third possible implementation in the third aspect
In, the electronic equipment also includes:
First judging unit, for the touch type identification module according to the touch point coordinate data, knows
More than pre-conditioned, then the type of the touch event is first kind event to the touch speed of other user, its
Described in touch speed and refer to the distance of touch point continuous moving on the touch-screen in the unit interval.
The first possible implementation with reference to the third aspect, in the 4th kind of possible implementation of the third aspect
In, the electronic equipment also includes:
Second judging unit, for the touch type identification module according to the touch point coordinate data, knows
The touch speed of other user is less than pre-conditioned, and user circle that the second processing unit judges user touches
Face needs the positional information for reporting touch point, then the type of the touch event is Second Type event, wherein
It is described to touch the distance that speed refers to touch point continuous moving on the touch-screen in the unit interval.
With reference to second possible implementation of the third aspect, in the 5th kind of possible implementation of the third aspect
In, the second processing unit is used for execution operation corresponding with the touch gestures and is specially:Described second
Processing unit is used for according to the touch gestures and touches point coordinate data, redraws the user of the electronic equipment
Interface.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable of one or more programs of storage and deposits
Storage media, one or more of programs include instruction, and the instruction ought be included touch-screen and multiple applications
The portable electric appts of program make the portable electric appts perform according to first aspect to first when performing
Method in the 5th kind of possible implementation of aspect described in any one possible implementation.
Optionally, the second processing device is primary processor.Second processing unit is the main process task of electronic equipment
Unit.
Optionally, the touch type identification module reports a flag bit or mode bit to the second processing list
Unit, the flag bit or mode bit are used to identify the touch gestures.
In above-mentioned technical proposal, touch data is reported in a kind of electronic equipment provided in an embodiment of the present invention
Method, can reduce the operation load of second processing unit and run power consumption, improve the stream of system touch operation
Smooth degree, lifts the touch operation experience of user.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to institute in embodiment description
The accompanying drawing that needs are used is briefly described, it should be apparent that, drawings in the following description are only the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is the method schematic diagram that a kind of touch data provided in an embodiment of the present invention is reported;
Fig. 2 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 3 is the structural representation of another electronic equipment provided in an embodiment of the present invention.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the present invention
Accompanying drawing in embodiment, is explicitly described, it is clear that retouched to the technical scheme in the embodiment of the present invention
The embodiment stated is a part of embodiment of the invention, rather than the embodiment of whole.Based on the reality in the present invention
Apply example, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example is applied, the scope of protection of the invention is belonged to.
During electronic equipment of the user operation with touch-screen, expect that touch operation can be quickly and smooth.In order to
The touch operation of quick response user, the general processing method to touch data of industry is that touch-screen is based on
The touch operation of user generates touch data, and reports the host CPU of electron equipment, host CPU by touch data
According to touch data and algorithm, the calculating of touch coordinate and the calculating of touch track etc. are carried out, identifying user
Touch gestures, and notify that application program performs corresponding touch operation.Because user may set at any time to electronics
Standby to perform touch operation, in order to process the touch data that touch-screen is reported, host CPU needs to be constantly in operation
State, and need to process each touch data that touch-screen is reported, even if so not having in electronic equipment
In the case of operation other application programs, host CPU is also required to open, and in running status, therefore can consume
Certain power consumption.
Additionally, host CPU generally will not only run a touch data code when operation, but
APK (the Application Package of some system applications or other application programs are run simultaneously
File) code.Therefore, taken by other process in host CPU, host CPU have no time process touch data when
Wait, will result in the phenomenons such as the corresponding slack-off or page turning of system operation is slow, cause Consumer's Experience to be deteriorated.
The touch-screen that the application is mentioned includes In-Cell, On-Cell, OGS (One Glass Solution), G/G
(Cover Glass/Sensor Glass, protective glass layers/sensing glassy layer, sensing glassy layer can be called tactile again
Control functional layer) and the type such as GFF (Cover Glass Film/Film, protective glass conductive layer/conductive layer)
Touch-screen.In-Cell refers to the method being embedded into touch function in the liquid crystal pixel of display screen, that is, showing
Screen is internally embedded touch sensor function;On-Cell refers to the colored filter that touch-screen is embedded into display screen
Method between substrate and polaroid, i.e., match somebody with somebody touch function on the liquid crystal panel of display screen.OGS technologies are just
It is that touch screen is integrated with protective glass, ITO conductive layer is plated on the inside of protective glass.G/G and
GFF touch-screens refer to the upper strata that the touch detecting apparatus of touch-screen system are arranged on display screen.
In the application, noun " electronic equipment " include the various handheld devices with touch-screen, mobile unit, can
Wearable device, computing device etc., such as smart mobile phone, panel computer, intelligent watch etc..
In order to solve the problems, such as that host CPU power consumption remains high, the present invention adopts two processing units, at first
Reason unit and second processing unit.First processing units can be association's processing unit, and second processing unit can be with
For Main Processor Unit, or it is host CPU.Process to touch data, is mainly performed by association's processing unit.
When user operation electronic equipment, first processing units complete the identification of touch type and the identification of touch gestures,
Then the touch gestures information reporting that will identify that gives second processing unit, and such second processing unit need not
Touch data is analyzed, directly touch gestures information can be got from first processing units.Afterwards
Two processing units notify that application program performs corresponding operation according to touch gestures information.Such as, hand is touched
Gesture includes that a left side stroke operation, right drawing are operated, above draw operation, lower stroke of operation, the amplification page, the diminution page, rotation
Blade-rotating face etc..Using technical scheme, second processing unit need not be constantly in running status,
Therefore the operation power consumption of host CPU can be reduced, it is also possible to lift the touch operation experience of user.
Embodiment one
Scheme provided in an embodiment of the present invention is illustrated with reference to Fig. 1.
S101:First processing units receive the touch data that touch-screen is reported, wherein, described first processes single
Unit includes touch type identification module and touch gestures identification module.
First processing units can also be called association's processing unit, and the touch data for mainly reporting to touch-screen is carried out
Analysis.When user touches the touch-screen of electronic equipment, the touch-screen of electronic equipment can be based on the touch behaviour of user
Make generation touch data, then report touch data information.By taking capacitive touch screen as an example, touch data bag
When including user and touching on the touch-screen of electronic equipment, the touch data for causing the capacitance variations of touch-screen to generate.
Touch-screen can detect the caused electricity by the surface of finger or stylus (touch pen) the contact touch-screen of user
Hold change.Touch-screen generates touch data based on detected capacitance variations.For clarification in certain roles, plus
Fast processing speed, first processing units include touch type identification module and touch gestures identification module.
S102:The touch type identification module recognizes the type of touch event according to the touch data.
Generally, the microprocessing unit (Microcontroller Unit, abbreviation MCU) of touch-screen is per second
Report 80 touches (Touch Panel, abbreviation TP) point.In order to obtain more touch datas, can adopt
It is with higher than normally reporting the mode of frequency to report TP points, such as per second to report 120 TP points.Wherein, often
The number of the secondary TP points for reporting, can be one, or two, once produce simultaneously depending on user
TP points number.If user once produces a touch point, then touch-screen reports every time a TP
Point;If user once produces two touch points, then touch-screen reports every time two TP points.Due to MCU
Using higher than normally reporting the reporting schemes of frequency, therefore touch type identification module has enough touch datas
Judge the type of touch event.
Optionally, touch type identification module is recognized according to the coordinate data situation of continuous N number of touch point
The type of touch event.Wherein, N is the integer more than or equal to 2.
If the type of touch event is first kind event, execution step S103;
If the type of touch event is Second Type event, execution step S104.
Wherein, first kind event can also be called quick events, the touch type identification module according to
When family touches electronic equipment, the coordinate data situation of touch point, the touch speed of identifying user is more than default speed
Degree, then the type of the touch event is first kind event, wherein the touch speed referred in the unit interval
The distance of touch point continuous moving on the touch-screen.Such as, user quickly horizontally slips switched system table
Face.
The event of Second Type can also be called slow event, and the touch type identification module is touched according to user
When touching electronic equipment, the coordinate data of touch point, the touch speed of identifying user is less than pre-set velocity, and the
It is described that two processing units judge that user interface (User Interface, the abbreviation UI) needs that user touches are reported
The positional information of the touch point at UI interfaces, then the type of the touch event is Second Type event, wherein institute
State and touch the distance that speed refers to touch point continuous moving on the touch-screen in the unit interval..Such as, with
As a example by Android phone, at desktop (Desktop) interface of mobile phone, the second processing unit judges interface is
Needs report the interface for touching dot position information, when user is in the slow drop-down notifications menu of desk interface, touch
Speed is touched less than pre-set velocity, the touch event type is slow event.
S103:The touch type identification module reports the touch data to the touch gestures identification module.
Wherein, the touch gestures identification module is used for identification touch gestures corresponding with the touch data.
If the type of touch event is first kind event, such as, the quick slide handover system table to the right of user
Face, then the touch type identification module report the touch data give the touch gestures identification module.Touch
Gesture recognition module is touched according to the touch data, the touch gestures of identifying user are to slide to the right.At second
Reason unit redraws UI interfaces according to right sliding operation, shows the UI interfaces after right cunning.
Optionally, touch gestures identification module reports a flag bit or mode bit, informs second processing unit
The touch operation of user is slide to the right.Now, second processing unit need not process touch data,
Directly the touch operation information of user can be obtained from touch gestures identification module, alleviate second processing unit
Operation load, save the operation power consumption of second processing unit.
S104:The touch type identification module reports the touch data to the touch gestures identification module
With second processing unit.
Wherein, the second processing unit is used to perform operation corresponding with the touch gestures.Optionally,
The second processing unit is the Main Processor Unit of electronic equipment.
If the type of touch event is Second Type event, such as, when user it is slow drop-down logical in desk interface
When knowing menu, according to the touch data, the touch gestures of identifying user are downslide to touch gestures identification module
Operation, touches speed and is less than pre-set velocity, and the second processing unit judges UI interfaces (desk interface) need
The positional information of touch point is reported, then the touch type identification module reports the touch data to described
Touch gestures identification module and second processing unit.Second processing unit is according to pulling operation and touches point coordinates
Data, UI interfaces are redrawn, show the UI interfaces of drop-down informing.
Optionally, touch gestures identification module reports a flag bit or mode bit, informs second processing unit
The touch operation of user is slide downward operation.Second processing unit was transmitted according to touch gestures identification module
The operation information (operation of such as gliding) come, and the coordinate of touch point is believed when touching UI interfaces according to user
Breath, adjusts the display at UI interfaces.Now, because the touch operation of user is slow event, in second processing
When unit redraws UI interfaces (or being frame synchronization), when the change for touching point coordinate data exceedes certain limit,
Only tracking reports the coordinate information of a touch point, can in a large number reduce the UI interfaces life that repetition touches point coordinates
Into.
First processing units are desirably integrated into second processing unit, it is also possible to be independently of second processing unit
Processing module.
Using technical scheme provided in an embodiment of the present invention, first processing units are touched first to touch data
Type identification and touch gestures identification are touched, then recognition result second processing unit is reported into, the is reduced
The operation load of two processing units and operation power consumption, improve the fluency of system touch operation, improve use
The touch operation experience at family.
Embodiment two
Fig. 2 gives the structural representation of a kind of electronic equipment provided in an embodiment of the present invention.
The electronic equipment includes first processor 203, second processing device 202 and touch-screen 201;Wherein, touch
Touching screen 201 is used to generate touch data according to the touch operation of user;
The first processor 203 is used to receive the touch data that the touch-screen 201 is reported, wherein described
First processor 203 includes touch type identification module 2031 and touch gestures identification module 2032;
Stating touch type 2031 pieces of mould of identification is used for:
The type of touch event is recognized according to the touch data;
In the case where the type of the touch event is first kind event, the touch data is reported to institute
State touch gestures identification module 2032;
In the case where the type of the touch event is Second Type event, the touch data is reported to institute
State touch gestures identification module 2032 and second processing device 202;
The touch gestures identification module 2032 is used for identification touch gestures corresponding with the touch data;
Wherein described second processing device 202 is used to perform operation corresponding with the touch gestures.
Optionally, second processing device 202 is the primary processor of electronic equipment.
Specifically, the touch data includes the touch point that detects of the touch-screen in the electronic equipment
Coordinate data on touch-screen.The touch type identification module is used for basis includes that touching point coordinate data exists
Interior touch data recognizes the type of touch event, wherein the touch point coordinate data is continuous N number of tactile
Coordinate data a little is touched, wherein N is the integer more than or equal to 2.
Optionally, the touch gestures identification module is additionally operable to the touch that will be identified according to the touch data
Gesture reports the second processing device.Wherein, touch gestures identification module can report a flag bit or
Mode bit, informs the touch operation type of second processing device user, such as, the touch operation of user is for the left
Slide.
Wherein, the touch type identification module is specifically for according to the touch point coordinate data, identification is used
More than pre-conditioned, then the type of the touch event is first kind event to the touch speed at family;Described
Two processors judge that the user interface that user touches needs to report the positional information of touch point, and the touch class
Type identification module is specifically for according to the touch point coordinate data, the touch speed of identifying user is less than default
Condition, then the type of the touch event is Second Type event.
Optionally, second processing device is according to corresponding touch gestures and touches point coordinate data, redraw the electricity
The user interface of sub- equipment.
By electronic equipment provided in an embodiment of the present invention, the operation load of second processing device can be reduced and transported
Row power consumption, improves the fluency of system touch operation, lifts the touch operation experience of user.
Embodiment three
Fig. 3 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention.
The electronic equipment includes:
First processing units 301, for receiving the touch data that touch-screen is reported, wherein, described first is processed
Unit includes touch type identification module and touch gestures identification module;
Recognition unit 302, touch event is recognized for the touch type identification module according to the touch data
Type;
First reporting unit 303, it is described to touch if the type for the touch event is first kind event
Touch type identification module and report the touch data to the touch gestures identification module;
Second reporting unit 304, it is described to touch if the type for the touch event is Second Type event
Touch type identification module and report the touch data to the touch gestures identification module and second processing unit;
Wherein, the touch gestures identification module is used for the touch gestures of identifying user, the second processing list
Unit is for execution operation corresponding with the touch gestures.
Optionally, the second processing unit is the Main Processor Unit of the electronic equipment.
Optionally, the touch gestures identification module is additionally operable to the touch that will be identified according to the touch data
Gesture reports the second processing unit.
Optionally, the second processing unit is specially for performing operation corresponding with the touch gestures:
The second processing unit is used for according to the touch gestures and touches point coordinate data, redraws the electronics and sets
Standby user interface.
Optionally, the touch data includes the touch point that detects of the touch-screen in the electronic equipment
Coordinate data on touch-screen, first recognition unit specifically for:The touch type identification module root
According to the type that touch event is recognized including the touch data touched including point coordinate data, wherein the touch point
Data of passing away in a sitting posture are the coordinate data of continuous N number of touch point, and wherein N is the integer more than or equal to 2.
Optionally, the electronic equipment also includes:First judging unit, for the touch type mould is recognized
Root tuber is more than pre-conditioned, the then touch according to the touch point coordinate data, the touch speed of identifying user
The type of event is first kind event.
If the user interface that the second processing unit judges user touches needs to report the positional information of touch point,
And the electronic equipment also includes the second judging unit, touched according to described for the touch type identification module
Touch point coordinate data, less than pre-conditioned, then the type of the touch event is for the touch speed of identifying user
Second Type event.
Wherein, it is described to touch the distance that speed refers to touch point continuous moving on the touch-screen in the unit interval.
By electronic equipment provided in an embodiment of the present invention, can reduce second processing unit operation load and
Operation power consumption, improves the fluency of system touch operation, lifts the touch operation experience of user.
Finally it should be noted that:Above example only to exemplary illustration technical scheme, rather than
It is limited;Although having carried out in detail to the beneficial effect that the present invention and the present invention bring with reference to the foregoing embodiments
Explanation, it will be understood by those within the art that:It still can be to described in foregoing embodiments
Technical scheme modify, or equivalent is carried out to which part technical characteristic;And these modification or
Person replaces, and does not make the scope of the essence disengaging the claims in the present invention of appropriate technical solution.
Claims (18)
1. the method that touch data is reported in a kind of electronic equipment, it is characterised in that methods described includes:
First processing units receive the touch data that touch-screen is reported, wherein, the first processing units include
Touch type identification module and touch gestures identification module;
The touch type identification module recognizes the type of touch event according to the touch data;
If the type of the touch event is first kind event, the touch type identification module reports institute
Touch data is stated to the touch gestures identification module;
If the type of the touch event is Second Type event, the touch type identification module reports institute
Touch data is stated to the touch gestures identification module and second processing unit;
Wherein, the touch gestures identification module is used for identification touch gestures corresponding with the touch data,
The second processing unit is used to perform operation corresponding with the touch gestures.
2. method according to claim 1, it is characterised in that the touch data includes the touch
Coordinate data of the touch point that screen is detected on the touch-screen of the electronic equipment, the touch type identification
Module recognizes that the type of touch event is specially according to the touch data:
The touch type identification module is according to including the touch data identification touch touched including point coordinate data
The type of event, wherein the touch point is passed away in a sitting posture, data are the coordinate data of continuous N number of touch point, wherein
N is the integer more than or equal to 2.
3. method according to claim 1, it is characterised in that the touch gestures identification module is also used
In the touch gestures identified according to the touch data are reported into the second processing unit.
4. method according to claim 2, it is characterised in that the touch type identification module according to
The touch point coordinate data, the touch speed of identifying user more than pre-conditioned, then the touch event
Type is first kind event, wherein the touch speed refers to that touch point is on the touch-screen in the unit interval
The distance of continuous moving.
5. method according to claim 2, it is characterised in that the touch type identification module according to
The touch point coordinate data, the touch speed of identifying user is less than pre-conditioned, and the second processing list
Unit judges that the user interface that user touches needs to report the positional information of touch point, then the class of the touch event
Type is Second Type event, wherein the touch speed refers to that touch point connects on the touch-screen in the unit interval
Continue mobile distance.
6. method according to claim 3, it is characterised in that the second processing unit is used to perform
Operation corresponding with the touch gestures is specially:The second processing unit is according to the touch gestures and touches
Point coordinate data is touched, the user interface of the electronic equipment is redrawn.
7. a kind of electronic equipment, it is characterised in that the electronic equipment includes:First processor, at second
Reason device and touch-screen;Wherein, the touch-screen is used to generate touch data according to the touch operation of user;
The first processor is used to receive the touch data that the touch-screen is reported, wherein described first is processed
Device includes touch type identification module and touch gestures identification module;
The touch type identification module is used for:
The type of touch event is recognized according to the touch data;
In the case where the type of the touch event is first kind event, the touch data is reported to institute
State touch gestures identification module;
In the case where the type of the touch event is Second Type event, the touch data is reported to institute
State touch gestures identification module and second processing device;
Wherein, the touch gestures identification module is used for identification touch gestures corresponding with the touch data,
The second processing device is used to perform operation corresponding with the touch gestures.
8. the electronic equipment according to right will go 7, it is characterised in that the touch data includes described
Coordinate data of the touch point that touch-screen is detected on the touch-screen, the touch type identification module is used
It is specially in the type that touch event is recognized according to the touch data:
The touch type identification module is used for according to including the touch data identification touched including point coordinate data
The type of touch event, wherein the touch point coordinate data is the coordinate data of continuous N number of touch point,
Wherein N is the integer more than or equal to 2.
9. electronic equipment according to claim 7, it is characterised in that
The touch gestures identification module is additionally operable to report the touch gestures identified according to the touch data
To the second processing device.
10. electronic equipment according to claim 8, it is characterised in that the touch type recognizes mould
Block is pre-conditioned specifically for being more than according to the touch speed of the touch point coordinate data, identifying user, then
The type of the touch event is first kind event, wherein the touch speed refers to touch point in the unit interval
The distance of continuous moving on the touch-screen.
11. electronic equipments according to claim 8, it is characterised in that the second processing device judges
The user interface that user touches needs to report the positional information of touch point, and the touch type identification module to have
Body is pre-conditioned for being less than according to the touch speed of the touch point coordinate data, identifying user, then it is described
The type of touch event is Second Type event, wherein the touch speed refers to that touch point is in institute in the unit interval
State the distance of continuous moving on touch-screen.
12. electronic equipments according to claim 9, it is characterised in that the second processing device is used for
Perform operation corresponding with the touch gestures to be specially:The second processing device is used for according to the touch hand
Gesture and touch point coordinate data, redraw the user interface of the electronic equipment.
13. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
First processing units, for receiving the touch data that touch modules are reported, wherein, described first is processed
Unit includes touch type identification module and touch gestures identification module;
Recognition unit, touch event is recognized for the touch type identification module according to the touch data
Type;
First reporting unit, if for the touch event type be first kind event, the touch
Type identification module reports the touch data to the touch gestures identification module;
Second reporting unit, if for the touch event type be Second Type event, the touch
Type identification module reports the touch data to the touch gestures identification module and second processing unit;
Wherein, the touch gestures identification module is used for the touch gestures of identifying user, the second processing list
Unit is for execution operation corresponding with the touch gestures.
14. electronic equipments according to claim 13, it is characterised in that the touch data includes institute
State the coordinate data of touch point that touch modules detect on the touch-screen of the electronic equipment, described first
Recognition unit specifically for:
The touch type identification module is according to including the touch data identification touch touched including point coordinate data
The type of event, wherein the touch point is passed away in a sitting posture, data are the coordinate data of continuous N number of touch point, wherein
N is the integer more than or equal to 2.
15. electronic equipments according to claim 13, it is characterised in that the touch gestures recognize mould
Block is additionally operable to for the touch gestures identified according to the touch data to report the second processing unit.
16. electronic equipments according to claim 14, it is characterised in that the electronic equipment also includes:
First judging unit, for the touch type identification module according to the touch point coordinate data, knows
More than pre-conditioned, then the type of the touch event is first kind event to the touch speed of other user, its
Described in touch speed and refer to the distance of touch point continuous moving on the touch-screen in the unit interval.
17. electronic equipments according to claim 14, it is characterised in that the electronic equipment also includes:
Second judging unit, for the touch type identification module according to the touch point coordinate data, knows
The touch speed of other user is less than pre-conditioned, and user circle that the second processing unit judges user touches
Face needs the positional information for reporting touch point, then the type of the touch event is Second Type event, wherein
It is described to touch the distance that speed refers to touch point continuous moving on the touch-screen in the unit interval.
18. electronic equipments according to claim 15, it is characterised in that the second processing unit is used
It is specially in operation corresponding with the touch gestures is performed:The second processing unit is used to be touched according to described
Touch gesture and touch point coordinate data, redraw the user interface of the electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510746767.3A CN106648400B (en) | 2015-11-03 | 2015-11-03 | Touch data reporting method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510746767.3A CN106648400B (en) | 2015-11-03 | 2015-11-03 | Touch data reporting method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106648400A true CN106648400A (en) | 2017-05-10 |
CN106648400B CN106648400B (en) | 2020-04-03 |
Family
ID=58851194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510746767.3A Active CN106648400B (en) | 2015-11-03 | 2015-11-03 | Touch data reporting method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648400B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108304040A (en) * | 2018-04-09 | 2018-07-20 | 广州视源电子科技股份有限公司 | Interactive intelligent panel and touch data processing method |
CN109992314A (en) * | 2019-04-09 | 2019-07-09 | Oppo广东移动通信有限公司 | Data reporting method, device, terminal and storage medium |
CN110362264A (en) * | 2019-06-28 | 2019-10-22 | 武汉海微科技有限公司 | A kind of dynamic gesture identification method based on touch tablet, device and system |
CN110502153A (en) * | 2019-08-30 | 2019-11-26 | Oppo(重庆)智能科技有限公司 | Method of adjustment, touch screen, electronic equipment and the storage medium of touch screen report point rate |
CN112114666A (en) * | 2020-08-25 | 2020-12-22 | 武汉海微科技有限公司 | Dynamic gesture recognition algorithm based on touch panel |
CN113050830A (en) * | 2021-03-16 | 2021-06-29 | 上海商米科技集团股份有限公司 | Anti-interference processing method for touch screen of Android desktop cash register |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1560729A (en) * | 1997-09-05 | 2005-01-05 | 摩托罗拉公司 | Method and apparatus for interfacing a processor to a coprocessor |
CN101930319A (en) * | 2010-09-08 | 2010-12-29 | 敦泰科技有限公司 | Touch information reporting method of touch screen |
EP2637087A2 (en) * | 2012-01-26 | 2013-09-11 | Honeywell International Inc. | Adaptive gesture recognition system and method for unstable work environments |
CN103294323A (en) * | 2013-06-13 | 2013-09-11 | 敦泰科技有限公司 | Method and device for touch detection and touch screen system |
CN103529976A (en) * | 2012-07-02 | 2014-01-22 | 英特尔公司 | Interference elimination in gesture recognition system |
-
2015
- 2015-11-03 CN CN201510746767.3A patent/CN106648400B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1560729A (en) * | 1997-09-05 | 2005-01-05 | 摩托罗拉公司 | Method and apparatus for interfacing a processor to a coprocessor |
CN101930319A (en) * | 2010-09-08 | 2010-12-29 | 敦泰科技有限公司 | Touch information reporting method of touch screen |
EP2637087A2 (en) * | 2012-01-26 | 2013-09-11 | Honeywell International Inc. | Adaptive gesture recognition system and method for unstable work environments |
CN103529976A (en) * | 2012-07-02 | 2014-01-22 | 英特尔公司 | Interference elimination in gesture recognition system |
CN103294323A (en) * | 2013-06-13 | 2013-09-11 | 敦泰科技有限公司 | Method and device for touch detection and touch screen system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108304040A (en) * | 2018-04-09 | 2018-07-20 | 广州视源电子科技股份有限公司 | Interactive intelligent panel and touch data processing method |
CN108304040B (en) * | 2018-04-09 | 2024-07-30 | 广州视源电子科技股份有限公司 | Interactive intelligent tablet and touch data processing method |
CN109992314A (en) * | 2019-04-09 | 2019-07-09 | Oppo广东移动通信有限公司 | Data reporting method, device, terminal and storage medium |
CN109992314B (en) * | 2019-04-09 | 2022-03-29 | Oppo广东移动通信有限公司 | Data reporting method, device, terminal and storage medium |
CN110362264A (en) * | 2019-06-28 | 2019-10-22 | 武汉海微科技有限公司 | A kind of dynamic gesture identification method based on touch tablet, device and system |
CN110362264B (en) * | 2019-06-28 | 2022-06-10 | 武汉海微科技有限公司 | Dynamic gesture recognition method, device and system based on touch pad |
CN110502153A (en) * | 2019-08-30 | 2019-11-26 | Oppo(重庆)智能科技有限公司 | Method of adjustment, touch screen, electronic equipment and the storage medium of touch screen report point rate |
CN112114666A (en) * | 2020-08-25 | 2020-12-22 | 武汉海微科技有限公司 | Dynamic gesture recognition algorithm based on touch panel |
CN113050830A (en) * | 2021-03-16 | 2021-06-29 | 上海商米科技集团股份有限公司 | Anti-interference processing method for touch screen of Android desktop cash register |
Also Published As
Publication number | Publication date |
---|---|
CN106648400B (en) | 2020-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106648400A (en) | Touch-data reporting method and electronic device | |
AU2012348377B2 (en) | Touch-sensitive button with two levels | |
EP3037927B1 (en) | Information processing apparatus and information processing method | |
US10082888B2 (en) | Stylus modes | |
US20120111491A1 (en) | Curved touch sensor | |
US20130154933A1 (en) | Force touch mouse | |
AU2017203910B2 (en) | Glove touch detection | |
US20110102333A1 (en) | Detection of Gesture Orientation on Repositionable Touch Surface | |
KR20150014083A (en) | Method For Sensing Inputs of Electrical Device And Electrical Device Thereof | |
CN102768595B (en) | A kind of method and device identifying touch control operation instruction on touch-screen | |
US20160026843A1 (en) | Driving circuit, driving method, display apparatus and electronic apparatus | |
US20140368473A1 (en) | Method of selecting touch input source and electronic device using the same | |
CN104166460B (en) | Electronic equipment and information processing method | |
JP2014176019A (en) | Portable information processing device, input method for the same, and computer-executable program | |
US20180059806A1 (en) | Information processing device, input control method for controlling input to information processing device, and computer-readable storage medium storing program for causing information processing device to perform input control method | |
CN103809793A (en) | Information processing method and electronic device | |
US20140152586A1 (en) | Electronic apparatus, display control method and storage medium | |
CN103677616A (en) | Operating method of electronic device | |
WO2013005988A2 (en) | Touch screen device and signal processing method therefor | |
CN103809794A (en) | Information processing method and electronic device | |
JP2014056519A (en) | Portable terminal device, incorrect operation determination method, control program, and recording medium | |
TWI478017B (en) | Touch panel device and method for touching the same | |
KR102235914B1 (en) | Display device with touchscreen and method for driving the same | |
CN102520818B (en) | Touch control system and control method thereof | |
CN104345956A (en) | Method for preventing palm from touching by mistake |
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 | ||
CB02 | Change of applicant information |
Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Applicant after: Huawei Device Co., Ltd. Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Applicant before: HUAWEI terminal (Dongguan) Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |