The content of the invention
It is an object of the invention to solve at least the above, and provide the advantages of at least will be described later.
It is a still further object of the present invention to provide a kind of mobile phone operation method, and it can be detected by some light sensors
Finger tendency toward sliding, so as to facilitate large-screen mobile phone one hand to answer, hang up the telephone.
A further object of the invention is to detect light luminance by some light sensors to change, and is reached from sleep pattern
Enter directly into the effect of dial dialing mode.
In order to realize according to object of the present invention and other advantages, there is provided one kind is answered for mobile phone hangs up the telephone
Method, including:
Step 1: in installing at least three light sensors on one of side of mobile phone;
Step 2: the tendency toward sliding of finger is detected using the light sensor, and by the tendency toward sliding input handset
CPU;
Step 3: the CPU performs telephone receiving, hangs up or directly enter from sleep pattern according to the tendency toward sliding
Enter the operation to dial dialing mode.
Preferably, it is described to answer the method hung up the telephone, the cunning of the light sensor detection finger for mobile phone
Dynamic trend specifically includes following steps:
A, a light threshold values is preset;
B, when the light sensor has detected finger covering, it detects that light luminance is less than the light threshold value
When, the mobile phone CPU ends obtain input signal " 0 ";When finger leaves, the light sensor detects that light luminance is higher than institute
When stating light threshold value, the CPU ends obtain input signal " 1 ";
C, when finger slides along three light sensors, finger passes through three light sensors, institute successively
State the input signal that mobile phone CPU ends obtain and corresponding variation tendency is produced according to finger tendency toward sliding.
Preferably, described to answer the method hung up the telephone for mobile phone, the light sensor is touched by Schmidt
Device shaping is sent out, it is connected with the GPIO interface of the mobile phone CPU, and electric signal is changed into data signal by the Schmidt trigger
It is sent to CPU.
Preferably, described to answer the method hung up the telephone for mobile phone, the light sensor is touched by Schmidt
Device shaping is sent out, when mobile phone light sensor is not blocked, its light sensation conducting, the mobile phone CPU inputs obtain one high electricity
Flat, the mobile phone CPU ends obtain signal " 1 ", when there is finger to cover light sensor, the cut-off of its light sensation, and the mobile phone CPU ends
Obtain signal " 0 ".
Preferably, it is described to answer the method hung up the telephone for mobile phone, when mobile phone is in call alerting mode, if finger
Upward sliding, the multiple light sensor detect finger covering and left that corresponding CPU ends are defeated successively successively from the bottom up
Enter signal " 0 " and " 1 ", after mobile phone detects this variation tendency, automatic call answering;If finger slide downward, the multiple
Light sensor detects finger covering and left that corresponding CPU ends sequentially input signal " 0 " and " 1 ", hand successively from top to bottom
After machine examination measures this variation tendency, automatic rejection phone.
Preferably, it is described to answer the method hung up the telephone for mobile phone, in a sleep mode, continuously with finger with phase
Twice, mobile phone enters directly into the pattern of dial in the hole of 3 light sensors of time covering at equal intervals.
Preferably, described to answer the method hung up the telephone for mobile phone, the interval time is 500ms-1s.
Preferably, described to answer the method hung up the telephone for mobile phone, light sensor is arranged in mobile phone side
Between position on the lower side.
Preferably, described to answer the method hung up the telephone for mobile phone, mobile phone may be configured as the signal that CPU is received
Quantity reaches more than half i.e. executable operation of the quantity of light sensor.
The present invention comprises at least following beneficial effect:Due to installing at least three light levels on a side of mobile phone
Device, and by light sensor detect finger slide when light luminance change, give mobile phone CPU so as to send different signals,
To reach the effect answered, hang up or entered directly into from sleep pattern dial dialing mode of phone.This method energy pole
The big one-handed performance for facilitating large-screen mobile phone telephone receiving, hanging up, and dialing can be quickly entered by gesture in a sleep mode
Disk dialing mode, the abrasion of mobile phone key can also be reduced easy to operate while.
Other advantages, target and the feature of the present invention embodies part by following explanation, and part will also be by this
The research and practice of invention and be understood by the person skilled in the art.
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings, to make those skilled in the art with reference to specification text
Word can be implemented according to this.
It should be appreciated that such as " having ", "comprising" and " comprising " term used herein do not allot one or more
The presence or addition of individual other elements or its combination.
Fig. 2,3 show the finger tendency toward sliding that one group of present invention is answered, hung up the telephone.
Fig. 4 shows light sensor detection light luminance and is converted into electric signal by Schmidt trigger shaping
Data signal is sent to CPU process, and L1, L2 and L3 in figure are respectively the light sensation of three light sensors, and 54AC11014 is
Schmidt trigger, KEY_INPUT1,2,3 are coupled with CPU three GPIO interfaces.
As shown in figure 1, present invention offer is a kind of to answer the method hung up the telephone for mobile phone, including:
It it is three in the present embodiment Step 1: in installing at least three light sensors on one of side of mobile phone
Light sensor Q1, Q2 and Q3;Step 2: the tendency toward sliding of finger is detected using the light sensor, and by the slip
Trend input handset CPU;Step 3: the CPU according to the tendency toward sliding, performs telephone receiving, hung up or from sleep mould
Formula enters directly into the operation of dial dialing mode.The purpose of the technical program is passed by light of the finger in mobile phone side
Different tendencys toward sliding on sensor are answered to perform, hang up or entered directly into from sleep pattern the behaviour of dial dialing mode
Make, also, the number of light sensor can be with self-defined setting, but not below three, is otherwise inconvenient to detect tendency toward sliding.
As shown in figure 4, the tendency toward sliding of the light sensor detection finger specifically includes following steps:
A, a light threshold values is preset, wherein light threshold value is related to the parameter of light sensation;Light threshold values is 10 in the present invention
Lumen.When light sensor detects that light luminance is less than 10 lumen-hours, cpu signal " 1 " is offered, is higher than 10 lumens when detecting
When, offer cpu signal " 0 ".
B, when the light sensor has detected finger covering, it detects that light luminance is less than the light threshold value
When, the mobile phone CPU ends obtain input signal " 0 ";When finger leaves, the light sensor detects that light luminance is higher than institute
When stating light threshold value, the CPU ends obtain input signal " 1 ";
C, when finger slides along three light sensors, finger passes through three light sensors, institute successively
State the input signal that mobile phone CPU ends obtain and corresponding variation tendency is produced according to finger tendency toward sliding.Use this scheme can be with
Tendency toward sliding of the finger on light sensor is synchronously changed into CPU ends and obtains the variation tendency of signal.
As shown in figure 4, the light sensor is by Schmidt trigger shaping, itself and the mobile phone CPU GPIO connect
Mouth is connected, and electric signal is changed into data signal and is sent to CPU by the Schmidt trigger.The technical scheme can be very good by
Signal after Schmidt trigger shaping is transmitted to CPU.
As shown in figure 4, the light sensor is not blocked by Schmidt trigger shaping in mobile phone light sensor
When, its light sensation is turned on, and C points are grounded in figure, and level is changed into 0V, and the mobile phone CPU inputs obtain a high level, and Schmidt touches
Device is sent out after shaping, output signal " 1 ", the mobile phone CPU ends obtain signal " 1 ", when there is finger to cover light sensor,
Its light sensation ends, and C level is 3V in figure, and after shaping, output signal " 0 ", the mobile phone CPU ends obtain Schmidt trigger
Signal " 0 ".Using this scheme, can be very good to detect the change of light luminance, and change into different signals and be sent to
CPU, so as to perform different operating.
When mobile phone is in call alerting mode, if finger upward sliding, as shown in Fig. 2 three light sensors are from the bottom up
Finger covering is detected successively and is left, and corresponding CPU ends sequentially input signal " 0 " and " 1 ", and mobile phone detects that this change becomes
After gesture, automatic call answering;If finger slide downward, as shown in figure 3, three light sensors detect successively from top to bottom it is in one's hands
Refer to covering and leave, corresponding CPU ends sequentially input signal " 0 " and " 1 ", after mobile phone detects this variation tendency, refuse automatically
Answer the call.The technical scheme has that finger tendency toward sliding is simple, easy-operating advantage.Also, this mode is a kind of preferable
Example explanation, be not limited to this.User can set the tendency toward sliding of custom by mobile phone oneself, such as:Finger slide downward
Receive calls, finger upward sliding phone refusing.
As shown in figure 1, in a sleep mode, continuously with finger, the time covers the holes of 3 light sensors at equal intervals
Twice, mobile phone enters directly into the pattern of dial.In mobile phone sleep pattern or screen lock state, if user need to put through phone,
The technical scheme can facilitate user to be directly entered dial pattern, and be unlocked without button, and finger covering light sensor
Number self-defined can also be set, and meet all types of user needs.
As shown in figure 1, the interval time is 500ms-1s.In general, interval time is that 500ms-1s is proper,
Time too short easily erroneous judgement, brings inconvenience;Overlong time, cause to operate slowly, lose time.
As shown in figure 1, light sensor is arranged on the position of mobile phone side lower middle.Because large-screen mobile phone is larger, adopt
Finger can be preferably facilitated to be slided on light sensor with this technical scheme, operation is more humane.
Mobile phone may be configured as the number of signals that CPU is received reach light sensor quantity more than half is i.e. executable
Operation.If the hand of user is too small or quantity of light sensor is more, may cause in one-handed performance, finger is in the top
Or covered on the light sensor of bottom it is not tight, so as to cause the number of signals that CPU is received less than light sensor
Quantity so that operation is judged by accident;Therefore mobile phone can be arranged to the number that the number of signals that CPU is received reaches light sensor
The i.e. executable operation of more than half of amount, as long as so detecting that number of signals reaches more than half and trend is correct, you can complete
Into operation.
Module number and treatment scale described herein are the explanations for simplifying the present invention.The present invention passes through some light
Line sensor detects finger tendency toward sliding, answers so as to reach one hand, hangs up the telephone or is entered directly into from sleep pattern and is dialled
Dialer dialing mode, and the application, modifications and variations to the present invention will be readily apparent to persons skilled in the art.
As described above, according to the present invention, because some light sensors detect finger tendency toward sliding, therefore with convenient big
The effect that screen mobile phone one hand is answered, hangs up the telephone or dial dialing mode is entered directly into from sleep pattern.
Although embodiment of the present invention is disclosed as above, it is not restricted in specification and embodiment listed
With it can be applied to various suitable the field of the invention completely, can be easily for those skilled in the art
Realize other modification.Therefore it is of the invention and unlimited under the universal limited without departing substantially from claim and equivalency range
In specific details and shown here as the legend with description.