CN106339115B - Terminal touch control identification method and device - Google Patents

Terminal touch control identification method and device Download PDF

Info

Publication number
CN106339115B
CN106339115B CN201510420354.6A CN201510420354A CN106339115B CN 106339115 B CN106339115 B CN 106339115B CN 201510420354 A CN201510420354 A CN 201510420354A CN 106339115 B CN106339115 B CN 106339115B
Authority
CN
China
Prior art keywords
acceleration
operating body
data
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.)
Active
Application number
CN201510420354.6A
Other languages
Chinese (zh)
Other versions
CN106339115A (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.)
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

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

The disclosure is directed to terminal touch control identification method and devices, which comprises open acceleration transducer;The acceleration change data generated when operating body contacts touch screen are obtained by the acceleration transducer and the operating body contacts the time span data of the touch screen;The touch type of the operating body is identified according to the acceleration change data and the time span data.Therefore, the disclosure can use the touch type of acceleration transducer identification operating body, and different applications be executed according to the touch type of different operation body, and then improve user experience.

Description

Terminal touch control identification method and device
Technical field
This disclosure relates to network communication technology field more particularly to terminal touch control identification method and device.
Background technique
With the continuous development of network communication technology, the user terminal with touch screen is also widely applied.For example, User terminal is mobile phone.User can pass through the various applications of the complete paired terminal of different operation to terminal touch screen.Wherein, it uses Family operation may be finger touch, it is also possible to articulations digitorum manus touch-control.
In the related technology, terminal touch screen can receive user's operation, execute corresponding application according to user's operation.But It is that the touch type of user's operation cannot be distinguished in terminal touch screen, regardless of finger touch or articulations digitorum manus touch-control are carried out finger The function of touch-control, so that articulations digitorum manus touch-control cannot achieve more functions.
Summary of the invention
To overcome the problems in correlation technique, present disclose provides terminal touch control identification method and devices.
According to the first aspect of the embodiments of the present disclosure, a kind of terminal touch control identification method is provided, which comprises
Open acceleration transducer;
The acceleration change data that generate and described are obtained when operating body contacts touch screen by the acceleration transducer Operating body contacts the time span data of the touch screen;
The touch type of the operating body is identified according to the acceleration change data and the time span data.
Optionally, described that the acceleration change generated when operating body contacts touch screen is obtained by the acceleration transducer Data and the operating body contact the time span data of the touch screen, comprising:
The acceleration generated when operating body contacts touch screen is detected by the acceleration transducer;
The difference of detected peak acceleration and minimum acceleration is calculated, the difference is operating body contact touching The acceleration change data generated when touching screen;
The operating body contact is calculated according to detected acceleration total quantity and unit acceleration time span to touch The duration of screen, the duration are the time span data that the operating body contacts the touch screen.
Optionally, the touching that the operating body is identified according to the acceleration change data and the time span data Control type, comprising:
Judge whether the acceleration change data are greater than the first default change threshold and less than the second default change threshold, The first default change threshold is less than the described second default change threshold;
When the acceleration change data are greater than the first default change threshold and when less than the second default change threshold, judgement Whether the time span data are less than preset time threshold;
When the time span data are less than preset time threshold, determine that the touch type of the operating body is articulations digitorum manus Touch type.
It is optionally, described to judge whether the time span data are less than after preset time threshold, further includes:
When the time span data are not less than preset time threshold, determine that the touch type of the operating body is finger Touch type.
Optionally, described to judge whether the acceleration change data are greater than the first default change threshold and pre- less than second If after change threshold, further includes:
When the acceleration change data are not more than the first default change threshold, the touch type of the operating body is determined For finger touch type.
Optionally, described to judge whether the acceleration change data are greater than the first default change threshold and pre- less than second If after change threshold, further includes:
When the acceleration change data are not less than the second default change threshold, the touch type of the operating body is determined For articulations digitorum manus touch type.
Optionally, the type that the operating body is identified according to acceleration change data and time span data, comprising:
Judge whether the acceleration change data are greater than default change threshold;
When the acceleration change data are greater than default change threshold, it is pre- to judge whether the time span data are less than If time threshold;
When the time span data are less than preset time threshold, determine that the touch type of the operating body is articulations digitorum manus Touch type.
It is optionally, described to judge whether the acceleration change data are greater than after default change threshold, further includes:
When the acceleration change data are not more than default change threshold, judge whether the time span data are not small In preset time threshold;
When the time span data are not less than preset time threshold, determine that the touch type of the operating body is finger Touch type.
According to the second aspect of an embodiment of the present disclosure, a kind of terminal touch control identification device is provided, described device includes:
Opening module, for opening acceleration transducer;
Module is obtained, is become for obtaining the acceleration generated when operating body contacts touch screen by the acceleration transducer Change data and the operating body contacts the time span data of the touch screen;
Identification module, for identifying the operating body according to the acceleration change data and the time span data Touch type.
Optionally, the acquisition module includes:
Detection sub-module, for detecting the acceleration generated when operating body contacts touch screen by the acceleration transducer Degree;
First computational submodule, for calculating the difference of detected peak acceleration and minimum acceleration, the difference Value is that the operating body contacts the acceleration change data generated when touch screen;
Second computational submodule, for according to detected acceleration total quantity and the calculating of unit acceleration time span The duration of operating body contact touch screen, the duration be the operating body contact the touch screen time it is long Degree evidence.
Optionally, the identification module includes:
First judging submodule, for judging whether the acceleration change data are greater than the first default change threshold and small In the second default change threshold, the first default change threshold is less than the described second default change threshold;
Second judgment submodule is the acceleration change data for the judging result when first judging submodule When greater than the first default change threshold and less than the second default change threshold, it is default to judge whether the time span data are less than Time threshold;
First determines submodule, is that the time span data are small for the judging result when the second judgment submodule When preset time threshold, determine that the touch type of the operating body is articulations digitorum manus touch type.
Optionally, the identification module further include:
Second determine submodule, for when the second judgment submodule judging result be the time span data not When less than preset time threshold, determine that the touch type of the operating body is finger touch type.
Optionally, the identification module further include:
Third determines submodule, is the acceleration change data for the judging result when first judging submodule When no more than the first default change threshold, determine that the touch type of the operating body is finger touch type.
Optionally, the identification module further include:
4th determines submodule, is the acceleration change data for the judging result when first judging submodule When not less than the second default change threshold, determine that the touch type of the operating body is articulations digitorum manus touch type.
Optionally, the identification module includes:
Third judging submodule, for judging whether the acceleration change data are greater than default change threshold;
4th judging submodule is when the acceleration change data are big for the judging result when the third submodule When default change threshold, judge whether the time span data are less than preset time threshold;
5th determines submodule, is when the time span data for the judging result when the 4th judging submodule When less than preset time threshold, determine that the touch type of the operating body is articulations digitorum manus touch type.
Optionally, the identification module further include:
5th judging submodule is the acceleration change data for the judging result when the third judging submodule When no more than default change threshold, judge whether the time span data are not less than preset time threshold;
6th determine submodule, for when the 5th judging submodule judging result be the time span data not When less than preset time threshold, determine that the touch type of the operating body is finger touch type.
According to the third aspect of an embodiment of the present disclosure, a kind of terminal touch control identification device is provided, described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Open acceleration transducer;
The acceleration change data that generate and described are obtained when operating body contacts touch screen by the acceleration transducer Operating body contacts the time span data of the touch screen;
The touch type of the operating body is identified according to the acceleration change data and the time span data.
The technical scheme provided by this disclosed embodiment can include the following benefits:
User terminal opens acceleration transducer in the disclosure, obtains operating body by acceleration transducer and contacts touch screen When the acceleration change data that generate and operating body contact touch screen time span data, when contacting touch screen according to operating body The time span data of acceleration change data and operating body the contact touch screen of generation identify the touch type of the operating body, from And the touch type using acceleration transducer identification operating body is realized, and execute according to the touch type of different operation body Different applications, and then improve user experience.
User terminal can realize that acceleration change data and time are long by the detection of acceleration transducer in the disclosure The acquisition of degree evidence, to improve the efficiency of user terminal identification touch type.
In the disclosure with user terminal can by setting the first default change threshold and the second default change threshold, and It is long referring also to the time not only according to acceleration change value between the first default change threshold and the second default change threshold Degree is according to just can recognize that the touch type of operating body, to improve the accuracy of the touch type of identification operating body.
User terminal can be that two kinds of feelings are divided into for acceleration change data by default change threshold in the disclosure Condition: acceleration change data are greater than default change threshold and acceleration change data are not more than default change threshold, are then tying Identification of the time span data completion to the touch type of operating body is closed, to improve the standard of the touch type of identification operating body True property.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of disclosure terminal touch control identification method flow chart shown according to an exemplary embodiment;
Fig. 2 is the disclosure another terminal touch control identification method flow chart shown according to an exemplary embodiment;
Fig. 3 is the disclosure another terminal touch control identification method flow chart shown according to an exemplary embodiment;
Fig. 4 is the disclosure another terminal touch control identification method flow chart shown according to an exemplary embodiment;
Fig. 5 is a kind of disclosure application scenario diagram of terminal touch control identification method shown according to an exemplary embodiment;
Fig. 6 is a kind of disclosure block diagram of terminal touch control identification device shown according to an exemplary embodiment;
Fig. 7 is the block diagram of the disclosure another terminal touch control identification device shown according to an exemplary embodiment;
Fig. 8 is the block diagram of the disclosure another terminal touch control identification device shown according to an exemplary embodiment;
Fig. 9 is the block diagram of the disclosure another terminal touch control identification device shown according to an exemplary embodiment;
Figure 10 is an a kind of disclosure structure for terminal touch control identification device shown according to an exemplary embodiment Schematic diagram.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses. The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
As shown in Figure 1, Fig. 1 is a kind of disclosure terminal touch control identification method process shown according to an exemplary embodiment Figure, this method can be used on user terminal, which has touch screen, method includes the following steps:
In step 110, acceleration transducer is opened.
In the embodiment of the present disclosure, user terminal can contact touch screen using the acceleration transducer detection operating body of itself When the acceleration that generates.Wherein, acceleration transducer is a kind of sensor that acceleration is converted to signal, can be used to measure use Family operation acts on the power on terminal touch screen in accelerator.So user terminal executes the identification of terminal touch-control, first open Acceleration transducer.
In the step 120, the acceleration change number generated when operating body contacts touch screen is obtained by acceleration transducer According to the time span data with operating body contact touch screen.
In the embodiment of the present disclosure, operating body can be the finger of user, be also possible to the articulations digitorum manus etc. of user.Work as acceleration The acceleration change data and time span that sensor detects all are a changing values, and changing value may be smaller, can also It can be bigger.Such as: the operating body of finger touch type, acceleration change value may be smaller, and the duration may compare It is long;And the operating body of articulations digitorum manus touch type, acceleration change value may be bigger, the duration may be shorter.
In step 130, acceleration change data and operating body the contact touching generated when contacting touch screen according to operating body The time span data for touching screen identify the touch type of the operating body.
In the embodiment of the present disclosure, user terminal can be somebody's turn to do by acceleration change value and the identification of the two conditions of time span The touch type of operating body, and corresponding application is executed according to different touch types.
Such as: when the acceleration change value for detecting operating body is small, time span is longer, then can be determined that the operating body is Finger touch type.
For another example: when the acceleration change value for detecting operating body is big, time span is shorter, then can be determined that the operating body For articulations digitorum manus touch type.
As seen from the above-described embodiment, user terminal opens acceleration transducer, obtains operating body by acceleration transducer The time span data of acceleration change data and operating body the contact touch screen generated when contacting touch screen, connect according to operating body The time span data of acceleration change data and operating body the contact touch screen generated when touching touch screen identify the operating body Touch type, to realize the touch type using acceleration transducer identification operating body, and according to different operation body Touch type executes different applications, and then improves user experience.
As shown in Fig. 2, Fig. 2 is the disclosure another terminal touch control identification method stream shown according to an exemplary embodiment Cheng Tu, this method can be used in user terminal, obtain operating body contact touching by acceleration transducer in executing step 120 It may include following step when the time span data of acceleration change data and operating body the contact touch screen generated when touching screen It is rapid:
In step 210, the acceleration generated when operating body contacts touch screen is detected by acceleration transducer.
In a step 220, the difference of detected peak acceleration and minimum acceleration is calculated, which is operating body The acceleration change data generated when contacting touch screen.
In the embodiment of the present disclosure, the acceleration change data of operating body can be equal to peak acceleration and minimum acceleration it Between difference.
In step 230, according to detected acceleration total quantity and unit acceleration time span calculating operation body The duration of touch screen is contacted, which is the time span data that operating body contacts touch screen.
In the embodiment of the present disclosure, operating body contact touch screen duration can be equal to unit acceleration time span and The product of acceleration total quantity.
As seen from the above-described embodiment, user terminal can realize acceleration change data by the detection of acceleration transducer With the acquisition of time span data, thus improve user terminal identification touch type efficiency.
As shown in figure 3, Fig. 3 is the disclosure another terminal touch control identification method stream shown according to an exemplary embodiment Cheng Tu, this method can be used in user terminal, the acceleration generated when contacting touch screen according to operating body in executing step 130 The time span data of degree delta data and operating body contact touch screen are when identifying the touch type of the operating body, may include with Lower step:
In the step 310, judge whether acceleration change data are greater than the first default change threshold and preset less than second Change threshold.Wherein, the first default change threshold is less than the second default change threshold.When acceleration change data are greater than first in advance If change threshold and when less than the second default change threshold, step 320 is executed;When acceleration change data are default no more than first When change threshold, step 350 is executed;When acceleration change data are not less than the second default change threshold, step 360 is executed.
In the embodiment of the present disclosure, the first default change threshold is set and the second default change threshold is to improve identification behaviour Make the accuracy of the touch type of body, avoids the occurrence of the feelings of the erroneous judgement of finger touch type and articulations digitorum manus touch type as far as possible Condition.Especially between the first default change threshold and the second default change threshold, not only according to acceleration change value, also to join It just can recognize that the touch type of operating body according to the time span data of operating body contact touch screen.
In step 320, judge whether the time span data of operating body contact touch screen are less than preset time threshold.When When time span data are less than preset time threshold, step 330 is executed;When time length data is not less than preset time threshold When, execute step 340.
In a step 330, the touch type for determining operating body is articulations digitorum manus touch type, and process terminates.
In step 340, the touch type for determining operating body is finger touch type, and process terminates.
In step 350, the touch type for determining operating body is finger touch type, and process terminates.
In step 360, the touch type for determining operating body is articulations digitorum manus touch type, and process terminates.
As seen from the above-described embodiment, user terminal can pass through the first default change threshold of setting and the second default variation threshold Value, and between the first default change threshold and the second default change threshold, not only according to acceleration change value, referring also to Time span data just can recognize that the touch type of operating body, to improve the accurate of the touch type of identification operating body Property.
As shown in figure 4, Fig. 4 is the disclosure another terminal touch control identification method stream shown according to an exemplary embodiment Cheng Tu, this method can be used in user terminal, according to acceleration change data and time span data in executing step 130 When identifying the touch type of operating body, it may comprise steps of:
In step 410, judge whether acceleration change data are greater than default change threshold.When acceleration change data are big When default change threshold, step 420 is executed;When acceleration change data are not more than default change threshold, step is executed 440。
In the embodiment of the present disclosure, it is to be divided into acceleration change data two kinds: accelerating that default change threshold, which is arranged, It spends delta data and is greater than default change threshold and acceleration change data no more than default change threshold.Further according to both feelings Condition further judges that time span data, the judging result of binding time length data complete the knowledge to the touch type of operating body Not.
At step 420, judge whether time span data are less than preset time threshold.When time length data is less than in advance If when time threshold, executing step 430.
In step 430, the touch type for determining operating body is articulations digitorum manus touch type, and process terminates.
In step 440, judge whether time span data are not less than preset time threshold.When time length data is not small When preset time threshold, step 450 is executed.
In step 450, the touch type for determining operating body is finger touch type, and process terminates.
As seen from the above-described embodiment, user terminal can be for the division of acceleration change data by default change threshold For two kinds of situations: acceleration change data are greater than default change threshold and acceleration change data are not more than default change threshold, Then the identification to the touch type of operating body is completed in binding time length data, to improve the touch-control of identification operating body The accuracy of type.
As shown in figure 5, Fig. 5 is a kind of answering for disclosure terminal touch control identification method shown according to an exemplary embodiment With scene figure.The application scenarios include user and user terminal.Wherein, user terminal has touch screen.
User terminal opens acceleration transducer;
User terminal by acceleration transducer obtain when operating body contacts touch screen the acceleration change data that generate and The operating body contacts the time span data of the touch screen.Wherein, operating body can be the finger of user, be also possible to use The articulations digitorum manus etc. at family.
According to the touch type of acceleration change data and time span data identification operating body.
Corresponding with aforementioned terminals touch control identification method embodiment, the disclosure additionally provides the reality of terminal touch control identification device Apply example.
As shown in fig. 6, Fig. 6 is a kind of disclosure frame of terminal touch control identification device shown according to an exemplary embodiment Figure, described device are applied on user terminal, and for executing terminal touch control identification method shown in FIG. 1, described device includes: Opening module 61 obtains module 62 and identification module 63.
Wherein, opening module 61 is configured as opening acceleration transducer.
Module 62 is obtained to be configured as adding by what is generated when acceleration transducer acquisition operating body contact touch screen Speed change data and the operating body contact the time span data of the touch screen.
Identification module 63 is configured as identifying the behaviour according to the acceleration change data and the time span data Make the touch type of body.
As seen from the above-described embodiment, acceleration transducer is opened, operating body contact is obtained by acceleration transducer and is touched The time span data of acceleration change data and operating body the contact touch screen generated when screen, contact touch screen according to operating body When the acceleration change data that generate and the time span data of operating body contact touch screen identify the touch type of the operating body, To realize the touch type using acceleration transducer identification operating body, and held according to the touch type of different operation body The different application of row, and then improve user experience.
As shown in fig. 7, Fig. 7 is the disclosure another terminal touch control identification device shown according to an exemplary embodiment Block diagram, described device is applied on user terminal, and establishes on the basis of terminal touch control identification device shown in Fig. 6, described Obtaining module 62 can also include: detection sub-module 71, the first computational submodule 72 and the second computational submodule 73.
Wherein, detection sub-module 71 is configured as detecting production when operating body contacts touch screen by the acceleration transducer Raw acceleration.
First computational submodule 72 is configured as calculating the difference of detected peak acceleration and minimum acceleration, institute Stating difference is that the operating body contacts the acceleration change data generated when touch screen.
Second computational submodule 73 is configured as long according to detected acceleration total quantity and unit acceleration time Degree calculates the duration of the operating body contact touch screen, and the duration is that the operating body contacts the touch screen Time span data.
As seen from the above-described embodiment, it can realize that acceleration change data and time are long by the detection of acceleration transducer The acquisition of degree evidence, to improve the efficiency of user terminal identification touch type.
As shown in figure 8, Fig. 8 is the disclosure another terminal touch control identification device shown according to an exemplary embodiment Block diagram, described device is applied on user terminal, and establishes on the basis of terminal touch control identification device shown in Fig. 6, described Identification module 63 can also include: the first judging submodule 81, second judgment submodule 82 and the first determining submodule 83.Separately Outside, the identification module 63 can also determine that submodule 84, third determine that submodule 85 and third determine submodule including second At least one of 85.
Wherein, the first judging submodule 81 is configured as judging whether the acceleration change data are greater than the first default change Change threshold value and less than the second default change threshold, the first default change threshold is less than the described second default change threshold;
Second judgment submodule 82 is configured as when the judging result of first judging submodule 81 being when the acceleration It spends delta data and is greater than the first default change threshold and when less than the second default change threshold, judge that the time span data are It is no to be less than preset time threshold;
First determines that submodule 83 is configured as when the judging result of the second judgment submodule 82 being the time When length data is less than preset time threshold, determine that the touch type of the operating body is articulations digitorum manus touch type.
Second determines that submodule 84 is configured as when the judging result of the second judgment submodule 82 being when the time When length data is not less than preset time threshold, determine that the touch type of the operating body is finger touch type.
Third determines that submodule 85 is configured as when the judging result of first judging submodule 81 being the acceleration When delta data is not more than the first default change threshold, determine that the touch type of the operating body is finger touch type.
4th determines that submodule 86 is configured as when the judging result of first judging submodule 81 being the acceleration When delta data is not less than the second default change threshold, determine that the touch type of the operating body is articulations digitorum manus touch type.
As seen from the above-described embodiment, can by setting the first default change threshold and the second default change threshold, and It is long referring also to the time not only according to acceleration change value between the first default change threshold and the second default change threshold Degree is according to just can recognize that the touch type of operating body, to improve the accuracy of the touch type of identification operating body.
As shown in figure 9, Fig. 9 is the disclosure another terminal touch control identification device shown according to an exemplary embodiment Block diagram, described device is applied on user terminal, and establishes on the basis of terminal touch control identification device shown in Fig. 6, described Identification module 63 can also include: third judging submodule 91, the 4th judging submodule 92 and the 5th determining submodule 93.Separately Outside, the identification module 63 can also include that the 5th judging submodule 94 and the 6th determines submodule 95.
Wherein, third judging submodule 91 is configured as judging whether the acceleration change data are greater than default variation threshold Value.
When 4th judging submodule 92 is configured as the acceleration change data greater than default change threshold, described in judgement Whether time span data are less than preset time threshold.
5th determines that submodule 93 is configured as when the judging result of the 4th judging submodule 92 being that the time is long When degree is according to preset time threshold is less than, determine that the touch type of the operating body is articulations digitorum manus touch type.
5th judging submodule 94 is configured as when the judging result of the third judging submodule 91 being the acceleration When delta data is not more than default change threshold, judge whether the time span data are not less than preset time threshold.
6th determines that submodule 95 is configured as when the judging result of the 5th judging submodule 94 being that the time is long When degree is according to preset time threshold is not less than, determine that the touch type of the operating body is finger touch type.
It as seen from the above-described embodiment, can be that two kinds of feelings are divided into for acceleration change data by default change threshold Condition: acceleration change data are greater than default change threshold and acceleration change data are not more than default change threshold, are then tying Identification of the time span data completion to the touch type of operating body is closed, to improve the standard of the touch type of identification operating body True property.
With Fig. 6 correspondingly, the disclosure also provides another terminal touch control identification device, described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Open acceleration transducer;
The acceleration change data that generate and described are obtained when operating body contacts touch screen by the acceleration transducer Operating body contacts the time span data of the touch screen;
The touch type of the operating body is identified according to the acceleration change data and the time span data.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize disclosure scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
As shown in Figure 10, Figure 10 is that the disclosure is shown according to an exemplary embodiment a kind of for terminal touch-control identification dress Set 1000 another structural schematic diagram (terminal equipment side).For example, device 1000 can be the mobile phone with routing function, Computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment, a number Word assistant etc..
Referring to Fig.1 0, device 1000 may include following one or more components: processing component 1002, memory 1004, Power supply module 1006, multimedia component 1008, audio component 1010, the interface 1012 of input/output (I/O), sensor module 1014 and communication component 1016.
The integrated operation of the usual control device 1000 of processing component 1002, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1002 may include one or more processors 1020 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1002 may include one or more moulds Block, convenient for the interaction between processing component 1002 and other assemblies.For example, processing component 1002 may include multi-media module, To facilitate the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the operation in device 1000.These data Example includes the instruction of any application or method for operating on device 1000, contact data, telephone book data, Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1006 provides electric power for the various assemblies of device 1000.Power supply module 1006 may include power management System, one or more power supplys and other with for device 1000 generate, manage, and distribute the associated component of electric power.
Multimedia component 1008 includes the screen of one output interface of offer between described device 1000 and user.In In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1008 includes a front camera and/or rear camera.When device 1000 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat Gram wind (MIC), when device 1000 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication Component 1016 is sent.In some embodiments, audio component 1010 further includes a loudspeaker, is used for output audio signal.
I/O interface 1012 provides interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1014 includes one or more sensors, and the state for providing various aspects for device 1000 is commented Estimate.For example, sensor module 1014 can detecte the state that opens/closes of device 1000, the relative positioning of component, such as institute The display and keypad that component is device 1000 are stated, sensor module 1014 can be with detection device 1000 or device 1,000 1 The position change of a component, the existence or non-existence that user contacts with device 1000,1000 orientation of device or acceleration/deceleration and dress Set 1000 temperature change.Sensor module 1014 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1014 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor, microwave remote sensor or temperature sensor.
Communication component 1016 is configured to facilitate the communication of wired or wireless way between device 1000 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1000,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1016 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1016 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1000 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1004 of instruction, above-metioned instruction can be executed by the processor 1020 of device 1000 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes, so that mobile terminal is able to carry out a kind of terminal touch control identification method, which comprises
Open acceleration transducer;
The acceleration change value of user's operation and the time span of user's operation are obtained by the acceleration transducer;
Identify that the user's operation is corresponding according to the time span of the acceleration change value of user's operation and user's operation Touch type, and execute the corresponding operating function of the touch type.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (15)

1. a kind of terminal touch control identification method, which is characterized in that the described method includes:
Open acceleration transducer;
The acceleration change data and the operation that generate when operating body contacts touch screen are obtained by the acceleration transducer Body contacts the time span data of the touch screen;
The touch type of the operating body, the touch-control are identified according to the acceleration change data and the time span data Type includes articulations digitorum manus touch type or finger touch type;
It is described that the acceleration change data that generate and described are obtained when operating body contacts touch screen by the acceleration transducer Operating body contacts the time span data of the touch screen, comprising:
The acceleration generated when operating body contacts touch screen is detected by the acceleration transducer;
The difference of detected peak acceleration and minimum acceleration is calculated, the difference is that the operating body contacts touch screen When the acceleration change data that generate;
The operating body contact touch screen is calculated according to detected acceleration total quantity and unit acceleration time span Duration, the duration are the time span data that the operating body contacts the touch screen.
2. the method according to claim 1, wherein described according to the acceleration change data and the time Length data identifies the touch type of the operating body, comprising:
Judge whether the acceleration change data are greater than the first default change threshold and less than the second default change threshold, it is described First default change threshold is less than the described second default change threshold;
When the acceleration change data are greater than the described first default change threshold and are less than the second default change threshold, Judge whether the time span data are less than preset time threshold;
When the time span data are less than preset time threshold, determine that the touch type of the operating body is articulations digitorum manus touch-control Type.
3. according to the method described in claim 2, it is characterized in that, described to judge whether the time span data are less than default After time threshold, further includes:
When the time span data are not less than preset time threshold, determine that the touch type of the operating body is finger touch Type.
4. according to the method described in claim 2, it is characterized in that, described judge whether the acceleration change data are greater than One default change threshold and less than the second default change threshold after, further includes:
When the acceleration change data are not more than the first default change threshold, determine that the touch type of the operating body is hand Refer to touch type.
5. according to the method described in claim 2, it is characterized in that, described judge whether the acceleration change data are greater than One default change threshold and less than the second default change threshold after, further includes:
When the acceleration change data are not less than the second default change threshold, the touch type of the operating body is determined to refer to Joint touch type.
6. the method according to claim 1, wherein described according to acceleration change data and time span data Identify the type of the operating body, comprising:
Judge whether the acceleration change data are greater than default change threshold;
When the acceleration change data are greater than default change threshold, when judging whether the time span data are less than default Between threshold value;
When the time span data are less than preset time threshold, determine that the touch type of the operating body is articulations digitorum manus touch-control Type.
7. according to the method described in claim 6, it is characterized in that, described to judge whether the acceleration change data are greater than pre- If after change threshold, further includes:
When the acceleration change data are not more than default change threshold, it is pre- to judge whether the time span data are not less than If time threshold;
When the time span data are not less than preset time threshold, determine that the touch type of the operating body is finger touch Type.
8. a kind of terminal touch control identification device, which is characterized in that described device includes:
Opening module, for opening acceleration transducer;
Module is obtained, for obtaining the acceleration change number generated when operating body contacts touch screen by the acceleration transducer According to the time span data for contacting the touch screen with the operating body;
Identification module, for identifying the touch-control of the operating body according to the acceleration change data and the time span data Type, the touch type include articulations digitorum manus touch type or finger touch type;
The acquisition module includes:
Detection sub-module, for detecting the acceleration generated when operating body contacts touch screen by the acceleration transducer;
First computational submodule, for calculating the difference of detected peak acceleration and minimum acceleration, the difference is The acceleration change data generated when the operating body contact touch screen;
Second computational submodule, for according to detected acceleration total quantity and the calculating of unit acceleration time span Operating body contacts the duration of touch screen, and the duration is the time span number that the operating body contacts the touch screen According to.
9. device according to claim 8, which is characterized in that the identification module includes:
First judging submodule, for judging whether the acceleration change data are greater than the first default change threshold and less than Two default change thresholds, the first default change threshold are less than the described second default change threshold;
Second judgment submodule is that the acceleration change data are greater than for the judging result when first judging submodule First default change threshold and when less than the second default change threshold, judges whether the time span data are less than preset time Threshold value;
First determines submodule, is that the time span data are less than in advance for the judging result when the second judgment submodule If when time threshold, determining that the touch type of the operating body is articulations digitorum manus touch type.
10. device according to claim 9, which is characterized in that the identification module further include:
Second determines submodule, is when the time span data are not small for the judging result when the second judgment submodule When preset time threshold, determine that the touch type of the operating body is finger touch type.
11. device according to claim 9, which is characterized in that the identification module further include:
Third determines submodule, is that the acceleration change data are little for the judging result when first judging submodule When the first default change threshold, determine that the touch type of the operating body is finger touch type.
12. device according to claim 9, which is characterized in that the identification module further include:
4th determines submodule, is that the acceleration change data are not small for the judging result when first judging submodule When the second default change threshold, determine that the touch type of the operating body is articulations digitorum manus touch type.
13. device according to claim 8, which is characterized in that the identification module includes:
Third judging submodule, for judging whether the acceleration change data are greater than default change threshold;
4th judging submodule is that the acceleration change data are greater than for the judging result when the third judging submodule When default change threshold, judge whether the time span data are less than preset time threshold;
5th determines submodule, is that the time span data are less than in advance for the judging result when the 4th judging submodule If when time threshold, determining that the touch type of the operating body is articulations digitorum manus touch type.
14. device according to claim 13, which is characterized in that the identification module further include:
5th judging submodule is that the acceleration change data are little for the judging result when the third judging submodule When default change threshold, judge whether the time span data are not less than preset time threshold;
6th determines submodule, is that the time span data are not less than for the judging result when the 5th judging submodule When preset time threshold, determine that the touch type of the operating body is finger touch type.
15. a kind of terminal touch control identification device, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Open acceleration transducer;
The acceleration change data and the operation that generate when operating body contacts touch screen are obtained by the acceleration transducer Body contacts the time span data of the touch screen;
The touch type of the operating body, the touch-control are identified according to the acceleration change data and the time span data Type includes articulations digitorum manus touch type or finger touch type;
It is described that the acceleration change data that generate and described are obtained when operating body contacts touch screen by the acceleration transducer Operating body contacts the time span data of the touch screen, comprising:
The acceleration generated when operating body contacts touch screen is detected by the acceleration transducer;
The difference of detected peak acceleration and minimum acceleration is calculated, the difference is that the operating body contacts touch screen When the acceleration change data that generate;
The operating body contact touch screen is calculated according to detected acceleration total quantity and unit acceleration time span Duration, the duration are the time span data that the operating body contacts the touch screen.
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 CN106339115A (en) 2017-01-18
CN106339115B true 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2754008A4 (en) * 2011-06-21 2015-04-22 Univ Northwestern Touch interface device and method for applying lateral forces on a human appendage

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN106339115A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN106454336B (en) The method and device and terminal that detection terminal camera is blocked
CN105068958B (en) Method for handover control and device
CN104486451B (en) Application program recommends method and device
CN106547663B (en) Key management method and device
CN105511631A (en) Gesture recognition method and device
CN105260732A (en) Image processing method and device
CN105487680B (en) Method, apparatus and terminal for terminal screenshotss
CN105117033A (en) Connection method and device of external equipment
CN105718056A (en) Gesture recognition method and device
CN105843503B (en) Using open method, device and terminal device
CN104537380A (en) Clustering method and device
CN107820006A (en) Control the method and device of camera shooting
CN104243829A (en) Self-shooting method and self-shooting device
CN105159496A (en) Touch event response method and mobile terminal
CN105224171A (en) icon display method, device and terminal
CN105183309B (en) Method for handover control and device
CN104881342B (en) terminal test method and device
CN106339137A (en) Terminal touch recognition method and device
CN106418998B (en) Braking method, device and suitcase
CN106534658A (en) Method and apparatus for controlling shooting of camera and mobile terminal
CN105187671A (en) Recording method and device
CN105204713A (en) Incoming call responding method and device
CN104573642A (en) Face recognition method and device
CN105487774A (en) Image grouping method and device
CN109769191A (en) Audio output detection method and device, electronic equipment

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