CN106339115A - Terminal touch recognition method and device - Google Patents

Terminal touch recognition method and device Download PDF

Info

Publication number
CN106339115A
CN106339115A CN201510420354.6A CN201510420354A CN106339115A CN 106339115 A CN106339115 A CN 106339115A CN 201510420354 A CN201510420354 A CN 201510420354A CN 106339115 A CN106339115 A CN 106339115A
Authority
CN
China
Prior art keywords
data
acceleration
operating body
touch
threshold
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
Application number
CN201510420354.6A
Other languages
Chinese (zh)
Other versions
CN106339115B (en
Inventor
江忠胜
潘双全
刘丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510420354.6A priority Critical patent/CN106339115B/en
Publication of CN106339115A publication Critical patent/CN106339115A/en
Application granted granted Critical
Publication of CN106339115B publication Critical patent/CN106339115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a terminal touch recognition method and device. The terminal touch recognition method comprises the following steps: turning on an acceleration sensor; acquiring acceleration variation data generated when an operation body touches a touch screen, and data about length of time in which the operation body touches the touch screen through the acceleration sensor; and recognizing a touch type of the operation body based on the acceleration variation data and the data about length of time. Therefore, the terminal touch recognition method and device provided by the invention can utilize the acceleration sensor to recognize the touch type of the operation body, perform different applications according to the touch types of different operation bodies, and further improve user experience.

Description

Terminal touch control identification method and device
Technical field
It relates to network communication technology field, more particularly, to terminal touch control identification method and device.
Background technology
With the continuous development of the network communications technology, the user terminal with touch screen has also obtained extensively should With.Such as, user terminal is mobile phone.User can be right by completing to the different operating of terminal touch screen The various applications of terminal.Wherein, user operation is probably finger touch it is also possible to articulations digitorum manus touch-control.
In correlation technique, terminal touch screen can accept user operation, executed corresponding according to user operation Application.But, terminal touch screen cannot be distinguished by the touch type of user operation, no matter finger touch is still Articulations digitorum manus touch-control is carried out the function of finger touch so that articulations digitorum manus touch-control cannot realize more functions.
Content of the invention
For overcoming problem present in correlation technique, present disclose provides terminal touch control identification method and device.
First aspect according to the embodiment of the present disclosure, there is provided a kind of terminal touch control identification method, described side Method includes:
Open acceleration transducer;
Operating body is obtained by described acceleration transducer and contacts the acceleration change data producing during touch screen Contact the time span data of described touch screen with described operating body;
Identify the touch-control class of described operating body according to described acceleration change data and described time span data Type.
Optionally, produce during the described acquisition operating body contact touch screen by described acceleration transducer adds Speed change data contacts the time span data of described touch screen with described operating body, comprising:
Detect that operating body contacts the acceleration producing during touch screen by described acceleration transducer;
Calculate the difference of detected peak acceleration and minimum acceleration, described difference is described operation Body contacts the acceleration change data producing during touch screen;
Calculate described operating body according to detected acceleration total quantity and unit acceleration time span to connect The persistent period of tactile touch screen, the described persistent period is that the time of the described operating body described touch screen of contact is long Degrees of data.
Optionally, described described behaviour is identified according to described acceleration change data and described time span data Make the touch type of body, comprising:
Judge whether described acceleration change data is more than the first default change threshold and the default change less than second Change threshold value, the described first default change threshold is less than the described second default change threshold;
When described acceleration change data is more than the first default change threshold and is less than the second default change threshold When, judge whether described time span data is less than preset time threshold;
When described time span data is less than preset time threshold, determine the touch type of described operating body For articulations digitorum manus touch type.
Optionally, described judge that described time span data, whether less than after preset time threshold, is also wrapped Include:
When described time span data is not less than preset time threshold, determine the touch-control class of described operating body Type is finger touch type.
Optionally, described judge the described acceleration change data whether default change threshold and little more than first After the second default change threshold, also include:
When described acceleration change data is not more than the first default change threshold, determine described operating body Touch type is finger touch type.
Optionally, described judge the described acceleration change data whether default change threshold and little more than first After the second default change threshold, also include:
When described acceleration change data is not less than the second default change threshold, determine described operating body Touch type is articulations digitorum manus touch type.
Optionally, the described class identifying described operating body according to acceleration change data and time span data Type, comprising:
Judge described acceleration change data whether more than default change threshold;
When described acceleration change data is more than default change threshold, judge that described time span data is No less than preset time threshold;
When described time span data is less than preset time threshold, determine the touch type of described operating body For articulations digitorum manus touch type.
Optionally, described judge described acceleration change data whether more than default change threshold after, also Including:
When described acceleration change data is not more than default change threshold, judge described time span data Whether it is not less than preset time threshold;
When described time span data is not less than preset time threshold, determine the touch-control class of described operating body Type is finger touch type.
Second aspect according to the embodiment of the present disclosure, there is provided a kind of terminal touch control identification device, described dress Put including:
Opening module, for opening acceleration transducer;
Acquisition module, for produce during by described acceleration transducer acquisition operating body contact touch screen Acceleration change data contacts the time span data of described touch screen with described operating body;
Identification module, described in identifying according to described acceleration change data and described time span data The touch type of operating body.
Optionally, described acquisition module includes:
Detection sub-module, produces for detecting operating body to contact during touch screen by described acceleration transducer Acceleration;
First calculating sub module, for calculating the difference of detected peak acceleration and minimum acceleration, Described difference is that described operating body contacts the acceleration change data producing during touch screen;
Second calculating sub module, for according to detected acceleration total quantity and unit acceleration time Operating body described in length computation contacts the persistent period of touch screen, and the described persistent period connects for described operating body Touch the time span data of described touch screen.
Optionally, described identification module includes:
First judging submodule, changes for judging whether described acceleration change data is default more than first Threshold value and less than the second default change threshold, the described first default change threshold is less than described second and default becomes Change threshold value;
Second judging submodule, for being described acceleration when the judged result of described first judging submodule Delta data is more than the first default change threshold and judges the described time less than second during default change threshold Whether length data is less than preset time threshold;
First determination sub-module, for being that the described time is long when the judged result of described second judging submodule When degrees of data is less than preset time threshold, determine that the touch type of described operating body is articulations digitorum manus touch type.
Optionally, described identification module also includes:
Second determination sub-module, for being that the described time is long when the judged result of described second judging submodule When degrees of data is not less than preset time threshold, determine that the touch type of described operating body is finger touch type.
Optionally, described identification module also includes:
3rd determination sub-module, for being described acceleration when the judged result of described first judging submodule When delta data is not more than the first default change threshold, determine that the touch type of described operating body is touched for finger Control type.
Optionally, described identification module also includes:
4th determination sub-module, for being described acceleration when the judged result of described first judging submodule When delta data is not less than the second default change threshold, determine that the touch type of described operating body is articulations digitorum manus Touch type.
Optionally, described identification module includes:
Whether the 3rd judging submodule, for judging described acceleration change data more than default change threshold;
4th judging submodule, for being when described acceleration becomes when the judged result of described 3rd submodule When changing data more than default change threshold, judge whether described time span data is less than preset time threshold;
5th determination sub-module, for being when the described time when the judged result of described 4th judging submodule When length data is less than preset time threshold, determine that the touch type of described operating body is articulations digitorum manus touch-control class Type.
Optionally, described identification module also includes:
5th judging submodule, for being described acceleration when the judged result of described 3rd judging submodule When delta data is not more than default change threshold, when whether judging described time span data not less than presetting Between threshold value;
6th determination sub-module, for being that the described time is long when the judged result of described 5th judging submodule When degrees of data is not less than preset time threshold, determine that the touch type of described operating body is finger touch type.
The third aspect according to the embodiment of the present disclosure, there is provided a kind of terminal touch control identification device, described dress Put including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Open acceleration transducer;
Operating body is obtained by described acceleration transducer and contacts the acceleration change data producing during touch screen Contact the time span data of described touch screen with described operating body;
Identify the touch-control of described operating body according to described acceleration change data and described time span data Type.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
In the disclosure, user terminal opens acceleration transducer, obtains operating body by acceleration transducer and connects The acceleration change data producing during tactile touch screen contacts the time span data of touch screen, root with operating body The time that the acceleration change data producing during according to operating body contact touch screen contacts touch screen with operating body is long Degrees of data identifies the touch type of this operating body, it is achieved thereby that identifying operating body using acceleration transducer Touch type, and according to the different applications of the touch type of different operating body execution, and then improve Consumer's Experience.
In the disclosure user terminal can by the detection of acceleration transducer realize acceleration change data and The acquisition of time span data, thus improve the efficiency that user terminal identifies touch type.
Use user terminal can preset change threshold by arranging the first default change threshold and second in the disclosure Value, and between the first default change threshold and the second default change threshold, not only become according to acceleration Change value, just can recognize that the touch type of operating body referring also to time span data, thus improve knowledge The accuracy of the touch type of other operating body.
In the disclosure, user terminal can be in order to acceleration change data is divided into by default change threshold Two kinds of situations: acceleration change data is more than default change threshold and acceleration change data is not more than in advance The identification of the touch type to operating body if change threshold, is then completed in binding time length data, from And improve the accuracy of the touch type of identification operating body.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory , the disclosure can not be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows and meets this public affairs The embodiment opened, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of terminal touch control identification method flow chart according to an exemplary embodiment for the disclosure;
Fig. 2 is another kind of terminal touch control identification method flow process according to an exemplary embodiment for the disclosure Figure;
Fig. 3 is another kind of terminal touch control identification method flow process according to an exemplary embodiment for the disclosure Figure;
Fig. 4 is another kind of terminal touch control identification method flow process according to an exemplary embodiment for the disclosure Figure;
Fig. 5 is a kind of application of terminal touch control identification method according to an exemplary embodiment for the disclosure Scene graph;
Fig. 6 is a kind of block diagram of terminal touch control identification device according to an exemplary embodiment for the disclosure;
Fig. 7 is the frame of another kind of terminal touch control identification device according to an exemplary embodiment for the disclosure Figure;
Fig. 8 is the frame of another kind of terminal touch control identification device according to an exemplary embodiment for the disclosure Figure;
Fig. 9 is the frame of another kind of terminal touch control identification device according to an exemplary embodiment for the disclosure Figure;
Figure 10 is that disclosure one kind according to an exemplary embodiment is used for terminal touch control identification device A structural representation.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Following When description is related to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous Key element.Embodiment described in following exemplary embodiment does not represent the institute consistent with the disclosure There is embodiment.On the contrary, they be only with such as appended claims in described in detail, the disclosure one The example of a little consistent apparatus and method of aspect.
The term using in the disclosure is the purpose only merely for description specific embodiment, and is not intended to be limiting The disclosure." a kind of " of singulative used in disclosure and the accompanying claims book, " institute State " and " being somebody's turn to do " be also intended to including most forms, unless context clearly shows that other implications.Also should Work as understanding, term "and/or" used herein refers to and comprises one or more associated to list item Any or all possible combination of purpose.
It will be appreciated that though may be described various using term first, second, third, etc. in the disclosure Information, but these information should not necessarily be limited by these terms.These terms only be used for by same type of information that This distinguishes.For example, without departing from the scope of this disclosure, the first information can also be referred to as Two information, similarly, the second information can also be referred to as the first information.Depending on linguistic context, as in this institute Use word " if " can be construed to " and ... when " or " when ... when " or " response In determination ".
As shown in figure 1, Fig. 1 is a kind of terminal touch-control according to an exemplary embodiment for the disclosure knowing Other method flow diagram, the method can be used on user terminal, and this user terminal has touch screen, the party Method comprises the following steps:
In step 110, open acceleration transducer.
In the embodiment of the present disclosure, user terminal can adopt the acceleration transducer detection operating body of itself to connect The acceleration producing during tactile touch screen.Wherein, acceleration transducer is that acceleration is converted to signal by one kind Sensor, can be used to measure user operation and act on the power on terminal touch screen in accelerator.Therefore This, user terminal execution terminal touch-control identification, first open acceleration transducer.
In the step 120, operating body is obtained by acceleration transducer and contact the acceleration producing during touch screen Degree delta data contacts the time span data of touch screen with operating body.
In the embodiment of the present disclosure, operating body can be articulations digitorum manus of the finger of user or user etc.. The acceleration change data detecting when acceleration transducer and time span are all changing values, its change Change value may smaller it is also possible to than larger.Such as: the operating body of finger touch type, its acceleration Changing value may be smaller, and the persistent period may be long;And the operating body of articulations digitorum manus touch type, its Acceleration change value may ratio larger, the persistent period may be comparatively short.
In step 130, the acceleration change data producing during touch screen and operation are contacted according to operating body The time span data of body contact touch screen identifies the touch type of this operating body.
In the embodiment of the present disclosure, user terminal can pass through acceleration change value and this two bars of time span Part identifies the touch type of this operating body, and executes corresponding application according to different touch type.
Such as: when acceleration change value operating body is detected is little, time span is longer, then can be determined that This operating body is finger touch type.
Again such as: when acceleration change value operating body is detected is big, time span is shorter, then can sentence This operating body fixed is articulations digitorum manus touch type.
As seen from the above-described embodiment, user terminal opens acceleration transducer, is obtained by acceleration transducer The time that the acceleration change data producing during extract operation body contact touch screen contacts touch screen with operating body is long Degrees of data, contacts, according to operating body, the acceleration change data producing during touch screen and contacts touch with operating body The time span data of screen identifies the touch type of this operating body, it is achieved thereby that utilizing acceleration transducer The touch type of identification operating body, and according to the different application of the touch type execution of different operating body, And then improve Consumer's Experience.
As shown in Fig. 2 Fig. 2 is another kind of terminal touch-control according to an exemplary embodiment for the disclosure Recognition methodss flow chart, the method can be used in user terminal, passes through to accelerate in execution step 120 Degree sensor obtains the acceleration change data producing during operating body contact touch screen and contacts touch with operating body During the time span data of screen, may comprise steps of:
In step 210, detect that operating body contacts the acceleration producing during touch screen by acceleration transducer Degree.
In a step 220, the difference of detected peak acceleration and minimum acceleration, this difference are calculated It is worth and contact, for operating body, the acceleration change data producing during touch screen.
In the embodiment of the present disclosure, the acceleration change data of operating body can be equal to peak acceleration and minimum Difference between acceleration.
In step 230, according to detected acceleration total quantity and unit acceleration time span meter Calculate the persistent period that operating body contacts touch screen, the time that this persistent period contacts touch screen for operating body is long Degrees of data.
In the embodiment of the present disclosure, when the persistent period of operating body contact touch screen can be equal to unit acceleration Between length and acceleration total quantity long-pending.
As seen from the above-described embodiment, user terminal can realize acceleration by the detection of acceleration transducer Delta data and the acquisition of time span data, thus improve the efficiency that user terminal identifies touch type.
As shown in figure 3, Fig. 3 is another kind of terminal touch-control according to an exemplary embodiment for the disclosure Recognition methodss flow chart, the method can be used in user terminal, according to operation in execution step 130 Body contacts the time span data that the acceleration change data producing during touch screen contacts touch screen with operating body Identify this operating body touch type when, may comprise steps of:
In the step 310, judge whether acceleration change data is more than the first default change threshold and is less than Second default change threshold.Wherein, the first default change threshold is less than the second default change threshold.When plus Speed change data is more than the first default change threshold and less than second during default change threshold, execution step 320;When acceleration change data is not more than the first default change threshold, execution step 350;Work as acceleration When degree delta data is not less than the second default change threshold, execution step 360.
In the embodiment of the present disclosure, the default change threshold of setting first and the second default change threshold are to carry The accuracy of the touch type of high identification operating body, avoids the occurrence of finger touch type as far as possible and articulations digitorum manus touch The situation of the erroneous judgement of control type.Especially the first default change threshold and the second default change threshold it Between, the time span data ability of touch screen not only according to acceleration change value, is contacted referring also to operating body Can recognize that the touch type of operating body.
In step 320, when judging that whether operating body contacts the time span data of touch screen less than presetting Between threshold value.When time length data is less than preset time threshold, execution step 330;Work as time span When data is not less than preset time threshold, execution step 340.
In a step 330, the touch type determining operating body is articulations digitorum manus touch type, and flow process terminates.
In step 340, the touch type determining operating body is finger touch type, and flow process terminates.
In step 350, the touch type determining operating body is finger touch type, and flow process terminates.
In step 360, the touch type determining operating body is articulations digitorum manus touch type, and flow process terminates.
As seen from the above-described embodiment, user terminal can be pre- by the default change threshold of setting first and second If change threshold, and between the first default change threshold and the second default change threshold, not only basis Acceleration change value, just can recognize that the touch type of operating body referring also to time span data, thus Improve the accuracy of the touch type of identification operating body.
As shown in figure 4, Fig. 4 is another kind of terminal touch-control according to an exemplary embodiment for the disclosure Recognition methodss flow chart, the method can be used in user terminal, according to acceleration in execution step 130 During the touch type of degree delta data and time span data identification operating body, may comprise steps of:
In step 410, judge acceleration change data whether more than default change threshold.Work as acceleration When delta data is more than default change threshold, execution step 420;When acceleration change data is not more than in advance If during change threshold, execution step 440.
In the embodiment of the present disclosure, the default change threshold of setting is to by acceleration change data, be divided into Two kinds: acceleration change data is more than default change threshold and acceleration change data is not more than default change Change threshold value.Determine whether time span data further according to both of these case, binding time length data Judged result completes the identification of the touch type to operating body.
At step 420, judge whether time span data is less than preset time threshold.Work as time span When data is less than preset time threshold, execution step 430.
In step 430, the touch type determining operating body is articulations digitorum manus touch type, and flow process terminates.
In step 440, judge whether time span data is not less than preset time threshold.Long when the time When degrees of data is not less than preset time threshold, execution step 450.
In step 450, the touch type determining operating body is finger touch type, and flow process terminates.
As seen from the above-described embodiment, user terminal can be for acceleration change by default change threshold Data is divided into two kinds of situations: acceleration change data is more than default change threshold and acceleration change number According to being not more than default change threshold, then complete the touch type to operating body in binding time length data Identification, thus improve identification operating body touch type accuracy.
As shown in figure 5, Fig. 5 is a kind of terminal touch-control according to an exemplary embodiment for the disclosure knowing The application scenario diagram of other method.This application scenarios includes user and user terminal.Wherein, user terminal tool There is touch screen.
User terminal opens acceleration transducer;
User terminal obtains operating body by acceleration transducer and contacts the acceleration change producing during touch screen Data contacts the time span data of described touch screen with described operating body.Wherein, operating body can be used Articulations digitorum manus of the finger at family or user etc..
Identify the touch type of operating body according to acceleration change data and time span data.
Corresponding with aforementioned terminals touch control identification method embodiment, the disclosure additionally provides the identification of terminal touch-control The embodiment of device.
As shown in fig. 6, Fig. 6 is a kind of terminal touch-control according to an exemplary embodiment for the disclosure knowing The block diagram of other device, described device is applied on user terminal, and touches for executing the terminal shown in Fig. 1 Control recognition methodss, described device includes: opening module 61, acquisition module 62 and identification module 63.
Wherein, opening module 61 is configured to open acceleration transducer.
When acquisition module 62 is configured to described acceleration transducer acquisition operating body contact touch screen The acceleration change data producing contacts the time span data of described touch screen with described operating body.
Identification module 63 is configured to be known according to described acceleration change data and described time span data The touch type of not described operating body.
As seen from the above-described embodiment, open acceleration transducer, operating body is obtained by acceleration transducer The acceleration change data producing during contact touch screen contacts the time span data of touch screen with operating body, The time that the acceleration change data producing during touch screen contacts touch screen with operating body is contacted according to operating body Length data identifies the touch type of this operating body, it is achieved thereby that using acceleration transducer identification operation The touch type of body, and according to the different application of the touch type execution of different operating body, and then improve Consumer's Experience.
As shown in fig. 7, Fig. 7 is another kind of terminal touch-control according to an exemplary embodiment for the disclosure The block diagram of identifying device, described device is applied on user terminal, and it is tactile to set up the terminal shown in Fig. 6 On the basis of control identifying device, described acquisition module 62 can also include: detection sub-module 71, first Calculating sub module 72 and the second calculating sub module 73.
Wherein, detection sub-module 71 is configured to described acceleration transducer and detects that operating body contact is touched Touch the acceleration producing during screen.
First calculating sub module 72 is configured to calculate detected peak acceleration and minimum acceleration Difference, described difference is that described operating body contacts the acceleration change data producing during touch screen.
Second calculating sub module 73 is configured to be accelerated according to detected acceleration total quantity and unit Degree time span calculates the persistent period that described operating body contacts touch screen, and the described persistent period is described behaviour Make the time span data that body contacts described touch screen.
As seen from the above-described embodiment, acceleration change data can be realized by the detection of acceleration transducer With the acquisition of time span data, thus improve user terminal identify touch type efficiency.
As shown in figure 8, Fig. 8 is another kind of terminal touch-control according to an exemplary embodiment for the disclosure The block diagram of identifying device, described device is applied on user terminal, and it is tactile to set up the terminal shown in Fig. 6 On the basis of control identifying device, described identification module 63 can also include: the first judging submodule 81, Second judging submodule 82 and the first determination sub-module 83.In addition, described identification module 63 can also wrap Include at least in the second determination sub-module 84, the 3rd determination sub-module 85 and the 3rd determination sub-module 85 Kind.
Wherein, whether the first judging submodule 81 is configured to judge described acceleration change data more than the One presets change threshold and presets change threshold less than second, and the described first default change threshold is less than described Second default change threshold;
The judged result that second judging submodule 82 is configured as described first judging submodule 81 is to work as Described acceleration change data is more than the first default change threshold and during default change threshold, sentences less than second Whether described time span data of breaking is less than preset time threshold;
First determination sub-module 83 be configured as the judged result of described second judging submodule 82 for When described time span data is less than preset time threshold, determine that the touch type of described operating body is to refer to close Section touch type.
The judged result that second determination sub-module 84 is configured as described second judging submodule 82 is to work as When described time span data is not less than preset time threshold, determine that the touch type of described operating body is handss Refer to touch type.
The judged result that 3rd determination sub-module 85 is configured as described first judging submodule 81 is institute When stating acceleration change data no more than the first default change threshold, determine the touch type of described operating body For finger touch type.
The judged result that 4th determination sub-module 86 is configured as described first judging submodule 81 is institute State acceleration change data and determine the touch type of described operating body not less than second during default change threshold For articulations digitorum manus touch type.
As seen from the above-described embodiment, can be by arranging the first default change threshold and the second default change threshold Value, and between the first default change threshold and the second default change threshold, not only become according to acceleration Change value, just can recognize that the touch type of operating body referring also to time span data, thus improve knowledge The accuracy of the touch type of other operating body.
As shown in figure 9, Fig. 9 is another kind of terminal touch-control according to an exemplary embodiment for the disclosure The block diagram of identifying device, described device is applied on user terminal, and it is tactile to set up the terminal shown in Fig. 6 On the basis of control identifying device, described identification module 63 can also include: the 3rd judging submodule 91, 4th judging submodule 92 and the 5th determination sub-module 93.In addition, described identification module 63 can also wrap Include the 5th judging submodule 94 and the 6th determination sub-module 95.
Wherein, whether the 3rd judging submodule 91 is configured to judge described acceleration change data more than pre- If change threshold.
When 4th judging submodule 92 is configured to described acceleration change data more than default change threshold, Judge whether described time span data is less than preset time threshold.
The judged result that 5th determination sub-module 93 is configured as described 4th judging submodule 92 is institute When stating time span data less than preset time threshold, determine that the touch type of described operating body is articulations digitorum manus Touch type.
The judged result that 5th judging submodule 94 is configured as described 3rd judging submodule 91 is institute When stating acceleration change data and being not more than default change threshold, judge whether described time span data is not little In preset time threshold.
The judged result that 6th determination sub-module 95 is configured as described 5th judging submodule 94 is institute When stating time span data not less than preset time threshold, determine that the touch type of described operating body is finger Touch type.
As seen from the above-described embodiment, can be in order to acceleration change data divides by default change threshold For two kinds of situations: acceleration change data is more than default change threshold and acceleration change data is not more than Default change threshold, then completes the identification of the touch type to operating body in binding time length data, Thus improve the accuracy of the touch type of identification operating body.
Corresponding with Fig. 6, the disclosure also provides another kind of terminal touch control identification device, and described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Open acceleration transducer;
Operating body is obtained by described acceleration transducer and contacts the acceleration change data producing during touch screen Contact the time span data of described touch screen with described operating body;
Identify the touch-control class of described operating body according to described acceleration change data and described time span data Type.
In said apparatus, the process of realizing of the function of unit and effect specifically refers to correspondence in said method Step realize process, will not be described here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part ginseng See that the part of embodiment of the method illustrates.Device embodiment described above is only schematically, The wherein said unit illustrating as separating component can be or may not be physically separate, make For the part that unit shows can be or may not be physical location, you can with positioned at a place, Or can also be distributed on multiple NEs.Can select according to the actual needs part therein or The whole module of person is realizing the purpose of disclosure scheme.Those of ordinary skill in the art are not paying creativeness In the case of work, you can to understand and to implement.
As shown in Figure 10, Figure 10 is that disclosure one kind according to an exemplary embodiment is touched for terminal Another structural representation (terminal equipment side) of control identifying device 1000.For example, device 1000 can be had The mobile phone of routing function, computer, digital broadcast terminal, messaging devices, game console, Tablet device, armarium, body-building equipment, personal digital assistant etc..
With reference to Figure 10, device 1000 can include following one or more assemblies: process assembly 1002, deposit Reservoir 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, input/output (i/o) Interface 1012, sensor cluster 1014, and communication component 1016.
The integrated operation of the usual control device 1000 of process assembly 1002, such as with display, call, The associated operation of data communication, camera operation and record operation.Process assembly 1002 can include one or Multiple processors 1020 carry out execute instruction, to complete all or part of step of above-mentioned method.Additionally, place Reason assembly 1002 can include one or more modules, is easy between process assembly 1002 and other assemblies Interaction.For example, process assembly 1002 can include multi-media module, to facilitate multimedia groupware 1008 He Interaction between process assembly 1002.
Memorizer 1004 is configured to store various types of data to support the operation in device 1000.This The example of a little data includes the instruction for any application program of operation or method on device 1000, contact Personal data, telephone book data, message, picture, video etc..Memorizer 1004 can be by any kind of easy The property lost or non-volatile memory device or combinations thereof are realized, such as static RAM (sram), Electrically Erasable Read Only Memory (eeprom), Erasable Programmable Read Only Memory EPROM (eprom), programmable read only memory (prom), read only memory (rom), magnetic memory, Flash memory, disk or CD.
Power supply module 1006 provides electric power for the various assemblies of device 1000.Power supply module 1006 can include Power-supply management system, one or more power supplys, and other with generate for device 1000, manage and distribute electric power Associated assembly.
Multimedia groupware 1008 includes one output interface of offer between described device 1000 and user Screen.In certain embodiments, screen can include liquid crystal display (lcd) and touch panel (tp). If screen includes touch panel, screen may be implemented as touch screen, to receive the input letter from user Number.Touch panel includes one or more touch sensors with the handss on sensing touch, slip and touch panel Gesture.Described touch sensor can not only sensing touch or sliding action border, but also detection with described The persistent period of touch or slide correlation and pressure.In certain embodiments, multimedia groupware 1008 wraps Include a front-facing camera and/or post-positioned pick-up head.When device 1000 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Before each Put photographic head and post-positioned pick-up head can be the optical lens system of a fixation or have focal length and optical zoom Ability.
Audio-frequency assembly 1010 is configured to output and/or input audio signal.For example, audio-frequency assembly 1010 wraps Include a mike (mic), when device 1000 is in operator scheme, such as call model, logging mode and language During sound recognition mode, mike is configured to receive external audio signal.The audio signal being received can be by It is further stored in memorizer 1004 or send via communication component 1016.In certain embodiments, audio frequency Assembly 1010 also includes a speaker, for exports audio signal.
For providing interface between process assembly 1002 and peripheral interface module, above-mentioned periphery connects i/o interface 1012 Mouth module can be keyboard, click wheel, button etc..These buttons may include but be not limited to: home button, Volume button, start button and locking press button.
Sensor cluster 1014 includes one or more sensors, for providing various aspects for device 1000 State estimation.For example, what sensor cluster 1014 can detect device 1000 opens/closed mode, The relative localization of assembly, for example described assembly is display and the keypad of device 1000, sensor cluster 1014 Can be contacted with device 1000 with the position change of detection means 1000 or 1,000 1 assemblies of device, user Presence or absence of, the temperature change of device 1000 orientation or acceleration/deceleration and device 1000.Sensor Assembly 1014 can include proximity transducer, is configured near the detection when not having any physical contact The presence of object.Sensor cluster 1014 can also include optical sensor, and such as cmos or ccd image passes Sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1014 can also wrap Include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer, microwave remote sensor or temperature Sensor.
Communication component 1016 is configured to facilitate wired or wireless way between device 1000 and other equipment Communication.Device 1000 can access the wireless network based on communication standard, such as wifi, 2g or 3g, or it Combination.In one exemplary embodiment, communication component 1016 receives from outside via broadcast channel The broadcast singal of broadcasting management systems or broadcast related information.In one exemplary embodiment, described communication Assembly 1016 also includes near-field communication (nfc) module, to promote junction service.For example, in nfc module RF identification (rfid) technology, Infrared Data Association (irda) technology, ultra broadband (uwb) can be based on Technology, bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, device 1000 can be by one or more application specific integrated circuits (asic), digital signal processor (dsp), digital signal processing appts (dspd), FPGA Device (pld), field programmable gate array (fpga), controller, microcontroller, microprocessor or its He realizes, for executing said method electronic component.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable storage medium including instruction Matter, for example, include the memorizer 1004 instructing, and above-mentioned instruction can be executed by the processor 1020 of device 1000 To complete said method.For example, described non-transitorycomputer readable storage medium can be rom, random Access memorizer (ram), cd-rom, tape, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in described storage medium is by mobile terminal Computing device when so that mobile terminal is able to carry out a kind of terminal touch control identification method, methods described bag Include:
Open acceleration transducer;
The acceleration change value of user operation and the time of user operation are obtained by described acceleration transducer Length;
The time span of the acceleration change value according to user operation and user operation identifies described user operation Corresponding touch type, and execute the corresponding operating function of described touch type.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to this Disclosed other embodiment.The disclosure is intended to any modification, purposes or the adaptability of the disclosure Change, these modifications, purposes or adaptations are followed the general principle of the disclosure and are included this public affairs Open undocumented common knowledge in the art or conventional techniques.Description and embodiments only by It is considered as exemplary, the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to be described above and illustrated in the accompanying drawings accurate Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by institute Attached claim is limiting.

Claims (17)

1. a kind of terminal touch control identification method is it is characterised in that methods described includes:
Open acceleration transducer;
Operating body is obtained by described acceleration transducer and contacts the acceleration change data producing during touch screen Contact the time span data of described touch screen with described operating body;
Identify the touch-control class of described operating body according to described acceleration change data and described time span data Type.
2. method according to claim 1 it is characterised in that described by described acceleration sensing Device obtains the acceleration change data producing during operating body contact touch screen and contacts described touching with described operating body Touch the time span data of screen, comprising:
Detect that operating body contacts the acceleration producing during touch screen by described acceleration transducer;
Calculate the difference of detected peak acceleration and minimum acceleration, described difference is described operation Body contacts the acceleration change data producing during touch screen;
Calculate described operating body according to detected acceleration total quantity and unit acceleration time span to connect The persistent period of tactile touch screen, the described persistent period is that the time of the described operating body described touch screen of contact is long Degrees of data.
3. method according to claim 1 it is characterised in that described according to described acceleration change Data and the touch type of the described time span data described operating body of identification, comprising:
Judge whether described acceleration change data is more than the first default change threshold and the default change less than second Change threshold value, the described first default change threshold is less than the described second default change threshold;
When described acceleration change data is more than the described first default change threshold and presets less than described second During change threshold, judge whether described time span data is less than preset time threshold;
When described time span data is less than preset time threshold, determine the touch type of described operating body For articulations digitorum manus touch type.
4. method according to claim 3 is it is characterised in that described judgement described time span number According to whether less than after preset time threshold, also include:
When described time span data is not less than preset time threshold, determine the touch-control class of described operating body Type is finger touch type.
5. method according to claim 3 is it is characterised in that the described acceleration change of described judgement After whether data presets change threshold and the default change threshold less than second more than first, also include:
When described acceleration change data is not more than the first default change threshold, determine described operating body Touch type is finger touch type.
6. method according to claim 3 is it is characterised in that the described acceleration change of described judgement After whether data presets change threshold and the default change threshold less than second more than first, also include:
When described acceleration change data is not less than the second default change threshold, determine described operating body Touch type is articulations digitorum manus touch type.
7. method according to claim 1 it is characterised in that described according to acceleration change data Identify the type of described operating body with time span data, comprising:
Judge described acceleration change data whether more than default change threshold;
When described acceleration change data is more than default change threshold, judge that described time span data is No less than preset time threshold;
When described time span data is less than preset time threshold, determine the touch type of described operating body For articulations digitorum manus touch type.
8. method according to claim 7 is it is characterised in that the described acceleration change of described judgement After whether data is more than default change threshold, also include:
When described acceleration change data is not more than default change threshold, judge described time span data Whether it is not less than preset time threshold;
When described time span data is not less than preset time threshold, determine the touch-control class of described operating body Type is finger touch type.
9. a kind of terminal touch control identification device is it is characterised in that described device includes:
Opening module, for opening acceleration transducer;
Acquisition module, for produce during by described acceleration transducer acquisition operating body contact touch screen Acceleration change data contacts the time span data of described touch screen with described operating body;
Identification module, described in identifying according to described acceleration change data and described time span data The touch type of operating body.
10. device according to claim 9 is it is characterised in that described acquisition module includes:
Detection sub-module, produces for detecting operating body to contact during touch screen by described acceleration transducer Acceleration;
First calculating sub module, for calculating the difference of detected peak acceleration and minimum acceleration, Described difference is that described operating body contacts the acceleration change data producing during touch screen;
Second calculating sub module, for according to detected acceleration total quantity and unit acceleration time Operating body described in length computation contacts the persistent period of touch screen, and the described persistent period connects for described operating body Touch the time span data of described touch screen.
11. devices according to claim 9 are it is characterised in that described identification module includes:
First judging submodule, changes for judging whether described acceleration change data is default more than first Threshold value and less than the second default change threshold, the described first default change threshold is less than described second and default becomes Change threshold value;
Second judging submodule, for being described acceleration when the judged result of described first judging submodule Delta data is more than the first default change threshold and judges the described time less than second during default change threshold Whether length data is less than preset time threshold;
First determination sub-module, for being that the described time is long when the judged result of described second judging submodule When degrees of data is less than preset time threshold, determine that the touch type of described operating body is articulations digitorum manus touch type.
12. devices according to claim 11 are it is characterised in that described identification module also includes:
Second determination sub-module, for being when the described time when the judged result of described second judging submodule When length data is not less than preset time threshold, determine that the touch type of described operating body is finger touch class Type.
13. devices according to claim 11 are it is characterised in that described identification module also includes:
3rd determination sub-module, for being described acceleration when the judged result of described first judging submodule When delta data is not more than the first default change threshold, determine that the touch type of described operating body is touched for finger Control type.
14. devices according to claim 11 are it is characterised in that described identification module also includes:
4th determination sub-module, for being described acceleration when the judged result of described first judging submodule When delta data is not less than the second default change threshold, determine that the touch type of described operating body is articulations digitorum manus Touch type.
15. devices according to claim 9 are it is characterised in that described identification module includes:
Whether the 3rd judging submodule, for judging described acceleration change data more than default change threshold;
4th judging submodule, for being described acceleration change when the judged result of described 3rd submodule When data is more than default change threshold, judge whether described time span data is less than preset time threshold;
5th determination sub-module, for being that the described time is long when the judged result of described 4th judging submodule When degrees of data is less than preset time threshold, determine that the touch type of described operating body is articulations digitorum manus touch type.
16. devices according to claim 15 are it is characterised in that described identification module also includes:
5th judging submodule, for being described acceleration when the judged result of described 3rd judging submodule When delta data is not more than default change threshold, when whether judging described time span data not less than presetting Between threshold value;
6th determination sub-module, for being that the described time is long when the judged result of described 5th judging submodule When degrees of data is not less than preset time threshold, determine that the touch type of described operating body is finger touch type.
A kind of 17. terminal touch control identification devices are it is characterised in that described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Open acceleration transducer;
Operating body is obtained by described acceleration transducer and contacts the acceleration change data producing during touch screen Contact the time span data of described touch screen with described operating body;
Identify the touch-control class of described operating body according to described acceleration change data and described time span data Type.
CN201510420354.6A 2015-07-16 2015-07-16 Terminal touch control identification method and device Active CN106339115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510420354.6A CN106339115B (en) 2015-07-16 2015-07-16 Terminal touch control identification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510420354.6A CN106339115B (en) 2015-07-16 2015-07-16 Terminal touch control identification method and device

Publications (2)

Publication Number Publication Date
CN106339115A true CN106339115A (en) 2017-01-18
CN106339115B CN106339115B (en) 2019-11-15

Family

ID=57826793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510420354.6A Active CN106339115B (en) 2015-07-16 2015-07-16 Terminal touch control identification method and device

Country Status (1)

Country Link
CN (1) CN106339115B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120326999A1 (en) * 2011-06-21 2012-12-27 Northwestern University Touch interface device and method for applying lateral forces on a human appendage
CN104049728A (en) * 2013-03-15 2014-09-17 Lg电子株式会社 Electronic device and control method thereof
CN104718524A (en) * 2012-08-31 2015-06-17 日本电气方案创新株式会社 Input control device, thin-client system, input control method, and recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120326999A1 (en) * 2011-06-21 2012-12-27 Northwestern University Touch interface device and method for applying lateral forces on a human appendage
CN104718524A (en) * 2012-08-31 2015-06-17 日本电气方案创新株式会社 Input control device, thin-client system, input control method, and recording medium
CN104049728A (en) * 2013-03-15 2014-09-17 Lg电子株式会社 Electronic device and control method thereof

Also Published As

Publication number Publication date
CN106339115B (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN105549849A (en) Method and device for processing misoperation instruction
CN106709399A (en) Fingerprint identification method and device
CN104486451B (en) Application program recommends method and device
CN105573472A (en) Method and device for closing application program
CN105511686A (en) Incoming call processing method and device and electronic terminal equipment
CN105242870A (en) False touch method and device of terminal with touch screen
CN105433904A (en) Sleep state detection method, device and system
CN104537380A (en) Clustering method and device
CN106339137A (en) Terminal touch recognition method and device
CN104317402A (en) Description information display method and device and electronic equipment
CN105487680A (en) Terminal screen capture method and apparatus and terminal
CN106802741A (en) The determination method and device and mobile terminal of screen edge touch event
CN104898889A (en) Character determining method and device
CN105554255A (en) Operation control method and device for terminal equipment
CN106168877A (en) Enter the method and device of singlehanded pattern
CN107301242A (en) Method, device and the storage medium of page jump
CN105187671A (en) Recording method and device
CN105204713A (en) Incoming call responding method and device
CN106534658A (en) Method and apparatus for controlling shooting of camera and mobile terminal
CN104573642A (en) Face recognition method and device
CN106406587A (en) Terminal touch control identification method and device
CN106610777A (en) Application starting method and device and mobile terminal
CN107197107A (en) Enabled instruction processing method and processing device
CN107958273A (en) volume adjusting method, device and storage medium
CN106488132A (en) Photographic method and device

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