CN104866226B - A kind of terminal device and its control method - Google Patents
A kind of terminal device and its control method Download PDFInfo
- Publication number
- CN104866226B CN104866226B CN201510275911.XA CN201510275911A CN104866226B CN 104866226 B CN104866226 B CN 104866226B CN 201510275911 A CN201510275911 A CN 201510275911A CN 104866226 B CN104866226 B CN 104866226B
- Authority
- CN
- China
- Prior art keywords
- capacitance type
- threshold value
- predetermined threshold
- type touch
- touch key
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of terminal device and its control method, it is related to field of mobile terminals.Method disclosed by the invention includes:Fingerprint induction module detects fingerprint image in real time in terminal device, and capacitance type touch key control module detects capacitance type touch key in real time in terminal device;When fingerprint induction module is continuously detected same fingerprint image in setting regions, the mechanical keys being placed in below fingerprint induction module send corresponding control instruction to the CPU of terminal device, and CPU carries out operation processing according to received control instruction;When capacitance type touch key control module is detected to obtain testing result to capacitance type touch key in terminal device, touch gestures are identified according to testing result, CPU carries out corresponding operation processing according to the touch gestures identified.The invention also discloses a kind of terminal device.Application scheme eliminates the traditional mechanical key on terminal device, improves terminal appearance design and user experience.
Description
Technical field
The present invention relates to field of mobile terminals, more particularly to a kind of terminal device and its control method.
Background technology
At least include the physical buttons such as Home key, switch key and volume control key, but physics on mobile terminal at present
Usually there is the problem of button malfunction in button, and physical button influences the appearance design of terminal, therefore, with mobile terminal
The constantly improve of function, user propose the requirement of higher for the button on mobile terminal.
The content of the invention
It is a primary object of the present invention to propose a kind of terminal device and its control method, it is intended to which solving existing terminal can only
The problem of terminal control is carried out by physical button.
To achieve the above object, a kind of control method of terminal device provided by the invention, this method include:
Fingerprint induction module detects fingerprint image in real time in terminal device, and capacitance type touch key controls mould in terminal device
Block detects capacitance type touch key in real time;
When the fingerprint induction module is continuously detected same fingerprint image in setting regions, the fingerprint sense is placed in
The mechanical keys below module are answered to send corresponding control instruction to the central processing module CPU of terminal device, the CPU is according to receipts
To control instruction carry out operation processing;
When capacitance type touch key control module is detected capacitance type touch key and is examined in the terminal device
When surveying result, touch gestures are identified according to testing result, the CPU carries out corresponding operation according to the touch gestures identified
Processing.
Alternatively, in the above method, the fingerprint induction module is continuously detected same fingerprint image in setting regions
When, the mechanical keys being placed in below the fingerprint induction module send corresponding control to the central processing module CPU of terminal device
The process of instruction includes:
If the fingerprint induction module detects that the duration of same fingerprint image is greater than or equal in setting regions
Given threshold, the then mechanical keys being placed in below the fingerprint induction module send power-on instruction or shutdown to the CPU of terminal device
Instruction;
If the fingerprint induction module detects that the duration of same fingerprint image is less than setting threshold in setting regions
Value, the then mechanical keys being placed in below the fingerprint induction module send bright screen to the CPU of terminal device and instruct or go out screen instruction.
Alternatively, in the above method, capacitance type touch key control module is known according to testing result in the terminal device
Not going out touch gestures includes:
The capacitance type touch key control module is according to testing result in pre-set testing result and touch gestures
Between correspondence in search the corresponding touch gestures of testing result.
Alternatively, in the above method, the capacitance type touch key control module is detected capacitance type touch key
Obtaining testing result includes:
In the first preset time repeatedly the capacitance type touch key is detected to obtain the capacitance touch by
The charging interval and discharge time of key, and calculate the absolute value of the difference between corresponding charging interval and discharge time;Calculate
The absolute value less than predetermined threshold value by becoming greater than or equal to the predetermined threshold value or by big in first preset time
The number of the predetermined threshold value is become smaller than in or equal to the predetermined threshold value;
And/or repeatedly each capacitance type touch key is detected respectively in the second preset time to obtain each institute
The charging interval and discharge time of capacitance type touch key are stated, and calculates that each capacitance type touch key is corresponding each time to be filled respectively
The absolute value of difference between electric time and discharge time;Judge the absolute value from being changed into small more than or equal to predetermined threshold value
In the predetermined threshold value, or the absolute value is by becoming smaller than the electricity of the predetermined threshold value more than or equal to the predetermined threshold value
The number of appearance formula touch key-press is two or more, by each capacitance type touch key according to corresponding absolute value by big
It is changed into described in or equal to the predetermined threshold value and is less than predetermined threshold value, or according to corresponding absolute value by less than the default threshold
Value becomes greater than or is arranged equal to the time order and function order of the predetermined threshold value;
When judging the absolute value by becoming smaller than the predetermined threshold value, Huo Zhesuo more than or equal to the predetermined threshold value
State absolute value is by the number for the capacitance type touch key that the predetermined threshold value is become smaller than more than or equal to the predetermined threshold value
At one, the absolute value is calculated in second preset time by being become greater than less than the predetermined threshold value or pre- equal to described
If threshold value or the number by becoming smaller than the predetermined threshold value more than or equal to the predetermined threshold value.
Alternatively, in the above method, the number of the capacitance type touch key is one;
The capacitance type touch key control module is detected to obtain testing result to capacitance type touch key to be included:
In the first preset time repeatedly the capacitance type touch key is detected to obtain the capacitance touch by
The charging interval and discharge time of key, and calculate the absolute value of the difference between corresponding charging interval and discharge time;
The corresponding touch of testing result is searched in correspondence between pre-set testing result and touch gestures
Gesture includes:
Judge in the absolute value that measurement obtains in first preset time, have twice from being changed into big less than predetermined threshold value
In or equal to predetermined threshold value or by by becoming smaller than predetermined threshold value more than or equal to predetermined threshold value, then finding detection knot twice
The corresponding touch gestures of fruit are double-click.
Alternatively, in the above method, the number of the capacitance type touch key is two or more;
It is described capacitance type touch key is detected to obtain testing result include:
Repeatedly each capacitance type touch key is detected respectively in the second preset time to obtain each capacitance
The charging interval and discharge time of formula touch key-press, and each capacitance type touch key corresponding charging interval each time is calculated respectively
The absolute value of difference between discharge time;
The corresponding touch of testing result is searched in correspondence between pre-set testing result and touch gestures
Gesture includes:
Each capacitance type touch key is pre- by being become smaller than more than or equal to predetermined threshold value according to corresponding absolute value
If threshold value, or according to time order and function order of the corresponding absolute value by being become greater than less than predetermined threshold value or equal to predetermined threshold value
Arranged, judge the order of each capacitance type touch key after arrangement and pre-set first order order phase
Together, then it is upward sliding to find the corresponding touch gestures of testing result;Judge arrangement after each capacitance touch by
The order of key and pre-set second order order are identical, then it is to downslide to find the corresponding touch gestures of testing result
It is dynamic.
Alternatively, in the above method, the CPU carries out the process of corresponding operation processing according to the touch gestures detected
Including:
The CPU searches detected touch gestures from default touch gestures and the correspondence of control instruction,
Corresponding operation processing is carried out according to the corresponding control instruction of the touch gestures found;
Default touch gestures and the correspondence of control instruction include:
Touch gestures are upward sliding, and corresponding control instruction increases for volume, and touch gestures are slide downward, corresponding
Control instruction reduces for volume;Or
Touch gestures are upward sliding, and corresponding control instruction reduces for volume, and touch gestures are slide downward, corresponding
Control instruction increases for volume.
In addition, to achieve the above object, the present invention also proposes a kind of terminal device, which includes at least fingerprint sensing mould
Block, the mechanical keys being placed in below the fingerprint induction module, capacitance type touch key, capacitance type touch key control module and
Central processing module CPU, wherein:
The fingerprint induction module, detects fingerprint image;
The mechanical keys, when the fingerprint induction module is continuously detected same fingerprint image in setting regions, to
The CPU sends corresponding control instruction;
The capacitance type touch key control module, is detected to obtain testing result to the capacitance type touch key,
Touch gestures are identified according to testing result;
The CPU, receives the control instruction that the mechanical keys are sent and carries out operation processing, and according to the capacitance touch
The touch gestures that key control module identifies carry out corresponding operation processing.
Alternatively, in the said equipment, the mechanical keys, are continuously detected in the fingerprint induction module in setting regions
During same fingerprint image, send corresponding control instruction to the CPU and refer to:
The mechanical keys, the duration of same fingerprint image is detected in the fingerprint induction module in setting regions
During more than or equal to given threshold, power-on instruction or shutdown command are sent to the CPU;
Detect that the duration of same fingerprint image is less than setting threshold in setting regions in the fingerprint induction module
During value, send bright screen to the CPU and instruct or go out screen instruction.
Alternatively, in the said equipment, the capacitance type touch key control module identifies touch gestures according to testing result
Refer to:
The capacitance type touch key control module is according to testing result in pre-set testing result and touch gestures
Between correspondence in search the corresponding touch gestures of testing result.
Alternatively, in the said equipment, the capacitance type touch key control module is detected capacitance type touch key
Testing result is obtained to refer to:
In the first preset time repeatedly the capacitance type touch key is detected to obtain the capacitance touch by
The charging interval and discharge time of key, and calculate the absolute value of the difference between corresponding charging interval and discharge time;Calculate
The absolute value less than predetermined threshold value by becoming greater than or equal to the predetermined threshold value or by big in first preset time
The number of the predetermined threshold value is become smaller than in or equal to the predetermined threshold value;
And/or repeatedly each capacitance type touch key is detected respectively in the second preset time to obtain each institute
The charging interval and discharge time of capacitance type touch key are stated, and calculates that each capacitance type touch key is corresponding each time to be filled respectively
The absolute value of difference between electric time and discharge time;Judge the absolute value from being changed into small more than or equal to predetermined threshold value
In the predetermined threshold value, or the absolute value is by becoming smaller than the electricity of the predetermined threshold value more than or equal to the predetermined threshold value
The number of appearance formula touch key-press is two or more, by each capacitance type touch key according to corresponding absolute value by big
It is changed into described in or equal to the predetermined threshold value and is less than predetermined threshold value, or according to corresponding absolute value by less than the default threshold
Value becomes greater than or is arranged equal to the time order and function order of the predetermined threshold value;
When judging the absolute value by becoming smaller than the predetermined threshold value, Huo Zhesuo more than or equal to the predetermined threshold value
State absolute value is by the number for the capacitance type touch key that the predetermined threshold value is become smaller than more than or equal to the predetermined threshold value
At one, the absolute value is calculated in second preset time by being become greater than less than the predetermined threshold value or pre- equal to described
If threshold value or the number by becoming smaller than the predetermined threshold value more than or equal to the predetermined threshold value.
Alternatively, in the said equipment, the number of the capacitance type touch key is one;
The capacitance type touch key control module is detected to obtain testing result to capacitance type touch key to be referred to:
In the first preset time repeatedly the capacitance type touch key is detected to obtain the capacitance touch by
The charging interval and discharge time of key, and calculate the absolute value of the difference between corresponding charging interval and discharge time;
The corresponding touch of testing result is searched in correspondence between pre-set testing result and touch gestures
Gesture refers to:
Judge in the absolute value that measurement obtains in first preset time, have twice from being changed into big less than predetermined threshold value
In or equal to predetermined threshold value or by by becoming smaller than predetermined threshold value more than or equal to predetermined threshold value, then finding detection knot twice
The corresponding touch gestures of fruit are double-click.
Alternatively, in the said equipment, the number of the capacitance type touch key is two or more;
It is described capacitance type touch key is detected to obtain testing result refer to:
Repeatedly each capacitance type touch key is detected respectively in the second preset time to obtain each capacitance
The charging interval and discharge time of formula touch key-press, and each capacitance type touch key corresponding charging interval each time is calculated respectively
The absolute value of difference between discharge time;
The corresponding touch of testing result is searched in correspondence between pre-set testing result and touch gestures
Gesture refers to:
Each capacitance type touch key is pre- by being become smaller than more than or equal to predetermined threshold value according to corresponding absolute value
If threshold value, or according to time order and function order of the corresponding absolute value by being become greater than less than predetermined threshold value or equal to predetermined threshold value
Arranged, judge the order of each capacitance type touch key after arrangement and pre-set first order order phase
Together, then it is upward sliding to find the corresponding touch gestures of testing result;Judge arrangement after each capacitance touch by
The order of key and pre-set second order order are identical, then it is to downslide to find the corresponding touch gestures of testing result
It is dynamic.
Alternatively, in the said equipment, the CPU carries out corresponding operation processing according to the touch gestures detected and refers to:
The CPU searches detected touch gestures from default touch gestures and the correspondence of control instruction,
Corresponding operation processing is carried out according to the corresponding control instruction of the touch gestures found;
Wherein, default touch gestures and the correspondence of control instruction include:
Touch gestures are upward sliding, and corresponding control instruction increases for volume, and touch gestures are slide downward, corresponding
Control instruction reduces for volume;Or
Touch gestures are upward sliding, and corresponding control instruction reduces for volume, and touch gestures are slide downward, corresponding
Control instruction increases for volume.
Application scheme realizes mobile phone volume regulatory function using capacitance touch button, while is realized using fingerprint recognition
Home key function, realizes handset switch switch function using the mechanical key immediately below fingerprint recognition, eliminates on terminal device
Traditional mechanical key, it is intended to improve terminal appearance design and user experience.
Brief description of the drawings
Fig. 1 is that the present invention implements to carry out the flow diagram of terminal device control;
Fig. 2 is the induction region schematic diagram on capacitance type touch key;
Fig. 2 (a) is the schematic diagram of the shape of the induction region on the first capacitance type touch key;
Fig. 2 (b) is the schematic diagram of the shape of the induction region on second of capacitance type touch key;
Fig. 2 (c) is the schematic diagram of the shape of the induction region on the third capacitance type touch key;
Fig. 3 is the structure diagram of terminal device in the embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Describe to realize the mobile terminal of each embodiment of the present invention referring now to attached drawing.In follow-up description, use
For represent element such as " module ", " component " or " unit " suffix only for be conducive to the present invention explanation, itself
Not specific meaning.Therefore, " module " can be used mixedly with " component ".
Embodiment 1
The present embodiment provides a kind of control method of terminal device, as shown in Figure 1, including following operation:
Step 101, fingerprint induction module detects fingerprint image in terminal device, and capacitance type touch key control module is to electricity
Appearance formula touch key-press is detected, if terminal device detects fingerprint image, step 102 is performed, if terminal device condenser type
Touch key-press control module detects capacitance type touch key to obtain testing result, then performs step 104;
Step 102, when above-mentioned fingerprint induction module is continuously detected same fingerprint image in setting regions, it is placed in finger
Mechanical keys below line induction module send corresponding control instruction to the CPU of terminal device;
In the step, fingerprint induction module is continuously detected same fingerprint image in setting regions, you can is considered to use
Family carries out setting regions long-press or short-press operates.And in view of on existing terminal device, user can be real to physical button long-press
Existing open and close machine, short-press can realize that bright, go out screen.Therefore, can be by user in order to retain the custom of existing user's using terminal equipment
Open and close machine, which operates, to be set as to the long-press of setting regions, bright, screen operation of going out is set as to the short-press of setting regions.That is, fingerprint sense
When answering the module to detect that the duration of same fingerprint image is greater than or equal to given threshold in the first setting regions, it can confirm
User has carried out long-press operation, and at this time, the mechanical keys being placed in below fingerprint induction module send start to the CPU of terminal device and refer to
Order or shutdown command;And fingerprint induction module detects that the duration of same fingerprint image is less than setting threshold in setting regions
During value, then it can determine that user has carried out short-press operation, at this time, the mechanical keys being placed in below fingerprint induction module are sent to CPU
Bright screen instruction or screen instruction of going out.Such a scene can certainly be determined as to other control instructions, the present embodiment does not make this to have
Body limits.
In addition, the fingerprint induction module of terminal device can also gather finger print information, i.e. fingerprint induction module is set another
When determining to detect an independent fingerprint image in region, fingerprint recognition processing module carries out figure to the fingerprint image in terminal device
As processing, the information in fingerprint after image procossing is sent to CPU, by CPU to this information in fingerprint and default fingerprint
Information is matched, successful match, then carries out corresponding operation processing.Wherein, it can be solution that CPU, which carries out corresponding operation processing,
Lock, secure payment, authentication etc. operate.Preferably, can be with after CPU carries out operation processing in the terminal device
Completed by sound or mode of vibration prompting operation, specifically such as, operated successfully or operation failure etc..
Step 103, the control instruction that CPU is sent according to mechanical keys carries out operation processing, and step is returned after the completion of operation processing
Rapid 101;
It is noted that the mechanical keys being placed in the present embodiment below fingerprint induction module are hiding button, i.e. this reality
To apply the terminal device involved in a scheme and eliminate traditional mechanical keys, its appearance can't see any mechanical keys in showing, so that
Improve user experience.And above-mentioned setting regions can be located at screen area, the regions such as equipment back side or side can also be located at.
Step 104, capacitance type touch key control module identifies touch gestures according to testing result in terminal device;
The step can be divided into two parts operation, and Part I operation is capacitance type touch key control module to condenser type
Touch key-press is detected to obtain testing result.
Specifically, when the number of capacitance type touch key is one, capacitance type touch key is detected and is examined
Surveying result includes:
Repeatedly capacitance type touch key is detected in the first preset time to obtain the charging of capacitance type touch key
Time and discharge time, and calculate the absolute value of the difference between corresponding charging interval and discharge time;
Alternatively, repeatedly capacitance type touch key is detected in the first preset time to obtain capacitance type touch key
Charging interval and discharge time, and calculate the absolute value of the difference between corresponding charging interval and discharge time;Calculate first
Absolute value less than predetermined threshold value by becoming greater than or equal to predetermined threshold value or by more than or equal to predetermined threshold value in preset time
Become smaller than the number of predetermined threshold value.
When the number of capacitance type touch key is two or more, in order to reduce the probability of maloperation, it is preferably provided with
For 3~8 capacitance type touch keys, at this time, capacitance type touch key, which is detected to obtain testing result, to be included:
In the second preset time respectively repeatedly each capacitance type touch key is detected to obtain each capacitance touch by
The charging interval and discharge time of key, and calculate respectively each capacitance type touch key each time the corresponding charging interval and electric discharge when
Between between difference absolute value;
Alternatively, repeatedly each capacitance type touch key is detected respectively in the second preset time to obtain each capacitive touch
The charging interval and discharge time of button are touched, and calculates each capacitance type touch key respectively and the corresponding charging interval and puts each time
The absolute value of difference between the electric time;Absolute value is judged by becoming smaller than predetermined threshold value more than or equal to predetermined threshold value, or
Person's absolute value is two or two by the number for the capacitance type touch key that predetermined threshold value is become smaller than more than or equal to predetermined threshold value
More than a, by each capacitance type touch key according to corresponding absolute value by becoming smaller than default threshold more than or equal to predetermined threshold value
Value, or according to corresponding absolute value by becoming greater than less than predetermined threshold value or being carried out equal to the time order and function order of predetermined threshold value
Arrangement;
When judging absolute value by becoming smaller than predetermined threshold value more than or equal to predetermined threshold value, or absolute value by being more than or
When number equal to the capacitance type touch key that predetermined threshold value becomes smaller than predetermined threshold value is one, calculate in the second preset time
Absolute value less than predetermined threshold value by becoming greater than or equal to predetermined threshold value or pre- by being become smaller than more than or equal to predetermined threshold value
If the number of threshold value.
Part II operation is that capacitance type touch key control module identifies touch gestures according to testing result.Specifically,
Identify that touch gestures include according to testing result:
Judge in the absolute value that measurement obtains in the first preset time, have twice by being become greater than less than predetermined threshold value or
Equal to predetermined threshold value or by by becoming smaller than predetermined threshold value more than or equal to predetermined threshold value, then identifying that touch gestures move twice
As double-click.
By each capacitance type touch key according to corresponding absolute value by becoming smaller than default threshold more than or equal to predetermined threshold value
Value, or according to corresponding absolute value by becoming greater than less than predetermined threshold value or being carried out equal to the time order and function order of predetermined threshold value
Arrangement, judges that the order of each capacitance type touch key after arrangement and pre-set first order order are identical, then identifies
It is upward sliding to go out touch gestures action;Judge the order and pre-set second of each capacitance type touch key after arrangement
Put in order identical, then it is to be slided to gh to identify touch gestures action.
Wherein, the testing result in pre-set correspondence can be in the first preset time absolute value by less than pre-
If threshold value becomes greater than or equal to predetermined threshold value or by becoming smaller than the number of predetermined threshold value more than or equal to predetermined threshold value,
And/or what capacitance type touch key was arranged puts in order.
Wherein, different numbers can correspond to different touch gestures.For example, corresponding twice double-click.
Wherein, different put in order can correspond to different touch gestures.For example, first order order correspondence slides up
Dynamic, second order order is slide downward.As shown in Fig. 2 (a), first order order can be from capacitance type touch key n to
The order of capacitance type touch key 1, second order order can be from capacitance type touch key 1 to capacitance type touch key n
Sequentially.
In order to distinguish number and put in order, in practical operation, number can be represented using different digital scopes
With put in order.For example, representing number using 0~9, represent to put in order using the numeral more than or equal to 10.
This method further includes:Interruption reset condition is carried out to capacitance type touch key.Due to how to capacitance type touch key into
Row interruption reset condition belongs to the known technology of those skilled in the art, the protection domain being not intended to limit the present invention, here no longer
Repeat.
This method further includes:Carry out vibration prompt or voice prompt.Specifically how to carry out vibration prompt or voice prompt category
In the known technology of those skilled in the art, the protection domain being not intended to limit the present invention, which is not described herein again.Wherein, shake
Dynamic prompting or auditory tone cues are used to represent that CPU operation processing is completed, and specifically, can prompt for operating successfully or operation failure.
Step 105, CPU carries out corresponding operation processing according to the touch gestures identified, is returned after the completion of operation processing
Step 101.
Specifically, in the step, detected by CPU is searched from default touch gestures and the correspondence of control instruction
Touch gestures, carry out corresponding operation processing according to the corresponding control instruction of the touch gestures found;
Wherein, default touch gestures and the correspondence of control instruction can include:
Touch gestures are upward sliding, and corresponding control instruction increases for volume, and touch gestures are slide downward, corresponding
Control instruction reduces for volume;Or
Touch gestures are upward sliding, and corresponding control instruction reduces for volume, and touch gestures are slide downward, corresponding
Control instruction increases for volume.
Embodiment 2
The present embodiment provides a kind of terminal device, as shown in figure 3, it can realize the method for above-described embodiment 1.The terminal
Mainly include fingerprint induction module, the mechanical keys being placed in below fingerprint induction module, capacitance type touch key, capacitance touch by
Key control module and central processing module CPU.Wherein, the mechanical keys being placed in below fingerprint induction module are hiding buttons,
Traditional power button is eliminated in the appearance design of terminal device i.e. in this embodiment scheme.Also, capacitance type touch key
Volume control function, therefore the appearance of the terminal device in the present embodiment can be realized with reference to capacitance type touch key control module
Traditional volume control key is omitted in design.The following detailed description of the function and principle of each module.
Fingerprint induction module, detects fingerprint image;
Mechanical keys, when fingerprint induction module is continuously detected same fingerprint image in setting regions, to CPU transmissions pair
The control instruction answered;
Specifically, mechanical keys, the duration of same fingerprint image is detected in fingerprint induction module in setting regions
During more than or equal to given threshold, identify that user has carried out long-press operation, then send power-on instruction or shutdown command to CPU;
Correspondingly, when fingerprint induction module detects that the duration of same fingerprint image is less than given threshold in setting regions, know
Do not go out user and carried out short-press operation, then sending bright screen to CPU instructs or go out screen instruction.As can be seen that the present embodiment be according to
Existing user's custom, the instruction of open and close machine is preset as by the operation of user's long-press, and the operation of user's short-press is preset as bright, screen instruction of going out,
But, can be according to user's needs, by the corresponding instruction of user preset, i.e., according to user's operation, by long-press or short-press in practical application
Operation is preset as any control instruction, in this way, fingerprint induction module detects continuing for same fingerprint image in setting regions
When time is greater than or equal to given threshold, mechanical keys can send the control instruction of user preset to CPU.
Capacitance type touch key control module, is detected capacitance type touch key to obtain testing result, according to detection
As a result touch gestures are identified;
Wherein it is possible to one or more capacitance type touch keys are set on the side of terminal device or back in advance.For
The probability of maloperation is reduced, is preferably provided with 3~8 capacitance type touch keys.Induction region on capacitance type touch key can
To be arbitrary shape, can arbitrarily be arranged between the induction region on different capacitance type touch keys.As Fig. 2 (a)~(c) gives
The schematic diagram of the shape of three kinds of induction regions therein is gone out.Fig. 2 (a) is the induction region on the first capacitance type touch key
Shape schematic diagram.As shown in Fig. 2 (a), there is provided n capacitance type touch key, first condenser type on mobile terminals
The shape of touch key-press and the induction region on n-th of capacitance type touch key and the sensing on other capacitance type touch keys
The shape in region differs, the shape all same of the induction region on other capacitance type touch keys.Fig. 2 (b) is second
The schematic diagram of the shape of induction region on kind capacitance type touch key.As shown in Fig. 2 (b), there is provided n on mobile terminals
Capacitance type touch key, the shape all same of the induction region on each capacitance type touch key, is rectangle.Fig. 2 (c) is the
The schematic diagram of the shape of induction region on three kinds of capacitance type touch keys.As shown in Fig. 2 (c), there is provided 3 on mobile terminals
A capacitance type touch key, the shape of the induction region on each capacitance type touch key is different triangles.
The operation principle of the capacitance type touch key control module involved in the present embodiment is described in detail below.
When capacitance type touch key number be one, capacitance type touch key control module, in the first preset time
Repeatedly capacitance type touch key is detected to obtain the charging interval of capacitance type touch key and discharge time, and calculates correspondence
Charging interval and discharge time between difference absolute value;If judge the absolute value that measurement obtains in the first preset time
In, have twice by being become greater than less than predetermined threshold value or equal to predetermined threshold value or by twice by becoming more than or equal to predetermined threshold value
Less than predetermined threshold value, then to identify touch gestures to double-click.
When the number of capacitance type touch key is two or more, capacitance type touch key control module,
Repeatedly each capacitance type touch key is detected respectively in two preset times to obtain the charging interval of each capacitance type touch key
And discharge time, and difference of each capacitance type touch key each time between corresponding charging interval and discharge time is calculated respectively
Absolute value;It is if each capacitance type touch key is default by being become smaller than more than or equal to predetermined threshold value according to corresponding absolute value
Threshold value, or according to corresponding absolute value by become greater than less than predetermined threshold value or equal to predetermined threshold value time order and function order into
Row arrangement, judges that the order of each capacitance type touch key after arrangement and pre-set first order order are identical, then knows
Other touch gestures are upward sliding;Judge the order of each capacitance type touch key after arrangement and pre-set second order
Sequentially identical, identification touch gestures are slide downward.
CPU, receives the control instruction that mechanical keys are sent and carries out operation processing, and according to capacitance type touch key control module
The touch gestures identified carry out corresponding operation processing.
Specifically, CPU searches detected touch hand from default touch gestures and the correspondence of control instruction
Gesture, corresponding operation processing is carried out according to the corresponding control instruction of the touch gestures found;
Wherein, default touch gestures and the correspondence of control instruction include:
Touch gestures are upward sliding, and corresponding control instruction increases for volume, and touch gestures are slide downward, corresponding
Control instruction reduces for volume;Or
Touch gestures are upward sliding, and corresponding control instruction reduces for volume, and touch gestures are slide downward, corresponding
Control instruction increases for volume.
In addition, fingerprint recognition processing module is further included in above-mentioned terminal, when fingerprint induction module is in another setting regions
When inside detecting an independent fingerprint image, fingerprint recognition processing module carries out image procossing to the fingerprint image, at image
Information in fingerprint after reason sends CPU to, by CPU by the information in fingerprint after processing and default information in fingerprint into
Row matching, successful match, then carry out corresponding operation processing.Such as the operation such as unlock, secure payment or authentication.
Preferably, reminding module can also be included, mainly after CPU carries out operation processing every time, pass through sound or vibration
Mode prompts operation to complete, and specifically such as, operates successfully or operation failure etc..
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, takes
Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (12)
1. a kind of control method of terminal device, it is characterised in that this method includes:
Fingerprint induction module detects fingerprint image in real time in terminal device, capacitance type touch key control module pair in terminal device
Capacitance type touch key is detected in real time;
When the fingerprint induction module is continuously detected same fingerprint image in setting regions, the fingerprint sensing mould is placed in
Mechanical keys below block send corresponding control instruction to the central processing module CPU of terminal device, and the CPU is according to received
Control instruction carries out operation processing, wherein, the control instruction includes:Power-on instruction, shutdown command, the instruction of bright screen or the screen that goes out refer to
Order, the operation processing include:Unlock, secure payment or authentication;
When capacitance type touch key control module is detected capacitance type touch key to obtain detection knot in the terminal device
During fruit, touch gestures are identified according to testing result, the CPU is carried out at corresponding operation according to the touch gestures identified
Reason;
The capacitance type touch key control module is detected to obtain testing result to capacitance type touch key to be included:
In the second preset time respectively repeatedly the capacitance type touch key is detected to obtain the capacitance touch by
The charging interval and discharge time of key, and capacitance type touch key corresponding charging interval and discharge time each time is calculated respectively
Between difference absolute value;The absolute value is judged by becoming smaller than the predetermined threshold value more than or equal to predetermined threshold value,
Or the absolute value is by becoming smaller than more than or equal to the predetermined threshold value capacitance type touch key of the predetermined threshold value
Number is two or more, by the capacitance type touch key according to corresponding absolute value by default more than or equal to described
Threshold value is changed into described and is less than predetermined threshold value, or according to corresponding absolute value by becoming greater than or being equal to less than the predetermined threshold value
The time order and function order of the predetermined threshold value is arranged;
When judging the absolute value by becoming smaller than the predetermined threshold value more than or equal to the predetermined threshold value, or it is described absolutely
To value by become smaller than more than or equal to the predetermined threshold value predetermined threshold value capacitance type touch key number be one
When, the absolute value is calculated in second preset time by being become greater than less than the predetermined threshold value or equal to the default threshold
Value or the number by becoming smaller than the predetermined threshold value more than or equal to the predetermined threshold value;
Capacitance type touch key control module identifies that touch gestures include according to testing result in the terminal device:
The capacitance type touch key control module is according to testing result between pre-set testing result and touch gestures
Correspondence in search the corresponding touch gestures of testing result.
2. the method as described in claim 1, it is characterised in that the fingerprint induction module is continuously detected in setting regions
During same fingerprint image, the mechanical keys being placed in below the fingerprint induction module send corresponding control to the CPU of terminal device
The process of instruction includes:
If the fingerprint induction module detects that the duration of same fingerprint image is greater than or equal to setting in setting regions
Threshold value, the then mechanical keys being placed in below the fingerprint induction module send power-on instruction or shutdown command to the CPU of terminal device;
If the fingerprint induction module detects that the duration of same fingerprint image is less than given threshold in setting regions,
The mechanical keys being placed in below the fingerprint induction module send bright screen to the CPU of terminal device and instruct or go out screen instruction.
3. the method as described in claim 1, it is characterised in that the capacitance type touch key control module is to capacitance touch
Button, which is detected to obtain testing result, to be further included:
Repeatedly the capacitance type touch key is detected in the first preset time to obtain the capacitance type touch key
Charging interval and discharge time, and calculate the absolute value of the difference between corresponding charging interval and discharge time;Described in calculating
In first preset time the absolute value by become greater than less than predetermined threshold value or equal to the predetermined threshold value or by being more than or
Equal to the number that the predetermined threshold value becomes smaller than the predetermined threshold value.
4. according to the method described in claim 3, it is characterized in that, the number of the capacitance type touch key is one;
The capacitance type touch key control module is detected to obtain testing result to capacitance type touch key to be included:
Repeatedly the capacitance type touch key is detected in the first preset time to obtain the capacitance type touch key
Charging interval and discharge time, and calculate the absolute value of the difference between corresponding charging interval and discharge time;
The corresponding touch gestures of testing result are searched in correspondence between pre-set testing result and touch gestures
Including:
Judge in the absolute value that measurement obtains in first preset time, have twice by being become greater than less than predetermined threshold value or
Equal to predetermined threshold value or by by becoming smaller than predetermined threshold value more than or equal to predetermined threshold value, then finding testing result pair twice
The touch gestures answered are double-click.
5. according to the method described in claim 3, it is characterized in that, the number of the capacitance type touch key is two or two
More than;
It is described capacitance type touch key is detected to obtain testing result include:
In the second preset time respectively repeatedly the capacitance type touch key is detected to obtain the capacitance touch by
The charging interval and discharge time of key, and capacitance type touch key corresponding charging interval and discharge time each time is calculated respectively
Between difference absolute value;
The corresponding touch gestures of testing result are searched in correspondence between pre-set testing result and touch gestures
Including:
By the capacitance type touch key according to corresponding absolute value by becoming smaller than predetermined threshold value more than or equal to predetermined threshold value,
Or according to corresponding absolute value by becoming greater than less than predetermined threshold value or being arranged equal to the time order and function order of predetermined threshold value
Row, judge that the order of the capacitance type touch key after arrangement and pre-set first order order are identical, then search
It is upward sliding to the corresponding touch gestures of testing result;Judge the order of the capacitance type touch key after arrangement and pre-
The second order order first set is identical, then it is slide downward to find the corresponding touch gestures of testing result.
6. according to the method described in claim 3, it is characterized in that, the CPU is corresponded to according to the touch gestures detected
Operation processing process include:
The CPU searches detected touch gestures from default touch gestures and the correspondence of control instruction, according to
The corresponding control instruction of touch gestures found carries out corresponding operation processing;
Default touch gestures and the correspondence of control instruction include:
Touch gestures are upward sliding, and corresponding control instruction increases for volume, and touch gestures are slide downward, corresponding control
Instruct and reduce for volume;Or
Touch gestures are upward sliding, and corresponding control instruction reduces for volume, and touch gestures are slide downward, corresponding control
Instruct and increase for volume.
7. a kind of terminal device, it is characterised in that the equipment includes at least fingerprint induction module, is placed in the fingerprint induction module
Mechanical keys, capacitance type touch key, capacitance type touch key control module and the central processing module CPU of lower section, wherein:
The fingerprint induction module, detects fingerprint image;
The mechanical keys, when the fingerprint induction module is continuously detected same fingerprint image in setting regions, to described
CPU sends corresponding control instruction, wherein, the control instruction includes:Power-on instruction, shutdown command, the instruction of bright screen or the screen that goes out
Instruction;The capacitance type touch key control module, is detected to obtain testing result to the capacitance type touch key, according to
Testing result identifies touch gestures;
The CPU, receives the control instruction that the mechanical keys are sent and carries out operation processing, and according to the capacitance type touch key
The touch gestures that control module identifies carry out corresponding operation processing, and the operation processing includes:Unlock, secure payment or body
Part certification;
The capacitance type touch key control module identifies that touch gestures refer to according to testing result:
The capacitance type touch key control module is according to testing result between pre-set testing result and touch gestures
Correspondence in search the corresponding touch gestures of testing result;
The capacitance type touch key control module is detected to obtain testing result to capacitance type touch key to be referred to:
In the second preset time respectively repeatedly the capacitance type touch key is detected to obtain the capacitance touch by
The charging interval and discharge time of key, and capacitance type touch key corresponding charging interval and discharge time each time is calculated respectively
Between difference absolute value;The absolute value is judged by becoming smaller than the predetermined threshold value more than or equal to predetermined threshold value,
Or the absolute value is by becoming smaller than more than or equal to the predetermined threshold value capacitance type touch key of the predetermined threshold value
Number is two or more, by the capacitance type touch key according to corresponding absolute value by default more than or equal to described
Threshold value is changed into described and is less than predetermined threshold value, or according to corresponding absolute value by becoming greater than or being equal to less than the predetermined threshold value
The time order and function order of the predetermined threshold value is arranged;
When judging the absolute value by becoming smaller than the predetermined threshold value more than or equal to the predetermined threshold value, or it is described absolutely
To value by become smaller than more than or equal to the predetermined threshold value predetermined threshold value capacitance type touch key number be one
When, the absolute value is calculated in second preset time by being become greater than less than the predetermined threshold value or equal to the default threshold
Value or the number by becoming smaller than the predetermined threshold value more than or equal to the predetermined threshold value.
8. equipment as claimed in claim 7, it is characterised in that the mechanical keys, in the fingerprint induction module in setting area
When same fingerprint image is continuously detected in domain, sends corresponding control instruction to the CPU and refer to:
The mechanical keys, detect that the duration of same fingerprint image is more than in the fingerprint induction module in setting regions
Or during equal to given threshold, power-on instruction or shutdown command are sent to the CPU;
When the fingerprint induction module detects that the duration of same fingerprint image is less than given threshold in setting regions,
Bright screen instruction is sent to the CPU or the screen that goes out instructs.
9. equipment as claimed in claim 7, it is characterised in that the capacitance type touch key control module is to capacitance touch
Button, which is detected to obtain testing result, also to be referred to:
Repeatedly the capacitance type touch key is detected in the first preset time to obtain the capacitance type touch key
Charging interval and discharge time, and calculate the absolute value of the difference between corresponding charging interval and discharge time;Described in calculating
In first preset time the absolute value by become greater than less than predetermined threshold value or equal to the predetermined threshold value or by being more than or
Equal to the number that the predetermined threshold value becomes smaller than the predetermined threshold value.
10. equipment according to claim 9, it is characterised in that the number of the capacitance type touch key is one;
The capacitance type touch key control module is detected to obtain testing result to capacitance type touch key to be referred to:
Repeatedly the capacitance type touch key is detected in the first preset time to obtain the capacitance type touch key
Charging interval and discharge time, and calculate the absolute value of the difference between corresponding charging interval and discharge time;
The corresponding touch gestures of testing result are searched in correspondence between pre-set testing result and touch gestures
Refer to:
Judge in the absolute value that measurement obtains in first preset time, have twice by being become greater than less than predetermined threshold value or
Equal to predetermined threshold value or by by becoming smaller than predetermined threshold value more than or equal to predetermined threshold value, then finding testing result pair twice
The touch gestures answered are double-click.
11. equipment according to claim 9, it is characterised in that the number of the capacitance type touch key is two or two
More than a;
It is described capacitance type touch key is detected to obtain testing result refer to:
In the second preset time respectively repeatedly the capacitance type touch key is detected to obtain the capacitance touch by
The charging interval and discharge time of key, and capacitance type touch key corresponding charging interval and discharge time each time is calculated respectively
Between difference absolute value;
The corresponding touch gestures of testing result are searched in correspondence between pre-set testing result and touch gestures
Refer to:
By the capacitance type touch key according to corresponding absolute value by becoming smaller than predetermined threshold value more than or equal to predetermined threshold value,
Or according to corresponding absolute value by becoming greater than less than predetermined threshold value or being arranged equal to the time order and function order of predetermined threshold value
Row, judge that the order of the capacitance type touch key after arrangement and pre-set first order order are identical, then search
It is upward sliding to the corresponding touch gestures of testing result;Judge the order of the capacitance type touch key after arrangement and pre-
The second order order first set is identical, then it is slide downward to find the corresponding touch gestures of testing result.
12. equipment according to claim 9, it is characterised in that the CPU is corresponded to according to the touch gestures detected
Operation processing refer to:
The CPU searches detected touch gestures from default touch gestures and the correspondence of control instruction, according to
The corresponding control instruction of touch gestures found carries out corresponding operation processing;
Wherein, default touch gestures and the correspondence of control instruction include:
Touch gestures are upward sliding, and corresponding control instruction increases for volume, and touch gestures are slide downward, corresponding control
Instruct and reduce for volume;Or
Touch gestures are upward sliding, and corresponding control instruction reduces for volume, and touch gestures are slide downward, corresponding control
Instruct and increase for volume.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510275911.XA CN104866226B (en) | 2015-05-26 | 2015-05-26 | A kind of terminal device and its control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510275911.XA CN104866226B (en) | 2015-05-26 | 2015-05-26 | A kind of terminal device and its control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104866226A CN104866226A (en) | 2015-08-26 |
CN104866226B true CN104866226B (en) | 2018-04-27 |
Family
ID=53912091
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510275911.XA Active CN104866226B (en) | 2015-05-26 | 2015-05-26 | A kind of terminal device and its control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104866226B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105468217A (en) * | 2015-11-17 | 2016-04-06 | 广东欧珀移动通信有限公司 | Mobile terminal for replacing power button by capacitive sensor and relation method of mobile terminal |
US9939920B2 (en) | 2016-03-03 | 2018-04-10 | Microsoft Technology Licensing, Llc | Keyset fingerprint sensor with backlight |
EP3436900A4 (en) * | 2016-04-01 | 2019-08-28 | Microsoft Technology Licensing, LLC | Keyset fingerprint sensor |
CN106096374B (en) * | 2016-07-21 | 2019-03-22 | 珠海市魅族科技有限公司 | The control method and associated electronic device of electronic equipment |
CN106652603A (en) * | 2017-03-17 | 2017-05-10 | 马鞍山鑫霖电子科技有限公司 | Learning machine with convenient voice input function |
CN107015757A (en) * | 2017-03-31 | 2017-08-04 | 宇龙计算机通信科技(深圳)有限公司 | Application program control method and system |
CN107102809B (en) * | 2017-04-20 | 2022-09-13 | 维沃移动通信有限公司 | Fingerprint identification method and mobile terminal |
CN111431521A (en) * | 2019-01-09 | 2020-07-17 | 杭州登虹科技有限公司 | Waterproof key signal detection method and false touch prevention method for intelligent camera |
CN113515208B (en) * | 2021-08-02 | 2024-03-01 | 上海东软载波微电子有限公司 | Control method, device and system of capacitive touch system |
CN116386635B (en) * | 2023-04-26 | 2024-02-06 | 东莞市恒速发电子有限公司 | Method for identifying page turning direction and page number of electronic sounding book and electronic sounding book |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901092A (en) * | 2008-12-24 | 2010-12-01 | 耀光联有限公司 | Control panel for controlling information processing system and information processing system |
CN102681784A (en) * | 2012-05-09 | 2012-09-19 | 中兴通讯股份有限公司 | Method and device for operating mobile terminal on basis of sensor, and mobile terminal |
CN104503631A (en) * | 2015-01-21 | 2015-04-08 | 北京京东方茶谷电子有限公司 | Password input keyboard, theft-proof unlocking method and ATM machine |
CN104537366A (en) * | 2015-01-07 | 2015-04-22 | 小米科技有限责任公司 | Touch key and fingerprint identification implementation method and device and terminal equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102126816B1 (en) * | 2013-09-09 | 2020-07-08 | 삼성전자주식회사 | Fingerprint recognition apparatus and method |
-
2015
- 2015-05-26 CN CN201510275911.XA patent/CN104866226B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901092A (en) * | 2008-12-24 | 2010-12-01 | 耀光联有限公司 | Control panel for controlling information processing system and information processing system |
CN102681784A (en) * | 2012-05-09 | 2012-09-19 | 中兴通讯股份有限公司 | Method and device for operating mobile terminal on basis of sensor, and mobile terminal |
CN104537366A (en) * | 2015-01-07 | 2015-04-22 | 小米科技有限责任公司 | Touch key and fingerprint identification implementation method and device and terminal equipment |
CN104503631A (en) * | 2015-01-21 | 2015-04-08 | 北京京东方茶谷电子有限公司 | Password input keyboard, theft-proof unlocking method and ATM machine |
Also Published As
Publication number | Publication date |
---|---|
CN104866226A (en) | 2015-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104866226B (en) | A kind of terminal device and its control method | |
CN104020868B (en) | The method and electronic equipment of a kind of information processing | |
US20090006958A1 (en) | Method, Apparatus and Computer Program Product for Providing an Object Selection Mechanism for Display Devices | |
US20100009658A1 (en) | Method for identity authentication by mobile terminal | |
CN106855784A (en) | Prevent method, device and the terminal of touch key-press false triggering | |
CN103699260B (en) | A kind of method starting termination function module and terminal unit | |
EP2804083A1 (en) | Screen unlocking system and method | |
CN102662554B (en) | Information processing apparatus and code input mode switching method thereof | |
CN104267907B (en) | The starting or switching method of application program, system and terminal between multiple operating system | |
US10248231B2 (en) | Electronic device with fingerprint detection | |
CN108064370A (en) | Startup method and display methods, the terminal of application program | |
CN105930076B (en) | The display methods of mobile communication terminal and its hiding selected object | |
CN106502470A (en) | Prevent method, device and the terminal of touch key-press false triggering | |
CN107491677A (en) | Fingerprint recognition processing method, device, equipment and storage medium | |
CN104008326B (en) | Device and method for management terminal safety | |
CN106246012A (en) | Smart lock and method for unlocking thereof | |
CN107329687B (en) | A kind of display methods and mobile terminal of virtual input keyboard | |
CN106066691A (en) | Intelligent watch, the device and method of triggering intelligent watch work | |
CN104780409B (en) | A kind of terminal remote control method and terminal remote control system | |
CN105930065A (en) | Operating command input method, background device and terminal | |
CN109683739A (en) | The method and apparatus for adjusting operation interface, storage medium and electronic equipment | |
CN105549851A (en) | Pressure grade setting method and module | |
CN105653093A (en) | Method and device for adjusting screen brightness in portable terminal | |
CN105242823A (en) | Weather information prompting method and apparatus | |
CN108683809A (en) | screen locking method, device and system |
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 |