CN102438074A - Screen unlocking method on basis of mobile phone and mobile phone - Google Patents

Screen unlocking method on basis of mobile phone and mobile phone Download PDF

Info

Publication number
CN102438074A
CN102438074A CN201110403373XA CN201110403373A CN102438074A CN 102438074 A CN102438074 A CN 102438074A CN 201110403373X A CN201110403373X A CN 201110403373XA CN 201110403373 A CN201110403373 A CN 201110403373A CN 102438074 A CN102438074 A CN 102438074A
Authority
CN
China
Prior art keywords
mobile phone
time
acceleration information
dimensional coordinate
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201110403373XA
Other languages
Chinese (zh)
Other versions
CN102438074B (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.)
Jiangsu Jinyue Holding Group Co ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201110403373.XA priority Critical patent/CN102438074B/en
Publication of CN102438074A publication Critical patent/CN102438074A/en
Application granted granted Critical
Publication of CN102438074B publication Critical patent/CN102438074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a screen unlocking method on the basis of a mobile phone and a mobile phone. The screen unlocking method comprises the following steps of: sensing acceleration data of the mobile phone by an acceleration sensor arranged on the mobile phone and calculating a current position of the mobile phone relative to the gravity direction according to the acceleration data; and judging whether the current position is consistent with an unlocking position preset by a user, successfully unlocking if the current position is consistent with the unlocking position, and failing to unlock if the current position is inconsistent with the unlocking position. Due to the adoption of the screen unlocking method, the mobile phone additionally has a three-dimensional unlocking function, i.e. the effect of calculating the position of the mobile phone by the acceleration sensor and unlocking a screen of the mobile phone according to the position of the mobile phone, which is preset by the user, after the screen of the mobile phone is locked is realized, the screen unlocking efficiency is improved, and the convenience is provided for the user.

Description

A kind of screen unlock method and mobile phone based on mobile phone
Technical field
The present invention relates to the release field of portable terminal, in particular a kind of method and mobile phone that calculates mobile phone location and release mobile phone screen with acceleration transducer.
Background technology
Along with the development of mobile communication and improving constantly of people's living standard, the use of mobile phone is more and more universal, and mobile phone has become indispensable means of communication in people's life.
Current complete touch mobile phone is more and more universal; Smart mobile phone development such as special picture Android, IPhone are swift and violent; These complete its releases of touch mobile phone only rest on two-dimensional plane operation on the market at present, on touch-screen, do some through finger and slide and realize.The mobile phone of prior art is the three-dimensional unlocking function of tool not, inconvenient sometimes user.
Therefore, prior art awaits to improve and development.
Summary of the invention
The technical problem that the present invention will solve is; Above-mentioned defective to prior art; A kind of screen unlock method and mobile phone based on mobile phone is provided, and it makes mobile phone increase three-dimensional unlocking function: after can being implemented in the mobile phone screen locking, through calculating mobile phone location with acceleration transducer and according to the predefined mobile phone location release of user mobile phone screen; Improved screen release efficient, provided users with the convenient.
The technical scheme that technical solution problem of the present invention is adopted is following:
A kind of screen unlock method based on mobile phone wherein, comprising:
S1, through being arranged on the acceleration transducer on the mobile phone, the acceleration information of induction mobile phone calculates mobile phone with respect to the residing current location of gravity direction according to this acceleration information;
S2, judge that said current location is whether consistent with the unlocked position that the user is provided with in advance, if consistently be then the release success, if inconsistent, then release failure.
Said screen unlock method based on mobile phone, wherein, the unlocked position that is provided with in advance among the said step S2 comprises first precalculated position and second precalculated position.
Said screen unlock method based on mobile phone wherein, also comprised before said step S1:
M1, according in six faces of mobile phone wherein the one side along gravity direction down, come to define in advance the accekeration of mobile phone with respect to the gravity direction present position, specifically comprise:
When being A bottom surface, position down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g ,-1.3g y 0.7g, | z| < 0.3g;
When being position B right flank down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: 0.7g x 1.3g, | y| 0.3g, | z| < 0.3g;
When being position C end face down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, 0.7g y 1.3g, | z| < 0.3g;
When being position D left surface down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively :-1.3g x 0.7g, | y| 0.3g, | z| < 0.3g;
When being the E back side, position down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, | y| < 0.3g ,-1.3g < z < 0.7g;
When being position F face down, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, | y| < 0.3g, 0.7g < z < 1.3g;
Wherein, | X| representes the absolute value of X, g=9.8m/s 2
Said screen unlock method based on mobile phone, wherein,
When mobile phone is in A bottom surface, position down, acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: 0 ,-1g, 0;
When mobile phone is in position B right flank down, acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: 1g, 0,0;
When mobile phone is in position C end face down, acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: 0,1g, 0;
When mobile phone is in position D left surface down, acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively :-1g, 0,0;
When mobile phone is in the E back side, position down, acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: 0,0 ,-1g;
When mobile phone is in position F face down, acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: 0,0,1g.
Said screen unlock method based on mobile phone wherein, also comprised before said step S1:
A, receive user's said first precalculated position of operation setting and second precalculated position, said first precalculated position, second precalculated position are respectively a kind of to the F of position of above-mentioned said position A.
Said screen unlock method based on mobile phone, wherein, said step S1 specifically comprises:
S11, on mobile phone, be provided with one be used to respond to the mobile phone direction acceleration transducer, and this acceleration transducer is connected with the CPU of mobile phone;
S12, when the need release, through said acceleration transducer, induction mobile phone primary acceleration information, and should primary acceleration information resolution of vectors be three-dimensional coordinate x, y, three coordinate directions of z;
S13, three-dimensional coordinate x that will this primary acceleration information, y, the three-dimensional coordinate x of said position A F of z value and above-mentioned definition to the position, y, the z value compares, and calculates mobile phone with respect to the for the first time residing position of gravity direction.
Said screen unlock method based on mobile phone, wherein, said step S2 specifically comprises:
S21, judge the said first time, whether residing position was said first precalculated position, when residing position for the first time is said first precalculated position, in a preset time, carry out detection second time;
S22, when in a scheduled time, to detect for the second time described position be said second precalculated position, then control the release success.
Said screen unlock method based on mobile phone, wherein, in a preset time, carrying out among the said step S21 detects and specifically comprise the second time:
S14, in a preset time, through said acceleration transducer, induction mobile phone secondary acceleration information, and be three-dimensional coordinate x, y, three coordinate directions of z with this acceleration information resolution of vectors of second;
S15, three-dimensional coordinate x that will this secondary acceleration information, y, the three-dimensional coordinate x of said position A F of z value and above-mentioned definition to the position, y, the z value compares, and calculates mobile phone with respect to the for the second time residing position of gravity direction.
A kind of mobile phone, wherein, on mobile phone, be provided with one be used to respond to the mobile phone direction acceleration transducer, and this acceleration transducer is connected with the CPU of mobile phone, said mobile phone also comprises:
Position computation module is used for through being arranged on the acceleration transducer on the mobile phone, and the acceleration information of induction mobile phone calculates mobile phone with respect to the residing current location of gravity direction according to this acceleration information;
The release control module is used to judge that said current location is whether consistent with the unlocked position that the user is provided with in advance, if consistently be then the release success, if inconsistent, then release failure.
Described mobile phone, wherein, it also comprises:
Module is set, and the said unlocked position that is provided with in advance of operation setting that is used to receive the user is first precalculated position and second precalculated position.
Described mobile phone, wherein, it also comprises:
Definition module is used for to define in advance mobile phone and comprising with respect to the accekeration of gravity direction present position according to the wherein one side of six faces of mobile phone along gravity direction down:
When being A bottom surface, position down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g ,-1.3g y 0.7g, | z| < 0.3g;
When being position B right flank down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: 0.7g x 1.3g, | y| 0.3g, | z| < 0.3g;
When being position C end face down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, 0.7g y 1.3g, | z| < 0.3g;
When being position D left surface down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively :-1.3g x 0.7g, | y| 0.3g, | z| < 0.3g;
When being the E back side, position down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, | y| < 0.3g ,-1.3g < z < 0.7g;
When being position F face down, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, | y| < 0.3g, 0.7g < z < 1.3g;
Wherein, | X| representes the absolute value of X, g=9.8m/s 2
Said first precalculated position, second precalculated position are respectively a kind of to the F of position of above-mentioned said position A.
Described mobile phone, wherein, said position computation module comprises:
Computing unit is used for when needing release for the first time, through acceleration transducer, and the primary acceleration information of induction mobile phone; And should primary acceleration information resolution of vectors be three-dimensional coordinate x, y, three coordinate directions of z; With the three-dimensional coordinate x of this primary acceleration information, y, the three-dimensional coordinate x of said position A F of z value and above-mentioned definition to the position; Y, the z value compares, and calculates mobile phone with respect to the for the first time residing position of gravity direction;
Computing unit is used in a preset time for the second time, through said acceleration transducer, and the secondary acceleration information of induction mobile phone; And be three-dimensional coordinate x with this acceleration information resolution of vectors of second, y, three coordinate directions of z; With the three-dimensional coordinate x of this secondary acceleration information, y, the three-dimensional coordinate x of said position A F of z value and above-mentioned definition to the position; Y, the z value compares, and calculates mobile phone with respect to the for the second time residing position of gravity direction.
Described mobile phone, wherein, said release control module comprises:
First control unit is used to judge the said first time, whether residing position was said first precalculated position, when residing position for the first time is said first precalculated position, in a preset time, carries out detection second time;
Second control unit is used for when in a scheduled time, to detect for the second time described position be said second precalculated position, then controlling the release success.
A kind of screen unlock method and mobile phone provided by the present invention based on mobile phone; Owing to adopted through being arranged on the acceleration transducer on the mobile phone; The acceleration information of induction mobile phone calculates mobile phone with respect to the residing current location of gravity direction according to this acceleration information; Judge that said current location is whether consistent with the unlocked position that the user is provided with in advance; If consistent is then the release success if that inconsistent, then release is failed; It makes mobile phone increase three-dimensional unlocking function: after can being implemented in the mobile phone screen locking; Through calculating mobile phone location with acceleration transducer and, having improved screen release efficient, provide users with the convenient according to the predefined mobile phone location release of user mobile phone screen.
Description of drawings
Fig. 1 is the screen unlock method flow chart based on mobile phone of the embodiment of the invention.
Fig. 2 is the mobile phone hardware syndeton sketch map of the embodiment of the invention.
Fig. 3 is that the present invention executes the coordinate system structure chart that acceleration decomposes in the example.
Fig. 4 a~Fig. 4 f is the operation interface structural representation that said first precalculated position and second precalculated position are set in the embodiment of the invention.
Fig. 5 a~Fig. 5 f is when mobile phone is in position A~position F in the embodiment of the invention, and acceleration transducer is at x, y, the output valve structural representation on the z coordinate system.
Fig. 6 a~Fig. 6 g is the operation interface structural representation of a concrete application implementation example of the present invention.
Fig. 7 is the flow chart of the application implementation example of the method for the invention.
Fig. 8 is the cell-phone function theory diagram of the embodiment of the invention.
Fig. 9 is the position computation module functional schematic block diagram of the mobile phone of the embodiment of the invention.
Figure 10 is the release control module functional schematic block diagram of the mobile phone of the embodiment of the invention.
Embodiment
A kind of screen unlock method and mobile phone provided by the present invention based on mobile phone, clearer, clear and definite for making the object of the invention, technical scheme and advantage, below develop simultaneously embodiment to further explain of the present invention with reference to accompanying drawing.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
A kind of screen unlock method and mobile phone provided by the present invention based on mobile phone, can be implemented in the mobile phone screen locking after, carry out release according to the predefined mobile phone location of user.
The screen unlock method based on mobile phone of the embodiment of the invention, as shown in Figure 1, mainly comprise step:
S100, through being arranged on the acceleration transducer on the mobile phone, the acceleration information of induction mobile phone calculates mobile phone with respect to the residing current location of gravity direction according to this acceleration information;
S200, judge that said current location is whether consistent with the unlocked position that the user is provided with in advance, if consistently be then the release success, if inconsistent, then release failure.Wherein, the said unlocked position that is provided with in advance comprises first precalculated position and second precalculated position
In the embodiment of the invention, need on mobile phone, to be provided with one be used to respond to the mobile phone direction acceleration transducer, and this acceleration transducer is connected with the CPU of mobile phone, as shown in Figure 2, wherein connected mode is the I2C bus.The coordinate system structure that acceleration decomposes in the embodiment of the invention is as shown in Figure 3.
In the embodiment of the invention,, come to define in advance the accekeration of mobile phone down according to which face in six faces of mobile phone, specifically comprise with respect to the gravity direction present position along gravity direction:
When being A bottom surface, position down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g ,-1.3g y 0.7g, | < 0.3g corresponds to the position shown in Fig. 4 a to z|.
When being position B right flank down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: 0.7g x 1.3g, | y| 0.3g, | < 0.3g corresponds to the position shown in Fig. 4 b to z|.
When being position C end face down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, 0.7g y 1.3g, | < 0.3g corresponds to the position shown in Fig. 4 c to z|.
When being position D left surface down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively :-1.3g x 0.7g, | y| 0.3g, | < 0.3g corresponds to the position shown in Fig. 4 d to z|.
When being the E back side, position down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, | < 0.3g, < < 0.7g corresponds to the position shown in Fig. 4 e to z to-1.3g to y|.
When being position F face down, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, | < 0.3g, < < 1.3g corresponds to the position shown in Fig. 4 f to z to 0.7g to y|.
Wherein, | X| representes the absolute value of X, g=9.8m/s 2, the definition of six kinds of positions here according in six faces of mobile phone which face down (downward) along gravity direction define, gravity direction is downward direction.When acceleration transducer output (x, y when z) satisfying in the above-mentioned condition a certain, explain that mobile phone is in the pairing position of condition.
Utilize the acceleration transducer detection of handset position with respect to gravity of living in the embodiment of the invention, the acceleration transducer that uses in the mobile phone is static when lying against on the horizontal table top, and is as shown in Figure 4, in theory the output of acceleration transducer be (0,0 ,-1g).And 6 when facing down in theory acceleration transducer at x, y, will export respectively on the z coordinate system is (0 ,-1g, 0), (1g; 0,0), (0,1g, 0), (1g; 0,0), (0,0 ,-1g), (0; 0,1g), shown in Fig. 5 a~Fig. 5 f, utilize these characteristics to know the mobile phone present position.
Fig. 5 a~Fig. 5 f be in the embodiment of the invention mobile phone be in A bottom surface, position down~during the F face down of position, acceleration transducer is at x, y, the output valve on the z coordinate system.
Mobile phone is in A bottom surface, position down among Fig. 5 a, and acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: (0 ,-1g, 0).
Mobile phone is in position B right flank down among Fig. 5 b, and acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: (1g, 0,0).
Mobile phone is in position C end face down among Fig. 5 c, and acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: (0,1g, 0).
Mobile phone is in position D left surface down among Fig. 5 d, and acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: (1g, 0,0).
Mobile phone is in the E back side, position down among Fig. 5 e, and acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: (0,0 ,-1g).
Mobile phone is in position F face down among Fig. 5 f, and acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: (0,0,1g).
In the embodiment of the invention; Before release, need; The said unlocked position that is provided with in advance of operation setting that receives the user through mobile phone is first precalculated position and second precalculated position, and said first precalculated position, second precalculated position are respectively above-mentioned said position A to a kind of in down of position F.
Be that the user at first need get into setup menu and selects first precalculated position and second precalculated position of corresponding position as the said unlocked position that is provided with in advance at position A to position F (shown in Fig. 4 a~Fig. 4 f), and first precalculated position and second precalculated position selected have nothing in common with each other.
For example, for the explanation practical implementation of the present invention of image more in addition, Fig. 6 a~Fig. 6 g has provided concrete an application.First precalculated position and second precalculated position when Fig. 6 a~Fig. 6 e user gets in the setup menu release of the present invention are provided with; Wherein Fig. 6 a carries out the interface that release is provided with for getting into setup menu; Fig. 6 b is the interface when getting into the option of selecting position one corresponding with said primary importance and second place difference and position two; Operation interface figure when Fig. 6 c is present embodiment said primary importance is selected, the position of selecting among the figure one be said primary importance be position C end face down.Operation interface figure when Fig. 6 d is present embodiment the said second place is selected, the position of selecting among the figure two be the said second place be position D left surface down.Fig. 6 e for select earlier with the corresponding respectively position one of said primary importance and the second place and the surface chart of position two.
After the user lights screen the user need make earlier mobile phone be in position C end face down state shown in Fig. 6 f, then the user need first scheduled time as make in the 2s mobile phone be in position D left surface down state shown in Fig. 6 g, the release success.The concrete course of work is following:
S12, when the need release, through said acceleration transducer, induction mobile phone primary acceleration information, and should primary acceleration information resolution of vectors be three-dimensional coordinate x, y, three coordinate directions of z.
S13, three-dimensional coordinate x that will this primary acceleration information, y, the three-dimensional coordinate x of said position A F of z value and above-mentioned definition to the position, y, the z value compares, and calculates mobile phone with respect to the for the first time residing position of gravity direction.
S21, judge the said first time, whether residing position was said first precalculated position, when residing position for the first time is said first precalculated position, in a preset time, carry out detection second time.
S22, when in a scheduled time, to detect for the second time described position be said second precalculated position, then control the release success.
Wherein, in a preset time, carrying out among the said step S21 detects and specifically comprise the second time:
S14, in a preset time, through said acceleration transducer, induction mobile phone secondary acceleration information, and be three-dimensional coordinate x, y, three coordinate directions of z with this acceleration information resolution of vectors of second;
S15, three-dimensional coordinate x that will this secondary acceleration information, y, the three-dimensional coordinate x of said position A F of z value and above-mentioned definition to the position, y, the z value compares, and calculates mobile phone with respect to the for the second time residing position of gravity direction.
Below will do further detailed explanation to the screen unlock method based on mobile phone of the present invention through a concrete application implementation example.
The user pushes button and lights mobile phone screen and trigger and to separate lock module and open, and when the user holds mobile phone and makes mobile phone satisfy said first precalculated position, during the condition of (position one), then opens first timer T1, and wherein the time-out time of T1 is 2s; If in 2s, the user holds mobile phone makes mobile phone satisfy the then release success of condition in second precalculated position (position two), otherwise release is unsuccessful.
The flow chart of this application implementation example is as shown in Figure 7, specifically comprises:
Step 601, after the mobile phone screen locking, the user pushes button and lights mobile phone screen and trigger unlocking program and open.
Step 602, screen display statement prompt user release.
The detection of step 603, beginning mobile phone location one (first precalculated position); CPU reads the acceleration (x of the communication terminal that acceleration transducer senses; Y z), and combines above-mentioned method to calculate one of them whether current phone is in position A F to the position according to accekeration.
Step 604, judge whether mobile phone location satisfies the requirement in position one (first precalculated position), if then get into step 605, if otherwise get into step 603.
Step 605, opening timing device T1, the time-out time of T1 is 2s.
Step 606, beginning mobile phone location two detect, and CPU reads the acceleration at the mobile news terminal that acceleration transducer senses, and (x, y z), and combine above-mentioned method to calculate one of them whether current phone is in position A F to the position according to accekeration.
Step 607, judge whether mobile phone location satisfies the requirement of position two, if then get into step 608, if otherwise get into step 606.
Step 608, judge whether timer T1 is overtime, if then get into step 603, if otherwise get into step 609.
Step 609, release success.
Therefore; A kind of screen unlock method that the embodiment of the invention provides based on mobile phone; It makes mobile phone increase three-dimensional unlocking function: after can being implemented in the mobile phone screen locking; Through calculating mobile phone location with acceleration transducer and, having improved screen release efficient, provide users with the convenient according to the predefined mobile phone location release of user mobile phone screen
Based on the foregoing description, the embodiment of the invention also provides a kind of mobile phone, on mobile phone, be provided with one be used to respond to the mobile phone direction acceleration transducer, and this acceleration transducer is connected with the CPU of mobile phone, as shown in Figure 8, said mobile phone also comprises:
Position computation module 810 is used for through being arranged on the acceleration transducer on the mobile phone, and the acceleration information of induction mobile phone calculates mobile phone with respect to the residing current location of gravity direction according to this acceleration information; Specifically as stated.
Release control module 820 is used to judge that said current location is whether consistent with the unlocked position that the user is provided with in advance, if consistently be then the release success, if inconsistent, then release failure; Specifically as stated.
Definition module 801 is used for to define in advance the accekeration of mobile phone with respect to the gravity direction present position according to which face of six faces of mobile phone along gravity direction down, specifically comprises:
When being A bottom surface, position down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g ,-1.3g y 0.7g, | < 0.3g corresponds to position shown in Figure 4 to z|.
When being position B right flank down the time, the three-dimensional coordinate x of its acceleration information, y, the value defined of z is: 0.7g x 1.3g, | y| 0.3g, | < 0.3g corresponds to position shown in Figure 6 to z|;
When being position C end face down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, 0.7g y 1.3g, | z| < 0.3g;
When being position D left surface down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively :-1.3g x 0.7g, | y| 0.3g, | z| < 0.3g;
When being the E back side, position down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, | y| < 0.3g ,-1.3g < z < 0.7g;
When being position F face down, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, | y| < 0.3g, 0.7g < z < 1.3g;
Wherein, | X| representes the absolute value of X, g=9.8m/s 2 Specifically as stated.
Module 802 is set, and the said unlocked position that is provided with in advance of operation setting that is used to receive the user is first precalculated position and second precalculated position, and said first precalculated position, second precalculated position are respectively a kind of to the F of position of above-mentioned said position A; Specifically as stated.
Wherein, as shown in Figure 9, said position computation module 810 comprises:
Computing unit 811 is used for when needing release for the first time, through said acceleration transducer, and the primary acceleration information of induction mobile phone; And should primary acceleration information resolution of vectors be three-dimensional coordinate x, y, three coordinate directions of z; With the three-dimensional coordinate x of this primary acceleration information, y, the three-dimensional coordinate x of said position A F of z value and above-mentioned definition to the position; Y, the z value compares, and calculates mobile phone with respect to the for the first time residing position of gravity direction; Specifically as stated.
Computing unit 812 is used in a preset time for the second time, through said acceleration transducer, and the secondary acceleration information of induction mobile phone; And be three-dimensional coordinate x with this acceleration information resolution of vectors of second, y, three coordinate directions of z; With the three-dimensional coordinate x of this secondary acceleration information, y, the three-dimensional coordinate x of said position A F of z value and above-mentioned definition to the position; Y, the z value compares, and calculates mobile phone with respect to the for the second time residing position of gravity direction; Specifically as stated.
Shown in figure 10, said release control module 820 comprises:
First control unit 821 is used to judge the said first time, whether residing position was said first precalculated position, when residing position for the first time is said first precalculated position, in a preset time, carries out detection second time; Specifically as stated.
Second control unit 822 is used for when in a scheduled time, to detect for the second time described position be said second precalculated position, then controlling the release success; Specifically as stated.
In sum; A kind of screen unlock method and mobile phone provided by the present invention based on mobile phone; Because adopted through being arranged on the acceleration transducer on the mobile phone, the acceleration information of induction mobile phone calculates mobile phone with respect to the residing current location of gravity direction according to this acceleration information; Judge that said current location is whether consistent with the unlocked position that the user is provided with in advance; If consistent is then the release success if that inconsistent, then release is failed; It makes mobile phone increase three-dimensional unlocking function: after can being implemented in the mobile phone screen locking; Through calculating mobile phone location with acceleration transducer and, having improved screen release efficient, provide users with the convenient according to the predefined mobile phone location release of user mobile phone screen.
Should be understood that application of the present invention is not limited to above-mentioned giving an example, concerning those of ordinary skills, can improve or conversion that all these improvement and conversion all should belong to the protection range of accompanying claims of the present invention according to above-mentioned explanation.

Claims (13)

1. the screen unlock method based on mobile phone is characterized in that, comprising:
S1, through being arranged on the acceleration transducer on the mobile phone, the acceleration information of induction mobile phone calculates mobile phone with respect to the residing current location of gravity direction according to this acceleration information;
S2, judge that said current location is whether consistent with the unlocked position that the user is provided with in advance, if consistently be then the release success, if inconsistent, then release failure.
2. according to the said screen unlock method of claim 1, it is characterized in that the unlocked position that is provided with in advance among the said step S2 comprises first precalculated position and second precalculated position based on mobile phone.
3. according to the said screen unlock method of claim 2, it is characterized in that, before said step S1, also comprise based on mobile phone:
M1, according in six faces of mobile phone wherein the one side along gravity direction down, come to define in advance the accekeration of mobile phone with respect to the gravity direction present position, specifically comprise:
When being A bottom surface, position down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g ,-1.3g y 0.7g, | z| < 0.3g;
When being position B right flank down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: 0.7g x 1.3g, | y| 0.3g, | z| < 0.3g;
When being position C end face down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, 0.7g y 1.3g, | z| < 0.3g;
When being position D left surface down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively :-1.3g x 0.7g, | y| 0.3g, | z| < 0.3g;
When being the E back side, position down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, | y| < 0.3g ,-1.3g < z < 0.7g;
When being position F face down, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, | y| < 0.3g, 0.7g < z < 1.3g;
Wherein, | X| representes the absolute value of X, g=9.8m/s 2
4. according to the said screen unlock method of claim 3, it is characterized in that based on mobile phone,
When mobile phone is in A bottom surface, position down, acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: 0 ,-1g, 0;
When mobile phone is in position B right flank down, acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: 1g, 0,0;
When mobile phone is in position C end face down, acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: 0,1g, 0;
When mobile phone is in position D left surface down, acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively :-1g, 0,0;
When mobile phone is in the E back side, position down, acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: 0,0 ,-1g;
When mobile phone is in position F face down, acceleration transducer is at x, y, and the output valve on the z coordinate system is respectively: 0,0,1g.
5. according to the said screen unlock method of claim 3, it is characterized in that, before said step S1, also comprise based on mobile phone:
A, receive user's said first precalculated position of operation setting and second precalculated position, said first precalculated position, second precalculated position are respectively a kind of to the F of position of above-mentioned said position A.
6. according to the said screen unlock method of claim 3, it is characterized in that said step S1 specifically comprises based on mobile phone:
S11, on mobile phone, be provided with one be used to respond to the mobile phone direction acceleration transducer, and this acceleration transducer is connected with the CPU of mobile phone;
S12, when the need release, through said acceleration transducer, induction mobile phone primary acceleration information, and should primary acceleration information resolution of vectors be three-dimensional coordinate x, y, three coordinate directions of z;
S13, three-dimensional coordinate x that will this primary acceleration information, y, the three-dimensional coordinate x of said position A F of z value and above-mentioned definition to the position, y, the z value compares, and calculates mobile phone with respect to the for the first time residing position of gravity direction.
7. according to the said screen unlock method of claim 6, it is characterized in that said step S2 specifically comprises based on mobile phone:
S21, judge the said first time, whether residing position was said first precalculated position, when residing position for the first time is said first precalculated position, in a preset time, carry out detection second time;
S22, when in a scheduled time, to detect for the second time described position be said second precalculated position, then control the release success.
8. according to the said screen unlock method of claim 7, it is characterized in that in a preset time, carrying out among the said step S21 detects and specifically comprise the second time based on mobile phone:
S14, in a preset time, through said acceleration transducer, induction mobile phone secondary acceleration information, and be three-dimensional coordinate x, y, three coordinate directions of z with this acceleration information resolution of vectors of second;
S15, three-dimensional coordinate x that will this secondary acceleration information, y, the three-dimensional coordinate x of said position A F of z value and above-mentioned definition to the position, y, the z value compares, and calculates mobile phone with respect to the for the second time residing position of gravity direction.
9. a mobile phone is characterized in that, on mobile phone, be provided with one be used to respond to the mobile phone direction acceleration transducer, and this acceleration transducer is connected with the CPU of mobile phone, said mobile phone also comprises:
Position computation module is used for through being arranged on the acceleration transducer on the mobile phone, and the acceleration information of induction mobile phone calculates mobile phone with respect to the residing current location of gravity direction according to this acceleration information;
The release control module is used to judge that said current location is whether consistent with the unlocked position that the user is provided with in advance, if consistently be then the release success, if inconsistent, then release failure.
10. mobile phone according to claim 9 is characterized in that it also comprises:
Module is set, and the said unlocked position that is provided with in advance of operation setting that is used to receive the user is first precalculated position and second precalculated position.
11. mobile phone according to claim 10 is characterized in that, it also comprises:
Definition module is used for to define in advance mobile phone and comprising with respect to the accekeration of gravity direction present position according to the wherein one side of six faces of mobile phone along gravity direction down:
When being A bottom surface, position down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g ,-1.3g y 0.7g, | z| < 0.3g;
When being position B right flank down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: 0.7g x 1.3g, | y| 0.3g, | z| < 0.3g;
When being position C end face down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, 0.7g y 1.3g, | z| < 0.3g;
When being position D left surface down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively :-1.3g x 0.7g, | y| 0.3g, | z| < 0.3g;
When being the E back side, position down the time, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, | y| < 0.3g ,-1.3g < z < 0.7g;
When being position F face down, the three-dimensional coordinate x of its acceleration information, y, the value of z is respectively: | x| 0.3g, | y| < 0.3g, 0.7g < z < 1.3g;
Wherein, | X| representes the absolute value of X, g=9.8m/s 2
Said first precalculated position, second precalculated position are respectively a kind of to the F of position of above-mentioned said position A.
12. mobile phone according to claim 11 is characterized in that, said position computation module comprises:
Computing unit is used for when needing release for the first time, through acceleration transducer, and the primary acceleration information of induction mobile phone; And should primary acceleration information resolution of vectors be three-dimensional coordinate x, y, three coordinate directions of z; With the three-dimensional coordinate x of this primary acceleration information, y, the three-dimensional coordinate x of said position A F of z value and above-mentioned definition to the position; Y, the z value compares, and calculates mobile phone with respect to the for the first time residing position of gravity direction;
Computing unit is used in a preset time for the second time, through said acceleration transducer, and the secondary acceleration information of induction mobile phone; And be three-dimensional coordinate x with this acceleration information resolution of vectors of second, y, three coordinate directions of z; With the three-dimensional coordinate x of this secondary acceleration information, y, the three-dimensional coordinate x of said position A F of z value and above-mentioned definition to the position; Y, the z value compares, and calculates mobile phone with respect to the for the second time residing position of gravity direction.
13. mobile phone according to claim 12 is characterized in that, said release control module comprises:
First control unit is used to judge the said first time, whether residing position was said first precalculated position, when residing position for the first time is said first precalculated position, in a preset time, carries out detection second time;
Second control unit is used for when in a scheduled time, to detect for the second time described position be said second precalculated position, then controlling the release success.
CN201110403373.XA 2011-12-07 2011-12-07 Screen unlocking method on basis of mobile phone and mobile phone Active CN102438074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110403373.XA CN102438074B (en) 2011-12-07 2011-12-07 Screen unlocking method on basis of mobile phone and mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110403373.XA CN102438074B (en) 2011-12-07 2011-12-07 Screen unlocking method on basis of mobile phone and mobile phone

Publications (2)

Publication Number Publication Date
CN102438074A true CN102438074A (en) 2012-05-02
CN102438074B CN102438074B (en) 2014-11-05

Family

ID=45985943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110403373.XA Active CN102438074B (en) 2011-12-07 2011-12-07 Screen unlocking method on basis of mobile phone and mobile phone

Country Status (1)

Country Link
CN (1) CN102438074B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736853A (en) * 2012-05-17 2012-10-17 北京三星通信技术研究有限公司 Screen unlocking method, screen locking method and terminal
CN102736857A (en) * 2012-06-29 2012-10-17 宇龙计算机通信科技(深圳)有限公司 Method for triggering operation in mobile terminal, and mobile terminal
CN103135908A (en) * 2013-03-15 2013-06-05 广东睿江科技有限公司 Screen unlocking method and system
CN103197839A (en) * 2013-03-26 2013-07-10 北京小米科技有限责任公司 Unlocking method, device and facility
CN103577073A (en) * 2012-07-30 2014-02-12 联想(北京)有限公司 Information processing method and electronic equipment
WO2014036849A1 (en) * 2012-09-06 2014-03-13 惠州Tcl移动通信有限公司 Screen unlocking method for cellular phone and cellular phone
CN103677548A (en) * 2012-09-10 2014-03-26 中国电信股份有限公司 Method and system for removing screen-locked state of mobile terminal
WO2014056319A1 (en) * 2012-10-12 2014-04-17 华为技术有限公司 Touch sensitive device and unlocking method thereof
CN104156071A (en) * 2014-08-22 2014-11-19 小米科技有限责任公司 Method and device for setting screen password and unlocking screen
TWI467436B (en) * 2012-05-11 2015-01-01 Htc Corp Handheld device and unlocking method thereof
CN104657638A (en) * 2015-01-22 2015-05-27 成都朝越科技有限公司 Motion-characteristic-based mobile phone unlocking method
US9122457B2 (en) 2012-05-11 2015-09-01 Htc Corporation Handheld device and unlocking method thereof
CN105389098A (en) * 2014-09-05 2016-03-09 鸿富锦精密工业(武汉)有限公司 Electronic equipment unlocking system and method
CN105630349A (en) * 2015-11-26 2016-06-01 东莞酷派软件技术有限公司 Terminal unlocking method and terminal
CN106060237A (en) * 2016-05-09 2016-10-26 北京小米移动软件有限公司 Screen unlocking method, device and apparatus
CN106383574A (en) * 2016-09-05 2017-02-08 广东欧珀移动通信有限公司 Screen unlocking method and device and mobile terminal
CN106778137A (en) * 2016-12-21 2017-05-31 惠州Tcl移动通信有限公司 A kind of unlocking pin detection method and system based on mobile terminal
CN108076227A (en) * 2017-12-27 2018-05-25 上海传英信息技术有限公司 A kind of control method and mobile terminal for mobile terminal
CN109769068A (en) * 2019-01-28 2019-05-17 珠海格力电器股份有限公司 Construction method, unlocking method, the mobile terminal of mobile terminal unlock prediction model

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980516A (en) * 2010-10-26 2011-02-23 浙江大学 Method for locking and unlocking screen of mobile phone with Android system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980516A (en) * 2010-10-26 2011-02-23 浙江大学 Method for locking and unlocking screen of mobile phone with Android system

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI467436B (en) * 2012-05-11 2015-01-01 Htc Corp Handheld device and unlocking method thereof
US9122457B2 (en) 2012-05-11 2015-09-01 Htc Corporation Handheld device and unlocking method thereof
CN102736853A (en) * 2012-05-17 2012-10-17 北京三星通信技术研究有限公司 Screen unlocking method, screen locking method and terminal
CN102736857A (en) * 2012-06-29 2012-10-17 宇龙计算机通信科技(深圳)有限公司 Method for triggering operation in mobile terminal, and mobile terminal
CN103577073A (en) * 2012-07-30 2014-02-12 联想(北京)有限公司 Information processing method and electronic equipment
WO2014036849A1 (en) * 2012-09-06 2014-03-13 惠州Tcl移动通信有限公司 Screen unlocking method for cellular phone and cellular phone
CN103677548A (en) * 2012-09-10 2014-03-26 中国电信股份有限公司 Method and system for removing screen-locked state of mobile terminal
WO2014056319A1 (en) * 2012-10-12 2014-04-17 华为技术有限公司 Touch sensitive device and unlocking method thereof
CN103135908A (en) * 2013-03-15 2013-06-05 广东睿江科技有限公司 Screen unlocking method and system
CN103197839A (en) * 2013-03-26 2013-07-10 北京小米科技有限责任公司 Unlocking method, device and facility
CN104156071A (en) * 2014-08-22 2014-11-19 小米科技有限责任公司 Method and device for setting screen password and unlocking screen
CN104156071B (en) * 2014-08-22 2017-07-21 小米科技有限责任公司 Screen password is set, the method and device of lock screen is solved
CN105389098A (en) * 2014-09-05 2016-03-09 鸿富锦精密工业(武汉)有限公司 Electronic equipment unlocking system and method
CN104657638A (en) * 2015-01-22 2015-05-27 成都朝越科技有限公司 Motion-characteristic-based mobile phone unlocking method
CN104657638B (en) * 2015-01-22 2017-11-10 成都朝越科技有限公司 A kind of mobile phone unlocking method based on motion feature
CN105630349A (en) * 2015-11-26 2016-06-01 东莞酷派软件技术有限公司 Terminal unlocking method and terminal
CN106060237A (en) * 2016-05-09 2016-10-26 北京小米移动软件有限公司 Screen unlocking method, device and apparatus
CN106383574A (en) * 2016-09-05 2017-02-08 广东欧珀移动通信有限公司 Screen unlocking method and device and mobile terminal
CN106778137A (en) * 2016-12-21 2017-05-31 惠州Tcl移动通信有限公司 A kind of unlocking pin detection method and system based on mobile terminal
CN108076227A (en) * 2017-12-27 2018-05-25 上海传英信息技术有限公司 A kind of control method and mobile terminal for mobile terminal
CN109769068A (en) * 2019-01-28 2019-05-17 珠海格力电器股份有限公司 Construction method, unlocking method, the mobile terminal of mobile terminal unlock prediction model

Also Published As

Publication number Publication date
CN102438074B (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN102438074A (en) Screen unlocking method on basis of mobile phone and mobile phone
CN102244699A (en) Method of using acceleration sensor to unlock mobile phone screen and mobile phone thereof
CN103984502B (en) The method and portable terminal of a kind of screen printing content
CN102638628B (en) Realize the system and method for antitheft mobile phone based on mobile phone camera and GPS
US9612628B2 (en) Computing device expansion system
US10511703B2 (en) Charging device, method for controlling charging device, and mobile terminal connected to same
CN102868814B (en) Mobile phone screen unlocking method and mobile phone
CN104092817A (en) Method and system for automatic short-distance unlocking of mobile terminal
CN103312382B (en) A kind of data transmission method, operation equipment and system
CN106569762A (en) Dual-screen terminal light-up method and device as well as dual-screen terminal
EP3144786A1 (en) Method, system for processing fingerprint input information and mobile terminal
EP3160110B1 (en) File transmission method, apparatus and storage medium
JP6724463B2 (en) Electronic device, operation method of target system, and operation program
US9929578B2 (en) Charging methods and electronic devices
US20140292724A1 (en) A display method, a display control method, and electric device
CN104363339A (en) Mobile terminal mode switching method and system based on speed
US8195123B2 (en) Call origination method for full-touch screen portable terminal
CN103677548A (en) Method and system for removing screen-locked state of mobile terminal
CN103870356A (en) Information processing method and electronic equipment
CN106156559A (en) A kind of terminal unlocking method and device
CN105915707A (en) Method and device for illuminating screen
CN104063035B (en) A kind of mobile terminal photographic method and system for simulating portable camera
EP2977726B1 (en) Apparatus and method for counting steps by detecting wrist steps
CN102841770A (en) Method for synchronizing gravity induction, large screen display device and mobile terminal
CN107851248B (en) Mobile terminal and control method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201230

Address after: 510000 No. 106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province

Patentee after: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. 23 District

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

Effective date of registration: 20201230

Address after: 224600 Xiangshui Economic Development Zone, Yancheng City, Jiangsu Province

Patentee after: Xiangshui Jinyue Construction Development Co.,Ltd.

Address before: 510000 No. 106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province

Patentee before: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 224600 Xiangshui Economic Development Zone, Yancheng City, Jiangsu Province

Patentee after: Jiangsu Jinyue Holding Group Co.,Ltd.

Address before: 224600 Xiangshui Economic Development Zone, Yancheng City, Jiangsu Province

Patentee before: Xiangshui Jinyue Construction Development Co.,Ltd.